search::Header Class Reference

#include <header.hh>

Inheritance diagram for search::Header:

Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Valid () const
Score GetScore () const
void SetScore (Score to)
bool operator< (const Header &other) const
bool operator> (const Header &other) const
Arity GetArity () const
Note GetNote () const
void SetNote (Note to)
Moses::Range GetRange () const
void SetRange (Moses::Range to)
uint8_t * Base ()
const uint8_t * Base () const

Protected Member Functions

 Header ()
 Header (void *base)
 Header (void *base, Arity arity)
uint8_t * After ()
const uint8_t * After () const

Static Protected Attributes

static const std::size_t kHeaderSize = sizeof(Score) + sizeof(Arity) + sizeof(Note) + sizeof(Moses::Range)


Detailed Description

Definition at line 14 of file header.hh.


Constructor & Destructor Documentation

search::Header::Header (  )  [inline, protected]

Definition at line 53 of file header.hh.

search::Header::Header ( void *  base  )  [inline, explicit, protected]

Definition at line 55 of file header.hh.

search::Header::Header ( void *  base,
Arity  arity 
) [inline, protected]

Definition at line 57 of file header.hh.


Member Function Documentation

const uint8_t* search::Header::After (  )  const [inline, protected]

Definition at line 64 of file header.hh.

References kHeaderSize.

uint8_t* search::Header::After (  )  [inline, protected]

Definition at line 63 of file header.hh.

References kHeaderSize.

Referenced by search::PartialEdge::Between(), search::GenericApplied< Applied >::Children(), and search::PartialEdge::NT().

Here is the caller graph for this function:

const uint8_t* search::Header::Base (  )  const [inline]

Definition at line 50 of file header.hh.

uint8_t* search::Header::Base (  )  [inline]

Definition at line 49 of file header.hh.

Referenced by search::GenericApplied< Applied >::GenericApplied().

Here is the caller graph for this function:

Arity search::Header::GetArity (  )  const [inline]

Definition at line 31 of file header.hh.

Referenced by search::PartialEdge::Between(), search::SingleBest::Complete(), and search::GenericApplied< Applied >::GenericApplied().

Here is the caller graph for this function:

Note search::Header::GetNote (  )  const [inline]

Definition at line 35 of file header.hh.

Moses::Range search::Header::GetRange (  )  const [inline]

Definition at line 42 of file header.hh.

Score search::Header::GetScore (  )  const [inline]

Definition at line 18 of file header.hh.

Referenced by search::SingleBest::Add(), search::SingleBest::Complete(), operator<(), and operator>().

Here is the caller graph for this function:

bool search::Header::operator< ( const Header other  )  const [inline]

Definition at line 24 of file header.hh.

References GetScore().

Here is the call graph for this function:

bool search::Header::operator> ( const Header other  )  const [inline]

Definition at line 27 of file header.hh.

References GetScore().

Here is the call graph for this function:

void search::Header::SetNote ( Note  to  )  [inline]

Definition at line 38 of file header.hh.

Referenced by search::GenericApplied< Applied >::GenericApplied(), and search::EdgeGenerator::Pop().

Here is the caller graph for this function:

void search::Header::SetRange ( Moses::Range  to  )  [inline]

Definition at line 45 of file header.hh.

Referenced by search::GenericApplied< Applied >::GenericApplied(), and search::EdgeGenerator::Pop().

Here is the caller graph for this function:

void search::Header::SetScore ( Score  to  )  [inline]

Definition at line 21 of file header.hh.

Referenced by search::GenericApplied< Applied >::GenericApplied(), and search::EdgeGenerator::Pop().

Here is the caller graph for this function:

bool search::Header::Valid (  )  const [inline]

Definition at line 16 of file header.hh.

Referenced by search::SingleBest::Add(), search::SingleBest::Complete(), and search::EdgeGenerator::Search().

Here is the caller graph for this function:


Member Data Documentation

const std::size_t search::Header::kHeaderSize = sizeof(Score) + sizeof(Arity) + sizeof(Note) + sizeof(Moses::Range) [static, protected]


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

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