Public Member Functions | Private Attributes

fl_PartOfBlock Class Reference

#include <fl_PartOfBlock.h>

List of all members.

Public Member Functions

 fl_PartOfBlock ()
 fl_PartOfBlock (UT_sint32 iOffset, UT_sint32 iPTLength, bool bIsIgnored=false)
bool doesTouch (UT_sint32 iOffset, UT_sint32 iLength) const
UT_sint32 getOffset (void) const
UT_sint32 getPTLength (void) const
bool getIsIgnored (void) const
void setOffset (UT_sint32 iOffset)
void setPTLength (UT_sint32 iLength)
void setIsIgnored (bool bIsIgnored)
void setInvisible (void)
bool isInvisible (void) const
void setGrammarMessage (const std::string &sMsg)
const std::string & getGrammarMessage () const

Private Attributes

UT_sint32 m_iOffset
UT_sint32 m_iPTLength
bool m_bIsIgnored
bool m_bIsInvisible
std::string m_sGrammarMessage

Constructor & Destructor Documentation

fl_PartOfBlock::fl_PartOfBlock ( void   ) 
fl_PartOfBlock::fl_PartOfBlock ( UT_sint32  iOffset,
UT_sint32  iPTLength,
bool  bIsIgnored = false 
)

Member Function Documentation

bool fl_PartOfBlock::doesTouch ( UT_sint32  iOffset,
UT_sint32  iLength 
) const

Does POB touch region

Parameters:
iOffset Offset of region
iLength Length of region
Returns:
True if the region touches the POB

References m_iOffset, m_iPTLength, and xxx_UT_DEBUGMSG.

const std::string & fl_PartOfBlock::getGrammarMessage (  )  const

References m_sGrammarMessage.

bool fl_PartOfBlock::getIsIgnored ( void   )  const [inline]
UT_sint32 fl_PartOfBlock::getOffset ( void   )  const [inline]
UT_sint32 fl_PartOfBlock::getPTLength ( void   )  const [inline]
bool fl_PartOfBlock::isInvisible ( void   )  const [inline]
void fl_PartOfBlock::setGrammarMessage ( const std::string &  sMsg  ) 

References m_sGrammarMessage.

void fl_PartOfBlock::setInvisible ( void   )  [inline]
void fl_PartOfBlock::setIsIgnored ( bool  bIsIgnored  )  [inline]
void fl_PartOfBlock::setOffset ( UT_sint32  iOffset  )  [inline]
void fl_PartOfBlock::setPTLength ( UT_sint32  iLength  )  [inline]

Member Data Documentation

Referenced by doesTouch().

Referenced by doesTouch().

std::string fl_PartOfBlock::m_sGrammarMessage [private]

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