41 #ifndef OBJECTS_GBSEQ_GBQUALIFIER_BASE_HPP
42 #define OBJECTS_GBSEQ_GBQUALIFIER_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
106 bool IsSetName(
void)
const;
113 bool CanGetName(
void)
const;
116 void ResetName(
void);
122 const TName& GetName(
void)
const;
135 TName& SetName(
void);
144 bool IsSetValue(
void)
const;
151 bool CanGetValue(
void)
const;
154 void ResetValue(
void);
160 const TValue& GetValue(
void)
const;
176 virtual void Reset(
void);
230 m_Name = std::forward<CGBQualifier_Base::TName>(
value);
277 m_Value = std::forward<CGBQualifier_Base::TValue>(
value);
Base class for all serializable objects.
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.
#define NCBI_GBSEQ_EXPORT
CGBQualifier_Base(const CGBQualifier_Base &)
bool IsSetValue(void) const
Check if a value has been assigned to Value data member.
const TValue & GetValue(void) const
Get the Value member data.
bool CanGetName(void) const
Check if it is safe to call GetName method.
const TName & GetName(void) const
Get the Name member data.
DECLARE_INTERNAL_TYPE_INFO()
CGBQualifier_Base & operator=(const CGBQualifier_Base &)
TValue & SetValue(void)
Assign a value to Value data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetValue(void) const
Check if it is safe to call GetValue method.
TName & SetName(void)
Assign a value to Name data member.
const GenericPointer< typename T::ValueType > T2 value