MEAL::ArgumentPolicyAdapter< T > Class Template Reference

Adapts an object with the ArgumentPolicy interface. More...

#include <ArgumentPolicyAdapter.h>

Inheritance diagram for MEAL::ArgumentPolicyAdapter< T >:
MEAL::ArgumentPolicy MEAL::FunctionPolicy Reference::Able Reference::HeapTracked

Public Member Functions

 ArgumentPolicyAdapter (Function *context, T *adapt)
 Default constructor.
ArgumentPolicyAdapterclone (Function *context) const
 Clone operator.
void set_argument (unsigned dimension, Argument *axis)
 Set the independent variable of the specified dimension.
Public Member Functions inherited from MEAL::ArgumentPolicy
 ArgumentPolicy (Function *context)
 Default constructor.
Public Member Functions inherited from MEAL::FunctionPolicy
 FunctionPolicy (Function *context=0)
 Default constructor.
 ~FunctionPolicy ()
 Destructor.
Functionget_context () const
 Return the Function for whom this policy operates.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

Reference::To< T > adaptee
 The adapted object.

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

template<class T>
class MEAL::ArgumentPolicyAdapter< T >

Adapts an object with the ArgumentPolicy interface.

Member Function Documentation

◆ clone()

template<class T>
ArgumentPolicyAdapter * MEAL::ArgumentPolicyAdapter< T >::clone ( Function * context) const
inlinevirtual

Clone operator.

Implements MEAL::ArgumentPolicy.

References adaptee, and ArgumentPolicyAdapter().

◆ set_argument()

template<class T>
void MEAL::ArgumentPolicyAdapter< T >::set_argument ( unsigned dimension,
Argument * axis )
inlinevirtual

Set the independent variable of the specified dimension.

Implements MEAL::ArgumentPolicy.

References adaptee.


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

Generated using doxygen 1.14.0