the global option ui manager. 更多...
#include <APIOptionListManager.h>
Public 成员函数 | |
void | AddSysOption (const OptionList &pOption) |
OptionList | FindSysOption (const String &name) const |
void | AddUserOption (const OptionList &pOption) |
OptionList | FindUserOption (const String &name) const |
void | RemoveUserOption (const String &name) |
OptionListSet | GetUserOptions () const |
OptionList | FindOption (const String &name) const |
the global option ui manager.
TODO:
void AnyCAD::API::OptionListManager::AddSysOption | ( | const OptionList & | pOption | ) |
Adds an option user interface.
pOption | The option. |
void AnyCAD::API::OptionListManager::AddUserOption | ( | const OptionList & | pOption | ) |
Adds a user option.
pOption | The option. |
OptionList AnyCAD::API::OptionListManager::FindOption | ( | const String & | name | ) | const |
Find option from user and system.
OptionList AnyCAD::API::OptionListManager::FindSysOption | ( | const String & | name | ) | const |
Searches for the first option user interface.
name | The name. |
OptionList AnyCAD::API::OptionListManager::FindUserOption | ( | const String & | name | ) | const |
Searches for the first option user interface.
name | The name. |
OptionListSet AnyCAD::API::OptionListManager::GetUserOptions | ( | ) | const |
Get user defined OptionListSet
void AnyCAD::API::OptionListManager::RemoveUserOption | ( | const String & | name | ) |
Removes the user option described by name.
name | The name. |