Every Parm in OpenVSP can be accessed and modified through the functions defined in this API group. Every Parm has an associated ParmContainer. Click here to return to the main page. More...
Functions | |
std::string | vsp::GetParm (const std::string &geom_id, const std::string &name, const std::string &group) |
bool | vsp::ValidParm (const std::string &id) |
double | vsp::SetParmVal (const std::string &parm_id, double val) |
double | vsp::SetParmVal (const std::string &geom_id, const std::string &name, const std::string &group, double val) |
double | vsp::SetParmValLimits (const std::string &parm_id, double val, double lower_limit, double upper_limit) |
double | vsp::SetParmValUpdate (const std::string &parm_id, double val) |
double | vsp::SetParmValUpdate (const std::string &geom_id, const std::string &parm_name, const std::string &parm_group_name, double val) |
double | vsp::GetParmVal (const std::string &parm_id) |
double | vsp::GetParmVal (const std::string &geom_id, const std::string &name, const std::string &group) |
int | vsp::GetIntParmVal (const std::string &parm_id) |
bool | vsp::GetBoolParmVal (const std::string &parm_id) |
void | vsp::SetParmUpperLimit (const std::string &parm_id, double val) |
double | vsp::GetParmUpperLimit (const std::string &parm_id) |
void | vsp::SetParmLowerLimit (const std::string &parm_id, double val) |
double | vsp::GetParmLowerLimit (const std::string &parm_id) |
int | vsp::GetParmType (const std::string &parm_id) |
std::string | vsp::GetParmName (const std::string &parm_id) |
std::string | vsp::GetParmGroupName (const std::string &parm_id) |
std::string | vsp::GetParmDisplayGroupName (const std::string &parm_id) |
std::string | vsp::GetParmContainer (const std::string &parm_id) |
void | vsp::SetParmDescript (const std::string &parm_id, const std::string &desc) |
std::string | vsp::GetParmDescript (const std::string &parm_id) |
std::string | vsp::FindParm (const std::string &parm_container_id, const std::string &parm_name, const std::string &group_name) |
std::string vsp::FindParm | ( | const std::string & | parm_container_id, |
const std::string & | parm_name, | ||
const std::string & | group_name | ||
) |
Find a Parm ID given the Parm Container ID, Parm name, and Parm group
[in] | parm_container_id | Parm Container ID |
[in] | parm_name | Parm name |
[in] | group_name | Parm group name |
bool vsp::GetBoolParmVal | ( | const std::string & | parm_id | ) |
Get the value of the specified bool type Parm
[in] | parm_id | string Parm ID |
int vsp::GetIntParmVal | ( | const std::string & | parm_id | ) |
Get the value of the specified int type Parm
[in] | parm_id | string Parm ID |
std::string vsp::GetParm | ( | const std::string & | geom_id, |
const std::string & | name, | ||
const std::string & | group | ||
) |
Get Parm ID
[in] | geom_id | string Geom ID |
[in] | name | string Parm name |
[in] | group | string Parm group name |
std::string vsp::GetParmContainer | ( | const std::string & | parm_id | ) |
Get Parm Container ID for the specified Parm
[in] | parm_id | string Parm ID |
std::string vsp::GetParmDescript | ( | const std::string & | parm_id | ) |
Get the description of the specified Parm
[in] | parm_id | string Parm ID |
std::string vsp::GetParmDisplayGroupName | ( | const std::string & | parm_id | ) |
Get the display group name for the specified Parm
[in] | parm_id | string Parm ID |
std::string vsp::GetParmGroupName | ( | const std::string & | parm_id | ) |
Get the group name for the specified Parm
[in] | parm_id | string Parm ID |
double vsp::GetParmLowerLimit | ( | const std::string & | parm_id | ) |
Get the lower limit value for the specified Parm
[in] | parm_id | string Parm ID |
std::string vsp::GetParmName | ( | const std::string & | parm_id | ) |
Get the name for the specified Parm
[in] | parm_id | string Parm ID |
int vsp::GetParmType | ( | const std::string & | parm_id | ) |
Get the data type for the specified Parm
[in] | parm_id | string Parm ID |
double vsp::GetParmUpperLimit | ( | const std::string & | parm_id | ) |
Get the upper limit value for the specified Parm
[in] | parm_id | string Parm ID |
double vsp::GetParmVal | ( | const std::string & | geom_id, |
const std::string & | name, | ||
const std::string & | group | ||
) |
Get the value of the specified Parm. The data type of the Parm value will be cast to a double
[in] | geom_id | string Geom ID |
[in] | name | string Parm name |
[in] | group | string Parm group name |
double vsp::GetParmVal | ( | const std::string & | parm_id | ) |
Get the value of the specified Parm. The data type of the Parm value will be cast to a double
[in] | parm_id | string Parm ID |
void vsp::SetParmDescript | ( | const std::string & | parm_id, |
const std::string & | desc | ||
) |
Set the description of the specified Parm
[in] | parm_id | string Parm ID |
[in] | desc | Parm description |
void vsp::SetParmLowerLimit | ( | const std::string & | parm_id, |
double | val | ||
) |
Set the lower limit value for the specified Parm
[in] | parm_id | string Parm ID |
[in] | val | Parm lower limit |
void vsp::SetParmUpperLimit | ( | const std::string & | parm_id, |
double | val | ||
) |
Set the upper limit value for the specified Parm
[in] | parm_id | string Parm ID |
[in] | val | double Parm upper limit |
double vsp::SetParmVal | ( | const std::string & | geom_id, |
const std::string & | name, | ||
const std::string & | group, | ||
double | val | ||
) |
Set the value of the specified Parm.
[in] | geom_id | string Geom ID |
[in] | name | string Parm name |
[in] | group | string Parm group name |
[in] | val | double Parm value to set |
double vsp::SetParmVal | ( | const std::string & | parm_id, |
double | val | ||
) |
Set the value of the specified Parm.
[in] | parm_id | string Parm ID |
[in] | val | Parm value to set |
double vsp::SetParmValLimits | ( | const std::string & | parm_id, |
double | val, | ||
double | lower_limit, | ||
double | upper_limit | ||
) |
Set the value along with the upper and lower limits of the specified Parm
[in] | parm_id | string Parm ID |
[in] | val | Parm value to set |
[in] | lower_limit | Parm lower limit |
[in] | upper_limit | Parm upper limit |
double vsp::SetParmValUpdate | ( | const std::string & | geom_id, |
const std::string & | parm_name, | ||
const std::string & | parm_group_name, | ||
double | val | ||
) |
Set the value of the specified Parm and force an Update.
[in] | geom_id | string Geom ID |
[in] | parm_name | string Parm name |
[in] | parm_group_name | string Parm group name |
[in] | val | double Parm value to set |
double vsp::SetParmValUpdate | ( | const std::string & | parm_id, |
double | val | ||
) |
Set the value of the specified Parm and force an Update.
[in] | parm_id | string Parm ID |
[in] | val | Parm value to set |
bool vsp::ValidParm | ( | const std::string & | id | ) |