#include <info_group.hh>
|
InfoGroup | GetParent () const |
|
void | SetName (const String &name) |
|
String | GetName () const |
|
InfoPath | GetPath () const |
|
InfoGroup | GetGroup (const InfoPath &path, bool use_defaults=true) const |
|
InfoGroupList | GetGroups (const InfoPath &path) const |
|
InfoItemList | GetItems (const InfoPath &path) const |
|
InfoGroup | CreateGroup (const String &name) |
|
bool | HasGroup (const InfoPath &name, bool use_defaults=true) const |
|
InfoGroup | RetrieveGroup (const InfoPath &path, bool use_defaults=true) |
|
InfoItem | GetItem (const InfoPath &path, bool use_defaults=true) const |
|
InfoItem | CreateItem (const String &name, const String &value) |
|
InfoItem | CreateItem (const String &name, Real value) |
|
InfoItem | CreateItem (const String &name, bool value) |
|
InfoItem | CreateItem (const String &name, int value) |
|
InfoItem | CreateItem (const String &name, const geom::Vec3 &vector) |
|
bool | HasItem (const InfoPath &path, bool use_defaults=true) const |
|
InfoItem | RetrieveItem (const InfoPath &path, bool use_defaults=true) |
|
void | Remove (const InfoPath &path, bool use_defaults=false) |
|
void | Remove (const InfoGroup &group) |
|
String | GetAttribute (const String &name) const |
|
void | SetAttribute (const String &name, const String &value) |
|
bool | HasAttribute (const String &name) const |
|
void | RemoveAttribute (const String &name) |
|
std::vector< String > | GetAttributeList () const |
|
String | GetTextData () const |
|
void | SetTextData (const String &td) |
|
String | GetComment () const |
|
void | Apply (InfoVisitor &v, bool visit_this=true) |
|
void | Apply (InfoConstVisitor &v, bool visit_this=true) const |
|
bool | operator== (const InfoGroup &ref) const |
|
bool | operator!= (const InfoGroup &ref) const |
|
Definition at line 40 of file info_group.hh.
◆ Apply() [1/2]
◆ Apply() [2/2]
Apply visitor.
descends through all items and subgroups
◆ CreateGroup()
◆ CreateItem() [1/5]
◆ CreateItem() [2/5]
◆ CreateItem() [3/5]
◆ CreateItem() [4/5]
◆ CreateItem() [5/5]
◆ GetAttribute()
return attribute of given name
◆ GetAttributeList()
std::vector<String> GetAttributeList |
( |
| ) |
const |
◆ GetComment()
get comment just above item
◆ GetGroup()
◆ GetGroups()
◆ GetItem()
◆ GetItems()
◆ GetName()
◆ GetParent()
◆ GetPath()
◆ GetTextData()
◆ HasAttribute()
bool HasAttribute |
( |
const String & |
name | ) |
const |
returns true if attribute of this names exists
◆ HasGroup()
bool HasGroup |
( |
const InfoPath & |
name, |
|
|
bool |
use_defaults = true |
|
) |
| const |
◆ HasItem()
bool HasItem |
( |
const InfoPath & |
path, |
|
|
bool |
use_defaults = true |
|
) |
| const |
◆ operator!=()
bool operator!= |
( |
const InfoGroup & |
ref | ) |
const |
◆ operator==()
bool operator== |
( |
const InfoGroup & |
ref | ) |
const |
◆ Remove() [1/2]
◆ Remove() [2/2]
void Remove |
( |
const InfoPath & |
path, |
|
|
bool |
use_defaults = false |
|
) |
| |
◆ RemoveAttribute()
void RemoveAttribute |
( |
const String & |
name | ) |
|
remove attribute of given name
◆ RetrieveGroup()
◆ RetrieveItem()
◆ SetAttribute()
void SetAttribute |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
set attribute of given name, will be created if it does not yet exist
◆ SetName()
void SetName |
( |
const String & |
name | ) |
|
◆ SetTextData()
void SetTextData |
( |
const String & |
td | ) |
|
◆ InfoHandle
◆ InfoItem
The documentation for this class was generated from the following file: