A section entry. Corresponds to a configuration Variable .
Definition at line 73 of file inmemoryplugin.hpp.
#include <inmemoryplugin.hpp>
Public Field Index: | |
TValueList | AdditionalValues |
AString | Comments |
character | Delim = '\0' |
FormatHints | FmtHints = FormatHints::None |
String8 | FormatAttrAlignment |
String32 | RawValue |
String32 | Value |
Public Method Index: | |
Entry (const String &pName, MonoAllocator *pAllocator, TValueList::TSharedRecycler &recycler) | |
const String & | Name () const |
TValueList::Iterator | SetValueCount (integer requestedSize) |
TValueList AdditionalValues |
The rest of the values.
Definition at line 102 of file inmemoryplugin.hpp.
AString Comments |
The comments of the section.
Definition at line 85 of file inmemoryplugin.hpp.
character Delim = '\0' |
The delimiter (for splitting output into multiple lines).
Definition at line 88 of file inmemoryplugin.hpp.
FormatHints FmtHints = FormatHints::None |
The format hints of the variable
Definition at line 91 of file inmemoryplugin.hpp.
String8 FormatAttrAlignment |
Used to vertically align attributes in multi-line attributes. Use cases are "=", ":" or "->".
Used by IniFile and potentially by custom derived plug-in types.
Definition at line 96 of file inmemoryplugin.hpp.
|
protected |
The entry's name
Definition at line 81 of file inmemoryplugin.hpp.
String32 RawValue |
The value as received from an external source. Derived types may use this "original" value in the case that it was not changed by software. For example in case of INI-files, this approach preserves a user's manual format, when writing back the file.
Definition at line 108 of file inmemoryplugin.hpp.
String32 Value |
The first values of the entry.
Definition at line 99 of file inmemoryplugin.hpp.
|
inline |
Constructs an Entry
pName | The name of the entry. |
pAllocator | The allocator used for the list of additional values. |
recycler | The recycler for value entries. |
Definition at line 116 of file inmemoryplugin.hpp.
|
inline |
Returns the (unique) name of this entry.
Definition at line 133 of file inmemoryplugin.hpp.
|
inline |
Increases or shrinks the number of elements in AdditionalValues to match the given requestedSize - 1.
requestedSize | The requested number of values of this entry. |
Definition at line 146 of file inmemoryplugin.hpp.