This class imports GXL or GTXL XML files and converts them to Hypergraph and GTS objects respectively.
More...
#include <GTXLReader.h>
|
bool | showWarnings |
| Specifies whether warnings for ignored XML nodes and attributes should be displayed or not.
|
|
This class imports GXL or GTXL XML files and converts them to Hypergraph and GTS objects respectively.
- Author
- Jan Stückrath
- See Also
- graphs::Hypergraph
-
graphs::GTS
bool areWarningsShown |
( |
| ) |
|
Returns true, iff warnings will be logged when they occur.
- Returns
- true, iff warnings will be shown
Use this method to generate a new GTXLReader object.
No initialization is needed before use.
- Warning
- The caller has to properly delete the GTXLReader after use to avoid memory leaks.
- Returns
- a pointer to a new GTXLReader object
Use this method to generate a new GTXLReader object.
No initialization is needed before use.
- Returns
- a pointer to a new GTXLReader object
This method takes a path to a GTXL XML-file and reads the stored GTS.
- Parameters
-
filename | a complete path to a GTXL file |
oldRuleIDs | if given, this map will be filled with pairs of rule IDs mapped to (old) IDs read from the input files |
oldGraphIDs | if given, this map will be filled with pairs of graph IDs mapped to (old) IDs read from the input files |
- Returns
- a pointer to the read GTS
- Exceptions
-
Implemented in GTXLReaderXerces.
This method takes a path to a GXL XML-file and reads all hypergraphs stored in it.
- Parameters
-
filename | a complete path to a GXL file |
oldIDs | if given, this map will be filled with pairs of graph IDs mapped to (old) IDs read from the input files |
- Returns
- a pointer to a vector of the graphs read
- Exceptions
-
Implemented in GTXLReaderXerces.
void setWarningsShown |
( |
bool |
show | ) |
|
Sets whether warning will be logged when they occur.
- Parameters
-
show | set to true, if warnings should be logged |
The documentation for this class was generated from the following files:
- /home/stueckrath/eclipse_ws/Uncover/src/io/GTXLReader.h
- /home/stueckrath/eclipse_ws/Uncover/src/io/GTXLReader.cpp