Marsyas  0.5.0-beta1
Public Member Functions
WekaSink Class Reference

Output sink (text) in WEKA (ARFF) format. More...

#include <WekaSink.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
std::ofstream * getOfstream ()
void myProcess (realvec &in, realvec &out)
 Processes data.
void putHeader (std::string inObsNames)
 Write the WEKA ARFF header to the output file.
 WekaSink (std::string name)
 WekaSink constructor.
 WekaSink (const WekaSink &a)
 WekaSink copy constructor.
 ~WekaSink ()
 WekaSink desctructor.

Detailed Description

Output sink (text) in WEKA (ARFF) format.

Controls:

Definition at line 56 of file WekaSink.h.


Constructor & Destructor Documentation

WekaSink ( std::string  name)

WekaSink constructor.

Definition at line 25 of file WekaSink.cpp.

WekaSink ( const WekaSink a)

WekaSink copy constructor.

Definition at line 42 of file WekaSink.cpp.

~WekaSink ( )

WekaSink desctructor.

Definition at line 32 of file WekaSink.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 63 of file WekaSink.cpp.

std::ofstream* getOfstream ( ) [inline]

Definition at line 115 of file WekaSink.h.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 262 of file WekaSink.cpp.

void putHeader ( std::string  inObsNames)

Write the WEKA ARFF header to the output file.

Definition at line 99 of file WekaSink.cpp.


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