ALib C++ Framework
by
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::resources Namespace Reference

Description:

This header-file is part of module ALib Resources of the ALib C++ Framework.

© 2013-2025 A-Worx GmbH, Germany. Published under Boost Software License.

This is the reference documentation module ALib Resources.
Extensive documentation for this namespace is provided with the Programmer's Manual of that module.

Nested Namespaces:

namespace  detail
 Internal details of namespace alib::resources.

Type Index:

class  LocalResourcePool
struct  ResourcedTraits
struct  ResourcedType
class  ResourceHolder
struct  ResourceInfo
class  ResourcePool

Concepts

concept  HasResources

Function Index:

AString DbgDump (std::vector< std::tuple< NString, NString, String, integer > > &list, const NString &catFilter, const String &format)

Function Details:

◆ DbgDump()

AString alib::resources::DbgDump ( std::vector< std::tuple< NString, NString, String, integer > > & list,
const NString & catFilter = nullptr,
const String & format = A_CHAR("({3:}) {1}={2!TAB20!ESC<!Q}\n") )

Writes the list of resources obtainable with virtual std::vector< std::tuple< NString, NString, String, integer > > DbgGetList()  to an AString.

Availability
This function is an extension, which is injected by the higher-level module ALib Format and is accessed through the header file ALib.Format.H. Furthermore, the configuration macro ALIB_DEBUG_RESOURCES has to be set.
See also
Methods virtual std::vector< std::tuple< NString, NString, String, integer > > DbgGetList()  and virtual std::vector< std::pair< NString, integer > > DbgGetCategories() .
Parameters
listThe list of resources, obtained with DbgGetList.
catFilterComma-separated list of names of categories to print. Defaults to nulled string, which includes all caegories.
formatThe format of a line. Defaults to "({3:}) {1}={2!TAB20!ESC<!Q}\\n".
Returns
The dump of all resources.

Definition at line 51 of file resources_debug.cpp.