OpenStructure
|
#include <info_impl.hh>
Public Member Functions | |
EleImpl (const QDomElement &e) | |
String | GetName () const |
void | SetName (const String &n) |
String | GetPath () const |
void | SetAttribute (const String &name, const String &value) |
String | GetAttribute (const String &name) const |
bool | HasAttribute (const String &name) const |
void | RemoveAttribute (const String &name) |
std::vector< String > | GetAttributeList () const |
String | GetTextData () const |
void | SetTextData (const String &td) |
EleList | GetSubs (const String &name) const |
ElePtr | GetSub (const String &name) const |
ElePtr | CreateSub (const String &name) |
bool | HasSub (const String &name) const |
void | RemoveSub (const String &name) |
void | RemoveSub (const ElePtr &ele) |
QDomElement & | GetElement () |
const QDomElement & | GetElement () const |
InfoImpl & | GetRoot () |
InfoImpl & | GetRoot () const |
std::vector< ElePtr > | GetSubList () const |
ElePtr | GetParent () const |
bool | operator== (const EleImpl &ref) const |
Type | GetType () const |
void | SetType (Type t) |
void | SetNewType (int t) |
void | SetStringRepr (const String &v, bool settype) |
String | GetStringRepr () const |
void | SetIntRepr (int repr) |
int | GetIntRepr () const |
void | SetFloatRepr (float repr) |
float | GetFloatRepr () const |
void | SetBoolRepr (bool repr) |
bool | GetBoolRepr () const |
void | SetVecRepr (const geom::Vec3 &repr) |
geom::Vec3 | GetVecRepr () const |
Definition at line 54 of file info_impl.hh.
EleImpl | ( | const QDomElement & | e | ) |
std::vector<String> GetAttributeList | ( | ) | const |
bool GetBoolRepr | ( | ) | const |
QDomElement& GetElement | ( | ) |
const QDomElement& GetElement | ( | ) | const |
float GetFloatRepr | ( | ) | const |
int GetIntRepr | ( | ) | const |
String GetName | ( | ) | const |
ElePtr GetParent | ( | ) | const |
String GetPath | ( | ) | const |
InfoImpl& GetRoot | ( | ) |
InfoImpl& GetRoot | ( | ) | const |
String GetStringRepr | ( | ) | const |
get single sub elements with specified name throws if no element is found
std::vector<ElePtr> GetSubList | ( | ) | const |
get sub elements with specified element name
does not throw. returns empty list if not elements have been found
String GetTextData | ( | ) | const |
Type GetType | ( | ) | const |
geom::Vec3 GetVecRepr | ( | ) | const |
bool HasAttribute | ( | const String & | name | ) | const |
bool HasSub | ( | const String & | name | ) | const |
bool operator== | ( | const EleImpl & | ref | ) | const |
void RemoveAttribute | ( | const String & | name | ) |
void RemoveSub | ( | const String & | name | ) |
void RemoveSub | ( | const ElePtr & | ele | ) |
void SetBoolRepr | ( | bool | repr | ) |
void SetFloatRepr | ( | float | repr | ) |
void SetIntRepr | ( | int | repr | ) |
void SetName | ( | const String & | n | ) |
void SetNewType | ( | int | t | ) |
void SetStringRepr | ( | const String & | v, |
bool | settype | ||
) |
void SetTextData | ( | const String & | td | ) |
void SetType | ( | Type | t | ) |
void SetVecRepr | ( | const geom::Vec3 & | repr | ) |