XMLNode Class Reference
#include <XMLNode.h>
List of all members.
Detailed Description
XML Parser
Constructor & Destructor Documentation
Constructs a new empty XML node
XMLNode::XMLNode |
( |
string |
_name |
) |
|
Constructs a new XML node with the given name
- Parameters:
-
| _name | Name of the new XML node |
Constructs a new XML node with the given name and value
- Parameters:
-
| _name | Name of the new XML node |
| _value | Value of the new XML node |
XMLNode::~XMLNode |
( |
|
) |
[virtual] |
XMLNode::XMLNode |
( |
const char * |
file |
) |
[private] |
Constructs a new xml node (tree) from a file
- Parameters:
-
XMLNode::XMLNode |
( |
ifstream * |
fp |
) |
[private] |
Constructs a new xml node (tree) from a stream
- Parameters:
-
XMLNode::XMLNode |
( |
string |
_name |
) |
|
virtual XMLNode::~XMLNode |
( |
|
) |
[virtual] |
XMLNode::XMLNode |
( |
const char * |
file |
) |
[private] |
XMLNode::XMLNode |
( |
ifstream * |
fp |
) |
[private] |
Member Function Documentation
Adds a new child to a xml node
- Parameters:
-
| name | Name of the new child |
| value | Value of the new child |
- Returns:
- The new child node
Adds a new child to a xml node
- Parameters:
-
| name | Name of the new child |
- Returns:
- The new child node
void XMLNode::delChild |
( |
string |
name |
) |
|
void XMLNode::delChild |
( |
string |
name |
) |
|
Deletes a child node
- Parameters:
-
| name | Name of the child node which should be deleted |
Finds all xml nodes of the given name
- Parameters:
-
| name | Name of the xml nodes which should be found |
- Returns:
- Founded xml nodes
Finds a xml node of the given name name Name of the xml node which should be found
- Returns:
- Founded xml node
string XMLNode::getName |
( |
void |
|
) |
|
string XMLNode::getName |
( |
void |
|
) |
|
Returns the name of the xml node hint: always convert the name to upper - it should already be
- Returns:
- Name of the xml node
unsigned int XMLNode::getSize |
( |
|
) |
|
unsigned int XMLNode::getSize |
( |
|
) |
|
Returns the size of the xml node
- Returns:
- size of the xml node
string XMLNode::getValue |
( |
void |
|
) |
|
string XMLNode::getValue |
( |
void |
|
) |
|
Returns the value of the xml node
- Returns:
- Value of the xml node
void XMLNode::load |
( |
ifstream * |
fp |
) |
[private] |
void XMLNode::load |
( |
const char * |
file |
) |
[private] |
void XMLNode::load |
( |
string |
filename |
) |
|
void XMLNode::load |
( |
ifstream * |
fp |
) |
[private] |
Loads a new xml node (tree) from a stream
- Parameters:
-
void XMLNode::load |
( |
const char * |
file |
) |
[private] |
Loads a new xml node (tree) from a stream
- Parameters:
-
void XMLNode::load |
( |
string |
filename |
) |
|
Loads a new xml node (tree) from a stream
- Parameters:
-
void XMLNode::save |
( |
ofstream * |
fp, |
|
|
unsigned int |
rekursionstiefe | |
|
) |
| | [private] |
void XMLNode::save |
( |
const char * |
file |
) |
[private] |
void XMLNode::save |
( |
string |
filename |
) |
|
void XMLNode::save |
( |
ofstream * |
fp, |
|
|
unsigned int |
rekursionstiefe | |
|
) |
| | [private] |
Saves a xml node (tree) to a stream
- Parameters:
-
| fp | Pointer to a stream |
| rekursionstiefe | Depth of the tree which should be saved |
void XMLNode::save |
( |
const char * |
file |
) |
[private] |
Saves a xml node (tree) to a file
- Parameters:
-
void XMLNode::save |
( |
string |
filename |
) |
|
Saves a xml node (tree) to a file
- Parameters:
-
void XMLNode::setName |
( |
string |
name |
) |
|
void XMLNode::setName |
( |
string |
_name |
) |
|
Sets the name of the xml node hint: always convert the name to upper
- Parameters:
-
| _name | New name of the xml node |
void XMLNode::setValue |
( |
string |
value |
) |
|
void XMLNode::setValue |
( |
string |
value |
) |
|
Sets the value of a xml node
- Parameters:
-
Member Data Documentation
The documentation for this class was generated from the following files:
- E:/Eigene Dateien/Michi/Studium/Semester7/Vis/LU/Beispiel2/FlowVis/FlowVis_2009_01_19_inkl_Texture/header/XMLNode.h
- E:/Eigene Dateien/Michi/Studium/Semester7/Vis/LU/Beispiel2/FlowVis/header/XMLNode.h
- E:/Eigene Dateien/Michi/Studium/Semester7/Vis/LU/Beispiel2/FlowVis/FlowVis_2009_01_19_inkl_Texture/src/XMLNode.cpp
- E:/Eigene Dateien/Michi/Studium/Semester7/Vis/LU/Beispiel2/FlowVis/src/XMLNode.cpp