41 #ifndef OBJECTS_PCSUBSTANCE_PC_ID_BASE_HPP
42 #define OBJECTS_PCSUBSTANCE_PC_ID_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
105 bool IsSetId(
void)
const;
112 bool CanGetId(
void)
const;
144 bool IsSetVersion(
void)
const;
151 bool CanGetVersion(
void)
const;
154 void ResetVersion(
void);
175 virtual void Reset(
void);
ID and Version Description Information.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
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_PCSUBSTANCE_EXPORT
void ResetId(void)
Reset Id data member.
CPC_ID_Base & operator=(const CPC_ID_Base &)
TVersion & SetVersion(void)
Assign a value to Version data member.
bool IsSetId(void) const
Unique "Global" ID Note: Must be greater than "0" or, if invalid, "0" Check if a value has been assig...
void ResetVersion(void)
Reset Version data member.
TId & SetId(void)
Assign a value to Id data member.
TVersion GetVersion(void) const
Get the Version member data.
bool IsSetVersion(void) const
Incremented when Depositor updates record Note: For Internal Use (only?) Check if a value has been as...
TId GetId(void) const
Get the Id member data.
CPC_ID_Base(const CPC_ID_Base &)
bool CanGetVersion(void) const
Check if it is safe to call GetVersion method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetId(void) const
Check if it is safe to call GetId method.
DECLARE_INTERNAL_TYPE_INFO()
const GenericPointer< typename T::ValueType > T2 value