DexNet  4.8.2
Public Member Functions | List of all members
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

Public Member Functions

bool EnableType (int type)
 ExportManager::EnableType. More...
 
bool GetEdge (long edge, com.sparsity.dex.gdb.EdgeExport edgeExport)
 ExportManager::GetEdge. More...
 
bool GetGraph (com.sparsity.dex.gdb.GraphExport graphExport)
 ExportManager::GetGraph. More...
 
bool GetEdgeType (int type, com.sparsity.dex.gdb.EdgeExport edgeExport)
 ExportManager::GetEdgeType. More...
 
bool GetNodeType (int type, com.sparsity.dex.gdb.NodeExport nodeExport)
 ExportManager::GetNodeType. More...
 
void Release ()
 ExportManager::Release.
 
bool GetNode (long node, com.sparsity.dex.gdb.NodeExport nodeExport)
 ExportManager::GetNode. More...
 
void Prepare (com.sparsity.dex.gdb.Graph graph)
 ExportManager::Prepare. More...
 
 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.
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.
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
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
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.
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
void com.sparsity.dex.gdb.DefaultExport.Prepare ( com.sparsity.dex.gdb.Graph  graph)

ExportManager::Prepare.

Parameters
graphnull