PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
typename Class Reference

Private Member Functions

proto volatile Class Spawn ()
 Dynamic variant to 'new' keyword. It creates new instance of class.
 
proto owned string GetModule ()
 Get the name of the module the typename belongs to.
 
proto native owned string ToString ()
 Returns type name of variable as string.
 
proto native bool IsInherited (typename baseType)
 Returns true when type is the same as 'baseType', or inherited one.
 
proto native int GetVariableCount ()
 
proto native owned string GetVariableName (int vIdx)
 
proto native GetVariableType (int vIdx)
 
proto bool GetVariableValue (Class var, int vIdx, out void val)
 

Static Private Member Functions

static string EnumToString (typename e, int enumValue)
 Return string name of enum value.
 
static int StringToEnum (typename e, string enumName)
 Return enum value from string name.
 

Member Function Documentation

◆ EnumToString()

static string EnumToString ( typename ,
int  enumValue 
)
inlinestaticprivate

Return string name of enum value.

DialogPriority prio = DialogPriority.WARNING;
Print( typename.EnumToString(DialogPriority, prio) );
static string EnumToString(typename e, int enumValue)
Return string name of enum value.
Definition EnConvert.c:550
proto void Print(void var)
Prints content of variable to console/log.

◆ GetModule()

proto owned string GetModule ( )
private

Get the name of the module the typename belongs to.

Returns
string Name of parent module (1_Core)

◆ GetVariableCount()

proto native int GetVariableCount ( )
private

◆ GetVariableName()

proto native owned string GetVariableName ( int  vIdx)
private

◆ GetVariableType()

proto native GetVariableType ( int  vIdx)
private

◆ GetVariableValue()

proto bool GetVariableValue ( Class  var,
int  vIdx,
out void  val 
)
private

◆ IsInherited()

proto native bool IsInherited ( typename baseType  )
private

Returns true when type is the same as 'baseType', or inherited one.

Parameters
baseTypetypename
Returns
bool true when type is the same as 'baseType', or inherited one.
???

◆ Spawn()

proto volatile Class Spawn ( )
private

Dynamic variant to 'new' keyword. It creates new instance of class.

Returns
volatile instance of class
???

◆ StringToEnum()

static int StringToEnum ( typename ,
string  enumName 
)
inlinestaticprivate

Return enum value from string name.

Print( typename.StringToEnum(DialogPriority, "WARNING") );
static int StringToEnum(typename e, string enumName)
Return enum value from string name.
Definition EnConvert.c:572

◆ ToString()

proto native owned string ToString ( )
private

Returns type name of variable as string.


The documentation for this class was generated from the following file: