Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization > Class Template Reference
Inheritance diagram for Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >:
Core::Reflect< Base >

Public Types

using NodeType = ContainedNode
 

Public Member Functions

 ItemWithNode (Item *parent, ContainedNode *node, const typename Super::StyleType *style=nullptr)
 
 ~ItemWithNode ()
 
virtual bool hasNode () const
 
virtual ContainedNode * node () const
 
virtual int revision () const
 
virtual void setRevision (int newRevision)
 

Static Public Member Functions

static void initType ()
 

Private Attributes

ContainedNode * node_
 
int revision_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ NodeType

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization = true>
using Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::NodeType = ContainedNode

Constructor & Destructor Documentation

◆ ItemWithNode()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::ItemWithNode ( Item parent,
ContainedNode *  node,
const typename Super::StyleType *  style = nullptr 
)

◆ ~ItemWithNode()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::~ItemWithNode

Member Function Documentation

◆ hasNode()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
bool Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::hasNode
inlinevirtual

◆ initType()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
void Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::initType
static

◆ node()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
ContainedNode * Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::node
inlinevirtual

◆ revision()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
int Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::revision
inlinevirtual

◆ setRevision()

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization>
void Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::setRevision ( int  newRevision)
inlinevirtual

Member Data Documentation

◆ node_

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization = true>
ContainedNode* Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::node_
private

◆ revision_

template<typename Derived , typename Super , typename ContainedNode , bool defaultInitialization = true>
int Visualization::ItemWithNode< Derived, Super, ContainedNode, defaultInitialization >::revision_
private