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::PartialList Class Reference
Inheritance diagram for TestNodes::PartialList:
Core::Reflect< Base >

Public Member Functions

 PartialList (::Model::Node *parent, ::Model::AttributeChain &metaData)
 
 PartialList (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 PartialList (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially, ::Model::AttributeChain &metaData)
 
 PartialList (::Model::Node *parent=nullptr)
 
PartialListclone () const override
 
Model::Listlist () const
 
void setList (Model::List *node)
 

Static Public Member Functions

static PartialListcreateDefaultInstance (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 listIndex = addAttributeToInitialRegistrationList_( listIndex, "list", "List", true , false , true )
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PartialList() [1/4]

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

◆ PartialList() [2/4]

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

◆ PartialList() [3/4]

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

◆ PartialList() [4/4]

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

Member Function Documentation

◆ addAttributeToInitialRegistrationList_()

Model::CompositeIndex TestNodes::PartialList::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::PartialList::attributesToRegisterAtInitialization_ ( )
staticprivate

◆ clone()

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

◆ createDefaultInstance()

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

◆ getMetaData()

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

◆ list()

Model::List* TestNodes::PartialList::list ( ) const
inline

◆ registerNewAttribute() [1/2]

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

◆ registerNewAttribute() [2/2]

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

◆ registerNewExtension()

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

◆ setList()

void TestNodes::PartialList::setList ( Model::List node)
inline

◆ topLevelMeta()

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

Member Data Documentation

◆ listIndex

Model::CompositeIndex TestNodes::PartialList::listIndex = addAttributeToInitialRegistrationList_( listIndex, "list", "List", true , false , true )
staticprivate