Exemplo n.º 1
0
        public CppComplexType(ComplexValueType complexValueType) : base("", 0)
        {
            ComplexValueType = complexValueType;

            // An empty class shall always have sizeof() >= 1
            // This will get overwritten the first time a field is added
            Size = 8;
        }
 public void OutComplexValueType(out ComplexValueType outValueType)
 {
     outValueType         = new ComplexValueType();
     outValueType.Byte    = byte.MaxValue;
     outValueType.Char    = 'a';
     outValueType.Decimal = decimal.MaxValue;
     outValueType.Double  = double.MaxValue;
     outValueType.Float   = float.MaxValue;
     outValueType.Int     = int.MaxValue;
     outValueType.Long    = long.MaxValue;
     outValueType.Short   = short.MaxValue;
     outValueType.String  = "Hello, world!";
     outValueType.UInt    = uint.MaxValue;
     outValueType.ULong   = ulong.MaxValue;
     outValueType.UShort  = ushort.MaxValue;
 }
 private void Action_Complex_ValueType(ComplexValueType complex)
 {
 }
Exemplo n.º 4
0
 public CppComplexType(ComplexValueType complexValueType) : base("", 0) => ComplexValueType = complexValueType;