6. Properties Examples



Basics Typs

typedef valueproperty<int8t> setp8_t;
typedef valueproperty<uint8t> setpu8_t;
typedef valueproperty<int16t> setp16_t;
typedef valueproperty<uint16t> setpu16_t;
typedef valueproperty<int32t> setp32_t;
typedef valueproperty<uint32t> setpu32_t;
typedef valueproperty<int64t> setp64_t;
typedef valueproperty<uint64t> setpu64_t;
typedef valueproperty<float> setpft;
typedef valueproperty<double> setpdt;
typedef valueproperty<bool> setpbt;


typedef valueproperty<int8t, false, true> getp8_t;
typedef valueproperty<uint8t, false, true> getpu8_t;
typedef valueproperty<int16t, false, true> getp16_t;
typedef valueproperty<uint16t, false, true> getpu16_t;
typedef valueproperty<int32t, false, true> getp32_t;
typedef valueproperty<uint32t, false, true> getpu32_t;
typedef valueproperty<int64t, false, true> getp64_t;
typedef valueproperty<uint64t, false, true> getpu64_t;
typedef valueproperty<float, false, true> getpft;
typedef valueproperty<double, false, true> getpdt;
typedef valueproperty<bool, false, true> getpbt;

typedef valueproperty<int8t, true, true> prop8_t;
typedef valueproperty<uint8t, true, true> propu8_t;
typedef valueproperty<int16t, true, true> prop16_t;
typedef valueproperty<uint16t, true, true> propu16_t;
typedef valueproperty<int32t, true, true> prop32_t;
typedef valueproperty<uint32t, true, true> propu32_t;
typedef valueproperty<int64t, true, true> prop64_t;
typedef valueproperty<uint64t, true, true> propu64_t;
typedef valueproperty<float, true, true> propft;
typedef valueproperty<double, true, true> propdt;
typedef valueproperty<bool, true, true> propbt;

template <typename T> using setpt = valueproperty<T, true, false>;
template <typename T> using getpt = valueproperty<T, false, true>;
template <typename T> using propt = valueproperty<T, true, true>;

Last edited Nov 29, 2016 at 12:55 PM by pbl1h0sc, version 3