NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members

Represents ASN.1 type SeqFeatData defined in file seqfeat.asn

Search Toolkit Book for CSeqFeatData_Base

CSeqFeatData_Base –. More...

#include <objects/seqfeat/SeqFeatData_.hpp>

+ Inheritance diagram for CSeqFeatData_Base:
+ Collaboration diagram for CSeqFeatData_Base:

Public Types

enum  EBond {
  eBond_disulfide = 1 , eBond_thiolester = 2 , eBond_xlink = 3 , eBond_thioether = 4 ,
  eBond_other = 255
}
 
enum  ESite {
  eSite_active = 1 , eSite_binding = 2 , eSite_cleavage = 3 , eSite_inhibit = 4 ,
  eSite_modified = 5 , eSite_glycosylation = 6 , eSite_myristoylation = 7 , eSite_mutagenized = 8 ,
  eSite_metal_binding = 9 , eSite_phosphorylation = 10 , eSite_acetylation = 11 , eSite_amidation = 12 ,
  eSite_methylation = 13 , eSite_hydroxylation = 14 , eSite_sulfatation = 15 , eSite_oxidative_deamination = 16 ,
  eSite_pyrrolidone_carboxylic_acid = 17 , eSite_gamma_carboxyglutamic_acid = 18 , eSite_blocked = 19 , eSite_lipid_binding = 20 ,
  eSite_np_binding = 21 , eSite_dna_binding = 22 , eSite_signal_peptide = 23 , eSite_transit_peptide = 24 ,
  eSite_transmembrane_region = 25 , eSite_nitrosylation = 26 , eSite_other = 255
}
 
enum  EPsec_str { ePsec_str_helix = 1 , ePsec_str_sheet = 2 , ePsec_str_turn = 3 }
 protein secondary structure More...
 
enum  E_Choice {
  e_not_set = 0 , e_Gene , e_Org , e_Cdregion ,
  e_Prot , e_Rna , e_Pub , e_Seq ,
  e_Imp , e_Region , e_Comment , e_Bond ,
  e_Site , e_Rsite , e_User , e_Txinit ,
  e_Num , e_Psec_str , e_Non_std_residue , e_Het ,
  e_Biosrc , e_Clone , e_Variation
}
 Choice variants. More...
 
enum  E_ChoiceStopper { e_MaxChoice = 23 }
 Maximum+1 value of the choice variant enumerator. More...
 
typedef CGene_ref TGene
 
typedef COrg_ref TOrg
 
typedef CCdregion TCdregion
 
typedef CProt_ref TProt
 
typedef CRNA_ref TRna
 
typedef CPubdesc TPub
 
typedef CSeq_loc TSeq
 
typedef CImp_feat TImp
 
typedef string TRegion
 
typedef EBond TBond
 
typedef ESite TSite
 
typedef CRsite_ref TRsite
 
typedef CUser_object TUser
 
typedef CTxinit TTxinit
 
typedef CNumbering TNum
 
typedef EPsec_str TPsec_str
 
typedef string TNon_std_residue
 
typedef CHeterogen THet
 
typedef CBioSource TBiosrc
 
typedef CClone_ref TClone
 
typedef CVariation_ref TVariation
 
- Public Types inherited from CObject
enum  EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern }
 Control filling of newly allocated memory. More...
 
typedef CObjectCounterLocker TLockerType
 Default locker type for CRef. More...
 
typedef atomic< Uint8TCounter
 Counter type is CAtomiCounter. More...
 
typedef Uint8 TCount
 Alias for value type of counter. More...
 

Public Member Functions

 CSeqFeatData_Base (void)
 
virtual ~CSeqFeatData_Base (void)
 
 DECLARE_INTERNAL_TYPE_INFO ()
 
virtual void Reset (void)
 Reset the whole object. More...
 
virtual void ResetSelection (void)
 Reset the selection (set it to e_not_set). More...
 
E_Choice Which (void) const
 Which variant is currently selected. More...
 
void CheckSelected (E_Choice index) const
 Verify selection, throw exception if it differs from the expected. More...
 
void ThrowInvalidSelection (E_Choice index) const
 Throw 'InvalidSelection' exception. More...
 
