DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::DefaultExport Class Reference

Default implementation for ExportManager class. More...

Inheritance diagram for com::sparsity::dex::gdb::DefaultExport:
Inheritance graph
Collaboration diagram for com::sparsity::dex::gdb::DefaultExport:
Collaboration graph

List of all members.

Public Member Functions

bool EnableType (int type)
 ExportManager::EnableType.
bool GetEdge (long edge, com.sparsity.dex.gdb.EdgeExport edgeExport)
 ExportManager::GetEdge.
bool GetGraph (com.sparsity.dex.gdb.GraphExport graphExport)
 ExportManager::GetGraph.
bool GetEdgeType (int type, com.sparsity.dex.gdb.EdgeExport edgeExport)
 ExportManager::GetEdgeType.
bool GetNodeType (int type, com.sparsity.dex.gdb.NodeExport nodeExport)
 ExportManager::GetNodeType.
void Release ()
 ExportManager::Release.
bool GetNode (long node, com.sparsity.dex.gdb.NodeExport nodeExport)
 ExportManager::GetNode.
void Prepare (com.sparsity.dex.gdb.Graph graph)
 ExportManager::Prepare.
 DefaultExport ()
 Creates a new instance.

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 com::sparsity::dex::gdb::DefaultExport::EnableType ( int  type)

ExportManager::EnableType.

This enables all node and edge types to be exported.

Parameters:
typenull
Returns:
TRUE.

Reimplemented from com::sparsity::dex::gdb::ExportManager.

bool com::sparsity::dex::gdb::DefaultExport::GetEdge ( long  edge,
com.sparsity.dex.gdb.EdgeExport  edgeExport 
)

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.

Parameters:
edgenull
edgeExportnull
Returns:
TRUE.

Reimplemented from com::sparsity::dex::gdb::ExportManager.

bool com::sparsity::dex::gdb::DefaultExport::GetEdgeType ( int  type,
com.sparsity.dex.gdb.EdgeExport  edgeExport 
)

ExportManager::GetEdgeType.

This sets de default EdgeExport values.

Parameters:
typenull
edgeExportnull

Reimplemented from com::sparsity::dex::gdb::ExportManager.

bool com::sparsity::dex::gdb::DefaultExport::GetGraph ( com.sparsity.dex.gdb.GraphExport  graphExport)

ExportManager::GetGraph.

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

Parameters:
graphExportnull

Reimplemented from com::sparsity::dex::gdb::ExportManager.

bool com::sparsity::dex::gdb::DefaultExport::GetNode ( long  node,
com.sparsity.dex.gdb.NodeExport  nodeExport 
)

ExportManager::GetNode.

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

Parameters:
nodenull
nodeExportnull
Returns:
TRUE.

Reimplemented from com::sparsity::dex::gdb::ExportManager.

bool com::sparsity::dex::gdb::DefaultExport::GetNodeType ( int  type,
com.sparsity.dex.gdb.NodeExport  nodeExport 
)

ExportManager::GetNodeType.

This sets de default NodeExport values.

Parameters:
typenull
nodeExportnull

Reimplemented from com::sparsity::dex::gdb::ExportManager.

void com::sparsity::dex::gdb::DefaultExport::Prepare ( com.sparsity.dex.gdb.Graph  graph)

ExportManager::Prepare.

Parameters:
graphnull

Reimplemented from com::sparsity::dex::gdb::ExportManager.