Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::CTextLine Class Reference

#include <CTextLine.h>

Inheritance diagram for RobotFlow::CTextLine:

Inheritance graph
Collaboration diagram for RobotFlow::CTextLine:

Collaboration graph

Public Member Functions

 CTextLine ()
 CTextLine (CSymbol &firstLetter, double verticalTolerance, double horizontalTolerance)
virtual ~CTextLine ()
void Sort ()
void Insert (CSymbol &)
bool Contains (CSymbol &)
void GetString (std::string &resultString)
void GetString_v2 (std::string &resultString, std::list< std::vector< std::vector< float > > > &vect_list)
void printOn (std::ostream &out=std::cout) const
int GetVerticalPosition ()
std::list< CSymbol * > & getSymbols ()
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual void readFrom (std::istream &in=std::cin)
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Attributes

AtomicCounter ref_count

Private Member Functions

bool SpacePresentBetween (const CSymbol &, const CSymbol &)

Private Attributes

int mMinY
int mMaxY
int mMinHeight
int mMaxHeight
int mAverageWidth
double mVerticalTolerance
double mHorizontalTolerance
std::list< CSymbol * > mLetterList
 The list of cells.


friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::CTextLine::CTextLine  ) 

RobotFlow::CTextLine::CTextLine CSymbol firstLetter,
double  verticalTolerance,
double  horizontalTolerance

RobotFlow::CTextLine::~CTextLine  )  [virtual]

Member Function Documentation

bool RobotFlow::CTextLine::Contains CSymbol  ) 

void RobotFlow::CTextLine::GetString std::string &  resultString  ) 

void RobotFlow::CTextLine::GetString_v2 std::string &  resultString,
std::list< std::vector< std::vector< float > > > &  vect_list

std::list<CSymbol*>& RobotFlow::CTextLine::getSymbols  )  [inline]

int RobotFlow::CTextLine::GetVerticalPosition  )  [inline]

void RobotFlow::CTextLine::Insert CSymbol  ) 

void RobotFlow::CTextLine::printOn std::ostream &  out = std::cout  )  const [virtual]

Implements FD::Object.

void RobotFlow::CTextLine::Sort  ) 

bool RobotFlow::CTextLine::SpacePresentBetween const CSymbol ,
const CSymbol

Field Documentation

int RobotFlow::CTextLine::mAverageWidth [private]

double RobotFlow::CTextLine::mHorizontalTolerance [private]

std::list<CSymbol*> RobotFlow::CTextLine::mLetterList [private]

int RobotFlow::CTextLine::mMaxHeight [private]

int RobotFlow::CTextLine::mMaxY [private]

int RobotFlow::CTextLine::mMinHeight [private]

int RobotFlow::CTextLine::mMinY [private]

double RobotFlow::CTextLine::mVerticalTolerance [private]

The documentation for this class was generated from the following files:
Generated on Wed Oct 5 14:36:33 2005 for RobotFlow by  doxygen 1.4.4