Untouched text object.
More...
|
| Comment () |
| Create an empty comment object.
|
|
| Comment (const char *pComment) |
| Create a comment object with text.
|
|
virtual | ~Comment () |
| Call the destructor for a Comment object.
|
|
const char * | GetText (void) const |
| Return a pointer to the contained comment string.
|
|
void | SetText (const char *pInput) |
| Set a new comment string.
|
|
void | SetText (const String *pInput) |
| Set a new comment string.
|
|
| Generic (eType uType) |
| Initialize a generic object.
|
|
virtual | ~Generic () |
| Call the destructor for a generic object.
|
|
Generic * | GetNext (void) const |
| Get the pointer to the next object in the list.
|
|
Generic * | GetPrevious (void) const |
| Get the pointer to the previous object in the list.
|
|
eType | GetType (void) const |
| Get the enumeration of the derived class' type.
|
|
void | InsertBefore (Generic *pGeneric) |
| Insert this object before this one in the linked list.
|
|
void | InsertAfter (Generic *pGeneric) |
| Insert this object after this one in the linked list.
|
|
const char * | get_class_name (void) const noexcept |
| Get the name of the class.
|
|
virtual const Burger::StaticRTTI * | get_StaticRTTI (void) const noexcept |
| Get the description to the class.
|
|
virtual | ~Base () noexcept=default |
| Destructor.
|
|
|
static Comment * | New (void) |
| Allocate an empty comment object.
|
|
static Comment * | New (const char *pComment) |
| Allocate a comment object with text.
|
|
Untouched text object.
For every line in an INI file that's not part of the data, store the text in one of these objects. It will not be parsed and yet retained so when the file is saved, the comments will be intact.
- Note
- This will identify with eType of LINEENTRY_COMMENT
- See also
- Burger::FileINI, Burger::FileINI::Entry, Burger::FileINI::Generic or Burger::FileINI::Section
◆ Comment() [1/2]
Burger::FileINI::Comment::Comment |
( |
| ) |
|
Create an empty comment object.
◆ Comment() [2/2]
Burger::FileINI::Comment::Comment |
( |
const char * | pComment | ) |
|
Create a comment object with text.
- Parameters
-
pComment | Text to store in this newly created object |
◆ ~Comment()
Burger::FileINI::Comment::~Comment |
( |
| ) |
|
|
virtual |
Call the destructor for a Comment object.
Unlink itself from the linked list and release the contained string
◆ GetText()
const char * Burger::FileINI::Comment::GetText |
( |
void | | ) |
const |
|
inline |
◆ New() [1/2]
Allocate a comment object with text.
- Parameters
-
pComment | Text to store in this newly created object |
◆ New() [2/2]
Allocate an empty comment object.
◆ SetText() [1/2]
void Burger::FileINI::Comment::SetText |
( |
const char * | pInput | ) |
|
|
inline |
◆ SetText() [2/2]
void Burger::FileINI::Comment::SetText |
( |
const String * | pInput | ) |
|
|
inline |
◆ m_Comment
String Burger::FileINI::Comment::m_Comment |
|
private |
Unmodified text for a comment line.