Sparksee  6.0.2
STSDefaultExport Class Reference

Default implementation for ExportManager class. More...

Inheritance diagram for STSDefaultExport:
Inheritance graph
Collaboration diagram for STSDefaultExport:
Collaboration graph

Instance Methods

(id) - init
 Creates a new instance.
 
(void) - prepare:
 Default implementation of the ExportManager class method Prepare. More...
 
(void) - close
 Default implementation of the ExportManager class method Release.
 
(BOOL) - getGraph:
 Default implementation of the ExportManager class method GetGraph. More...
 
(BOOL) - getNodeType:nodeExport:
 Default implementation of the ExportManager class method GetNodeType. More...
 
(BOOL) - getEdgeType:edgeExport:
 Default implementation of the ExportManager class method GetEdgeType. More...
 
(BOOL) - getNode:nodeExport:
 Default implementation of the ExportManager class method GetNode. More...
 
(BOOL) - getEdge:edgeExport:
 Default implementation of the ExportManager class method GetEdge. More...
 
(BOOL) - enableType:
 Default implementation of the ExportManager class method EnableType. More...
 

Detailed Description

Default implementation for ExportManager class.

It uses the default values from GraphExport, NodeExport and EdgeExport to export all node and edge types.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Method Documentation

- (BOOL) enableType: (int)  type

Default implementation of the ExportManager class method EnableType.

This enables all node and edge types to be exported.

Parameters
type[in] The type to enable.
Returns
TRUE.

Implements STSExportManager.

- (BOOL) getEdge: (long long)  edge
edgeExport: (STSEdgeExport *)  edgeExport 

Default implementation of the ExportManager class method GetEdge.

This sets the default EdgeExport values and sets the OID as the label. Also, it exports the edge as directed just if the edge is directed.

Parameters
edge[in] An edge.
edgeExport[out] The EdgeExport that will store the information.
Returns
TRUE.

Implements STSExportManager.

- (BOOL) getEdgeType: (int)  type
edgeExport: (STSEdgeExport *)  edgeExport 

Default implementation of the ExportManager class method GetEdgeType.

This sets de default EdgeExport values.

Parameters
type[in] An edge type.
edgeExport[out] The EdgeExport that will store the information.
Returns
TRUE.

Implements STSExportManager.

- (BOOL) getGraph: (STSGraphExport *)  graphExport

Default implementation of the ExportManager class method GetGraph.

This sets the default GraphExport values and "Graph" as the label.

Parameters
graphExport[out] The GraphExport that will store the information.
Returns
TRUE.

Implements STSExportManager.

- (BOOL) getNode: (long long)  node
nodeExport: (STSNodeExport *)  nodeExport 

Default implementation of the ExportManager class method GetNode.

This sets the default NodeExport values and sets the OID as the label.

Parameters
node[in] A node.
nodeExport[out] The NodeExport that will store the information.
Returns
TRUE.

Implements STSExportManager.

- (BOOL) getNodeType: (int)  type
nodeExport: (STSNodeExport *)  nodeExport 

Default implementation of the ExportManager class method GetNodeType.

This sets de default NodeExport values.

Parameters
type[in] A node type.
nodeExport[out] The NodeExport that will store the information.
Returns
TRUE.

Implements STSExportManager.

- (void) prepare: (STSGraph *)  graph

Default implementation of the ExportManager class method Prepare.

Parameters
graphnull

Implements STSExportManager.


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