cgma
|
#include <SettingHolder.hpp>
Definition at line 25 of file SettingHolder.hpp.
Definition at line 11 of file SettingHolder.cpp.
{ setting_type = SETTING_UNKNOWN_VALUE_TYPE; description = ""; name = ""; get_int_function = NULL; set_int_function = NULL; get_double_function = NULL; set_double_function = NULL; get_bool_function = NULL; set_bool_function = NULL; get_string_function = NULL; set_string_function = NULL; }
Definition at line 195 of file SettingHolder.cpp.
{}
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(int) | setFn, | ||
int(*)() | getFn, | ||
int | value | ||
) |
Definition at line 29 of file SettingHolder.cpp.
{ setting_type = SETTING_INT_VALUE_TYPE; int_value = value; double_value = 0.0; string_value = ""; description = ""; name = n; get_int_function = getFn; set_int_function = setFn; get_double_function = NULL; set_double_function = NULL; get_bool_function = NULL; set_bool_function = NULL; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(double) | setFn, | ||
double(*)() | getFn, | ||
double | value | ||
) |
Definition at line 51 of file SettingHolder.cpp.
{ setting_type = SETTING_DOUBLE_VALUE_TYPE; int_value = 0; double_value = value; string_value = ""; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = getFn; set_double_function = setFn; get_bool_function = NULL; set_bool_function = NULL; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(CubitBoolean) | setFn, | ||
CubitBoolean(*)() | getFn, | ||
CubitBoolean | |||
) |
Definition at line 74 of file SettingHolder.cpp.
{ setting_type = SETTING_CUBITBOOLEAN_VALUE_TYPE; int_value = 0; double_value = 0.0; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = NULL; set_double_function = NULL; get_bool_function = getFn; set_bool_function = setFn; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(CubitString) | setFn, | ||
CubitString(*)() | getFn, | ||
char * | value | ||
) |
Definition at line 95 of file SettingHolder.cpp.
{ setting_type = SETTING_CUBITSTRING_VALUE_TYPE; int_value = 0; double_value = 0.0; string_value = value; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = NULL; set_double_function = NULL; get_bool_function = NULL; set_bool_function = NULL; get_string_function = getFn; set_string_function = setFn; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(int) | setFn, | ||
int(*)() | getFn | ||
) |
Definition at line 118 of file SettingHolder.cpp.
{ setting_type = SETTING_INT_VALUE_TYPE; description = ""; name = n; get_int_function = getFn; set_int_function = setFn; get_double_function = NULL; set_double_function = NULL; get_bool_function = NULL; set_bool_function = NULL; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(double) | setFn, | ||
double(*)() | getFn | ||
) |
Definition at line 137 of file SettingHolder.cpp.
{ setting_type = SETTING_DOUBLE_VALUE_TYPE; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = getFn; set_double_function = setFn; get_bool_function = NULL; set_bool_function = NULL; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(CubitBoolean) | setFn, | ||
CubitBoolean(*)() | getFn | ||
) |
Definition at line 157 of file SettingHolder.cpp.
{ setting_type = SETTING_CUBITBOOLEAN_VALUE_TYPE; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = NULL; set_double_function = NULL; get_bool_function = getFn; set_bool_function = setFn; get_string_function = NULL; set_string_function = NULL; }
SettingHolder::SettingHolder | ( | CubitString | n, |
void(*)(CubitString) | setFn, | ||
CubitString(*)() | getFn | ||
) |
Definition at line 176 of file SettingHolder.cpp.
{ setting_type = SETTING_CUBITSTRING_VALUE_TYPE; description = ""; name = n; get_int_function = NULL; set_int_function = NULL; get_double_function = NULL; set_double_function = NULL; get_bool_function = NULL; set_bool_function = NULL; get_string_function = getFn; set_string_function = setFn; }
friend class SettingHandler [friend] |
Definition at line 27 of file SettingHolder.hpp.
CubitString SettingHolder::description [private] |
Definition at line 68 of file SettingHolder.hpp.
double SettingHolder::double_value [private] |
Definition at line 70 of file SettingHolder.hpp.
CubitBoolean(* SettingHolder::get_bool_function)() [private] |
Definition at line 75 of file SettingHolder.hpp.
double(* SettingHolder::get_double_function)() [private] |
Definition at line 74 of file SettingHolder.hpp.
int(* SettingHolder::get_int_function)() [private] |
Definition at line 73 of file SettingHolder.hpp.
CubitString(* SettingHolder::get_string_function)() [private] |
Definition at line 76 of file SettingHolder.hpp.
int SettingHolder::int_value [private] |
Definition at line 69 of file SettingHolder.hpp.
CubitString SettingHolder::name [private] |
Definition at line 67 of file SettingHolder.hpp.
void(* SettingHolder::set_bool_function)(CubitBoolean) [private] |
Definition at line 80 of file SettingHolder.hpp.
void(* SettingHolder::set_double_function)(double) [private] |
Definition at line 79 of file SettingHolder.hpp.
void(* SettingHolder::set_int_function)(int) [private] |
Definition at line 78 of file SettingHolder.hpp.
void(* SettingHolder::set_string_function)(CubitString) [private] |
Definition at line 81 of file SettingHolder.hpp.
SettingType SettingHolder::setting_type [private] |
Definition at line 64 of file SettingHolder.hpp.
CubitString SettingHolder::string_value [private] |
Definition at line 71 of file SettingHolder.hpp.