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>
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) |
AllocatorType & | GetAllocator () noexcept |
integer | Size () const noexcept |
String | TryGet (integer idx) |
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.
|
inline |
Constructor.
pAllocator | The allocator to use. |
Definition at line 104 of file aloxcamp.hpp.
|
inline |
Destructor. Frees all allocated strings.
Definition at line 108 of file aloxcamp.hpp.
|
inline |
Adds a string to the end of the list of strings.
src | Source string to be copied. |
Definition at line 93 of file strings/util/stringvector.hpp.
|
inline |
Frees all allocated strings and clears vector.
Definition at line 119 of file aloxcamp.hpp.
|
inline |
true
if this vector is empty, false
otherwise. Definition at line 116 of file aloxcamp.hpp.
|
inlinenoexcept |
Returns the size of this vector as integer.
Definition at line 87 of file strings/util/stringvector.hpp.