void Select (E_Choice index, EResetVariant reset=eDoResetVariant)
 Select the requested variant if needed. More...
 
void Select (E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
 Select the requested variant if needed, allocating CObject variants from memory pool. More...
 
bool IsGene (void) const
 Check if variant Gene is selected. More...
 
const TGeneGetGene (void) const
 Get the variant data. More...
 
TGeneSetGene (void)
 Select the variant. More...
 
void SetGene (TGene &value)
 Select the variant and set its data. More...
 
bool IsOrg (void) const
 Check if variant Org is selected. More...
 
const TOrgGetOrg (void) const
 Get the variant data. More...
 
TOrgSetOrg (void)
 Select the variant. More...
 
void SetOrg (TOrg &value)
 Select the variant and set its data. More...
 
bool IsCdregion (void) const
 Check if variant Cdregion is selected. More...
 
const TCdregionGetCdregion (void) const
 Get the variant data. More...
 
TCdregionSetCdregion (void)
 Select the variant. More...
 
void SetCdregion (TCdregion &value)
 Select the variant and set its data. More...
 
bool IsProt (void) const
 Check if variant Prot is selected. More...
 
const TProtGetProt (void) const
 Get the variant data. More...
 
TProtSetProt (void)
 Select the variant. More...
 
void SetProt (TProt &value)
 Select the variant and set its data. More...
 
bool IsRna (void) const
 Check if variant Rna is selected. More...
 
const TRnaGetRna (void) const
 Get the variant data. More...
 
TRnaSetRna (void)
 Select the variant. More...
 
void SetRna (TRna &value)
 Select the variant and set its data. More...
 
bool IsPub (void) const
 Check if variant Pub is selected. More...
 
const TPubGetPub (void) const
 Get the variant data. More...
 
TPubSetPub (void)
 Select the variant. More...
 
void SetPub (TPub &value)
 Select the variant and set its data. More...
 
bool IsSeq (void) const
 Check if variant Seq is selected. More...
 
const TSeqGetSeq (void) const
 Get the variant data. More...
 
TSeqSetSeq (void)
 Select the variant. More...
 
void SetSeq (TSeq &value)
 Select the variant and set its data. More...
 
bool IsImp (void) const
 Check if variant Imp is selected. More...
 
const TImpGetImp (void) const
 Get the variant data. More...
 
TImpSetImp (void)
 Select the variant. More...
 
void SetImp (TImp &value)
 Select the variant and set its data. More...
 
bool IsRegion (void) const
 Check if variant Region is selected. More...
 
const TRegionGetRegion (void) const
 Get the variant data. More...
 
TRegionSetRegion (void)
 Select the variant. More...
 
void SetRegion (const TRegion &value)
 Select the variant and set its data. More...
 
bool IsComment (void) const
 Check if variant Comment is selected. More...
 
void SetComment (void)
 Select the variant. More...
 
bool IsBond (void) const
 Check if variant Bond is selected. More...
 
TBond GetBond (void) const
 Get the variant data. More...
 
TBondSetBond (void)
 Select the variant. More...
 
void SetBond (TBond value)
 Select the variant and set its data. More...
 
bool IsSite (void) const
 Check if variant Site is selected. More...
 
TSite GetSite (void) const
 Get the variant data. More...
 
TSiteSetSite (void)
 Select the variant. More...
 
void SetSite (TSite value)
 Select the variant and set its data. More...
 
bool IsRsite (void) const
 Check if variant Rsite is selected. More...
 
const TRsiteGetRsite (void) const
 Get the variant data. More...
 
TRsiteSetRsite (void)
 Select the variant. More...
 
void SetRsite (TRsite &value)
 Select the variant and set its data. More...
 
bool IsUser (void) const
 Check if variant User is selected. More...
 
const TUserGetUser (void) const
 Get the variant data. More...
 
TUserSetUser (void)
 Select the variant. More...
 
void SetUser (TUser &value)
 Select the variant and set its data. More...
 
bool IsTxinit (void) const
 Check if variant Txinit is selected. More...
 
const TTxinitGetTxinit (void) const
 Get the variant data. More...
 
TTxinitSetTxinit (void)
 Select the variant. More...
 
void SetTxinit (TTxinit &value)
 Select the variant and set its data. More...
 
bool IsNum (void) const
 Check if variant Num is selected. More...
 
const TNumGetNum (void) const
 Get the variant data. More...
 
TNumSetNum (void)
 Select the variant. More...
 
void SetNum (TNum &value)
 Select the variant and set its data. More...
 
bool IsPsec_str (void) const
 Check if variant Psec_str is selected. More...
 
TPsec_str GetPsec_str (void) const
 Get the variant data. More...
 
TPsec_strSetPsec_str (void)
 Select the variant. More...
 
void SetPsec_str (TPsec_str value)
 Select the variant and set its data. More...
 
bool IsNon_std_residue (void) const
 Check if variant Non_std_residue is selected. More...
 
const TNon_std_residueGetNon_std_residue (void) const
 Get the variant data. More...
 
TNon_std_residueSetNon_std_residue (void)
 Select the variant. More...
 
void SetNon_std_residue (const TNon_std_residue &value)
 Select the variant and set its data. More...
 
bool IsHet (void) const
 Check if variant Het is selected. More...
 
const THetGetHet (void) const
 Get the variant data. More...
 
THetSetHet (void)
 Select the variant. More...
 
void SetHet (const THet &value)
 Select the variant and set its data. More...
 
bool IsBiosrc (void) const
 Check if variant Biosrc is selected. More...
 
const TBiosrcGetBiosrc (void) const
 Get the variant data. More...
 
TBiosrcSetBiosrc (void)
 Select the variant. More...
 
void SetBiosrc (TBiosrc &value)
 Select the variant and set its data. More...
 
bool IsClone (void) const
 Check if variant Clone is selected. More...
 
const TCloneGetClone (void) const
 Get the variant data. More...
 
TCloneSetClone (void)
 Select the variant. More...
 
void SetClone (TClone &value)
 Select the variant and set its data. More...
 
bool IsVariation (void) const
 Check if variant Variation is selected. More...
 
const TVariationGetVariation (void) const
 Get the variant data. More...
 
TVariationSetVariation (void)
 Select the variant. More...
 
void SetVariation (TVariation &value)
 Select the variant and set its data. More...
 
- Public Member Functions inherited from CSerialObject
 CSerialObject (void)
 
virtual ~CSerialObject (void)
 
virtual const CTypeInfoGetThisTypeInfo (void) const =0
 
virtual void Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive)
 Set object to copy of another one. More...
 
