1 #ifndef EXPR_GroupNode_H
2 #define EXPR_GroupNode_H
4 #include "EXPR_InheritedNode.h"
49 static inline CORE_UniquePointer<EXPR_GroupNode>
New() {
97 std::stringstream sout;
100 for(
const auto& child:children) sout<<child->toString()<<
" ";
101 sout.seekp(-1, std::ios_base::end);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class describes a unary node between ( )
Definition: EXPR_GroupNode.h:13
virtual ~EXPR_GroupNode()
delete the class
Definition: EXPR_GroupNode.h:36
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_GroupNode.h:86
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_GroupNode.h:74
static CORE_UniquePointer< EXPR_GroupNode > New()
crete the new instance of this
Definition: EXPR_GroupNode.h:49
static CORE_SharedPointer< EXPR_GroupNode > NewSharedInstance()
crete the new instance of this
Definition: EXPR_GroupNode.h:57
virtual tString toString() const override
return the string representation of this
Definition: EXPR_GroupNode.h:96
EXPR_GroupNode()
create the class
Definition: EXPR_GroupNode.h:30
This class describes a child & parent node.
Definition: EXPR_InheritedNode.h:15
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_InheritedNode.h:64
const std::vector< CORE_SharedPointer< EXPR_ChildNode > > & getChildren() const
get the children
Definition: EXPR_ParentNode.h:94