lmms
Cross-platform music production software
Loading...
Searching...
No Matches
Alg_parameter Class Reference

An attribute/value pair. More...

#include <allegro.h>

Classes

union  [union].__unnamed0__

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  
 anonymous union

Detailed Description

An attribute/value pair.

Since Alg_attribute names imply type, we try to keep attributes and values packaged together as Alg_parameter class

Constructor & Destructor Documentation

◆ Alg_parameter()

Alg_parameter::Alg_parameter ( )
inline

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.

◆ ~Alg_parameter()

Alg_parameter::~Alg_parameter ( )

Member Function Documentation

◆ attr_name()

const char * Alg_parameter::attr_name ( )
inline

◆ attr_type()

char Alg_parameter::attr_type ( )
inline

◆ copy()

void Alg_parameter::copy ( Alg_parameter * parm)

copy from another parameter

◆ set_attr()

void Alg_parameter::set_attr ( Alg_attribute a)
inline

◆ show()

void Alg_parameter::show ( )

Member Data Documentation

◆ @057225112214246017153133030165205036063210301163

◆ attr

Alg_attribute Alg_parameter::attr

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