virtual bool Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const
 Check if both objects contain the same values. More...
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
void ThrowUnassigned (TMemberIndex index) const
 
void ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const
 
bool HasNamespaceName (void) const
 Check if object data type has namespace name. More...
 
const stringGetNamespaceName (void) const
 Get namespace name. More...
 
bool HasNamespacePrefix (void) const
 Check if data type has namespace prefix. More...
 
const stringGetNamespacePrefix (void) const
 Get namespace prefix. More...
 
- Public Member Functions inherited from CObject
 CObject (void)
 Constructor. More...
 
 CObject (const CObject &src)
 Copy constructor. More...
 
virtual ~CObject (void)
 Destructor. More...
 
CObjectoperator= (const CObject &src) THROWS_NONE
 Assignment operator. More...
 
bool CanBeDeleted (void) const THROWS_NONE
 Check if object can be deleted. More...
 
bool IsAllocatedInPool (void) const THROWS_NONE
 Check if object is allocated in memory pool (not system heap) More...
 
bool Referenced (void) const THROWS_NONE
 Check if object is referenced. More...
 
bool ReferencedOnlyOnce (void) const THROWS_NONE
 Check if object is referenced only once. More...
 
void AddReference (void) const
 Add reference to object. More...
 
void RemoveReference (void) const
 Remove reference to object. More...
 
void ReleaseReference (void) const
 Remove reference without deleting object. More...
 
virtual void DoNotDeleteThisObject (void)
 Mark this object as not allocated in heap – do not delete this object. More...
 
