1 #ifndef ENUMERATED__HPP
2 #define ENUMERATED__HPP
69 virtual bool IsSigned(
void)
const override;
82 string&
value)
const override;
84 const string&
value)
const override;
109 for (
const auto& v : values->
GetValues()) {
CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...
std::ofstream out("events_result.xml")
main entry point for tests
const TValues & GetValues(void) const
Get the list of name-value pairs.
ESerialRecursionMode
How to assign and compare child sub-objects of serial objects.
const void * TConstObjectPtr
int32_t Int4
4-byte (32-bit) signed integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
int64_t Int8
8-byte (64-bit) signed integer
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual bool IsDefault(TConstObjectPtr object) const override
Check, whether the object contains default value.
virtual Uint4 GetValueUint4(TConstObjectPtr objectPtr) const
virtual bool Equals(TConstObjectPtr, TConstObjectPtr, ESerialRecursionMode how=eRecursive) const override
Check if both objects contain the same values.
virtual void SetDefault(TObjectPtr dst) const override
Set object to default value.
virtual void SetValueInt8(TObjectPtr objectPtr, Int8 value) const
virtual void SetValueInt4(TObjectPtr objectPtr, Int4 value) const
virtual void GetValueString(TConstObjectPtr objectPtr, string &value) const
const CPrimitiveTypeInfo * m_ValueType
virtual Int4 GetValueInt4(TConstObjectPtr objectPtr) const
const CEnumeratedTypeValues & m_Values
virtual void SetValueUint8(TObjectPtr objectPtr, Uint8 value) const
virtual void SetValueUint4(TObjectPtr objectPtr, Uint4 value) const
virtual void Assign(TObjectPtr dst, TConstObjectPtr src, ESerialRecursionMode how=eRecursive) const override
Set object to copy of another one.
virtual bool IsSigned(void) const
virtual void SetValueString(TObjectPtr objectPtr, const string &value) const
const CEnumeratedTypeValues & Values(void) const
CPrimitiveTypeInfo CParent
virtual Int8 GetValueInt8(TConstObjectPtr objectPtr) const
CEnumeratedTypeInfo * CreateEnumeratedTypeInfo(const T &, const CEnumeratedTypeValues *values)
virtual Uint8 GetValueUint8(TConstObjectPtr objectPtr) const
#define NCBI_XSERIAL_EXPORT
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value
std::istream & in(std::istream &in_, double &x_)