#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 |
Detailed Description
Definition at line 40 of file info_group.hh.
Member Function Documentation
Apply visitor.
descends through all items and subgroups
return attribute of given name
std::vector<String> GetAttributeList |
( |
| ) |
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 InfoPath & |
path, |
|
|
bool |
use_defaults = false |
|
) |
| |
void RemoveAttribute |
( |
const String & |
name | ) |
|
remove attribute of given name
void SetAttribute |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
set attribute of given name, will be created if it does not yet exist
void SetName |
( |
const String & |
name | ) |
|
void SetTextData |
( |
const String & |
td | ) |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following file: