NodeTypeExporter class.
More...
#include <Sparksee.h>
NodeTypeExporter class.
Specific TypeExporter implementation for node types.
Check out the 'Data export' section in the SPARKSEE User Manual for more details on this.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
◆ initWithRowWriter:graph:type:attrs:
Creates a new instance.
- Parameters
-
| rowWriter | [in] Output RowWriter. |
| graph | [in] Graph. |
| type | [in] Type identifier. |
| attrs | [in] Attribute identifiers to be exported. |
◆ registerListener:
Registers a new listener.
- Parameters
-
| tel | [in] TypeExporterListener to be registered. |
◆ run
See the TypeExporter class Run method.
WrongArgumentErrorIn case of bad settings ErrorFor other issues
- Exceptions
-
| System.ApplicationException | null |
| System.ArgumentException | null |
| System.IO.IOException | If bad things happen writting to the RowWriter. |
Implements STSTypeExporter.
References run.
Referenced by run.
◆ setAttributes:
Sets the list of Attributes.
- Parameters
-
| attrs | [in] Attribute identifiers to be exported |
◆ setFrequency:
| - (void) setFrequency: |
|
(int) | freq |
|
Sets the frequency of listener notification.
- Parameters
-
| freq | [in] Frequency in number of rows managed to notify progress to all listeners |
◆ setGraph:
Sets the graph that will be exported.
- Parameters
-
◆ setHeader:
| - (void) setHeader: |
|
(BOOL) | header |
|
Sets the presence of a header row.
- Parameters
-
| header | [in] If TRUE, a header row is dumped with the name of the attributes. |
◆ setRowWriter:
Sets the output data destination.
- Parameters
-
◆ setType:
| - (void) setType: |
|
(int) | type |
|
Sets the type to be exported.
- Parameters
-
| type | [in] Type identifier. |
The documentation for this class was generated from the following file: