Manages a parameter for an application.
More...
#include <CinParameter.h>
|
enum | Type {
UNDEFINED =0,
STRING,
FLOAT,
INT,
NUMTYPES
} |
|
|
void | valueChanged (const QString &value, int valueID) |
|
|
| CinParameter (const QString &name, CinParameter::Type type=CinParameter::UNDEFINED) |
|
const QString & | getName () const |
|
CinParameter::Type | getType () const |
|
void | getValueAsString (QString &value) |
|
bool | getValueAsString (QString &value, int i) |
|
void | incrementValue () |
|
void | decrementValue () |
|
int | getLastID () |
|
int | getNumValues () |
|
int | getCurID () |
|
void | setName (const QString &name) |
|
bool | setToValueAt (int id) |
|
void | print () |
|
bool | recordValue (int value) |
|
bool | recordValue (double value) |
|
bool | recordValue (const QString &value) |
|
bool | setValue (int value) |
|
bool | setValue (double value) |
|
bool | setValue (const QString &value) |
|
bool | valueExists (int value) |
|
bool | valueExists (double value) |
|
bool | valueExists (const QString &value) |
|
|
static const char * | GetNameForType (CinParameter::Type type) |
| Convenience function to print names instead of ints. More...
|
|
|
static const char * | TypeNames [NUMTYPES] = {"UNDEFINED", "STRING", "FLOAT", "INT"} |
|
static const char * | NAN_VALUE = "NaN" |
|
static const char * | NULL_VALUE = 0 |
|
static const float | NO_VALUE = -0.0001010101 |
|
static const float | NO_PREV = -0.0002020202 |
|
static const float | NO_NEXT = -0.0003030303 |
|
static const float | NOT_SET = -0.0004040404 |
|
Manages a parameter for an application.
◆ GetNameForType()
const char * CinParameter::GetNameForType |
( |
CinParameter::Type |
type | ) |
|
|
static |
Convenience function to print names instead of ints.
The documentation for this class was generated from the following files: