#include <UI_Value.h>

Public Member Functions | |
| UI_Value () | |
| UI_Value (int i) | |
| UI_Value (fpreal32 f) | |
| UI_Value (fpreal64 f) | |
| UI_Value (float fp[], int n) | |
| UI_Value (int ip[], int n) | |
| UI_Value (char *ssp[], int n) | |
| UI_Value (const char *s) | |
| UI_Value (const UI_Value &v) | |
| UI_Value (void *p) | |
| virtual | ~UI_Value () |
| void | setValue (long l) |
| virtual void | setValue (int i) |
| virtual void | setValue (fpreal32 f) |
| virtual void | setValue (fpreal64 f) |
| virtual void | setValue (fpreal32 f, int n) |
| virtual void | setValue (fpreal64 f, int n) |
| virtual void | setValue (int i, int n) |
| virtual void | setValue (const char *s, int n) |
| virtual void | setValue (const float fp[], int n) |
| virtual void | setValue (const int ip[], int n) |
| virtual void | setValue (const char *const ssp[], int n) |
| virtual void | setValue (const char *s) |
| virtual void | setValue (const UI_Value &v) |
| virtual void | setValue (void *pointer) |
| void | setValue (const UT_Color &c) |
| void | stringPrintf (const char *fmt,...) |
| virtual void | changed (UI_Object *by, UI_Reason reason=UI_VALUE_CHANGED, UI_DeviceEvent *state=0) |
| void | triggerImmediate (UI_Object *by, UI_Reason reason=UI_VALUE_CHANGED, UI_DeviceEvent *state=0) |
| virtual void | enable (int state) |
| virtual void | override (int state, int) |
| virtual void | open (int state) |
| virtual void | refresh () |
| bool | areAnyFeelClientsOpen () |
| virtual void | handleEvent (UI_Event *event) |
| virtual void | deleteReferences (UI_Object *to_whom) |
| virtual void | setSteps (float mysmall, float large) |
| virtual void | setRange (float min, float max) |
| virtual void | getRange (float *min, float *max) const |
| virtual void | rangeCheck () |
| virtual int | step (UI_StepType how) |
| int | save (ostream &os) const |
| bool | load (UT_IStream &is) |
| void | setFormat (const char *fmt) |
| const char * | getFormat () const |
| void | getValue (int *ip) const |
| void | getValue (float *fp) const |
| void | getValue (char *&s) const |
| void | getValue (float *fp, int n) const |
| void | getValue (int *ip, int n) const |
| void | getValue (char **ssp, int n) const |
| void | getValue (char *sp, int bufsize) const |
| void | getValue (char *sp, int bufsize, const char *format) const |
| void | getValue (UT_String &value) const |
| void | getValue (UI_Value &v) const |
| void | getValue (void **pp) const |
| int | getArrayLength () const |
| UI_ValueType | getType () const |
| virtual int | isVector () const |
| void | addInterest (UI_Object *client, UI_EventMethod method, bool check_dup=false) |
| void | addPriorityInterest (UI_Object *client, UI_EventMethod method, bool check_dup=false) |
| bool | hasInterest (UI_Object *in, UI_EventMethod method) |
| bool | hasInterest (UI_Object *obj) |
| void | removeInterest (UI_Object *in, UI_EventMethod method) |
| void | removeInterest (UI_Object *client) |
| void | removeAllInterests () |
| const char * | getString () const |
| void | setString (char *sp) |
| char * | stealString () |
| void | expandEnvironment () |
| void | expandTilde () |
| operator const char * () const | |
| operator int () const | |
| operator bool () const | |
| operator long () const | |
| operator float () const | |
| operator void * () const | |
| void | operator= (int i) |
| void | operator= (long l) |
| void | operator= (fpreal32 f) |
| void | operator= (fpreal64 f) |
| void | operator= (const char *s) |
| void | operator= (const UI_Value &v) |
| void | operator= (void *p) |
| void | operator= (const UT_Color &c) |
| void | operator+= (const UI_Value &v) |
| void | operator+= (const char *string) |
| int | operator== (const UI_Value &v) const |
| int | operator== (const float fp[]) const |
| int | operator== (const int ip[]) const |
| int | operator== (const char *ssp[]) const |
| int | operator== (float f) const |
| int | operator== (int i) const |
| int | operator== (const char *s) const |
| int | operator== (void *p) const |
| float & | operator[] (float index) |
| int & | operator[] (int index) |
| virtual const char * | className () const |
| unsigned int | getNumInterested () const |
| UI_Object * | getInterest (int index) const |
| bool | isFreezable () const |
| virtual void | setFreezable (bool f) |
Protected Attributes | |
| union { | |
| int i | |
| float f | |
| float * a | |
| int * j | |
| char * s | |
| char ** ss | |
| void * p | |
| } | value |
| const char * | myFormat |
| UT_Pointers * | interests |
| UI_ValueType | type |
| bool | myFreezeFlag |
Friends | |
| ostream & | operator<< (ostream &os, const UI_Value &v) |
SOP/MSS_BrushHairLen.C, SOP/MSS_BrushHairLen.h, and ui/cmd_ui.C.
Definition at line 53 of file UI_Value.h.
| UI_Value::UI_Value | ( | ) |
| UI_Value::UI_Value | ( | int | i | ) |
| UI_Value::UI_Value | ( | fpreal32 | f | ) |
| UI_Value::UI_Value | ( | fpreal64 | f | ) |
| UI_Value::UI_Value | ( | float | fp[], | |
| int | n | |||
| ) |
| UI_Value::UI_Value | ( | int | ip[], | |
| int | n | |||
| ) |
| UI_Value::UI_Value | ( | char * | ssp[], | |
| int | n | |||
| ) |
| UI_Value::UI_Value | ( | const char * | s | ) |
| UI_Value::UI_Value | ( | const UI_Value & | v | ) |
| UI_Value::UI_Value | ( | void * | p | ) |
| virtual UI_Value::~UI_Value | ( | ) | [virtual] |
| void UI_Value::addInterest | ( | UI_Object * | client, | |
| UI_EventMethod | method, | |||
| bool | check_dup = false | |||
| ) |
| void UI_Value::addPriorityInterest | ( | UI_Object * | client, | |
| UI_EventMethod | method, | |||
| bool | check_dup = false | |||
| ) |
| bool UI_Value::areAnyFeelClientsOpen | ( | ) |
| virtual void UI_Value::changed | ( | UI_Object * | by, | |
| UI_Reason | reason = UI_VALUE_CHANGED, |
|||
| UI_DeviceEvent * | state = 0 | |||
| ) | [virtual] |
| virtual const char* UI_Value::className | ( | ) | const [virtual] |
Reimplemented from UI_Object.
| virtual void UI_Value::deleteReferences | ( | UI_Object * | to_whom | ) | [virtual] |
Reimplemented from UI_Object.
| virtual void UI_Value::enable | ( | int | state | ) | [virtual] |
| void UI_Value::expandEnvironment | ( | ) |
| void UI_Value::expandTilde | ( | ) |
| int UI_Value::getArrayLength | ( | ) | const |
| const char* UI_Value::getFormat | ( | ) | const [inline] |
Definition at line 123 of file UI_Value.h.
| UI_Object* UI_Value::getInterest | ( | int | index | ) | const |
| unsigned int UI_Value::getNumInterested | ( | ) | const |
| virtual void UI_Value::getRange | ( | float * | min, | |
| float * | max | |||
| ) | const [virtual] |
| const char* UI_Value::getString | ( | ) | const |
| UI_ValueType UI_Value::getType | ( | void | ) | const [inline] |
Definition at line 139 of file UI_Value.h.
| void UI_Value::getValue | ( | void ** | pp | ) | const |
| void UI_Value::getValue | ( | UI_Value & | v | ) | const |
| void UI_Value::getValue | ( | UT_String & | value | ) | const |
| void UI_Value::getValue | ( | char * | sp, | |
| int | bufsize, | |||
| const char * | format | |||
| ) | const |
| void UI_Value::getValue | ( | char * | sp, | |
| int | bufsize | |||
| ) | const |
| void UI_Value::getValue | ( | char ** | ssp, | |
| int | n | |||
| ) | const |
| void UI_Value::getValue | ( | int * | ip, | |
| int | n | |||
| ) | const |
| void UI_Value::getValue | ( | float * | fp, | |
| int | n | |||
| ) | const |
| void UI_Value::getValue | ( | char *& | s | ) | const |
| void UI_Value::getValue | ( | float * | fp | ) | const |
| void UI_Value::getValue | ( | int * | ip | ) | const |
| bool UI_Value::hasInterest | ( | UI_Object * | obj | ) |
| bool UI_Value::hasInterest | ( | UI_Object * | in, | |
| UI_EventMethod | method | |||
| ) |
| bool UI_Value::isFreezable | ( | ) | const [inline] |
Definition at line 201 of file UI_Value.h.
| virtual int UI_Value::isVector | ( | ) | const [inline, virtual] |
Definition at line 140 of file UI_Value.h.
| bool UI_Value::load | ( | UT_IStream & | is | ) |
| virtual void UI_Value::open | ( | int | state | ) | [virtual] |
| UI_Value::operator bool | ( | ) | const |
| UI_Value::operator const char * | ( | ) | const |
| UI_Value::operator float | ( | ) | const |
| UI_Value::operator int | ( | ) | const |
| UI_Value::operator long | ( | ) | const |
| UI_Value::operator void * | ( | ) | const |
| void UI_Value::operator+= | ( | const char * | string | ) |
| void UI_Value::operator+= | ( | const UI_Value & | v | ) |
| void UI_Value::operator= | ( | const UT_Color & | c | ) | [inline] |
Definition at line 176 of file UI_Value.h.
| void UI_Value::operator= | ( | void * | p | ) | [inline] |
Definition at line 175 of file UI_Value.h.
| void UI_Value::operator= | ( | const UI_Value & | v | ) | [inline] |
Definition at line 174 of file UI_Value.h.
| void UI_Value::operator= | ( | const char * | s | ) | [inline] |
Definition at line 173 of file UI_Value.h.
| void UI_Value::operator= | ( | fpreal64 | f | ) | [inline] |
Definition at line 172 of file UI_Value.h.
| void UI_Value::operator= | ( | fpreal32 | f | ) | [inline] |
Definition at line 171 of file UI_Value.h.
| void UI_Value::operator= | ( | long | l | ) | [inline] |
Definition at line 170 of file UI_Value.h.
| void UI_Value::operator= | ( | int | i | ) | [inline] |
Definition at line 169 of file UI_Value.h.
| int UI_Value::operator== | ( | void * | p | ) | const |
| int UI_Value::operator== | ( | const char * | s | ) | const |
| int UI_Value::operator== | ( | int | i | ) | const |
| int UI_Value::operator== | ( | float | f | ) | const |
| int UI_Value::operator== | ( | const char * | ssp[] | ) | const |
| int UI_Value::operator== | ( | const int | ip[] | ) | const |
| int UI_Value::operator== | ( | const float | fp[] | ) | const |
| int UI_Value::operator== | ( | const UI_Value & | v | ) | const |
| int& UI_Value::operator[] | ( | int | index | ) |
| float& UI_Value::operator[] | ( | float | index | ) |
| virtual void UI_Value::override | ( | int | state, | |
| int | ||||
| ) | [virtual] |
| virtual void UI_Value::rangeCheck | ( | ) | [virtual] |
| virtual void UI_Value::refresh | ( | ) | [virtual] |
| void UI_Value::removeAllInterests | ( | ) |
| void UI_Value::removeInterest | ( | UI_Object * | client | ) |
| void UI_Value::removeInterest | ( | UI_Object * | in, | |
| UI_EventMethod | method | |||
| ) |
| int UI_Value::save | ( | ostream & | os | ) | const |
| void UI_Value::setFormat | ( | const char * | fmt | ) | [inline] |
Definition at line 122 of file UI_Value.h.
| virtual void UI_Value::setFreezable | ( | bool | f | ) | [inline, virtual] |
Definition at line 202 of file UI_Value.h.
| virtual void UI_Value::setRange | ( | float | min, | |
| float | max | |||
| ) | [virtual] |
| virtual void UI_Value::setSteps | ( | float | mysmall, | |
| float | large | |||
| ) | [virtual] |
| void UI_Value::setString | ( | char * | sp | ) |
| void UI_Value::setValue | ( | const UT_Color & | c | ) |
| virtual void UI_Value::setValue | ( | void * | pointer | ) | [virtual] |
| virtual void UI_Value::setValue | ( | const UI_Value & | v | ) | [virtual] |
| virtual void UI_Value::setValue | ( | const char * | s | ) | [virtual] |
| virtual void UI_Value::setValue | ( | const char *const | ssp[], | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | const int | ip[], | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | const float | fp[], | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | const char * | s, | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | int | i, | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | fpreal64 | f, | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | fpreal32 | f, | |
| int | n | |||
| ) | [virtual] |
| virtual void UI_Value::setValue | ( | fpreal64 | f | ) | [virtual] |
| virtual void UI_Value::setValue | ( | fpreal32 | f | ) | [virtual] |
| virtual void UI_Value::setValue | ( | int | i | ) | [virtual] |
| void UI_Value::setValue | ( | long | l | ) | [inline] |
Definition at line 69 of file UI_Value.h.
| char* UI_Value::stealString | ( | ) |
| virtual int UI_Value::step | ( | UI_StepType | how | ) | [virtual] |
| void UI_Value::stringPrintf | ( | const char * | fmt, | |
| ... | ||||
| ) |
| void UI_Value::triggerImmediate | ( | UI_Object * | by, | |
| UI_Reason | reason = UI_VALUE_CHANGED, |
|||
| UI_DeviceEvent * | state = 0 | |||
| ) |
| ostream& operator<< | ( | ostream & | os, | |
| const UI_Value & | v | |||
| ) | [friend] |
Definition at line 228 of file UI_Value.h.
| float* UI_Value::a |
Definition at line 208 of file UI_Value.h.
| float UI_Value::f |
Definition at line 207 of file UI_Value.h.
| int UI_Value::i |
Definition at line 206 of file UI_Value.h.
UT_Pointers* UI_Value::interests [protected] |
Definition at line 215 of file UI_Value.h.
| int* UI_Value::j |
Definition at line 209 of file UI_Value.h.
const char* UI_Value::myFormat [protected] |
Definition at line 214 of file UI_Value.h.
bool UI_Value::myFreezeFlag [protected] |
Definition at line 217 of file UI_Value.h.
| void* UI_Value::p |
Definition at line 212 of file UI_Value.h.
| char* UI_Value::s |
Definition at line 210 of file UI_Value.h.
| char** UI_Value::ss |
Definition at line 211 of file UI_Value.h.
UI_ValueType UI_Value::type [protected] |
Definition at line 216 of file UI_Value.h.
union { ... } UI_Value::value [protected] |
1.5.9