Public Member Functions | Static Public Member Functions | Friends

fst::script::WeightClass Class Reference

#include <fst/script/weight-class.h>

Collaboration diagram for fst::script::WeightClass:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WeightClass ()
template<class W >
 WeightClass (const W &weight)
 WeightClass (const string &weight_type, const string &weight_str)
 WeightClass (const WeightClass &other)
WeightClassoperator= (const WeightClass &other)
template<class W >
const W * GetWeight () const
string to_string () const
bool operator== (const WeightClass &other) const
 ~WeightClass ()

Static Public Member Functions

static const WeightClassZero ()
static const WeightClassOne ()

Friends

ostream & operator<< (ostream &o, const WeightClass &c)
 The following confuses swig, and doesn't need to be wrapped anyway.

Detailed Description

Definition at line 77 of file weight-class.h.


Constructor & Destructor Documentation

fst::script::WeightClass::WeightClass (  )  [inline]

Definition at line 79 of file weight-class.h.

template<class W >
fst::script::WeightClass::WeightClass ( const W &  weight  )  [inline, explicit]

Definition at line 82 of file weight-class.h.

fst::script::WeightClass::WeightClass ( const string &  weight_type,
const string &  weight_str 
)

Definition at line 28 of file weight-class.cc.

fst::script::WeightClass::WeightClass ( const WeightClass other  )  [inline]

Definition at line 87 of file weight-class.h.

fst::script::WeightClass::~WeightClass (  )  [inline]

Definition at line 129 of file weight-class.h.


Member Function Documentation

template<class W >
const W * fst::script::WeightClass::GetWeight (  )  const

Definition at line 142 of file weight-class.h.

static const WeightClass& fst::script::WeightClass::One (  )  [inline, static]

Definition at line 123 of file weight-class.h.

WeightClass& fst::script::WeightClass::operator= ( const WeightClass other  )  [inline]

Definition at line 91 of file weight-class.h.

bool fst::script::WeightClass::operator== ( const WeightClass other  )  const [inline]

Definition at line 111 of file weight-class.h.

string fst::script::WeightClass::to_string (  )  const [inline]

Definition at line 101 of file weight-class.h.

static const WeightClass& fst::script::WeightClass::Zero (  )  [inline, static]

Definition at line 117 of file weight-class.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  o,
const WeightClass c 
) [friend]

The following confuses swig, and doesn't need to be wrapped anyway.

Definition at line 38 of file weight-class.cc.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines