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 49 of file FieldIOXml.h.
|
inline |
Default constructor.
Definition at line 53 of file FieldIOXml.h.
Referenced by create().
|
inline |
Constructor based on filename.
Definition at line 58 of file FieldIOXml.h.
|
inline |
Destructor cleans up memory usage.
Definition at line 71 of file FieldIOXml.h.
References m_doc, and m_needsFree.
|
inlinestatic |
Create a new XML data source based on the filename.
Definition at line 92 of file FieldIOXml.h.
References XmlDataSource().
Referenced by Nektar::SpatialDomains::MeshGraph::ReadExpansionInfo(), 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 98 of file FieldIOXml.h.
References XmlDataSource().
|
inline |
Return the TinyXML document of this source.
Definition at line 80 of file FieldIOXml.h.
References m_doc.
|
inline |
Return the TinyXML document of this source.
Definition at line 86 of file FieldIOXml.h.
References m_doc.
|
private |
Internal TinyXML document storage.
Definition at line 105 of file FieldIOXml.h.
Referenced by Get(), XmlDataSource(), and ~XmlDataSource().
|
private |
Boolean dictating whether document needs to be freed or not.
Definition at line 107 of file FieldIOXml.h.
Referenced by ~XmlDataSource().