41 #ifndef OBJECTS_SEQBLOCK_SP_BLOCK_BASE_HPP
42 #define OBJECTS_SEQBLOCK_SP_BLOCK_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
140 bool IsSetClass(
void)
const;
147 bool CanGetClass(
void)
const;
150 void ResetClass(
void);
156 TClass GetClass(
void)
const;
178 bool IsSetExtra_acc(
void)
const;
185 bool CanGetExtra_acc(
void)
const;
188 void ResetExtra_acc(
void);
210 bool IsSetImeth(
void)
const;
217 bool CanGetImeth(
void)
const;
220 void ResetImeth(
void);
223 void SetDefaultImeth(
void);
229 TImeth GetImeth(
void)
const;
251 bool IsSetPlasnm(
void)
const;
258 bool CanGetPlasnm(
void)
const;
261 void ResetPlasnm(
void);
267 const TPlasnm& GetPlasnm(
void)
const;
283 bool IsSetSeqref(
void)
const;
290 bool CanGetSeqref(
void)
const;
293 void ResetSeqref(
void);
299 const TSeqref& GetSeqref(
void)
const;
315 bool IsSetDbref(
void)
const;
322 bool CanGetDbref(
void)
const;
325 void ResetDbref(
void);
331 const TDbref& GetDbref(
void)
const;
347 bool IsSetKeywords(
void)
const;
354 bool CanGetKeywords(
void)
const;
357 void ResetKeywords(
void);
363 const TKeywords& GetKeywords(
void)
const;
379 bool IsSetCreated(
void)
const;
386 bool CanGetCreated(
void)
const;
389 void ResetCreated(
void);
395 const TCreated& GetCreated(
void)
const;
417 bool IsSetSequpd(
void)
const;
424 bool CanGetSequpd(
void)
const;
427 void ResetSequpd(
void);
433 const TSequpd& GetSequpd(
void)
const;
455 bool IsSetAnnotupd(
void)
const;
462 bool CanGetAnnotupd(
void)
const;
465 void ResetAnnotupd(
void);
471 const TAnnotupd& GetAnnotupd(
void)
const;
486 virtual void Reset(
void);
SWISSPROT specific descriptions.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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
TImeth GetImeth(void) const
Get the Imeth member data.
bool IsSetImeth(void) const
seq known to start with Met Check if a value has been assigned to Imeth data member.
bool IsSetSequpd(void) const
sequence update Check if a value has been assigned to Sequpd data member.
bool CanGetImeth(void) const
Check if it is safe to call GetImeth method.
const TExtra_acc & GetExtra_acc(void) const
Get the Extra_acc member data.
TClass GetClass(void) const
Get the Class member data.
bool CanGetCreated(void) const
Check if it is safe to call GetCreated method.
bool CanGetDbref(void) const
Check if it is safe to call GetDbref method.
bool CanGetPlasnm(void) const
Check if it is safe to call GetPlasnm method.
TExtra_acc & SetExtra_acc(void)
Assign a value to Extra_acc data member.
TImeth & SetImeth(void)
Assign a value to Imeth data member.
const TCreated & GetCreated(void) const
Get the Created member data.
bool CanGetAnnotupd(void) const
Check if it is safe to call GetAnnotupd method.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
bool CanGetExtra_acc(void) const
Check if it is safe to call GetExtra_acc method.
bool CanGetSeqref(void) const
Check if it is safe to call GetSeqref method.
TKeywords & SetKeywords(void)
Assign a value to Keywords data member.
bool IsSetDbref(void) const
xref to non-sequence dbases Check if a value has been assigned to Dbref data member.
list< CRef< CSeq_id > > TSeqref
CSP_block_Base(const CSP_block_Base &)
const TDbref & GetDbref(void) const
Get the Dbref member data.
const TPlasnm & GetPlasnm(void) const
Get the Plasnm member data.
const TAnnotupd & GetAnnotupd(void) const
Get the Annotupd member data.
list< CRef< CDbtag > > TDbref
list< CRef< CSeq_id > > m_Seqref
TDbref & SetDbref(void)
Assign a value to Dbref data member.
list< string > m_Keywords
void ResetClass(void)
Reset Class data member.
const TSequpd & GetSequpd(void) const
Get the Sequpd member data.
bool CanGetKeywords(void) const
Check if it is safe to call GetKeywords method.
bool IsSetSeqref(void) const
xref to other sequences Check if a value has been assigned to Seqref data member.
bool IsSetAnnotupd(void) const
annotation update Check if a value has been assigned to Annotupd data member.
CRef< TAnnotupd > m_Annotupd
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 11 > TmemberIndex
const TSeqref & GetSeqref(void) const
Get the Seqref member data.
void ResetImeth(void)
Reset Imeth data member.
bool CanGetSequpd(void) const
Check if it is safe to call GetSequpd method.
void SetDefaultImeth(void)
Assign default value to Imeth data member.
TPlasnm & SetPlasnm(void)
Assign a value to Plasnm data member.
CSP_block_Base & operator=(const CSP_block_Base &)
bool IsSetExtra_acc(void) const
old SWISSPROT ids Check if a value has been assigned to Extra_acc data member.
list< string > TExtra_acc
bool IsSetCreated(void) const
creation date Check if a value has been assigned to Created data member.
TSeqref & SetSeqref(void)
Assign a value to Seqref data member.
TClass & SetClass(void)
Assign a value to Class data member.
list< CRef< CDbtag > > m_Dbref
list< string > m_Extra_acc
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
bool IsSetPlasnm(void) const
plasmid names carrying gene Check if a value has been assigned to Plasnm data member.
const TKeywords & GetKeywords(void) const
Get the Keywords member data.
bool IsSetKeywords(void) const
keywords Check if a value has been assigned to Keywords data member.
CRef< TCreated > m_Created
const GenericPointer< typename T::ValueType > T2 value