41 #ifndef OBJECTS_GBSEQ_GBSTRUCCOMMENT_BASE_HPP
42 #define OBJECTS_GBSEQ_GBSTRUCCOMMENT_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
91 typedef list< CRef< CGBStrucCommentItem > >
TItems;
111 bool IsSetName(
void)
const;
118 bool CanGetName(
void)
const;
121 void ResetName(
void);
127 const TName& GetName(
void)
const;
140 TName& SetName(
void);
149 bool IsSetItems(
void)
const;
156 bool CanGetItems(
void)
const;
159 void ResetItems(
void);
165 const TItems& GetItems(
void)
const;
174 virtual void Reset(
void);
228 m_Name = std::forward<CGBStrucComment_Base::TName>(
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
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
const TItems & GetItems(void) const
Get the Items member data.
TItems & SetItems(void)
Assign a value to Items data member.
CGBStrucComment_Base & operator=(const CGBStrucComment_Base &)
list< CRef< CGBStrucCommentItem > > TItems
bool CanGetName(void) const
Check if it is safe to call GetName method.
bool CanGetItems(void) const
Check if it is safe to call GetItems method.
bool IsSetItems(void) const
Check if a value has been assigned to Items data member.
TName & SetName(void)
Assign a value to Name data member.
CGBStrucComment_Base(const CGBStrucComment_Base &)
list< CRef< CGBStrucCommentItem > > m_Items
const TName & GetName(void) const
Get the Name member data.
DECLARE_INTERNAL_TYPE_INFO()
const GenericPointer< typename T::ValueType > T2 value