41 #ifndef OBJECTS_GBSEQ_GBALTSEQDATA_BASE_HPP
42 #define OBJECTS_GBSEQ_GBALTSEQDATA_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< CGBAltSeqItem > >
TItems;
112 bool IsSetName(
void)
const;
119 bool CanGetName(
void)
const;
122 void ResetName(
void);
128 const TName& GetName(
void)
const;
141 TName& SetName(
void);
150 bool IsSetItems(
void)
const;
157 bool CanGetItems(
void)
const;
160 void ResetItems(
void);
166 const TItems& GetItems(
void)
const;
175 virtual void Reset(
void);
229 m_Name = std::forward<CGBAltSeqData_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
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetName(void) const
e.g., contig, wgs, scaffold, cage, genome Check if a value has been assigned to Name data member.
list< CRef< CGBAltSeqItem > > TItems
TName & SetName(void)
Assign a value to Name data member.
CGBAltSeqData_Base(const CGBAltSeqData_Base &)
TItems & SetItems(void)
Assign a value to Items data member.
const TItems & GetItems(void) const
Get the Items member data.
bool IsSetItems(void) const
Check if a value has been assigned to Items data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
const TName & GetName(void) const
Get the Name member data.
bool CanGetItems(void) const
Check if it is safe to call GetItems method.
list< CRef< CGBAltSeqItem > > m_Items
CGBAltSeqData_Base & operator=(const CGBAltSeqData_Base &)
const GenericPointer< typename T::ValueType > T2 value