Public Member Functions | Protected Attributes

BinIDSortingAnalyser Class Reference

List of all members.

Public Member Functions

 BinIDSortingAnalyser (bool is2d)
bool add (const BinID &)
BinIDSorting getSorting () const
 Can be used after add() returns true.
const char * errMsg () const

Protected Attributes

BinID prev_
bool is2d_
bool st_ [8]
BufferString errmsg_

Constructor & Destructor Documentation

BinIDSortingAnalyser::BinIDSortingAnalyser ( bool  is2d  ) 

Member Function Documentation

bool BinIDSortingAnalyser::add ( const BinID  ) 

returns whether analysis phase is finished Check errMsg() to see whether a vaild sorting found

const char* BinIDSortingAnalyser::errMsg (  )  const [inline]
BinIDSorting BinIDSortingAnalyser::getSorting (  )  const

Can be used after add() returns true.


Member Data Documentation

bool BinIDSortingAnalyser::is2d_ [protected]
bool BinIDSortingAnalyser::st_[8] [protected]