System.Tether.AppProfile.TSimpleValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TSimpleValue = record
    case Integer of
      0: (FInteger: Integer);
      1: (FSingle: Single);
      2: (FDouble: Double);
      3: (FInt64: Int64);
      4: (FBoolean: Boolean);
  end;

C++

struct DECLSPEC_DRECORD TSimpleValue
{
public:
    union
    {
        struct
        {
            bool FBoolean;
        };
        struct
        {
            __int64 FInt64;
        };
        struct
        {
            double FDouble;
        };
        struct
        {
            float FSingle;
        };
        struct
        {
            int FInteger;
        };
    };
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile System.Tether.AppProfile

Description

Record that may contain either a boolean, an integer or a floating-point number.

This record is used internally by TResourceValue when it needs to wrap one of the types that this record supports.

See Also