Serialization node, which contains other groups to create a hierarchy or ParseEntries for data.
More...
|
| ParserGroup (const CoreString &name) |
| Constructor.
|
|
| ParserGroup (const ParserGroup &group) |
| Copy Constructor.
|
|
virtual | ~ParserGroup () |
| Destructor.
|
|
ParserEntry * | add_entry (const CoreString &name, const unsigned long &line=0, const unsigned long &column=0) |
| Adds a new entry.
|
|
ParserEntry * | add_entry (const ParserEntry &entry) |
| Adds the specified entry to this group.
|
|
ParserGroup * | add_group (const CoreString &name) |
| Adds a new group.
|
|
ParserGroup * | add_group (ParserGroup *group) |
| Adds a group.
|
|
void | move_entry (const unsigned int &from, const unsigned int &to) |
| Move an entry rank in the same group.
|
|
void | move_entry (const unsigned int &index, ParserGroup &group) |
| Move an entry from its group to the specified one.
|
|
void | detach_entry (const unsigned int &index) |
|
void | move_entries (ParserGroup &group) |
| Move all entries into the specified group.
|
|
void | move_entries (ParserGroup &group, unsigned int index) |
| Move all entries into the specified group.
|
|
void | remove_entry (const CoreString &name) |
| remove the entries from this group
|
|
void | remove_entry (unsigned int index) |
| remove the entry from the group at the given index
|
|
void | remove_entries (CoreBasicArray< unsigned int > indices) |
| remove the entries from the group at the given indices
|
|
const CoreString & | get_name () const |
|
unsigned int | get_entry_count () const |
| Gets number of entries.
|
|
ParserEntry * | get_entry (const unsigned int &index) const |
| Gets entry at specified index.
|
|
ParserEntry * | get_entry (const CoreString &entry_name) const |
|
CoreVector< ParserEntry * > | get_entries (const CoreString &entry_name, bool recursive=false) const |
| get all the entries in the group matching the given name
|
|
const CoreVector< ParserEntry * > & | get_entries () const |
|
ParserEntry * | get_keyword (const CoreString &name) const |
|
void | get_text (CoreString &text, const bool &with_header, const bool &multiline=true, const unsigned int &offset=1) const |
|
bool | set_text (const CoreString &text, const CoreVersion &serial_version=default_parser_serial_version, AppProgressBar *progress_bar=0) |
|
void | get_encrypted_text (CoreArray< unsigned char > &buffer, const CoreString &key, const bool &with_header, const bool &multiline=true, const unsigned int &offset=1) const |
|
bool | set_encrypted_text (const CoreArray< unsigned char > &buffer, const CoreString &key) |
|
void | get_encrypted_text (CoreString &text, const CoreString &key, const bool &with_header, const bool &multiline=true, const unsigned int &offset=1) const |
|
bool | set_encrypted_text (const CoreString &text, const CoreString &key) |
|
void | set_source_entry (ParserEntry *entry) |
|
const ParserEntry * | get_source_entry () const |
|
CoreVector< char > | get_binary (const bool &named) const |
|
bool | set_binary (const CoreVector< char > &buffer, long unsigned long &position) |
|
unsigned int | get_first_entry_index (ParserEntry::Type type) |
|
void | set (const ParserGroup &group) |
| Replace this by the group specified in parameter. The group name gets also renamed.
|
|
void | clear () |
|
Serialization node, which contains other groups to create a hierarchy or ParseEntries for data.