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, Dimension > Class Template Referenceabstract

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

Public Member Functions

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

Detailed Description

template<typename IndexType, int Dimension>
class nana::concepts::any_objective< IndexType, Dimension >

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

Constructor & Destructor Documentation

template<typename IndexType, int Dimension>
virtual nana::concepts::any_objective< IndexType, Dimension >::~any_objective ( )
virtualdefault

Member Function Documentation

template<typename IndexType, int Dimension>
template<typename Target >
void nana::concepts::any_objective< IndexType, Dimension >::anyobj ( const Target &  t)
inline
template<typename IndexType, int Dimension>
template<typename Target >
void nana::concepts::any_objective< IndexType, Dimension >::anyobj ( Target &&  t)
inline
template<typename IndexType, int Dimension>
template<typename Target >
Target* nana::concepts::any_objective< IndexType, Dimension >::anyobj ( ) const
inline

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