util::BoolCharacter Class Reference

#include <tokenize_piece.hh>

List of all members.

Public Member Functions

 BoolCharacter ()
 BoolCharacter (const bool *delimiter)
StringPiece Find (const StringPiece &in) const

Static Public Member Functions

template<unsigned Length>
static void Build (const char(&characters)[Length], bool(&out)[256])

Detailed Description

Definition at line 61 of file tokenize_piece.hh.

Constructor & Destructor Documentation

util::BoolCharacter::BoolCharacter (  )  [inline]

Definition at line 63 of file tokenize_piece.hh.

util::BoolCharacter::BoolCharacter ( const bool *  delimiter  )  [inline, explicit]

Definition at line 65 of file tokenize_piece.hh.

Member Function Documentation

template<unsigned Length>
static void util::BoolCharacter::Build ( const char(&)  characters[Length],
bool(&)  out[256] 
) [inline, static]

Definition at line 74 of file tokenize_piece.hh.

Referenced by lm::builder::CorpusCount::Run().

Here is the caller graph for this function:

StringPiece util::BoolCharacter::Find ( const StringPiece in  )  const [inline]

Definition at line 67 of file tokenize_piece.hh.

References StringPiece::data(), and StringPiece::size().

Here is the call graph for this function:

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

Generated on Thu Jul 6 00:34:53 2017 for Moses by  doxygen 1.5.9