Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

BinIDSorting Class Reference

BinID sorting parameters. More...

List of all members.

Public Member Functions

 BinIDSorting (bool is2d)
bool isValid (const BinID &prev, const BinID &cur) const
const char * description () const
bool inlSorted () const
bool inlUpward () const
 < ignored in 2D
bool crlUpward () const
void set (bool inl, bool inlupw, bool crlupw)
 In 2D, 'inl' is ignored and inlupw irrelevant.

Static Public Member Functions

static bool isValid (bool is2d, const BinID &prev, const BinID &cur, bool inlsorted, bool inlupward, bool crlupward)
static const char * description (bool is2d, bool inlsorted, bool inlupward, bool crlupward)

Protected Member Functions

 BinIDSorting (bool is2d, int st)

Protected Attributes

int state_
bool is2d_

Friends

class BinIDSortingAnalyser

Detailed Description

BinID sorting parameters.

Note that in 2D, inl == line number, crl == trace number


Constructor & Destructor Documentation

BinIDSorting::BinIDSorting ( bool  is2d  )  [inline]
BinIDSorting::BinIDSorting ( bool  is2d,
int  st 
) [inline, protected]

Member Function Documentation

bool BinIDSorting::crlUpward (  )  const [inline]
const char* BinIDSorting::description (  )  const
static const char* BinIDSorting::description ( bool  is2d,
bool  inlsorted,
bool  inlupward,
bool  crlupward 
) [static]
bool BinIDSorting::inlSorted (  )  const [inline]
bool BinIDSorting::inlUpward (  )  const [inline]

< ignored in 2D

bool BinIDSorting::isValid ( const BinID prev,
const BinID cur 
) const
static bool BinIDSorting::isValid ( bool  is2d,
const BinID prev,
const BinID cur,
bool  inlsorted,
bool  inlupward,
bool  crlupward 
) [static]
void BinIDSorting::set ( bool  inl,
bool  inlupw,
bool  crlupw 
)

In 2D, 'inl' is ignored and inlupw irrelevant.


Friends And Related Function Documentation

friend class BinIDSortingAnalyser [friend]

Member Data Documentation

bool BinIDSorting::is2d_ [protected]
int BinIDSorting::state_ [protected]