C++Cast-class | R Documentation |
The C++Cast
and C++CastValues
provide the definition
for a collection of related enumerated constants that allow the
R programmer to identify different types of casting of
C++ references to another class.
There are four types of casting in C++ as opposed to just one in C.
These are static, dynamic, reinterpret and const.
These have different characteristics including run-time coercion
rather than compile-time knowledge.
This class and EnumDef
prvide the definitions so that we can
use either the names or numerical values when idenifying a type of cast.
.Data
:Object of class "integer"
Class "EnumValue"
, directly.
Class "SymbolicConstant"
, by class "EnumValue", distance 2.
Class "EnumerationValue"
, by class "EnumValue", distance 2.
Class "integer"
, by class "EnumValue", distance 3.
Class "vector"
, by class "EnumValue", distance 4.
Class "numeric"
, by class "EnumValue", distance 4.
Class "data.frameRowLabels"
, by class "EnumValue", distance 4.
signature(from = "character", to = "C++Cast")
:
signature(from = "numeric", to = "C++Cast")
:
Duncan Temple Lang
C++ Programmers Reference
showClass("C++Cast") as(1, "C++Cast") as("static", "C++Cast")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.