41 #ifndef OBJECTS_SEQLOC_TEXTSEQ_ID_BASE_HPP
42 #define OBJECTS_SEQLOC_TEXTSEQ_ID_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
110 bool IsSetName(
void)
const;
117 bool CanGetName(
void)
const;
120 void ResetName(
void);
126 const TName& GetName(
void)
const;
139 TName& SetName(
void);
148 bool IsSetAccession(
void)
const;
155 bool CanGetAccession(
void)
const;
158 void ResetAccession(
void);
186 bool IsSetRelease(
void)
const;
193 bool CanGetRelease(
void)
const;
196 void ResetRelease(
void);
202 const TRelease& GetRelease(
void)
const;
224 bool IsSetVersion(
void)
const;
231 bool CanGetVersion(
void)
const;
234 void ResetVersion(
void);
255 virtual void Reset(
void);
311 m_Name = std::forward<CTextseq_id_Base::TName>(
value);
Base class for all serializable objects.
static char UnassignedByte(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.
#define NCBI_SEQLOC_EXPORT
TName & SetName(void)
Assign a value to Name data member.
bool IsSetAccession(void) const
Check if a value has been assigned to Accession data member.
DECLARE_INTERNAL_TYPE_INFO()
const TName & GetName(void) const
Get the Name member data.
void ResetVersion(void)
Reset Version data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
TVersion & SetVersion(void)
Assign a value to Version data member.
CTextseq_id_Base & operator=(const CTextseq_id_Base &)
TVersion GetVersion(void) const
Get the Version member data.
bool CanGetVersion(void) const
Check if it is safe to call GetVersion method.
bool IsSetRelease(void) const
Check if a value has been assigned to Release data member.
const TRelease & GetRelease(void) const
Get the Release member data.
TAccession & SetAccession(void)
Assign a value to Accession data member.
TRelease & SetRelease(void)
Assign a value to Release data member.
CTextseq_id_Base(const CTextseq_id_Base &)
bool CanGetRelease(void) const
Check if it is safe to call GetRelease method.
bool CanGetAccession(void) const
Check if it is safe to call GetAccession method.
bool IsSetVersion(void) const
Check if a value has been assigned to Version data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
const TAccession & GetAccession(void) const
Get the Accession member data.
const CConstRef< CSeq_id > GetAccession(const CSeq_id_Handle &id_handle)