24template<
typename T>
struct VData
32 template<
typename TRe
interpret>
inline TReinterpret&
As()
39 template<
typename TRe
interpret>
inline const TReinterpret&
As()
const
198 operator bool()
const {
return Value;}
231struct VMeta_integer :
public VMeta
235 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(
integer); }
244struct VMeta_float :
public VMeta
248 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(double); }
250 ALIB_DLL void construct(
void* dest, PoolAllocator&)
override {
new (dest)
double(); }
251 ALIB_DLL void destruct (
void* , PoolAllocator&)
override {}
252 ALIB_DLL size_t size()
override {
return sizeof(double); }
253 ALIB_DLL void imPort( VDATA*, Configuration&,
const StringEscaper&,
const String& )
override;
254 ALIB_DLL void exPort( VDATA*, Configuration&,
const StringEscaper&, AString& )
override;
257struct VMeta_String :
public VMeta
261 ALIB_DLL const std::type_info& dbgTypeID()
override {
return typeid(
AStringPA); }
263 ALIB_DLL void construct(
void* dest, PoolAllocator& pool)
override
265 ALIB_DLL void destruct (
void* dest, PoolAllocator&)
override
268 ALIB_DLL void imPort( VDATA*, Configuration&,
const StringEscaper&,
const String& )
override;
269 ALIB_DLL void exPort( VDATA*, Configuration&,
const StringEscaper&, AString& )
override;
#define ALIB_VARIABLES_DEFINE_TYPE_WITH_POOL_CONSTRUCTOR(Namespace, CPPName, CfgTypeString)
#define ALIB_VARIABLES_DEFINE_TYPE(Namespace, CPPName, CfgTypeString)
void typeName(const detail::VTable *vtable, AString &result)
alib::StringVectorPA StringVectorSemicolon
alib::StringVectorPA StringVectorComma
strings::util::StringEscaper StringEscaper
Type alias in namespace alib.
strings::TAString< character, lang::HeapAllocator > AString
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::TString< character > String
Type alias in namespace alib.
strings::TAString< character, PoolAllocator > AStringPA
Type alias in namespace alib.
bool Value
The boolean value. Defaults to false.
bool operator=(bool newValue)
const TReinterpret & As() const