MEAL::Function::Interface< T > Class Template Reference

Textual interface to Function attributes. More...

#include <FunctionInterface.h>

Inheritance diagram for MEAL::Function::Interface< T >:
TextInterface::To< T > TextInterface::Parser Reference::Able Reference::HeapTracked

Public Member Functions

 Interface (T *=0)
 Default constructor that takes an optional instance.
std::string get_interface_name () const
 Get the interface name.
std::string get_interface_description () const
 Get a short description of this interface.
Public Member Functions inherited from TextInterface::To< T >
virtual void set_instance (C *c)
void setup (const Value *value)
void i< parent-> size ()
const Attribute< C > * get (unsigned i) const
Public Member Functions inherited from TextInterface::Parser
std::string get_value (const std::string &name) const
std::string get_name_value (std::string &name) const
void set_value (const std::string &name, const std::string &value)
Valuefind (const std::string &name, bool throw_exception=true) const
bool found (const std::string &name) const
bool found (const std::string &prefix, const std::string &name) const
unsigned get_nvalue () const
std::string get_name (unsigned) const
std::string get_value (unsigned) const
std::string get_description (unsigned) const
virtual std::string process (const std::string &command)
virtual std::string process (const std::vector< std::string > &commands)
virtual std::string help (bool show_default_values=false, bool show_header=false, const char *indent=0)
void set_indentation (const std::string &indent)
void set_delimiter (const std::string &)
void set_prefix_name (bool flag)
void set_aliases (const Alias *alias)
void insert (Parser *)
void insert (const std::string &prefix, Parser *)
void clean ()
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

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 TextInterface::To< T >
void add (T(P::*get)() const, const char *name, const char *description=0)
Protected Member Functions inherited from TextInterface::Parser
void add_value (Value *value)
void remove (const std::string &name)
void clean_invalid ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const
Protected Attributes inherited from TextInterface::To< T >
Reference::To< C, false > instance
Protected Attributes inherited from TextInterface::Parser
std::string indentation
std::string delimiter
bool alphabetical
bool import_filter
bool prefix_name
Reference::To< const Aliasaliases
std::vector< Reference::To< Value > > values
std::vector< Reference::To< Parser > > inserted

Detailed Description

template<class T>
class MEAL::Function::Interface< T >

Textual interface to Function attributes.

Provides a text interface to get and set Function attributes.

Member Function Documentation

◆ get_interface_description()

template<class T>
std::string MEAL::Function::Interface< T >::get_interface_description ( ) const
inlinevirtual

Get a short description of this interface.

Reimplemented from TextInterface::Parser.

◆ get_interface_name()

template<class T>
std::string MEAL::Function::Interface< T >::get_interface_name ( ) const
inlinevirtual

Get the interface name.

Reimplemented from TextInterface::Parser.


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

Generated using doxygen 1.14.0