Edinburgh Speech Tools  2.1-release
WQuestion Class Reference

#include <include/EST_Wagon.h>

Public Member Functions

 WQuestion ()
 
 WQuestion (const WQuestion &s)
 
 ~WQuestion ()
 
 WQuestion (int fp, wn_oper o, EST_Val a)
 
void set_fp (const int &fp)
 
void set_oper (const wn_oper &o)
 
void set_operand1 (const EST_Val &a)
 
void set_yes (const int &y)
 
void set_no (const int &n)
 
int get_yes (void) const
 
int get_no (void) const
 
int get_fp (void) const
 
wn_oper get_op (void) const
 
const EST_Val get_operand1 (void) const
 
const EST_IListget_operandl (void) const
 
float get_score (void) const
 
void set_score (const float &f)
 
int ask (const WVector &w) const
 

Friends

ostream & operator<< (ostream &s, const WQuestion &q)
 

Detailed Description

Definition at line 99 of file EST_Wagon.h.

Constructor & Destructor Documentation

WQuestion::WQuestion ( )
inline

Definition at line 109 of file EST_Wagon.h.

WQuestion::WQuestion ( const WQuestion s)
inline

Definition at line 115 of file EST_Wagon.h.

WQuestion::~WQuestion ( )
inline

Definition at line 119 of file EST_Wagon.h.

WQuestion::WQuestion ( int  fp,
wn_oper  o,
EST_Val  a 
)
inline

Definition at line 120 of file EST_Wagon.h.

Member Function Documentation

void WQuestion::set_fp ( const int fp)
inline

Definition at line 122 of file EST_Wagon.h.

void WQuestion::set_oper ( const wn_oper o)
inline

Definition at line 123 of file EST_Wagon.h.

void WQuestion::set_operand1 ( const EST_Val a)
inline

Definition at line 124 of file EST_Wagon.h.

void WQuestion::set_yes ( const int y)
inline

Definition at line 125 of file EST_Wagon.h.

void WQuestion::set_no ( const int n)
inline

Definition at line 126 of file EST_Wagon.h.

int WQuestion::get_yes ( void  ) const
inline

Definition at line 127 of file EST_Wagon.h.

int WQuestion::get_no ( void  ) const
inline

Definition at line 128 of file EST_Wagon.h.

int WQuestion::get_fp ( void  ) const
inline

Definition at line 129 of file EST_Wagon.h.

wn_oper WQuestion::get_op ( void  ) const
inline

Definition at line 130 of file EST_Wagon.h.

const EST_Val WQuestion::get_operand1 ( void  ) const
inline

Definition at line 131 of file EST_Wagon.h.

const EST_IList& WQuestion::get_operandl ( void  ) const
inline

Definition at line 132 of file EST_Wagon.h.

float WQuestion::get_score ( void  ) const
inline

Definition at line 133 of file EST_Wagon.h.

void WQuestion::set_score ( const float &  f)
inline

Definition at line 134 of file EST_Wagon.h.

int WQuestion::ask ( const WVector w) const

Definition at line 263 of file wagon_aux.cc.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
const WQuestion q 
)
friend

Definition at line 305 of file wagon_aux.cc.


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