Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PitchmarkParser Class Reference
[BOSS OLA Module]

A wrapper class for the lex/yacc pitchmark parser algorithm. More...

#include <pitchmark_parser.h>

List of all members.

Public Member Functions

 PitchmarkParser (std::string fileName)
 PitchmarkParser constructor.

 ~PitchmarkParser ()
 PitchmarkParser destructor.

double * getData ()
 Casts the data to array of double and returns the result.

int getLength ()
 Returns the number of pitchmarks read.

void print ()
 Prints pitchmarks that have been read already.


Protected Attributes

int size
double * points


Detailed Description

A wrapper class for the lex/yacc pitchmark parser algorithm.


Constructor & Destructor Documentation

PitchmarkParser::PitchmarkParser std::string  fileName  ) 
 

PitchmarkParser constructor.

PitchmarkParser::~PitchmarkParser  ) 
 

PitchmarkParser destructor.


Member Function Documentation

double * PitchmarkParser::getData  ) 
 

Casts the data to array of double and returns the result.

Returns:
pitchmarks as array of doubles

int PitchmarkParser::getLength  ) 
 

Returns the number of pitchmarks read.

Returns:
number of pitchmarks

void PitchmarkParser::print  ) 
 

Prints pitchmarks that have been read already.


Member Data Documentation

double* PitchmarkParser::points [protected]
 

int PitchmarkParser::size [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:14:41 2005 for BOSS by doxygen 1.3.6