24template<
typename T>
struct VData
32 template<
typename TRe
interpret>
inline TReinterpret&
As()
39 template<
typename TRe
interpret>
inline const TReinterpret&
As()
const
212 operator bool()
const {
return Value; }
245struct VMeta_integer :
public VMeta
249 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(
integer); }
258struct VMeta_float :
public VMeta
262 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(double); }
264 ALIB_DLL void construct(VDATA* dest, PoolAllocator&)
override {
new (dest)
double(); }
265 ALIB_DLL void destruct (VDATA* , PoolAllocator&)
override {}
266 ALIB_DLL size_t size()
override {
return sizeof(double); }
267 ALIB_DLL void imPort( VDATA*, Configuration&,
const StringEscaper&,
const String& )
override;
268 ALIB_DLL void exPort( VDATA*, Configuration&,
const StringEscaper&, AString& )
override;
271struct VMeta_String :
public VMeta
275 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(
AStringPA); }
277 ALIB_DLL void construct(VDATA* dest, PoolAllocator& pool)
override
279 ALIB_DLL void destruct (VDATA* dest, PoolAllocator&)
override
282 ALIB_DLL void imPort( VDATA*, Configuration&,
const StringEscaper&,
const String& )
override;
283 ALIB_DLL void exPort( VDATA*, Configuration&,
const StringEscaper&, AString& )
override;
void typeName(const detail::VTable *vtable, AString &result)
alib::StringVectorPA StringVectorSemicolon
alib::StringVectorPA StringVectorComma
strings::TAString< character, PoolAllocator > AStringPA
Type alias in namespace alib.
variables::Configuration Configuration
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
monomem::TPoolAllocator< MonoAllocator > PoolAllocator
strings::util::TStringVector< character, PoolAllocator > StringVectorPA
Type alias in namespace alib.
strings::util::StringEscaper StringEscaper
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
bool Value
The boolean value. Defaults to false.
bool operator=(bool newValue)
const TReinterpret & As() const
#define ALIB_VARIABLES_DEFINE_TYPE_WITH_POOL_CONSTRUCTOR(Namespace, CPPName, CfgTypeString)
#define ALIB_VARIABLES_DEFINE_TYPE(Namespace, CPPName, CfgTypeString)