#include <TXMLfile.h>
Public Member Functions | |
| TXMLfile () | |
| Constructor. | |
| ~TXMLfile () | |
| void | load (wxString file) |
| Load XML from file. | |
| void | parse (wxString text) |
| Pass XML as string. | |
| bool | success () |
| Errors during parsing? | |
| int | countVectors () |
| How many vectors were made from the XML? | |
| TVector * | getVector (int a) |
| Returns pointer to one of the vectors. | |
Private Member Functions | |
| void | analyze (const TiXmlDocument &doc) |
| Parse single/multiple sequences. | |
| void | readGBSeq (TiXmlNode *base) |
| The actual parser. | |
| wxString | t (TiXmlText *txt) |
| Safe text conversion. | |
| wxString | t (const char *txt) |
| Safe text conversion. | |
| void | readGBqualifiers (TVectorItem &i, TiXmlNode *n) |
| Part of the parser. | |
| void | readGBintervals (vector< TVectorItem > &vi, const TVectorItem &i, TiXmlNode *n) |
| Part of the parser. | |
| wxString | get_sub_desc (TiXmlNode *base, int depth=0) |
Private Attributes | |
| bool | _success |
| Internal success marker. | |
| wxArrayTVector | _v |
| The generated vectors. | |
|
|
Constructor.
|
|
|
|
|
|
Parse single/multiple sequences.
|
|
|
How many vectors were made from the XML?
|
|
||||||||||||
|
|
|
|
Returns pointer to one of the vectors.
|
|
|
Load XML from file.
|
|
|
Pass XML as string.
|
|
||||||||||||||||
|
Part of the parser.
|
|
||||||||||||
|
Part of the parser.
|
|
|
The actual parser.
|
|
|
Errors during parsing?
|
|
|
Safe text conversion.
|
|
|
Safe text conversion.
|
|
|
Internal success marker.
|
|
|
The generated vectors.
|
1.4.1