Vessel-Tree 2D Visualisation
 All Classes Functions Variables
MyXmlStreamReader Class Reference
Inheritance diagram for MyXmlStreamReader:
DataStructure

Public Member Functions

bool readFile (QString &fileName)
 readFile More...
 
void readHeaderElement (QXmlStreamReader &xml)
 readHeaderElement More...
 
void readCpElement (QXmlStreamReader &xml)
 readCpElement More...
 
void readSegmentElement (QXmlStreamReader &xml)
 readSegmentElement More...
 
void readPointsElement (QXmlStreamReader &xml, Segment &seg)
 readPointsElement More...
 
void readPointElement (QXmlStreamReader &xml, Segment &seg)
 readPointElement More...
 

Public Attributes

QXmlStreamReader xml
 
- Public Attributes inherited from DataStructure
struct DataStructure::Header header
 
QList< Segment > * segmentList
 segmentList More...
 
std::map< int, controlPoint > * cpMap
 cpMap More...
 

Member Function Documentation

void MyXmlStreamReader::readCpElement ( QXmlStreamReader &  xml)

readCpElement

parses an <cp>...</cp> element

Parameters
xml
bool MyXmlStreamReader::readFile ( QString &  fileName)

readFile

create a new file object with the XML file path, set device and call xml stream reader to read file

Parameters
fileName
Returns
void MyXmlStreamReader::readHeaderElement ( QXmlStreamReader &  xml)

readHeaderElement

parses an <header>...</header> element

Parameters
xml
void MyXmlStreamReader::readPointElement ( QXmlStreamReader &  xml,
Segment seg 
)

readPointElement

parses an <point>...</point> element

Parameters
xml
seg
void MyXmlStreamReader::readPointsElement ( QXmlStreamReader &  xml,
Segment seg 
)

readPointsElement

parses an <points>...</points> element

Parameters
xml
seg
void MyXmlStreamReader::readSegmentElement ( QXmlStreamReader &  xml)

readSegmentElement

parses an <segment>...</segment> element

Parameters
xml

The documentation for this class was generated from the following files: