|
Rhino C++ API
8.24
|
#include <rhinoSdkApp.h>
Public Types | |
| enum | ScriptEchoMode : unsigned int { ScriptEchoMode::Unset = 0, ScriptEchoMode::Literal = 1, ScriptEchoMode::Silent = 2 } |
Public Member Functions | |
| CRhinoScriptContext ()=default | |
| CRhinoScriptContext (const CRhinoScriptContext &)=default | |
| ~CRhinoScriptContext ()=default | |
| class CRhinoDoc * | Doc () const |
| unsigned int | DocRuntimeSerialNumber () const |
| CRhinoScriptContext::ScriptEchoMode | EchoMode () const |
| const ON_wString | MRUDisplayString () const |
| const wchar_t * | MRUDisplayStringPointer () const |
| CRhinoScriptContext & | operator= (const CRhinoScriptContext &)=default |
| const ON_wString | Script () const |
| const wchar_t * | ScriptPointer () const |
| bool | SetDocRuntimeSerialNumber (const class CRhinoDoc &doc) |
| bool | SetDocRuntimeSerialNumber (const class CRhinoDoc *doc) |
| bool | SetDocRuntimeSerialNumber (unsigned int rhino_doc_sn) |
| void | SetEchoMode (CRhinoScriptContext::ScriptEchoMode echo_mode) |
| void | SetMRUDisplayString (const wchar_t *mru_display_string) |
| void | SetPersistentScript (const wchar_t *persistent_script) |
| void | SetScript (const class ON_wString &script) |
| void | SetScript (const wchar_t *script) |
Static Public Attributes | |
| static const CRhinoScriptContext | EmptyScript |
|
strong |
|
default |
|
default |
|
default |
| class CRhinoDoc* CRhinoScriptContext::Doc | ( | ) | const |
| unsigned int CRhinoScriptContext::DocRuntimeSerialNumber | ( | ) | const |
| CRhinoScriptContext::ScriptEchoMode CRhinoScriptContext::EchoMode | ( | ) | const |
| const ON_wString CRhinoScriptContext::MRUDisplayString | ( | ) | const |
| const wchar_t* CRhinoScriptContext::MRUDisplayStringPointer | ( | ) | const |
|
default |
| const ON_wString CRhinoScriptContext::Script | ( | ) | const |
| const wchar_t* CRhinoScriptContext::ScriptPointer | ( | ) | const |
| bool CRhinoScriptContext::SetDocRuntimeSerialNumber | ( | const class CRhinoDoc & | doc | ) |
| bool CRhinoScriptContext::SetDocRuntimeSerialNumber | ( | const class CRhinoDoc * | doc | ) |
| bool CRhinoScriptContext::SetDocRuntimeSerialNumber | ( | unsigned int | rhino_doc_sn | ) |
| void CRhinoScriptContext::SetEchoMode | ( | CRhinoScriptContext::ScriptEchoMode | echo_mode | ) |
| void CRhinoScriptContext::SetMRUDisplayString | ( | const wchar_t * | mru_display_string | ) |
| void CRhinoScriptContext::SetPersistentScript | ( | const wchar_t * | persistent_script | ) |
Parameters: persistent_script - [in] A string that will exist for the duration of the application.
Example: SetPersistentScript( L"! _Circle 0,0,0w, 1meter" );
| void CRhinoScriptContext::SetScript | ( | const class ON_wString & | script | ) |
| void CRhinoScriptContext::SetScript | ( | const wchar_t * | script | ) |
|
static |
1.8.17