Marsyas  0.5.0-beta1
Public Member Functions | Friends
Collection Class Reference

List of files. More...

#include <Collection.h>

Public Member Functions

void add (std::string entry)
void add (std::string entry, std::string label)
void clear ()
 Collection ()
void concatenate (std::vector< Collection > cls)
std::string entry (mrs_natural i)
mrs_string getLabelNames ()
mrs_natural getNumLabels ()
mrs_natural getSize ()
mrs_bool hasLabels ()
void labelAll (std::string label)
std::string labelEntry (mrs_natural i)
mrs_string labelName (mrs_natural i)
mrs_natural labelNum (mrs_string label)
std::string name ()
void read (std::string filename)
mrs_real regression_label (mrs_natural cindex)
void setName (std::string name)
void shuffle ()
mrs_natural size ()
void store_labels (mrs_bool store)
std::string toLongString ()
void write (std::string filename)
 ~Collection ()


marsyas_EXPORT friend
std::ostream & 
operator<< (std::ostream &, const Collection &)
marsyas_EXPORT friend
std::istream & 
operator>> (std::istream &, Collection &)

Detailed Description

List of files.

List of files used for batch processing.

Definition at line 39 of file Collection.h.

Constructor & Destructor Documentation

Definition at line 54 of file Collection.cpp.

~Collection ( )

Definition at line 63 of file Collection.cpp.

Member Function Documentation

void add ( std::string  entry)

Definition at line 152 of file Collection.cpp.

void add ( std::string  entry,
std::string  label 

Definition at line 173 of file Collection.cpp.

void clear ( )

Definition at line 161 of file Collection.cpp.

void concatenate ( std::vector< Collection cls)

Definition at line 283 of file Collection.cpp.

mrs_string entry ( mrs_natural  i)

Definition at line 273 of file Collection.cpp.

mrs_string getLabelNames ( )

Definition at line 208 of file Collection.cpp.

mrs_natural getNumLabels ( )

Definition at line 193 of file Collection.cpp.

mrs_natural getSize ( )

Definition at line 139 of file Collection.cpp.

mrs_bool hasLabels ( )

Definition at line 214 of file Collection.cpp.

void labelAll ( std::string  label)

Definition at line 98 of file Collection.cpp.

mrs_string labelEntry ( mrs_natural  i)

Definition at line 264 of file Collection.cpp.

mrs_string labelName ( mrs_natural  i)

Definition at line 199 of file Collection.cpp.

mrs_natural labelNum ( mrs_string  label)

Definition at line 244 of file Collection.cpp.

mrs_string name ( )

Definition at line 146 of file Collection.cpp.

void read ( std::string  filename)

Definition at line 81 of file Collection.cpp.

mrs_real regression_label ( mrs_natural  cindex)

Definition at line 255 of file Collection.cpp.

void setName ( std::string  name)

Definition at line 68 of file Collection.cpp.

void shuffle ( )

Definition at line 220 of file Collection.cpp.

mrs_natural size ( )

Definition at line 133 of file Collection.cpp.

void store_labels ( mrs_bool  store)

Definition at line 74 of file Collection.cpp.

mrs_string toLongString ( )

Definition at line 238 of file Collection.cpp.

void write ( std::string  filename)

Definition at line 91 of file Collection.cpp.

Friends And Related Function Documentation

marsyas_EXPORT friend std::ostream& operator<< ( std::ostream &  o,
const Collection l 
) [friend]

Definition at line 115 of file Collection.cpp.

marsyas_EXPORT friend std::istream& operator>> ( std::istream &  i,
Collection l 
) [friend]

Definition at line 310 of file Collection.cpp.

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