|
LMMS
|
a list of attribute/value pairs More...
#include <allegro.h>
Public Member Functions | |
| Alg_parameters (Alg_parameters *list) | |
| Alg_parameter_ptr | find (Alg_attribute attr) |
| find an attribute/value pair | |
Static Public Member Functions | |
| static void | insert_real (Alg_parameters **list, const char *name, double r) |
| static void | insert_string (Alg_parameters **list, const char *name, const char *s) |
| insert string will copy string to heap | |
| static void | insert_integer (Alg_parameters **list, const char *name, int32_t i) |
| static void | insert_logical (Alg_parameters **list, const char *name, bool l) |
| static void | insert_atom (Alg_parameters **list, const char *name, const char *s) |
| static Alg_parameters * | remove_key (Alg_parameters **list, const char *name) |
Public Attributes | |
| class Alg_parameters * | next |
| Alg_parameter | parm |
a list of attribute/value pairs
|
inline |
| Alg_parameter_ptr Alg_parameters::find | ( | Alg_attribute | attr | ) |
find an attribute/value pair
|
static |
|
static |
|
static |
|
static |
each of these routines takes address of pointer to the list insertion is performed without checking whether or not a parameter already exists with this attribute. See find() and remove_key() to assist in checking for and removing existing parameters. Note also that these insert_* methods convert name to an attribute. If you have already done the symbol table lookup/insert you can do these operations faster (in which case we should add another set of functions that take attributes as arguments.)
|
static |
insert string will copy string to heap
|
static |
| class Alg_parameters* Alg_parameters::next |
| Alg_parameter Alg_parameters::parm |