A value of the independent variable represented by Axis. More...

#include <Axis.h>

Inheritance diagram for MEAL::Axis< Type >::Value:
MEAL::Argument::Value Reference::Able Reference::HeapTracked

Public Member Functions

 Value (const Type &_value)
 Construct with value.
void set_value (const Type &_value)
 Set the value of this instance.
Type get_value () const
 Get the value of this instance.
 operator Type () const
 Get the value of this instance by implicit cast.
void apply () const override
 Apply the value.
std::string get_string () const override
 Return a string representation of the value, if posssible.
Public Member Functions inherited from MEAL::Argument::Value
virtual ~Value ()
 Destructor.
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 Member Functions

 Value (const Type &_value, Axis *_axis)
 Construct with value and Axis.
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Protected Attributes

Type value
 The value of this instance.
Reference::To< Axis > axis
 The Axis on which this value applies.

Friends

class Axis

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 ()

Detailed Description

template<class Type>
class MEAL::Axis< Type >::Value

A value of the independent variable represented by Axis.

This class implements the apply method of the Argument::Value base class by calling the send method of its Axis.

Member Function Documentation

◆ apply()

template<class Type>
void MEAL::Axis< Type >::Value::apply ( ) const
inlineoverridevirtual

Apply the value.

Implements MEAL::Argument::Value.

References axis, and value.

◆ get_string()

template<class Type>
std::string MEAL::Axis< Type >::Value::get_string ( ) const
inlineoverridevirtual

Return a string representation of the value, if posssible.

Implements MEAL::Argument::Value.

References MEAL::axis_value_to_string(), and value.


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

Generated using doxygen 1.14.0