41 #ifndef OBJECTS_SEQFEAT_PROT_REF_BASE_HPP
42 #define OBJECTS_SEQFEAT_PROT_REF_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
96 eProcessed_not_set = 0,
97 eProcessed_preprotein = 1,
98 eProcessed_mature = 2,
99 eProcessed_signal_peptide = 3,
100 eProcessed_transit_peptide = 4,
101 eProcessed_propeptide = 5
110 typedef list< string >
TEc;
112 typedef vector< CRef< CDbtag > >
TDb;
138 bool IsSetName(
void)
const;
145 bool CanGetName(
void)
const;
148 void ResetName(
void);
154 const TName& GetName(
void)
const;
160 TName& SetName(
void);
170 bool IsSetDesc(
void)
const;
177 bool CanGetDesc(
void)
const;
180 void ResetDesc(
void);
186 const TDesc& GetDesc(
void)
const;
199 TDesc& SetDesc(
void);
209 bool IsSetEc(
void)
const;
216 bool CanGetEc(
void)
const;
225 const TEc& GetEc(
void)
const;
241 bool IsSetActivity(
void)
const;
248 bool CanGetActivity(
void)
const;
251 void ResetActivity(
void);
257 const TActivity& GetActivity(
void)
const;
273 bool IsSetDb(
void)
const;
280 bool CanGetDb(
void)
const;
289 const TDb& GetDb(
void)
const;
304 bool IsSetProcessed(
void)
const;
311 bool CanGetProcessed(
void)
const;
314 void ResetProcessed(
void);
317 void SetDefaultProcessed(
void);
338 virtual void Reset(
void);
421 m_Desc = std::forward<CProt_ref_Base::TDesc>(
value);
*** Prot-ref *********************************************** * * Reference to a protein name *
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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_SEQFEAT_EXPORT
TActivity & SetActivity(void)
Assign a value to Activity data member.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetDesc(void) const
description (instead of name) Check if a value has been assigned to Desc data member.
const TDb & GetDb(void) const
Get the Db member data.
EProcessed
processing status
vector< CRef< CDbtag > > TDb
vector< CRef< CDbtag > > m_Db
CProt_ref_Base(const CProt_ref_Base &)
bool CanGetActivity(void) const
Check if it is safe to call GetActivity method.
const TActivity & GetActivity(void) const
Get the Activity member data.
list< string > m_Activity
bool CanGetProcessed(void) const
Check if it is safe to call GetProcessed method.
CProt_ref_Base & operator=(const CProt_ref_Base &)
void ResetProcessed(void)
Reset Processed data member.
TEc & SetEc(void)
Assign a value to Ec data member.
TProcessed & SetProcessed(void)
Assign a value to Processed data member.
TDesc & SetDesc(void)
Assign a value to Desc data member.
const TName & GetName(void) const
Get the Name member data.
bool IsSetDb(void) const
ids in other dbases Check if a value has been assigned to Db data member.
bool IsSetEc(void) const
E.C.
bool CanGetDb(void) const
Check if it is safe to call GetDb method.
TProcessed GetProcessed(void) const
Get the Processed member data.
bool IsSetProcessed(void) const
Check if a value has been assigned to Processed data member.
bool IsSetName(void) const
protein name Check if a value has been assigned to Name data member.
bool CanGetEc(void) const
Check if it is safe to call GetEc method.
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
bool CanGetName(void) const
Check if it is safe to call GetName method.
void SetDefaultProcessed(void)
Assign default value to Processed data member.
const TDesc & GetDesc(void) const
Get the Desc member data.
bool IsSetActivity(void) const
activities Check if a value has been assigned to Activity data member.
const TEc & GetEc(void) const
Get the Ec member data.
TDb & SetDb(void)
Assign a value to Db data member.
bool CanGetDesc(void) const
Check if it is safe to call GetDesc method.
TName & SetName(void)
Assign a value to Name data member.
const GenericPointer< typename T::ValueType > T2 value