TypeCodes {SMRUCC.Rsharp.Runtime.Components} .NET clr documentation

TypeCodes

Description

The R# types (byte)

Declare

            
# namespace SMRUCC.Rsharp.Runtime.Components
export class TypeCodes extends Enum {
   # Unknown or invalid
   NA: TypeCodes = 0;

   # Object type in R#, any other CLR type.(使用这个类型来表示没有类型约束)
   generic: TypeCodes = 1;

   # 函数类型
   closure: TypeCodes = 2;

   formula: TypeCodes = 4;

   # the runtime environment
   environment: TypeCodes = 5;

   # type code for RMethodInfo and .NET clr MethodInfo
   clr_delegate: TypeCodes = 6;

   # Class type in R#
   list: TypeCodes = 100;

   # integer vector
   integer: TypeCodes = 101;

   # double numeric vector
   double: TypeCodes = 102;

   # string vector
   string: TypeCodes = 103;

   # boolean vector
   boolean: TypeCodes = 104;

   # A data table liked compound type
   dataframe: TypeCodes = 105;

   # Byte
   raw: TypeCodes = 106;

}

        

.NET clr type reference tree

  1. this class extends from Enum class: Enum
  2. use by field member NA: TypeCodes
  3. use by field member generic: TypeCodes
  4. use by field member closure: TypeCodes
  5. use by field member formula: TypeCodes
  6. use by field member environment: TypeCodes
  7. use by field member clr_delegate: TypeCodes
  8. use by field member list: TypeCodes
  9. use by field member integer: TypeCodes
  10. use by field member double: TypeCodes
  11. use by field member string: TypeCodes
  12. use by field member boolean: TypeCodes
  13. use by field member dataframe: TypeCodes
  14. use by field member raw: TypeCodes

[Package {$package} version {$version} Index]