#include <info_group.hh>
Public Member Functions | |
| 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) |
| 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 |
Friends | |
| class | InfoHandle |
| class | InfoItem |
Definition at line 40 of file info_group.hh.
| void Apply | ( | InfoConstVisitor & | v, | |
| bool | visit_this = true | |||
| ) | const |
| void Apply | ( | InfoVisitor & | v, | |
| bool | visit_this = true | |||
| ) |
Apply visitor.
descends through all items and subgroups
| InfoItem CreateItem | ( | const String & | name, | |
| const geom::Vec3 & | vector | |||
| ) |
| std::vector<String> GetAttributeList | ( | ) | const |
| InfoGroupList GetGroups | ( | const InfoPath & | path | ) | const |
| InfoItemList GetItems | ( | const InfoPath & | path | ) | const |
| String GetName | ( | ) | const |
retrieve name
| InfoGroup GetParent | ( | ) | const |
retrieve parent group
| InfoPath GetPath | ( | ) | const |
retrieve path
| String GetTextData | ( | ) | const |
| bool HasAttribute | ( | const String & | name | ) | const |
returns true if attribute of this names exists
| bool HasGroup | ( | const InfoPath & | name, | |
| bool | use_defaults = true | |||
| ) | const |
| bool HasItem | ( | const InfoPath & | path, | |
| bool | use_defaults = true | |||
| ) | const |
| bool operator!= | ( | const InfoGroup & | ref | ) | const |
| bool operator== | ( | const InfoGroup & | ref | ) | const |
| void Remove | ( | const InfoGroup & | group | ) |
| void Remove | ( | const InfoPath & | path, | |
| bool | use_defaults = false | |||
| ) |
| void RemoveAttribute | ( | const String & | name | ) |
remove attribute of given name
set attribute of given name, will be created if it does not yet exist
| void SetName | ( | const String & | name | ) |
set name
| void SetTextData | ( | const String & | td | ) |
friend class InfoHandle [friend] |
Definition at line 41 of file info_group.hh.
friend class InfoItem [friend] |
Definition at line 42 of file info_group.hh.
1.5.8