41 #ifndef OBJECTS_SEQBLOCK_PRF_EXTRASRC_BASE_HPP
42 #define OBJECTS_SEQBLOCK_PRF_EXTRASRC_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
112 bool IsSetHost(
void)
const;
119 bool CanGetHost(
void)
const;
122 void ResetHost(
void);
141 THost& SetHost(
void);
150 bool IsSetPart(
void)
const;
157 bool CanGetPart(
void)
const;
160 void ResetPart(
void);
166 const TPart& GetPart(
void)
const;
179 TPart& SetPart(
void);
188 bool IsSetState(
void)
const;
195 bool CanGetState(
void)
const;
198 void ResetState(
void);
204 const TState& GetState(
void)
const;
226 bool IsSetStrain(
void)
const;
233 bool CanGetStrain(
void)
const;
236 void ResetStrain(
void);
242 const TStrain& GetStrain(
void)
const;
264 bool IsSetTaxon(
void)
const;
271 bool CanGetTaxon(
void)
const;
274 void ResetTaxon(
void);
280 const TTaxon& GetTaxon(
void)
const;
296 virtual void Reset(
void);
353 m_Host = std::forward<CPRF_ExtraSrc_Base::THost>(
value);
400 m_Part = std::forward<CPRF_ExtraSrc_Base::TPart>(
value);
447 m_State = std::forward<CPRF_ExtraSrc_Base::TState>(
value);
541 m_Taxon = std::forward<CPRF_ExtraSrc_Base::TTaxon>(
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_SEQBLOCK_EXPORT
const TTaxon & GetTaxon(void) const
Get the Taxon member data.
bool IsSetStrain(void) const
Check if a value has been assigned to Strain data member.
TTaxon & SetTaxon(void)
Assign a value to Taxon data member.
const TPart & GetPart(void) const
Get the Part member data.
bool IsSetPart(void) const
Check if a value has been assigned to Part data member.
bool IsSetState(void) const
Check if a value has been assigned to State data member.
bool CanGetState(void) const
Check if it is safe to call GetState method.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
const THost & GetHost(void) const
Get the Host member data.
TState & SetState(void)
Assign a value to State data member.
bool IsSetHost(void) const
Check if a value has been assigned to Host data member.
TStrain & SetStrain(void)
Assign a value to Strain data member.
const TStrain & GetStrain(void) const
Get the Strain member data.
bool CanGetHost(void) const
Check if it is safe to call GetHost method.
CPRF_ExtraSrc_Base & operator=(const CPRF_ExtraSrc_Base &)
const TState & GetState(void) const
Get the State member data.
bool CanGetStrain(void) const
Check if it is safe to call GetStrain method.
CPRF_ExtraSrc_Base(const CPRF_ExtraSrc_Base &)
bool IsSetTaxon(void) const
Check if a value has been assigned to Taxon data member.
TPart & SetPart(void)
Assign a value to Part data member.
bool CanGetTaxon(void) const
Check if it is safe to call GetTaxon method.
bool CanGetPart(void) const
Check if it is safe to call GetPart method.
THost & SetHost(void)
Assign a value to Host data member.
Uint4 GetHost(TEndpointKey key)
const GenericPointer< typename T::ValueType > T2 value
void SetTaxon(objects::CBioSource &src, size_t taxon)