Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Member Functions | Static Private Attributes
TestNodes::BinaryNode Class Reference
Inheritance diagram for TestNodes::BinaryNode:
Core::Reflect< Base >

Public Member Functions

 BinaryNode (::Model::Node *parent, ::Model::AttributeChain &metaData)
 
 BinaryNode (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 BinaryNode (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially, ::Model::AttributeChain &metaData)
 
 BinaryNode (::Model::Node *parent=nullptr)
 
BinaryNodeclone () const override
 
BinaryNodeleft () const
 
Model::NameTextname () const
 
void removeLeftNode ()
 
void removeRightNode ()
 
BinaryNoderight () const
 
void setLeft (BinaryNode *node)
 
void setName (Model::NameText *node)
 
void setRight (BinaryNode *node)
 

Static Public Member Functions

static BinaryNodecreateDefaultInstance (Node *parent=nullptr)
 
static ::Model::AttributeChaingetMetaData ()
 
static ::Model::CompositeIndex registerNewAttribute (const ::Model::Attribute &attribute)
 
static ::Model::CompositeIndex registerNewAttribute (const QString &attributeName, const QString &attributeType, bool canBePartiallyLoaded, bool isOptional, bool isPersistent)
 
template<typename T >
static void registerNewExtension ()
 

Protected Member Functions

virtual ::Model::AttributeChaintopLevelMeta () override
 

Static Private Member Functions

static ::Model::CompositeIndex addAttributeToInitialRegistrationList_ (::Model::CompositeIndex &index, const QString &attributeName, const QString &attributeType, bool canBePartiallyLoaded, bool isOptional, bool isPersistent)
 
static QList< QPair< ::Model::CompositeIndex &, ::Model::Attribute > > & attributesToRegisterAtInitialization_ ()
 

Static Private Attributes

::Model::CompositeIndex leftIndex = addAttributeToInitialRegistrationList_( leftIndex, "left", "BinaryNode", false , true , true )
 
::Model::CompositeIndex nameIndex = addAttributeToInitialRegistrationList_( nameIndex, "name", "NameText", false , false , true )
 
::Model::CompositeIndex rightIndex = addAttributeToInitialRegistrationList_( rightIndex, "right", "BinaryNode", false , true , true )
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ BinaryNode() [1/4]

TestNodes::BinaryNode::BinaryNode ( ::Model::Node parent = nullptr)

◆ BinaryNode() [2/4]

TestNodes::BinaryNode::BinaryNode ( ::Model::Node parent,
::Model::PersistentStore store,
bool  loadPartially 
)

◆ BinaryNode() [3/4]

TestNodes::BinaryNode::BinaryNode ( ::Model::Node parent,
::Model::AttributeChain metaData 
)

◆ BinaryNode() [4/4]

TestNodes::BinaryNode::BinaryNode ( ::Model::Node parent,
::Model::PersistentStore store,
bool  loadPartially,
::Model::AttributeChain metaData 
)

Member Function Documentation

◆ addAttributeToInitialRegistrationList_()

Model::CompositeIndex TestNodes::BinaryNode::addAttributeToInitialRegistrationList_ ( ::Model::CompositeIndex index,
const QString &  attributeName,
const QString &  attributeType,
bool  canBePartiallyLoaded,
bool  isOptional,
bool  isPersistent 
)
staticprivate

◆ attributesToRegisterAtInitialization_()

QList< QPair<::Model::CompositeIndex &,::Model::Attribute > > & TestNodes::BinaryNode::attributesToRegisterAtInitialization_ ( )
staticprivate

◆ clone()

BinaryNode * TestNodes::BinaryNode::clone ( ) const
override

◆ createDefaultInstance()

BinaryNode * TestNodes::BinaryNode::createDefaultInstance ( Node *  parent = nullptr)
static

◆ getMetaData()

Model::AttributeChain & TestNodes::BinaryNode::getMetaData ( )
static

◆ left()

BinaryNode* TestNodes::BinaryNode::left ( ) const
inline

◆ name()

Model::NameText* TestNodes::BinaryNode::name ( ) const
inline

◆ registerNewAttribute() [1/2]

Model::CompositeIndex TestNodes::BinaryNode::registerNewAttribute ( const ::Model::Attribute attribute)
static

◆ registerNewAttribute() [2/2]

Model::CompositeIndex TestNodes::BinaryNode::registerNewAttribute ( const QString &  attributeName,
const QString &  attributeType,
bool  canBePartiallyLoaded,
bool  isOptional,
bool  isPersistent 
)
static

◆ registerNewExtension()

template<typename T >
static void TestNodes::BinaryNode::registerNewExtension ( )
inlinestatic

◆ removeLeftNode()

void TestNodes::BinaryNode::removeLeftNode ( )
inline

◆ removeRightNode()

void TestNodes::BinaryNode::removeRightNode ( )
inline

◆ right()

BinaryNode* TestNodes::BinaryNode::right ( ) const
inline

◆ setLeft()

void TestNodes::BinaryNode::setLeft ( BinaryNode node)
inline

◆ setName()

void TestNodes::BinaryNode::setName ( Model::NameText node)
inline

◆ setRight()

void TestNodes::BinaryNode::setRight ( BinaryNode node)
inline

◆ topLevelMeta()

Model::AttributeChain & TestNodes::BinaryNode::topLevelMeta ( )
overrideprotected

Member Data Documentation

◆ leftIndex

Model::CompositeIndex TestNodes::BinaryNode::leftIndex = addAttributeToInitialRegistrationList_( leftIndex, "left", "BinaryNode", false , true , true )
staticprivate

◆ nameIndex

Model::CompositeIndex TestNodes::BinaryNode::nameIndex = addAttributeToInitialRegistrationList_( nameIndex, "name", "NameText", false , false , true )
staticprivate

◆ rightIndex

Model::CompositeIndex TestNodes::BinaryNode::rightIndex = addAttributeToInitialRegistrationList_( rightIndex, "right", "BinaryNode", false , true , true )
staticprivate