DefaultExport Class Reference
[Gdb]

Default implementation for ExportManager class. More...

Inheritance diagram for DefaultExport:

Inheritance graph
Collaboration diagram for DefaultExport:

Collaboration graph

List of all members.

Public Member Functions

 DefaultExport ()
 Creates a new instance.
virtual ~DefaultExport ()
 Destructor.
void Prepare (Graph *graph)
 Default implementation of the ExportManager class method Prepare.
void Release ()
 Default implementation of the ExportManager class method Release.
bool_t GetGraph (GraphExport &graphExport)
 Default implementation of the ExportManager class method GetGraph.
bool_t GetNodeType (type_t type, NodeExport &nodeExport)
 Default implementation of the ExportManager class method GetNodeType.
bool_t GetEdgeType (type_t type, EdgeExport &edgeExport)
 Default implementation of the ExportManager class method GetEdgeType.
bool_t GetNode (oid_t node, NodeExport &nodeExport)
 Default implementation of the ExportManager class method GetNode.
bool_t GetEdge (oid_t edge, EdgeExport &edgeExport)
 Default implementation of the ExportManager class method GetEdge.
bool_t EnableType (type_t type)
 Default implementation of the ExportManager class method EnableType.


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

Member Function Documentation

bool_t DefaultExport::GetGraph ( GraphExport graphExport  )  [virtual]

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 ExportManager.

bool_t DefaultExport::GetNodeType ( type_t  type,
NodeExport nodeExport 
) [virtual]

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 ExportManager.

bool_t DefaultExport::GetEdgeType ( type_t  type,
EdgeExport edgeExport 
) [virtual]

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 ExportManager.

bool_t DefaultExport::GetNode ( oid_t  node,
NodeExport nodeExport 
) [virtual]

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 ExportManager.

bool_t DefaultExport::GetEdge ( oid_t  edge,
EdgeExport edgeExport 
) [virtual]

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 ExportManager.

bool_t DefaultExport::EnableType ( type_t  type  )  [virtual]

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 ExportManager.


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

Generated on Fri Sep 12 13:36:28 2014 for Sparksee by  doxygen 1.5.6