|
| | SOA (bool p_exec, size_t p_len=0) |
| | Ctor.
|
| |
|
| SOA (const SOA &p_other) |
| | Copy ctor.
|
| |
|
| ~SOA () override |
| | Dtor.
|
| |
|
| SOA (SOA &&)=delete |
| |
|
SOA & | operator= (const SOA &)=delete |
| |
|
SOA & | operator= (SOA &&)=delete |
| |
| void | setSO (size_t p_index, SOp p_sop) |
| | Setter for an array object.
|
| |
| SOp | ncat (size_t p_pos) const |
| | Returns a copy of the SOp at the given position.
|
| |
| SOA * | dup () const override |
| | Creates a new instance as copy following the red book definition.
|
| |
| SOA * | clone () const override |
| | Creates a new instance as copy with deep cloning.
|
| |
| std::string | opequalequal () const override |
| | String representation for operators '==' and 'pstack'.
|
| |
| OTCode | ot () const override |
| | Returns an OTCode.
|
| |
| std::string | type () const override |
| | Returns a type name.
|
| |
| bool | equal (const SO *p_other) const override |
| | Checks if this SO is equal to another SO.
|
| |
| size_t | getSize () const override |
| | Returns the size of the SO.
|
| |
| size_t | treeheight (size_t p_myheight) const override |
| | Tree Height.
|
| |
|
auto | begin () |
| | Returns an iterator to the first SOp.
|
| |
|
auto | end () |
| | Returns an iterator to the marker at end of the vector of SOps.
|
| |
| void | reduce () |
| | Reduces the array by one SO at the end.
|
| |
| void | unfold2exec (Context &k) const |
| | Unfolds duplicates of the array-content to the execution stack.
|
| |
| SOp | front_pop () |
| | Returns a copy of the SOp at position 0 and removes this first position from the array.
|
| |
| void | bind (Context &k) |
| | Replaces executable names with operator objects recursively into elements that are SOA.
|
| |
| std::string | opequal () const override |
| | String representation of object for operators '=', 'cvs' and 'stack'.
|
| |
|
| SO () |
| | Ctor.
|
| |
| | SO (bool p_exec) |
| | Ctor.
|
| |
|
| SO (const SO &p_other) |
| | Copy ctor.
|
| |
|
| SO (SO &&)=delete |
| |
|
| SO () |
| | Ctor.
|
| |
| | SO (bool p_exec) |
| | Ctor.
|
| |
|
| SO (const SO &p_other) |
| | Copy ctor.
|
| |
| virtual | ~SO () |
| | Virtual dtor.
|
| |
|
| SO (SO &&)=delete |
| |
|
SO & | operator= (const SO &)=delete |
| |
|
SO & | operator= (SO &&)=delete |
| |
|
bool | getExec () const |
| | Getter for exec_.
|
| |
|
void | setExec (bool p_exec) |
| | Setter for exec_.
|
| |
| virtual bool | gt (OpError &p_ec, const SO *) const |
| | Greater than.
|
| |
| virtual bool | ge (OpError &p_ec, const SO *) const |
| | Greater or equal.
|
| |
|
| Counter (Counter< SO > &&)=delete |
| |
|
Counter< SO > & | operator= (const Counter< SO > &)=delete |
| |
|
Counter< SO > & | operator= (Counter< SO > &&)=delete |
| |
| bool SOA::equal |
( |
const SO * |
p_other | ) |
const |
|
inlineoverridevirtual |
Checks if this SO is equal to another SO.
Equality means:
SOL und SOM are always equal.
For SOD, SOF and SOK, share_ptr<> points to the same object.
For SOA, share_ptr<> points to the same object, but empty arrays are equal nonetheless.
For SOO and SOo the function pointer must be the same.
Otherwise the value must be the same, even for SOS with shared_ptr<>.
- Returns
- bool ... true if the SO's are of the same type and equal
- See also
- Will be used directly and unchanged as operator eq
- Parameters
-
| [in] | p_other | The object to compare with. |
Implements SO.