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)
 ExportManager::Prepare.
void Release ()
 ExportManager::Release.
bool_t GetGraph (GraphExport &graphExport)
 ExportManager::GetGraph.
bool_t GetNodeType (type_t type, NodeExport &nodeExport)
 ExportManager::GetNodeType.
bool_t GetEdgeType (type_t type, EdgeExport &edgeExport)
 ExportManager::GetEdgeType.
bool_t GetNode (oid_t node, NodeExport &nodeExport)
 ExportManager::GetNode.
bool_t GetEdge (oid_t edge, EdgeExport &edgeExport)
 ExportManager::GetEdge.
bool_t EnableType (type_t type)
 ExportManager::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]

ExportManager::GetGraph.

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

Implements ExportManager.

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

ExportManager::GetNodeType.

This sets de default NodeExport values.

Implements ExportManager.

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

ExportManager::GetEdgeType.

This sets de default EdgeExport values.

Implements ExportManager.

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

ExportManager::GetNode.

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

Returns:
TRUE.

Implements ExportManager.

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

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

Returns:
TRUE.

Implements ExportManager.

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

ExportManager::EnableType.

This enables all node and edge types to be exported.

Returns:
TRUE.

Implements ExportManager.


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

Generated on Tue Jul 16 12:10:14 2013 for Dex by  doxygen 1.5.6