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