Public Member Functions | Public Attributes

opennwa::FstKey Struct Reference

Structure for holding OpenFST keys. More...

List of all members.

Public Member Functions

 FstKey (Key k)
bool operator== (FstKey rhs) const
bool operator< (FstKey rhs) const

Public Attributes

fst::StdArc::StateId key

Detailed Description

Structure for holding OpenFST keys.

(Introduced to increase type safety between Wali and OpenFST keys, to decrease the chance of me making a mistake.)


Constructor & Destructor Documentation

opennwa::FstKey::FstKey ( Key  k  )  [explicit]

Member Function Documentation

bool opennwa::FstKey::operator== ( FstKey  rhs  )  const

References key.

bool opennwa::FstKey::operator< ( FstKey  rhs  )  const

References key.


Member Data Documentation

fst::StdArc::StateId opennwa::FstKey::key

Referenced by operator<(), and operator==().


The documentation for this struct was generated from the following file: