NCBI C++ ToolKit
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
CSeqEdit_Cmd Class Reference

Represents ASN.1 type SeqEdit-Cmd defined in file seqedit.asn

Search Toolkit Book for CSeqEdit_Cmd

#include <objects/seqedit/SeqEdit_Cmd.hpp>

+ Inheritance diagram for CSeqEdit_Cmd:
+ Collaboration diagram for CSeqEdit_Cmd:

Public Member Functions

 CSeqEdit_Cmd (void)
 
 CSeqEdit_Cmd (const string &blobid)
 
 ~CSeqEdit_Cmd (void)
 
const stringGetBlobId () const
 
- Public Member Functions inherited from CSeqEdit_Cmd_Base
 CSeqEdit_Cmd_Base (void)
 
virtual ~CSeqEdit_Cmd_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 IsAdd_id (void) const
 Check if variant Add_id is selected. More...
 
const TAdd_idGetAdd_id (void) const
 Get the variant data. More...
 
TAdd_idSetAdd_id (void)
 Select the variant. More...
 
void SetAdd_id (TAdd_id &value)
 Select the variant and set its data. More...
 
bool IsRemove_id (void) const
 Check if variant Remove_id is selected. More...
 
const TRemove_idGetRemove_id (void) const
 Get the variant data. More...
 
TRemove_idSetRemove_id (void)
 Select the variant. More...
 
void SetRemove_id (TRemove_id &value)
 Select the variant and set its data. More...
 
bool IsReset_ids (void) const
 Check if variant Reset_ids is selected. More...
 
const TReset_idsGetReset_ids (void) const
 Get the variant data. More...
 
TReset_idsSetReset_ids (void)
 Select the variant. More...
 
void SetReset_ids (TReset_ids &value)
 Select the variant and set its data. More...
 
bool IsChange_seqattr (void) const
 Check if variant Change_seqattr is selected. More...
 
const TChange_seqattrGetChange_seqattr (void) const
 Get the variant data. More...
 
TChange_seqattrSetChange_seqattr (void)
 Select the variant. More...
 
void SetChange_seqattr (TChange_seqattr &value)
 Select the variant and set its data. More...
 
bool IsReset_seqattr (void) const
 Check if variant Reset_seqattr is selected. More...
 
const TReset_seqattrGetReset_seqattr (void) const
 Get the variant data. More...
 
TReset_seqattrSetReset_seqattr (void)
 Select the variant. More...
 
void SetReset_seqattr (TReset_seqattr &value)
 Select the variant and set its data. More...
 
bool IsChange_setattr (void) const
 Check if variant Change_setattr is selected. More...
 
const TChange_setattrGetChange_setattr (void) const
 Get the variant data. More...
 
TChange_setattrSetChange_setattr (void)
 Select the variant. More...
 
void SetChange_setattr (TChange_setattr &value)
 Select the variant and set its data. More...
 
bool IsReset_setattr (void) const
 Check if variant Reset_setattr is selected. More...
 
const TReset_setattrGetReset_setattr (void) const
 Get the variant data. More...
 
TReset_setattrSetReset_setattr (void)
 Select the variant. More...
 
void SetReset_setattr (TReset_setattr &value)
 Select the variant and set its data. More...
 
bool IsAdd_descr (void) const
 Check if variant Add_descr is selected. More...
 
const TAdd_descrGetAdd_descr (void) const
 Get the variant data. More...
 
TAdd_descrSetAdd_descr (void)
 Select the variant. More...
 
void SetAdd_descr (TAdd_descr &value)
 Select the variant and set its data. More...
 
bool IsSet_descr (void) const
 Check if variant Set_descr is selected. More...
 
const TSet_descrGetSet_descr (void) const
 Get the variant data. More...
 
TSet_descrSetSet_descr (void)
 Select the variant. More...
 
void SetSet_descr (TSet_descr &value)
 Select the variant and set its data. More...
 
bool IsReset_descr (void) const
 Check if variant Reset_descr is selected. More...
 
const TReset_descrGetReset_descr (void) const
 Get the variant data. More...
 
TReset_descrSetReset_descr (void)
 Select the variant. More...
 
void SetReset_descr (TReset_descr &value)
 Select the variant and set its data. More...
 
bool IsAdd_desc (void) const
 Check if variant Add_desc is selected. More...
 
const TAdd_descGetAdd_desc (void) const
 Get the variant data. More...
 
TAdd_descSetAdd_desc (void)
 Select the variant. More...
 
void SetAdd_desc (TAdd_desc &value)
 Select the variant and set its data. More...
 
bool IsRemove_desc (void) const
 Check if variant Remove_desc is selected. More...
 
const TRemove_descGetRemove_desc (void) const
 Get the variant data. More...
 
TRemove_descSetRemove_desc (void)
 Select the variant. More...
 
void SetRemove_desc (TRemove_desc &value)
 Select the variant and set its data. More...
 
bool IsAttach_seq (void) const
 Check if variant Attach_seq is selected. More...
 
const TAttach_seqGetAttach_seq (void) const
 Get the variant data. More...
 
TAttach_seqSetAttach_seq (void)
 Select the variant. More...
 
void SetAttach_seq (TAttach_seq &value)
 Select the variant and set its data. More...
 
bool IsAttach_set (void) const
 Check if variant Attach_set is selected. More...
 
const TAttach_setGetAttach_set (void) const
 Get the variant data. More...
 
TAttach_setSetAttach_set (void)
 Select the variant. More...
 
void SetAttach_set (TAttach_set &value)
 Select the variant and set its data. More...
 
bool IsReset_seqentry (void) const
 Check if variant Reset_seqentry is selected. More...
 
const TReset_seqentryGetReset_seqentry (void) const
 Get the variant data. More...
 
TReset_seqentrySetReset_seqentry (void)
 Select the variant. More...
 
void SetReset_seqentry (TReset_seqentry &value)
 Select the variant and set its data. More...
 
bool IsAttach_seqentry (void) const
 Check if variant Attach_seqentry is selected. More...
 
const TAttach_seqentryGetAttach_seqentry (void) const
 Get the variant data. More...
 
TAttach_seqentrySetAttach_seqentry (void)
 Select the variant. More...
 
void SetAttach_seqentry (TAttach_seqentry &value)
 Select the variant and set its data. More...
 
bool IsRemove_seqentry (void) const
 Check if variant Remove_seqentry is selected. More...
 
const TRemove_seqentryGetRemove_seqentry (void) const
 Get the variant data. More...
 
TRemove_seqentrySetRemove_seqentry (void)
 Select the variant. More...
 
void SetRemove_seqentry (TRemove_seqentry &value)
 Select the variant and set its data. More...
 
bool IsAttach_annot (void) const
 Check if variant Attach_annot is selected. More...
 
const TAttach_annotGetAttach_annot (void) const
 Get the variant data. More...
 
TAttach_annotSetAttach_annot (void)
 Select the variant. More...
 
void SetAttach_annot (TAttach_annot &value)
 Select the variant and set its data. More...
 
bool IsRemove_annot (void) const
 Check if variant Remove_annot is selected. More...
 
const TRemove_annotGetRemove_annot (void) const
 Get the variant data. More...
 
TRemove_annotSetRemove_annot (void)
 Select the variant. More...
 
void SetRemove_annot (TRemove_annot &value)
 Select the variant and set its data. More...
 
bool IsAdd_annot (void) const
 Check if variant Add_annot is selected. More...
 
const TAdd_annotGetAdd_annot (void) const
 Get the variant data. More...
 
TAdd_annotSetAdd_annot (void)
 Select the variant. More...
 
void SetAdd_annot (TAdd_annot &value)
 Select the variant and set its data. More...
 
bool IsReplace_annot (void) const
 Check if variant Replace_annot is selected. More...
 
const TReplace_annotGetReplace_annot (void) const
 Get the variant data. More...
 
TReplace_annotSetReplace_annot (void)
 Select the variant. More...
 
void SetReplace_annot (TReplace_annot &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
 

Private Types

typedef CSeqEdit_Cmd_Base Tparent
 

Private Member Functions

 CSeqEdit_Cmd (const CSeqEdit_Cmd &value)
 
CSeqEdit_Cmdoperator= (const CSeqEdit_Cmd &value)
 

Private Attributes

string m_BlobId
 

Additional Inherited Members

- Public Types inherited from CSeqEdit_Cmd_Base
enum  E_Choice {
  e_not_set = 0 , e_Add_id , e_Remove_id , e_Reset_ids ,
  e_Change_seqattr , e_Reset_seqattr , e_Change_setattr , e_Reset_setattr ,
  e_Add_descr , e_Set_descr , e_Reset_descr , e_Add_desc ,
  e_Remove_desc , e_Attach_seq , e_Attach_set , e_Reset_seqentry ,
  e_Attach_seqentry , e_Remove_seqentry , e_Attach_annot , e_Remove_annot ,
  e_Add_annot , e_Replace_annot
}
 Choice variants. More...
 
enum  E_ChoiceStopper { e_MaxChoice = 22 }
 Maximum+1 value of the choice variant enumerator. More...
 
typedef CSeqEdit_Cmd_AddId TAdd_id
 
typedef CSeqEdit_Cmd_RemoveId TRemove_id
 
typedef CSeqEdit_Cmd_ResetIds TReset_ids
 
typedef CSeqEdit_Cmd_ChangeSeqAttr TChange_seqattr
 
typedef CSeqEdit_Cmd_ResetSeqAttr TReset_seqattr
 
typedef CSeqEdit_Cmd_ChangeSetAttr TChange_setattr
 
typedef CSeqEdit_Cmd_ResetSetAttr TReset_setattr
 
typedef CSeqEdit_Cmd_AddDescr TAdd_descr
 
typedef CSeqEdit_Cmd_SetDescr TSet_descr
 
typedef CSeqEdit_Cmd_ResetDescr TReset_descr
 
typedef CSeqEdit_Cmd_AddDesc TAdd_desc
 
typedef CSeqEdit_Cmd_RemoveDesc TRemove_desc
 
typedef CSeqEdit_Cmd_AttachSeq TAttach_seq
 
typedef CSeqEdit_Cmd_AttachSet TAttach_set
 
typedef CSeqEdit_Cmd_ResetSeqEntry TReset_seqentry
 
typedef CSeqEdit_Cmd_AttachSeqEntry TAttach_seqentry
 
typedef CSeqEdit_Cmd_RemoveSeqEntry TRemove_seqentry
 
typedef CSeqEdit_Cmd_AttachAnnot TAttach_annot
 
typedef CSeqEdit_Cmd_RemoveAnnot TRemove_annot
 
typedef CSeqEdit_Cmd_AddAnnot TAdd_annot
 
typedef CSeqEdit_Cmd_ReplaceAnnot TReplace_annot
 
- 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...
 
- Static Public Member Functions inherited from CSeqEdit_Cmd_Base
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)
 
- 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

Definition at line 53 of file SeqEdit_Cmd.hpp.

Member Typedef Documentation

◆ Tparent

Definition at line 55 of file SeqEdit_Cmd.hpp.

Constructor & Destructor Documentation

◆ CSeqEdit_Cmd() [1/3]

CSeqEdit_Cmd::CSeqEdit_Cmd ( void  )
inline

Definition at line 78 of file SeqEdit_Cmd.hpp.

◆ CSeqEdit_Cmd() [2/3]

CSeqEdit_Cmd::CSeqEdit_Cmd ( const string blobid)
inline

Definition at line 83 of file SeqEdit_Cmd.hpp.

◆ ~CSeqEdit_Cmd()

CSeqEdit_Cmd::~CSeqEdit_Cmd ( void  )

Definition at line 50 of file SeqEdit_Cmd.cpp.

◆ CSeqEdit_Cmd() [3/3]

CSeqEdit_Cmd::CSeqEdit_Cmd ( const CSeqEdit_Cmd value)
private

Member Function Documentation

◆ GetBlobId()

const string & CSeqEdit_Cmd::GetBlobId ( ) const
inline

Definition at line 89 of file SeqEdit_Cmd.hpp.

References m_BlobId.

◆ operator=()

CSeqEdit_Cmd& CSeqEdit_Cmd::operator= ( const CSeqEdit_Cmd value)
private

Member Data Documentation

◆ m_BlobId

string CSeqEdit_Cmd::m_BlobId
private

Definition at line 66 of file SeqEdit_Cmd.hpp.

Referenced by GetBlobId().


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