DexNet 4.7.0
Public Member Functions
com::sparsity::dex::io::NodeTypeExporter Class Reference

NodeTypeExporter class. More...

Inheritance diagram for com::sparsity::dex::io::NodeTypeExporter:
Inheritance graph
Collaboration diagram for com::sparsity::dex::io::NodeTypeExporter:
Collaboration graph

List of all members.

Public Member Functions

void SetRowWriter (com.sparsity.dex.io.RowWriter rw)
 Sets the output data destination.
void Register (com.sparsity.dex.io.TypeExporterListener tel)
 Registers a new listener.
void Run () throws System.IO.IOException, System.ApplicationException
 See TypeExporter::Run.
void SetHeader (bool header)
 Sets the presence of a header row.
void SetFrequency (int freq)
 Sets the frequency of listener notification.
void SetAttributes (com.sparsity.dex.gdb.AttributeList attrs)
 Sets the list of Attributes.
void SetGraph (com.sparsity.dex.gdb.Graph g)
 Sets the graph that will be exported.
 NodeTypeExporter (com.sparsity.dex.io.RowWriter rw, com.sparsity.dex.gdb.Graph g, int t, com.sparsity.dex.gdb.AttributeList attrs)
 Creates a new instance.
void SetType (int t)
 Sets the type to be exported.
 NodeTypeExporter ()
 Creates a new instance.

Detailed Description

NodeTypeExporter class.

Specific TypeExporter implementation for node types.

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

Constructor & Destructor Documentation

com::sparsity::dex::io::NodeTypeExporter::NodeTypeExporter ( com.sparsity.dex.io.RowWriter  rw,
com.sparsity.dex.gdb.Graph  g,
int  t,
com.sparsity.dex.gdb.AttributeList  attrs 
)

Creates a new instance.

Parameters:
rw[in] Output RowWriter.
g[in] Graph.
t[in] Type identifier.
attrs[in] Attribute identifiers to be exported.

Member Function Documentation

void com::sparsity::dex::io::NodeTypeExporter::Register ( com.sparsity.dex.io.TypeExporterListener  tel)

Registers a new listener.

Parameters:
tel[in] TypeExporterListener to be registered.

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::Run ( ) throws System.IO.IOException, System.ApplicationException

See TypeExporter::Run.

Exceptions:
System.IO.IOExceptionnull
System.ApplicationExceptionnull

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetAttributes ( com.sparsity.dex.gdb.AttributeList  attrs)

Sets the list of Attributes.

Parameters:
attrs[in] Attribute identifiers to be exported

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetFrequency ( int  freq)

Sets the frequency of listener notification.

freq [in] Frequency in number of rows managed to notify progress to all listeners

Parameters:
freqnull

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetGraph ( com.sparsity.dex.gdb.Graph  g)

Sets the graph that will be exported.

Parameters:
g[in] Graph.

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetHeader ( bool  header)

Sets the presence of a header row.

Parameters:
header[in] If TRUE, a header row is dumped with the name of the attributes.

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetRowWriter ( com.sparsity.dex.io.RowWriter  rw)

Sets the output data destination.

rr[in] Input RowWriter.

Parameters:
rwnull

Reimplemented from com::sparsity::dex::io::TypeExporter.

void com::sparsity::dex::io::NodeTypeExporter::SetType ( int  t)

Sets the type to be exported.

Parameters:
t[in] Type identifier.

Reimplemented from com::sparsity::dex::io::TypeExporter.