43 #ifndef SVK_XML_UTILS_H
44 #define SVK_XML_UTILS_H
52 #include <vtkObjectFactory.h>
53 #include <vtkObject.h>
54 #include <vtkXMLDataElement.h>
55 #include <vtkXMLUtilities.h>
59 #define MAXPATHLEN 260
61 #include <sys/param.h>
83 static vtkXMLDataElement* CreateNestedXMLDataElement(
84 vtkXMLDataElement* parent,
88 static vtkXMLDataElement* ReadXMLAndSubstituteVariables(
90 vector<string> xmlVariables
92 static vtkXMLDataElement* FindNestedElementWithPath( vtkXMLDataElement* root,
string xmlPath);
93 static bool GetNestedElementCharacterDataWithPath( vtkXMLDataElement* root,
string xmlPath,
string* data );
94 static bool SetNestedElementWithPath( vtkXMLDataElement* root,
string xmlPath,
string value );
95 static void ReadLine(ifstream* fs, istringstream* iss);
96 static vector<string> SplitString(
string str,
string token );
112 #endif //SVK_XML_UTILS
Definition: svkXMLUtils.h:71