Envision
A visual programming IDE for object-oriented languages
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions
Model::TypedList< T > Class Template Reference
Inheritance diagram for Model::TypedList< T >:
Core::Reflect< Base >

Classes

struct  ConstTypedIterator
 
struct  TypedIterator
 Iterator. More...
 

Public Types

using const_iterator = ConstTypedIterator
 
using iterator = TypedIterator
 

Public Member Functions

 TypedList (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 TypedList (::Model::Node *parent=nullptr)
 
T * at (int i) const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
TypedListclone () const override
 
virtual NodecreateDefaultElement () override
 
iterator end ()
 
const_iterator end () const
 
T * first () const
 
T * last () const
 
virtual int lowerTypeBoundForElements () const override
 
virtual bool replaceChild (Node *child, Node *replacement) override
 

Static Public Member Functions

static TypedListcreateDefaultInstance (Node *parent=nullptr)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ const_iterator

template<typename T >
using Model::TypedList< T >::const_iterator = ConstTypedIterator

◆ iterator

template<typename T >
using Model::TypedList< T >::iterator = TypedIterator

Constructor & Destructor Documentation

◆ TypedList() [1/2]

template<typename T >
Model::TypedList< T >::TypedList ( ::Model::Node parent = nullptr)

◆ TypedList() [2/2]

template<typename T >
Model::TypedList< T >::TypedList ( ::Model::Node parent,
::Model::PersistentStore store,
bool  loadPartially 
)

Member Function Documentation

◆ at()

template<typename T >
T* Model::TypedList< T >::at ( int  i) const

◆ begin() [1/2]

template<typename T >
TypedList< T >::iterator Model::TypedList< T >::begin
inline

◆ begin() [2/2]

template<typename T >
TypedList< T >::const_iterator Model::TypedList< T >::begin
inline

◆ cbegin()

template<typename T >
TypedList< T >::const_iterator Model::TypedList< T >::cbegin
inline

◆ cend()

template<typename T >
TypedList< T >::const_iterator Model::TypedList< T >::cend
inline

◆ clone()

template<typename T >
TypedList* Model::TypedList< T >::clone ( ) const
override

◆ createDefaultElement()

template<typename T >
virtual Node* Model::TypedList< T >::createDefaultElement ( )
overridevirtual

◆ createDefaultInstance()

template<typename T >
static TypedList* Model::TypedList< T >::createDefaultInstance ( Node parent = nullptr)
static

◆ end() [1/2]

template<typename T >
TypedList< T >::iterator Model::TypedList< T >::end
inline

◆ end() [2/2]

template<typename T >
TypedList< T >::const_iterator Model::TypedList< T >::end
inline

◆ first()

template<typename T >
T* Model::TypedList< T >::first ( ) const

◆ last()

template<typename T >
T* Model::TypedList< T >::last ( ) const

◆ lowerTypeBoundForElements()

template<typename T >
virtual int Model::TypedList< T >::lowerTypeBoundForElements ( ) const
overridevirtual

◆ replaceChild()

template<typename T >
virtual bool Model::TypedList< T >::replaceChild ( Node child,
Node replacement 
)
overridevirtual