virtual void DoDeleteThisObject (void)
 Mark this object as allocated in heap – object can be deleted. More...
 
void * operator new (size_t size)
 Define new operator for memory allocation. More...
 
void * operator new[] (size_t size)
 Define new[] operator for 'array' memory allocation. More...
 
void operator delete (void *ptr)
 Define delete operator for memory deallocation. More...
 
void operator delete[] (void *ptr)
 Define delete[] operator for memory deallocation. More...
 
void * operator new (size_t size, void *place)
 Define new operator. More...
 
void operator delete (void *ptr, void *place)
 Define delete operator. More...
 
void * operator new (size_t size, CObjectMemoryPool *place)
 Define new operator using memory pool. More...
 
void operator delete (void *ptr, CObjectMemoryPool *place)
 Define delete operator. More...
 
- Public Member Functions inherited from CDebugDumpable
 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
void DumpToConsole (void) const
 

Static Public Member Functions

static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EBond (void)
 Access to EBond's attributes (values, names) as defined in spec. More...
 
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() ESite (void)
 Access to ESite's attributes (values, names) as defined in spec. More...
 
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EPsec_str (void)
 Access to EPsec_str's attributes (values, names) as defined in spec. More...
 
static string SelectionName (E_Choice index)
 Retrieve selection name (for diagnostic purposes). More...
 
- Static Public Member Functions inherited from CSerialObject
static void SetVerifyDataThread (ESerialVerifyData verify)
 
static void SetVerifyDataGlobal (ESerialVerifyData verify)
 
static string UnassignedString (void)
 
static CStringUTF8 UnassignedStringUTF8 (void)
 
static char UnassignedByte (void)
 
- Static Public Member Functions inherited from CObject
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void)
 Define method to throw null pointer exception. More...
 
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type)
 
static EAllocFillMode GetAllocFillMode (void)
 
static void SetAllocFillMode (EAllocFillMode mode)
 
static void SetAllocFillMode (const string &value)
 Set mode from configuration parameter value. More...
 
- Static Public Member Functions inherited from CDebugDumpable
static void EnableDebugDump (bool on)
 

Private Types

typedef CSerialObject Tparent
 

Private Member Functions

 CSeqFeatData_Base (const CSeqFeatData_Base &)
 
CSeqFeatData_Baseoperator= (const CSeqFeatData_Base &)
 
void DoSelect (E_Choice index, CObjectMemoryPool *pool=0)
 

Private Attributes

E_Choice m_choice
 
union {
   TBond   CSeqFeatData_Base::m_Bond
 
   TSite   CSeqFeatData_Base::m_Site
 
   TPsec_str   CSeqFeatData_Base::m_Psec_str
 
   NCBI_NS_NCBI::CUnionBuffer< THet >   CSeqFeatData_Base::m_Het
 
   NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string >   CSeqFeatData_Base::m_string
 
   NCBI_NS_NCBI::CSerialObject *   CSeqFeatData_Base::m_object
 
}; 
 

Static Private Attributes

static const char *const sm_SelectionNames []
 

Additional Inherited Members

- Static Public Attributes inherited from CSerialObject
static const char * ms_UnassignedStr = "<*unassigned*>"
 
static const char ms_UnassignedByte = char(0xcd)
 
- Static Public Attributes inherited from CObject
static const TCount eCounterBitsCanBeDeleted = 1 << 0
 Define possible object states. More...
 
static const TCount eCounterBitsInPlainHeap = 1 << 1
 Heap signature was found. More...
 
static const TCount eCounterBitsPlaceMask
 Mask for 'in heap' state flags. More...
 
static const int eCounterStep = 1 << 2
 Skip over the "in heap" bits. More...
 
static const TCount eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2)
 Minimal value for valid objects (reference counter is zero) Must be a single bit value. More...
 
static const TCount eCounterStateMask
 Valid object, and object in heap. More...
 
- Protected Member Functions inherited from CObject
virtual void DeleteThis (void)
 Virtual method "deleting" this object. More...
 

Detailed Description

CSeqFeatData_Base –.

Definition at line 91 of file SeqFeatData_.hpp.


The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:08:58 2024 by modify_doxy.py rev. 669887