ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
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 a 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 96 of file aloxcamp.hpp.

#include <aloxcamp.hpp>

Inheritance diagram for CVVerbosities:
[legend]
Collaboration diagram for 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< TChar > &src)
 
void Clear ()
 Frees all allocated strings and clears vector.
 
bool IsEmpty ()
 
integer Size () const noexcept
 

Additional Inherited Members

- Protected Type Index: inherited from TStringVector< TChar, TAllocator >
using vectorBase
 The vector type that TAllocator specifies.
 
using AllocatorType = TAllocator
 The allocator type that TAllocator specifies.
 
using CharType = TChar
 Type definition of the given template parameter TChar.
 
using StringType = strings::TString<TChar>
 Type definition of the stored strings.
 
- Protected Method Index: inherited from TStringVector< TChar, TAllocator >
 TStringVector (AllocatorType &pAllocator)
 
 ~TStringVector ()=default
 Destructor.
 
integer Add (const strings::TString< TChar > &src)
 
AllocatorTypeGetAllocator () noexcept
 
integer Size () const noexcept
 
String TryGet (integer idx)
 

Field Details:

◆ ExportAll

bool 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 98 of file aloxcamp.hpp.

Constructor(s) / Destructor Details:

◆ CVVerbosities()

CVVerbosities ( AllocatorType & pAllocator)
inline

Constructor.

Parameters
pAllocatorThe allocator to use.

Definition at line 104 of file aloxcamp.hpp.

◆ ~CVVerbosities()

~CVVerbosities ( )
inline

Destructor. Frees all allocated strings.

Definition at line 108 of file aloxcamp.hpp.

Here is the call graph for this function:

Method Details:

◆ Add()

integer Add ( const strings::TString< TChar > & src)
inline

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 93 of file strings/util/stringvector.hpp.

◆ Clear()

void Clear ( )
inline

Frees all allocated strings and clears vector.

Definition at line 119 of file aloxcamp.hpp.

Here is the call graph for this function:

◆ IsEmpty()

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

Definition at line 116 of file aloxcamp.hpp.

◆ Size()

integer Size ( ) const
inlinenoexcept

Returns the size of this vector as integer.

Returns
The number of strings stored.

Definition at line 87 of file strings/util/stringvector.hpp.


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