Represents a sequence of body elements.
DEFINITION
class BlockBody;
constructor BlockBody
DEFINITION
|
BlockBody |
( |
std::vector< Body > block | ); |
| PARAMETER | DESCRIPTION |
block |
|
method append_subvirtual
DEFINITION
|
virtual std::optional< Body > append_sub |
( |
const Body & body, |
| | const Body & element | ); |
| PARAMETER | DESCRIPTION |
body |
|
element |
|
| RETURNS | DESCRIPTION |
std::optional< Body > |
|
method backconst
DEFINITION
|
std::optional< Body > back |
( |
) const; |
| RETURNS | DESCRIPTION |
std::optional< Body > |
|
method cloneconstvirtual
DEFINITION
|
virtual std::shared_ptr< BodyElement > clone |
( |
) const; |
| RETURNS | DESCRIPTION |
std::shared_ptr< BodyElement > |
|
method createstatic
DEFINITION
|
static Body create |
( |
const std::vector< Body > & elements | ); |
| PARAMETER | DESCRIPTION |
elements |
|
method emptyconstvirtual
DEFINITION
|
virtual bool empty |
( |
) const; |
method encodeconstvirtual
DEFINITION
|
virtual void encode |
( |
std::string & bytes, |
| | const Memory * memory | ) const; |
| PARAMETER | DESCRIPTION |
bytes |
|
memory |
|
method evaluatedconstvirtual
DEFINITION
|
virtual std::optional< Body > evaluated |
( |
const EvaluationContext & context | ) const; |
| PARAMETER | DESCRIPTION |
context |
|
| RETURNS | DESCRIPTION |
std::optional< Body > |
|
method serializeconstvirtual
DEFINITION
|
virtual void serialize |
( |
std::ostream & stream, |
| | const std::string & prefix | ) const; |
| PARAMETER | DESCRIPTION |
stream |
|
prefix |
|