libbbb  1.2.1
Groups common code used in some applications and libraries.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
RexSBIf Class Reference
+ Inheritance diagram for RexSBIf:

Public Member Functions

 RexSBIf (RexScript *rexs, const QString &s)
 constructor
 
bool evaluateCondition (const QString &s)
 evaluates a condition; return false for syntactic errors
 
virtual bool appendLine (const QString &s_line)
 adds a line; returns true if line was added, false if block ended
 
virtual bool blockEnd (RexScript *rexs)
 informed that block ended More...
 
bool hasErrors (void)
 tell if errors occured
 
void skipParts (Markers &mrk)
 skip parts that we're not interested in
 
- Public Member Functions inherited from bbb::RexScriptBlock
 RexScriptBlock (RexScript *rex)
 constructor
 
virtual ~RexScriptBlock (void)
 destructor;
 
virtual void error (int line)
 helper for reporting errors from block
 
- Public Member Functions inherited from List2De
 List2De ()
 constructor; creates a simple, hanging element
 
 List2De (List2Dh *p_father)
 constructor; appends this item to the chain managed by p_father
 
List2Denext (void) const
 return next item
 
List2Deprev (void) const
 return previous item
 
int index (const List2Dh *p_father) const
 gets the index of a particular item inside the father
 
void insAfter (List2Dh *p_father, class List2De *pNew)
 insert an item after this item
 
void insBefore (List2Dh *p_father, class List2De *pNew)
 insert an item before this item
 
void extract (List2Dh *p_father)
 extract this item from the chain
 
void dbgDump (void) const
 print the content of this object to debug output
 

Additional Inherited Members

- Protected Member Functions inherited from List2De
void setNext (class List2De *p_new)
 change internal next behind its back
 
void setPrev (class List2De *p_new)
 change internal previous behind its back
 
- Protected Attributes inherited from bbb::RexScriptBlock
RexScriptrex_
 the parent script
 
int file_idx_
 index of the file that started the block
 
int line_idx_
 index of the line that started the block
 

Member Function Documentation

virtual bool RexSBIf::blockEnd ( RexScript rexs)
inlinevirtual

informed that block ended

Returns
true if no error was found, false to break execution

Reimplemented from bbb::RexScriptBlock.


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