Nektar++
|
#include <FieldIOXml.h>
Public Member Functions | |
XmlDataSource (TiXmlDocument &doc) | |
Default constructor. More... | |
XmlDataSource (const std::string &fn) | |
Constructor based on filename. More... | |
~XmlDataSource () | |
Destructor cleans up memory usage. More... | |
TiXmlDocument & | Get () |
Return the TinyXML document of this source. More... | |
const TiXmlDocument & | Get () const |
Return the TinyXML document of this source. More... | |
Static Public Member Functions | |
static DataSourceSharedPtr | create (const std::string &fn) |
Create a new XML data source based on the filename. More... | |
static DataSourceSharedPtr | create (TiXmlDocument &fn) |
Create a new XML data source based on a TiXmlDocument. More... | |
Private Attributes | |
TiXmlDocument * | m_doc |
Internal TinyXML document storage. More... | |
bool | m_needsFree |
Boolean dictating whether document needs to be freed or not. More... | |
Definition at line 51 of file FieldIOXml.h.
|
inline |
Default constructor.
Definition at line 55 of file FieldIOXml.h.
Referenced by create().
|
inline |
|
inline |
Destructor cleans up memory usage.
Definition at line 73 of file FieldIOXml.h.
References m_doc, and m_needsFree.
|
inlinestatic |
Create a new XML data source based on the filename.
Definition at line 94 of file FieldIOXml.h.
References XmlDataSource().
Referenced by Nektar::LibUtilities::FieldIOXml::v_Import(), Nektar::LibUtilities::FieldIOXml::v_ImportFieldMetaData(), and Nektar::FieldUtils::OutputInfo::v_Process().
|
inlinestatic |
Create a new XML data source based on a TiXmlDocument.
Definition at line 100 of file FieldIOXml.h.
References XmlDataSource().
|
inline |
Return the TinyXML document of this source.
Definition at line 82 of file FieldIOXml.h.
References m_doc.
|
inline |
Return the TinyXML document of this source.
Definition at line 88 of file FieldIOXml.h.
References m_doc.
|
private |
Internal TinyXML document storage.
Definition at line 107 of file FieldIOXml.h.
Referenced by Get(), XmlDataSource(), and ~XmlDataSource().
|
private |
Boolean dictating whether document needs to be freed or not.
Definition at line 109 of file FieldIOXml.h.
Referenced by ~XmlDataSource().