ZGen  0.2.0
a linearization system for natural language.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
ZGen::ShiftReduce::Action Class Reference

#include <action.h>

Public Member Functions

 Action ()
 
 Action (int _prefix, int _label, int _word)
 
 Action (int _prefix, int _label, int _word, int _index)
 
std::size_t hash () const
 
Actionoperator= (const Action &a)
 
bool operator== (const Action &a) const
 
bool operator!= (const Action &a) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Public Attributes

int prefix
 
int label
 
int word
 
int index
 
std::size_t seed
 

Friends

class boost::serialization::access
 
std::ostream & operator<< (std::ostream &os, const Action &act)
 
std::size_t hash_value (const Action &a)
 

Constructor & Destructor Documentation

ZGen::ShiftReduce::Action::Action ( )
inline
ZGen::ShiftReduce::Action::Action ( int  _prefix,
int  _label,
int  _word 
)
inline
ZGen::ShiftReduce::Action::Action ( int  _prefix,
int  _label,
int  _word,
int  _index 
)
inline

Member Function Documentation

std::size_t ZGen::ShiftReduce::Action::hash ( ) const
inline
bool ZGen::ShiftReduce::Action::operator!= ( const Action a) const
inline
Action& ZGen::ShiftReduce::Action::operator= ( const Action a)
inline
bool ZGen::ShiftReduce::Action::operator== ( const Action a) const
inline
template<class Archive >
void ZGen::ShiftReduce::Action::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend
std::size_t hash_value ( const Action a)
friend
std::ostream& operator<< ( std::ostream &  os,
const Action act 
)
friend

Member Data Documentation

int ZGen::ShiftReduce::Action::index
int ZGen::ShiftReduce::Action::label
int ZGen::ShiftReduce::Action::prefix
std::size_t ZGen::ShiftReduce::Action::seed
int ZGen::ShiftReduce::Action::word

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