Moses::FactorMask Class Reference

#include <FactorTypeSet.h>

List of all members.

Public Member Functions

 FactorMask (const std::vector< FactorType > &factors)
 construct object from list of FactorType.
 FactorMask ()
 default constructor
 FactorMask (const std::bitset< MAX_NUM_FACTORS > &rhs)
 copy constructor
bool IsUseable (const FactorMask &other) const
 TO_STRING ()

Friends

std::ostream & operator<< (std::ostream &, const FactorMask &)


Detailed Description

set of unique FactorTypes. Used to store what factor types are used in phrase tables etc

Definition at line 36 of file FactorTypeSet.h.


Constructor & Destructor Documentation

Moses::FactorMask::FactorMask ( const std::vector< FactorType > &  factors  )  [explicit]

construct object from list of FactorType.

Moses::FactorMask::FactorMask (  )  [inline]

default constructor

Definition at line 44 of file FactorTypeSet.h.

Moses::FactorMask::FactorMask ( const std::bitset< MAX_NUM_FACTORS > &  rhs  )  [inline]

copy constructor

Definition at line 46 of file FactorTypeSet.h.


Member Function Documentation

bool Moses::FactorMask::IsUseable ( const FactorMask other  )  const

Definition at line 36 of file FactorTypeSet.cpp.

Moses::FactorMask::TO_STRING (  ) 


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FactorMask fm 
) [friend]

Definition at line 52 of file FactorTypeSet.cpp.


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

Generated on Thu Jul 6 00:32:59 2017 for Moses by  doxygen 1.5.9