ALib C++ Library
Library Version: 2510 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++ Library.

© 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
 
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()

ALIB_DLL 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 ResourcePool::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 compiler-symbol ALIB_DEBUG_RESOURCES has to be set.
See also
Methods ResourcePool::DbgGetList and ResourcePool::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.

Here is the call graph for this function: