|
LMMS
|
#include <allegro.h>
Public Member Functions | |
| Alg_parameter () | |
| ~Alg_parameter () | |
| void | copy (Alg_parameter *) |
| copy from another parameter | |
| char | attr_type () |
| const char * | attr_name () |
| void | set_attr (Alg_attribute a) |
| void | show () |
Public Attributes | |
| Alg_attribute | attr |
| union { | |
| double r | |
| real More... | |
| const char * s | |
| string More... | |
| int32_t i | |
| integer More... | |
| bool l | |
| logical More... | |
| const char * a | |
| symbol (atom) More... | |
| }; | |
| anonymous union | |
an attribute/value pair. Since Alg_attribute names imply type, we try to keep attributes and values packaged together as Alg_parameter class
|
inline |
| Alg_parameter::~Alg_parameter | ( | ) |
|
inline |
|
inline |
| void Alg_parameter::copy | ( | Alg_parameter * | ) |
copy from another parameter
|
inline |
| void Alg_parameter::show | ( | ) |
| union { ... } Alg_parameter |
anonymous union
| const char* Alg_parameter::a |
symbol (atom)
| Alg_attribute Alg_parameter::attr |
This constructor guarantees that an Alg_parameter can be deleted safely without further initialization. It does not do anything useful, so it is expected that the creator will set attr and store a value in the appropriate union field.
| int32_t Alg_parameter::i |
integer
| bool Alg_parameter::l |
logical
| double Alg_parameter::r |
real
| const char* Alg_parameter::s |
string