Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::concepts::any_objective< IndexType, 2 > Class Template Referenceabstract

The Any Objective is an object that may attach to some other object. More...

Public Types

typedef IndexType anyobj_index_t
 

Public Member Functions

virtual ~any_objective ()
 
template<typename Target >
void anyobj (anyobj_index_t i0, anyobj_index_t i1, const Target &t)
 
template<typename Target >
void anyobj (anyobj_index_t i0, anyobj_index_t i1, Target &&t)
 
template<typename Target >
Target * anyobj (anyobj_index_t i0, anyobj_index_t i1) const
 < Retrieves the attached object. Returns a nullptr if empty or if the type not match. More...
 

Detailed Description

template<typename IndexType>
class nana::concepts::any_objective< IndexType, 2 >

The Any Objective is an object that may attach to some other object.

Member Typedef Documentation

template<typename IndexType >
typedef IndexType nana::concepts::any_objective< IndexType, 2 >::anyobj_index_t

Constructor & Destructor Documentation

template<typename IndexType >
virtual nana::concepts::any_objective< IndexType, 2 >::~any_objective ( )
inlinevirtual

Member Function Documentation

template<typename IndexType >
template<typename Target >
void nana::concepts::any_objective< IndexType, 2 >::anyobj ( anyobj_index_t  i0,
anyobj_index_t  i1,
const Target &  t 
)
inline
template<typename IndexType >
template<typename Target >
void nana::concepts::any_objective< IndexType, 2 >::anyobj ( anyobj_index_t  i0,
anyobj_index_t  i1,
Target &&  t 
)
inline
template<typename IndexType >
template<typename Target >
Target* nana::concepts::any_objective< IndexType, 2 >::anyobj ( anyobj_index_t  i0,
anyobj_index_t  i1 
) const
inline

< Retrieves the attached object. Returns a nullptr if empty or if the type not match.