41 #ifndef OBJECTS_SEQALIGN_PROT_POS_BASE_HPP
42 #define OBJECTS_SEQALIGN_PROT_POS_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
104 bool IsSetAmin(
void)
const;
111 bool CanGetAmin(
void)
const;
114 void ResetAmin(
void);
120 TAmin GetAmin(
void)
const;
132 TAmin& SetAmin(
void);
143 bool IsSetFrame(
void)
const;
150 bool CanGetFrame(
void)
const;
153 void ResetFrame(
void);
156 void SetDefaultFrame(
void);
162 TFrame GetFrame(
void)
const;
177 virtual void Reset(
void);
position on protein (1/3 of amino-acid resolution)
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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_SEQALIGN_EXPORT
bool IsSetFrame(void) const
position within codon (1-based) 0 = not set (meaning 1) Check if a value has been assigned to Frame d...
bool CanGetFrame(void) const
Check if it is safe to call GetFrame method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetAmin(void)
Reset Amin data member.
DECLARE_INTERNAL_TYPE_INFO()
TFrame GetFrame(void) const
Get the Frame member data.
TFrame & SetFrame(void)
Assign a value to Frame data member.
bool IsSetAmin(void) const
amino-acid position (0-based) Check if a value has been assigned to Amin data member.
TAmin GetAmin(void) const
Get the Amin member data.
CProt_pos_Base & operator=(const CProt_pos_Base &)
void SetDefaultFrame(void)
Assign default value to Frame data member.
void ResetFrame(void)
Reset Frame data member.
bool CanGetAmin(void) const
Check if it is safe to call GetAmin method.
CProt_pos_Base(const CProt_pos_Base &)
TAmin & SetAmin(void)
Assign a value to Amin data member.
const GenericPointer< typename T::ValueType > T2 value