41 #ifndef OBJECTS_TRACKMGR_TMGR_ATTRIBUTE_BASE_HPP
42 #define OBJECTS_TRACKMGR_TMGR_ATTRIBUTE_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
109 bool IsSetKey(
void)
const;
116 bool CanGetKey(
void)
const;
125 const TKey& GetKey(
void)
const;
147 bool IsSetValue(
void)
const;
154 bool CanGetValue(
void)
const;
157 void ResetValue(
void);
163 const TValue& GetValue(
void)
const;
179 virtual void Reset(
void);
233 m_Key = std::forward<CTMgr_Attribute_Base::TKey>(
value);
280 m_Value = std::forward<CTMgr_Attribute_Base::TValue>(
value);
Base class for all serializable objects.
static CStringUTF8 UnassignedStringUTF8(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
CTMgr_Attribute_Base & operator=(const CTMgr_Attribute_Base &)
const TKey & GetKey(void) const
Get the Key member data.
bool CanGetKey(void) const
Check if it is safe to call GetKey method.
const TValue & GetValue(void) const
Get the Value member data.
bool IsSetValue(void) const
Check if a value has been assigned to Value data member.
TKey & SetKey(void)
Assign a value to Key data member.
DECLARE_INTERNAL_TYPE_INFO()
CTMgr_Attribute_Base(const CTMgr_Attribute_Base &)
TValue & SetValue(void)
Assign a value to Value data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetKey(void) const
Check if a value has been assigned to Key data member.
bool CanGetValue(void) const
Check if it is safe to call GetValue method.
const GenericPointer< typename T::ValueType > T2 value
Defines to provide correct exporting from DLLs in Windows.
#define NCBI_TRACKMGR_EXPORT