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

Public Member Functions

 UsedLibrary (::Model::Node *parent, ::Model::AttributeChain &metaData)
 
 UsedLibrary (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 UsedLibrary (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially, ::Model::AttributeChain &metaData)
 
 UsedLibrary (::Model::Node *parent=nullptr)
 
 UsedLibrary (const QString &name)
 
UsedLibraryclone () const override
 
TreeManagerlibraryManager () const
 
NodelibraryRoot () const
 
void loadLibrary (PersistentStore *store) const
 
const QString & name () const
 
TextnameNode ()
 
void setName (const QString &val)
 
virtual QList< const UsedLibrary * > usedLibraries () const override
 

Static Public Member Functions

static UsedLibrarycreateDefaultInstance (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 nameIndex = addAttributeToInitialRegistrationList_( nameIndex, "name", "Text", false , false , true )
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ UsedLibrary() [1/5]

Model::UsedLibrary::UsedLibrary ( ::Model::Node parent = nullptr)

◆ UsedLibrary() [2/5]

Model::UsedLibrary::UsedLibrary ( ::Model::Node parent,
::Model::PersistentStore store,
bool  loadPartially 
)

◆ UsedLibrary() [3/5]

Model::UsedLibrary::UsedLibrary ( ::Model::Node parent,
::Model::AttributeChain metaData 
)

◆ UsedLibrary() [4/5]

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

◆ UsedLibrary() [5/5]

Model::UsedLibrary::UsedLibrary ( const QString &  name)

Member Function Documentation

◆ addAttributeToInitialRegistrationList_()

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

◆ attributesToRegisterAtInitialization_()

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

◆ clone()

UsedLibrary * Model::UsedLibrary::clone ( ) const
override

◆ createDefaultInstance()

UsedLibrary * Model::UsedLibrary::createDefaultInstance ( Node parent = nullptr)
static

◆ getMetaData()

Model::AttributeChain & Model::UsedLibrary::getMetaData ( )
static

◆ libraryManager()

TreeManager * Model::UsedLibrary::libraryManager ( ) const

◆ libraryRoot()

Node * Model::UsedLibrary::libraryRoot ( ) const
inline

◆ loadLibrary()

void Model::UsedLibrary::loadLibrary ( PersistentStore store) const

◆ name()

const QString& Model::UsedLibrary::name ( ) const
inline

◆ nameNode()

Text* Model::UsedLibrary::nameNode ( )
inline

◆ registerNewAttribute() [1/2]

Model::CompositeIndex Model::UsedLibrary::registerNewAttribute ( const ::Model::Attribute attribute)
static

◆ registerNewAttribute() [2/2]

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

◆ registerNewExtension()

template<typename T >
static void Model::UsedLibrary::registerNewExtension ( )
inlinestatic

◆ setName()

void Model::UsedLibrary::setName ( const QString &  val)
inline

◆ topLevelMeta()

Model::AttributeChain & Model::UsedLibrary::topLevelMeta ( )
overrideprotected

◆ usedLibraries()

QList< const UsedLibrary * > Model::UsedLibrary::usedLibraries ( ) const
overridevirtual

Member Data Documentation

◆ nameIndex

Model::CompositeIndex Model::UsedLibrary::nameIndex = addAttributeToInitialRegistrationList_( nameIndex, "name", "Text", false , false , true )
staticprivate