24#if !defined(ODA_ODMVDXMLELEMENT_H_INCLUDED_)
25#define ODA_ODMVDXMLELEMENT_H_INCLUDED_
129 void SetAttribute(TiXmlElement* pItem,
const char* attrName,
const OdAnsiString&
value,
bool opt =
false);
#define SMARTPTR(classname)
#define ODRX_DECLARE_MEMBERS(ClassName)
OdResult getText(TiXmlElement *pItem, const OdString &lang, OdString &result)
void SplitToArray(const char *buffer, const char separator, OdAnsiStringArray &items)
void setText(TiXmlElement *pItem, const OdString &lang, const OdAnsiString &value)
OdMvdXmlElement & operator=(const OdMvdXmlElement &other)
virtual OdResult outFields(TiXmlNode *pParent)
virtual OdAnsiString getElementName()
void assign(const OdMvdXmlElement *other)
void setText(TiXmlElement *pItem, const OdString &lang, const OdString &value)
OdMvdXmlRoot * getRoot() const
OdString getString(const char *buffer, const OdString &lang)
OdResult getText(TiXmlElement *pItem, OdAnsiString &result)
void appendXmlErrorMessage(TiXmlElement *pParent, const char *text, const char *caption=NULL, OdResult code=eOk)
void appendErrorMessage(const char *text, const char *caption=NULL) const
virtual OdResult inChildNode(const char *nodeName, TiXmlElement *pChild)
void SetAttribute(TiXmlElement *pItem, const char *attrName, const OdAnsiString &value, bool opt=false)
virtual OdResult inFields(TiXmlElement *pItem)
void SetAttribute(TiXmlElement *pItem, const char *attrName, const OdString &value, bool opt=false)
virtual OdResult inAttributes(TiXmlElement *pItem)
OdAnsiString ArrayToAnsiString(const char separator, const OdAnsiStringArray &items)
void appendXmlWarningMessage(TiXmlElement *pParent, const char *text, const char *caption=NULL, OdResult code=eOk)
void appendWarningMessage(const char *text, const char *caption=NULL) const
virtual OdResult outChildNodes(TiXmlNode *pParent)
OdString ArrayToString(const char separator, const OdStringArray &items)
void SplitToArray(const char *buffer, const char separator, OdStringArray &items)
virtual OdResult outAttributes(TiXmlElement *pItem)
GLsizei const GLfloat * value