Lumiera  0.pre.03
»edit your freedom«
ClonedContext Class Reference

Description

Definition at line 64 of file command-impl-clone-builder.hpp.

Public Member Functions

template<typename ARG >
 ClonedContext (ARG const &origArgHolder, TypedAllocationManager &allocator)
 

Private Member Functions

template<typename ARG >
ARG & downcast ()
 helper for accessing the new cloned closure through the specific concrete type. More...
 
virtual PClo const & getClosure ()
 
virtual UndoMutation const & getUndoFunc ()
 
virtual bool isValid ()
 

Private Attributes

PClo newClosure_
 
UndoMutation newUndoFunctor_
 

Member Function Documentation

◆ downcast()

ARG& downcast ( )
inlineprivate

helper for accessing the new cloned closure through the specific concrete type.

As we need to access the closure later, after discarding the exact type, we can store only a baseclass pointer.

Definition at line 82 of file command-impl-clone-builder.hpp.

References INSTANCEOF.

+ Inheritance diagram for ClonedContext:
+ Collaboration diagram for ClonedContext:

The documentation for this class was generated from the following file: