ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::lox::CVVerbosities Struct Reference

Description:

Variable data struct, defining the verbosities of the domains of a Logger in a Lox. This struct is used with the configuration variable named ALOX/LOGGERNAME/VERBOSITY_WITH_LOXNAME.

Note that during the run of software, the verbosity values are stored differently and this variable type is only for importing and exporting such values to external systems.

Definition at line 83 of file aloxcamp.inl.

Inheritance diagram for alib::lox::CVVerbosities:
[legend]
Collaboration diagram for alib::lox::CVVerbosities:
[legend]

Public Field Index:

bool ExportAll = false
 

Public Method Index:

 CVVerbosities (AllocatorType &pAllocator)
 
 ~CVVerbosities ()
 Destructor. Frees all allocated strings.
 
integer Add (const strings::TString< character > &src)
 
void Clear ()
 Frees all allocated strings and clears vector.
 
bool IsEmpty ()
 
integer Size () const noexcept
 

Additional Inherited Members

- Protected Type Index: inherited from alib::strings::util::TStringVector< character, PoolAllocator >
using vectorBase
 The vector type that TAllocator specifies.
 
using AllocatorType
 The allocator type that TAllocator specifies.
 
- Protected Method Index: inherited from alib::strings::util::TStringVector< character, PoolAllocator >
 TStringVector (AllocatorType &pAllocator)
 
 TStringVector (AllocatorType &pAllocator)
 
 ~TStringVector ()=default
 Destructor.
 
 ~TStringVector ()=default
 Destructor.
 
integer Add (const strings::TString< character > &src)
 
integer Add (const strings::TString< character > &src)
 
AllocatorTypeGetAllocator () noexcept
 
AllocatorTypeGetAllocator () noexcept
 
integer Size () const noexcept
 
integer Size () const noexcept
 
String TryGet (integer idx)
 
String TryGet (integer idx)
 

Field Details:

◆ ExportAll

bool alib::lox::CVVerbosities::ExportAll = false

Determines whether only the minimum necessary domain tree is written when verbosities are exported. If true, redundant verbosity information is given, even if Subdomains have the same value.

Definition at line 85 of file aloxcamp.inl.

Constructor(s) / Destructor Details:

◆ CVVerbosities()

alib::lox::CVVerbosities::CVVerbosities ( AllocatorType & pAllocator)
inline

Constructor.

Parameters
pAllocatorThe allocator to use.

Definition at line 91 of file aloxcamp.inl.

◆ ~CVVerbosities()

alib::lox::CVVerbosities::~CVVerbosities ( )
inline

Destructor. Frees all allocated strings.

Definition at line 95 of file aloxcamp.inl.

Here is the call graph for this function:

Method Details:

◆ Add()

Adds a string to the end of the list of strings.

Parameters
srcSource string to be copied.
Returns
The index of the created string in this vector.

Definition at line 92 of file ALib.Strings.Vector.H.

◆ Clear()

void alib::lox::CVVerbosities::Clear ( )
inline

Frees all allocated strings and clears vector.

Definition at line 106 of file aloxcamp.inl.

Here is the call graph for this function:

◆ IsEmpty()

bool alib::lox::CVVerbosities::IsEmpty ( )
inline
Returns
true if this vector is empty, false otherwise.

Definition at line 103 of file aloxcamp.inl.

◆ Size()

Returns the size of this vector as integer.

Returns
The number of strings stored.

Definition at line 86 of file ALib.Strings.Vector.H.


The documentation for this struct was generated from the following file: