Rhino C++ API
8.14
|
#include <rhinoSdkAppSettings.h>
Public Member Functions | |
CRhinoAppAliasList () | |
CRhinoAppAliasList (const CRhinoAppAliasList &src) | |
bool | AddAlias (const wchar_t *alias, const wchar_t *macro) |
const CRhinoCommandAlias * | Alias (int index) const |
start at 0, return NULL when index is out of range More... | |
int | AliasIndex (const wchar_t *alias) const |
returns -1 if not found More... | |
int | Count () const |
void | Defaults () |
bool | DeleteAlias (const wchar_t *) |
bool | DeleteAlias (int index) |
void | DestroyAliasList () |
remove all aliases from the list More... | |
const CRhinoCommandAlias * | FindAlias (const wchar_t *) const |
bool | GetMatchingAliases (const wchar_t *sPartialName, ON_SimpleArray< CRhinoCommandAlias * > &alias_list) |
void | LoadProfile (CRhinoProfileContext &pc) |
load from registry More... | |
bool | ModifyAlias (int index, const wchar_t *alias, const wchar_t *macro) |
bool | ModifyAliasMacro (int index, const wchar_t *macro) |
bool | ModifyAliasName (int index, const wchar_t *alias) |
bool | operator!= (const CRhinoAppAliasList &) const |
CRhinoAppAliasList & | operator= (const CRhinoAppAliasList &src) |
bool | operator== (const CRhinoAppAliasList &) const |
void | SaveProfile (CRhinoProfileContext &) const |
save in registry More... | |
Static Public Attributes | |
static const CRhinoAppAliasList | Default |
Protected Member Functions | |
CRhinoCommandAlias * | A (int) |
bool | InRange (int) const |
Protected Attributes | |
ON_ClassArray< CRhinoCommandAlias > | m_alias_list |
CRhinoAppAliasList::CRhinoAppAliasList | ( | ) |
CRhinoAppAliasList::CRhinoAppAliasList | ( | const CRhinoAppAliasList & | src | ) |
|
protected |
bool CRhinoAppAliasList::AddAlias | ( | const wchar_t * | alias, |
const wchar_t * | macro | ||
) |
return true if added, false if already in the list.
const CRhinoCommandAlias* CRhinoAppAliasList::Alias | ( | int | index | ) | const |
start at 0, return NULL when index is out of range
int CRhinoAppAliasList::AliasIndex | ( | const wchar_t * | alias | ) | const |
returns -1 if not found
int CRhinoAppAliasList::Count | ( | ) | const |
void CRhinoAppAliasList::Defaults | ( | ) |
bool CRhinoAppAliasList::DeleteAlias | ( | const wchar_t * | ) |
bool CRhinoAppAliasList::DeleteAlias | ( | int | index | ) |
void CRhinoAppAliasList::DestroyAliasList | ( | ) |
remove all aliases from the list
const CRhinoCommandAlias* CRhinoAppAliasList::FindAlias | ( | const wchar_t * | ) | const |
bool CRhinoAppAliasList::GetMatchingAliases | ( | const wchar_t * | sPartialName, |
ON_SimpleArray< CRhinoCommandAlias * > & | alias_list | ||
) |
|
protected |
void CRhinoAppAliasList::LoadProfile | ( | CRhinoProfileContext & | pc | ) |
load from registry
bool CRhinoAppAliasList::ModifyAlias | ( | int | index, |
const wchar_t * | alias, | ||
const wchar_t * | macro | ||
) |
bool CRhinoAppAliasList::ModifyAliasMacro | ( | int | index, |
const wchar_t * | macro | ||
) |
bool CRhinoAppAliasList::ModifyAliasName | ( | int | index, |
const wchar_t * | alias | ||
) |
bool CRhinoAppAliasList::operator!= | ( | const CRhinoAppAliasList & | ) | const |
CRhinoAppAliasList& CRhinoAppAliasList::operator= | ( | const CRhinoAppAliasList & | src | ) |
bool CRhinoAppAliasList::operator== | ( | const CRhinoAppAliasList & | ) | const |
void CRhinoAppAliasList::SaveProfile | ( | CRhinoProfileContext & | ) | const |
save in registry
|
static |
|
protected |