27 #ifndef OST_DATA_INFO_IMPL_H
28 #define OST_DATA_INFO_IMPL_H
35 #include <QDomElement>
36 #include <QDomDocument>
48 namespace ost {
namespace info {
namespace detail {
155 QDomDocument document_;
EleImpl(const QDomElement &e)
QDomDocument & GetDocument()
const QDomDocument & GetDocument() const
void RemoveSub(const String &name)
std::vector< RootPtr > RootPtrList
QDomElement & GetElement()
ElePtr CreateSub(const String &name)
void SetStringRepr(const String &v, bool settype)
std::vector< ElePtr > GetSubList() const
boost::shared_ptr< detail::InfoImpl > RootPtr
bool HasSub(const String &name) const
bool HasAttribute(const String &name) const
std::vector< ElePtr > EleList
EleList GetSubs(const String &name) const
get sub elements with specified element name
void SetIntRepr(int repr)
ElePtr GetSub(const String &name) const
get single sub elements with specified name throws if no element is found
bool operator==(const EleImpl &ref) const
void Import(const String &file)
void SetTextData(const String &td)
void SetBoolRepr(bool repr)
void SetName(const String &n)
String GetComment() const
const RootPtrList & DefList() const
Three dimensional vector class, using Real precision.
boost::shared_ptr< detail::EleImpl > ElePtr
String GetStringRepr() const
float GetFloatRepr() const
void SetAttribute(const String &name, const String &value)
String GetTextData() const
void SetVecRepr(const geom::Vec3 &repr)
geom::Vec3 GetVecRepr() const
void RemoveAttribute(const String &name)
void Export(const String &file)
String GetAttribute(const String &name) const
void SetFloatRepr(float repr)
std::vector< String > GetAttributeList() const