41 #ifndef OBJECTS_GBSEQ_GBFEATURE_BASE_HPP
42 #define OBJECTS_GBSEQ_GBFEATURE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
98 typedef list< CRef< CGBQualifier > >
TQuals;
99 typedef list< CRef< CGBXref > >
TXrefs;
125 bool IsSetKey(
void)
const;
132 bool CanGetKey(
void)
const;
141 const TKey& GetKey(
void)
const;
163 bool IsSetLocation(
void)
const;
170 bool CanGetLocation(
void)
const;
173 void ResetLocation(
void);
179 const TLocation& GetLocation(
void)
const;
201 bool IsSetIntervals(
void)
const;
208 bool CanGetIntervals(
void)
const;
211 void ResetIntervals(
void);
232 bool IsSetOperator(
void)
const;
239 bool CanGetOperator(
void)
const;
242 void ResetOperator(
void);
248 const TOperator& GetOperator(
void)
const;
270 bool IsSetPartial5(
void)
const;
277 bool CanGetPartial5(
void)
const;
280 void ResetPartial5(
void);
307 bool IsSetPartial3(
void)
const;
314 bool CanGetPartial3(
void)
const;
317 void ResetPartial3(
void);
344 bool IsSetQuals(
void)
const;
351 bool CanGetQuals(
void)
const;
354 void ResetQuals(
void);
360 const TQuals& GetQuals(
void)
const;
375 bool IsSetXrefs(
void)
const;
382 bool CanGetXrefs(
void)
const;
385 void ResetXrefs(
void);
391 const TXrefs& GetXrefs(
void)
const;
400 virtual void Reset(
void);
460 m_Key = std::forward<CGBFeature_Base::TKey>(
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_GBSEQ_EXPORT
const TQuals & GetQuals(void) const
Get the Quals member data.
TKey & SetKey(void)
Assign a value to Key data member.
TXrefs & SetXrefs(void)
Assign a value to Xrefs data member.
list< CRef< CGBQualifier > > TQuals
CGBFeature_Base & operator=(const CGBFeature_Base &)
bool IsSetIntervals(void) const
Check if a value has been assigned to Intervals data member.
const TXrefs & GetXrefs(void) const
Get the Xrefs member data.
bool CanGetIntervals(void) const
Check if it is safe to call GetIntervals method.
list< CRef< CGBInterval > > m_Intervals
Tparent::CMemberIndex< E_memberIndex, 9 > TmemberIndex
bool IsSetXrefs(void) const
Check if a value has been assigned to Xrefs data member.
bool CanGetOperator(void) const
Check if it is safe to call GetOperator method.
bool IsSetQuals(void) const
Check if a value has been assigned to Quals data member.
bool CanGetXrefs(void) const
Check if it is safe to call GetXrefs method.
bool CanGetKey(void) const
Check if it is safe to call GetKey method.
bool CanGetPartial3(void) const
Check if it is safe to call GetPartial3 method.
const TIntervals & GetIntervals(void) const
Get the Intervals member data.
TOperator & SetOperator(void)
Assign a value to Operator data member.
TIntervals & SetIntervals(void)
Assign a value to Intervals data member.
list< CRef< CGBXref > > TXrefs
bool CanGetPartial5(void) const
Check if it is safe to call GetPartial5 method.
TPartial5 GetPartial5(void) const
Get the Partial5 member data.
const TOperator & GetOperator(void) const
Get the Operator member data.
void ResetPartial5(void)
Reset Partial5 data member.
list< CRef< CGBInterval > > TIntervals
bool IsSetKey(void) const
Check if a value has been assigned to Key data member.
void ResetPartial3(void)
Reset Partial3 data member.
bool CanGetLocation(void) const
Check if it is safe to call GetLocation method.
list< CRef< CGBXref > > m_Xrefs
list< CRef< CGBQualifier > > m_Quals
bool IsSetPartial5(void) const
Check if a value has been assigned to Partial5 data member.
TPartial3 GetPartial3(void) const
Get the Partial3 member data.
const TKey & GetKey(void) const
Get the Key member data.
TQuals & SetQuals(void)
Assign a value to Quals data member.
TPartial3 & SetPartial3(void)
Assign a value to Partial3 data member.
TLocation & SetLocation(void)
Assign a value to Location data member.
bool IsSetLocation(void) const
Check if a value has been assigned to Location data member.
CGBFeature_Base(const CGBFeature_Base &)
const TLocation & GetLocation(void) const
Get the Location member data.
TPartial5 & SetPartial5(void)
Assign a value to Partial5 data member.
bool IsSetPartial3(void) const
Check if a value has been assigned to Partial3 data member.
bool IsSetOperator(void) const
Check if a value has been assigned to Operator data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetQuals(void) const
Check if it is safe to call GetQuals method.