41 #ifndef OBJECTS_VARREP_SUBSEQUENCE_BASE_HPP
42 #define OBJECTS_VARREP_SUBSEQUENCE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
220 virtual void Reset(
void);
341 return m_Int.NotEmpty();
User-defined methods of the data storage class.
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.
void ResetType(void)
Reset Type data member.
DECLARE_INTERNAL_TYPE_INFO()
CSubsequence_Base(const CSubsequence_Base &)
TType GetType(void) const
Get the Type member data.
TIdentifier & SetIdentifier(void)
Assign a value to Identifier data member.
TType & SetType(void)
Assign a value to Type data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
virtual ~CSubsequence_Base(void)
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
bool IsSetIdentifier(void) const
For example, an accession id Check if a value has been assigned to Identifier data member.
virtual void Reset(void)
Reset the whole object.
bool IsSetInt(void) const
Check if a value has been assigned to Int data member.
bool CanGetInt(void) const
Check if it is safe to call GetInt method.
bool CanGetIdentifier(void) const
Check if it is safe to call GetIdentifier method.
CSubsequence_Base & operator=(const CSubsequence_Base &)
TInt & SetInt(void)
Assign a value to Int data member.
const TInt & GetInt(void) const
Get the Int member data.
const TIdentifier & GetIdentifier(void) const
Get the Identifier member data.
void ResetIdentifier(void)
Reset Identifier data member.
void ResetInt(void)
Reset Int data member.
bool CanGetType(void) const
Check if it is safe to call GetType method.
unsigned int
A callback function used to compare two keys in a database.