23 #ifndef _svlWebXMLObject_h
24 #define _svlWebXMLObject_h
39 typedef struct __NodeData {
43 typedef std::pair<std::string, _NodeData> _NodePair;
44 typedef std::map<std::string, _NodeData> _NodeMap;
47 svlWebXMLObject(
const std::string & name,
bool readable,
bool writable);
51 virtual void Read(
char*& data,
int& datasize);
52 virtual void Write(
char* data,
int datasize);
54 virtual int AddNode(
const std::string & name,
const std::string & value);
55 virtual int RemoveNode(
const std::string & name);
56 virtual int SetNode(
const std::string & name,
const std::string & value);
57 virtual int GetNode(
const std::string & name, std::string & value);
58 virtual const std::string & GetNode(
const std::string & name);
65 int parseDocTree(
void *node,
unsigned int depth = -1);
66 void CheckCacheSize(
int size);
70 std::string InvalidNode;
75 #endif // _svlWebXMLObject_h
virtual svlWebObjectBase * clone() const =0
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: svlWebObjectBase.h:36
Definition: svlWebXMLObject.h:37
virtual void Write(char *data, int datasize)
Macros to export the symbols of cisstCommon (in a Dll).
virtual void Read(char *&data, int &datasize)