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

Represents ASN.1 type Cdd-descr defined in file cdd.asn

Search Toolkit Book for CCdd_descr

CCdd_descr –. More...

#include <objects/cdd/Cdd_descr.hpp>

+ Inheritance diagram for CCdd_descr:
+ Collaboration diagram for CCdd_descr:

Public Member Functions

 CCdd_descr (void)
 
 ~CCdd_descr (void)
 
- Public Member Functions inherited from CCdd_descr_Base
 CCdd_descr_Base (void)
 
virtual ~CCdd_descr_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...
 
NCBI_NORETURN 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 IsOthername (void) const
 Check if variant Othername is selected. More...
 
const TOthernameGetOthername (void) const
 Get the variant data. More...
 
TOthernameSetOthername (void)
 Select the variant. More...
 
void SetOthername (const TOthername &value)
 Select the variant and set its data. More...
 
bool IsCategory (void) const
 Check if variant Category is selected. More...
 
const TCategoryGetCategory (void) const
 Get the variant data. More...
 
TCategorySetCategory (void)
 Select the variant. More...
 
void SetCategory (const TCategory &value)
 Select the variant and set its data. More...
 
bool IsComment (void) const
 Check if variant Comment is selected. More...
 
const TCommentGetComment (void) const
 Get the variant data. More...
 
TCommentSetComment (void)
 Select the variant. More...
 
void SetComment (const TComment &value)
 Select the variant and set its data. More...
 
bool IsReference (void) const
 Check if variant Reference is selected. More...
 
const TReferenceGetReference (void) const
 Get the variant data. More...
 
TReferenceSetReference (void)
 Select the variant. More...
 
void SetReference (TReference &value)
 Select the variant and set its data. More...
 
bool IsCreate_date (void) const
 Check if variant Create_date is selected. More...
 
const TCreate_dateGetCreate_date (void) const
 Get the variant data. More...
 
TCreate_dateSetCreate_date (void)
 Select the variant. More...
 
void SetCreate_date (TCreate_date &value)
 Select the variant and set its data. More...
 
bool IsTax_source (void) const
 Check if variant Tax_source is selected. More...
 
const TTax_sourceGetTax_source (void) const
 Get the variant data. More...
 
TTax_sourceSetTax_source (void)
 Select the variant. More...
 
void SetTax_source (TTax_source &value)
 Select the variant and set its data. More...
 
bool IsSource (void) const
 Check if variant Source is selected. More...
 
const TSourceGetSource (void) const
 Get the variant data. More...
 
TSourceSetSource (void)
 Select the variant. More...
 
void SetSource (const TSource &value)
 Select the variant and set its data. More...
 
bool IsStatus (void) const
 Check if variant Status is selected. More...
 
TStatus GetStatus (void) const
 Get the variant data. More...
 
TStatusSetStatus (void)
 Select the variant. More...
 
void SetStatus (TStatus value)
 Select the variant and set its data. More...
 
bool IsUpdate_date (void) const
 Check if variant Update_date is selected. More...
 
const TUpdate_dateGetUpdate_date (void) const
 Get the variant data. More...
 
TUpdate_dateSetUpdate_date (void)
 Select the variant. More...
 
void SetUpdate_date (TUpdate_date &value)
 Select the variant and set its data. More...
 
bool IsScrapbook (void) const
 Check if variant Scrapbook is selected. More...
 
const TScrapbookGetScrapbook (void) const
 Get the variant data. More...
 
TScrapbookSetScrapbook (void)
 Select the variant. More...
 
bool IsSource_id (void) const
 Check if variant Source_id is selected. More...
 
const TSource_idGetSource_id (void) const
 Get the variant data. More...
 
TSource_idSetSource_id (void)
 Select the variant. More...
 
void SetSource_id (TSource_id &value)
 Select the variant and set its data. More...
 
bool IsRepeats (void) const
 Check if variant Repeats is selected. More...
 
const TRepeatsGetRepeats (void) const
 Get the variant data. More...
 
TRepeatsSetRepeats (void)
 Select the variant. More...
 
void SetRepeats (TRepeats &value)
 Select the variant and set its data. More...
 
bool IsOld_root (void) const
 Check if variant Old_root is selected. More...
 
const TOld_rootGetOld_root (void) const
 Get the variant data. More...
 
TOld_rootSetOld_root (void)
 Select the variant. More...
 
void SetOld_root (TOld_root &value)
 Select the variant and set its data. More...
 
bool IsCuration_status (void) const
 Check if variant Curation_status is selected. More...
 
TCuration_status GetCuration_status (void) const
 Get the variant data. More...
 
TCuration_statusSetCuration_status (void)
 Select the variant. More...
 
void SetCuration_status (TCuration_status value)
 Select the variant and set its data. More...
 
bool IsReadonly_status (void) const
 Check if variant Readonly_status is selected. More...
 
TReadonly_status GetReadonly_status (void) const
 Get the variant data. More...
 
TReadonly_statusSetReadonly_status (void)
 Select the variant. More...
 
void SetReadonly_status (TReadonly_status value)
 Select the variant and set its data. More...
 
bool IsBook_ref (void) const
 Check if variant Book_ref is selected. More...
 
const TBook_refGetBook_ref (void) const
 Get the variant data. More...
 
TBook_refSetBook_ref (void)
 Select the variant. More...
 
void SetBook_ref (TBook_ref &value)
 Select the variant and set its data. More...
 
bool IsAttribution (void) const
 Check if variant Attribution is selected. More...
 
const TAttributionGetAttribution (void) const
 Get the variant data. More...
 
TAttributionSetAttribution (void)
 Select the variant. More...
 
void SetAttribution (TAttribution &value)
 Select the variant and set its data. More...
 
bool IsTitle (void) const
 Check if variant Title is selected. More...
 
const TTitleGetTitle (void) const
 Get the variant data. More...
 
TTitleSetTitle (void)
 Select the variant. More...
 
void SetTitle (const TTitle &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 CCdd_descr_Base Tparent
 

Private Member Functions

 CCdd_descr (const CCdd_descr &value)
 
CCdd_descroperator= (const CCdd_descr &value)
 

Additional Inherited Members

- Public Types inherited from CCdd_descr_Base
enum  EStatus {
  eStatus_unassigned = 0, eStatus_finished_ok = 1, eStatus_pending_release = 2, eStatus_other_asis = 3,
  eStatus_matrix_only = 4, eStatus_update_running = 5, eStatus_auto_updated = 6, eStatus_claimed = 7,
  eStatus_curated_complete = 8, eStatus_other = 255
}
 
enum  ECuration_status {
  eCuration_status_unassigned = 0, eCuration_status_prein = 1, eCuration_status_ofc = 2, eCuration_status_iac = 3,
  eCuration_status_ofv1 = 4, eCuration_status_iav1 = 5, eCuration_status_ofv2 = 6, eCuration_status_iav2 = 7,
  eCuration_status_postin = 8, eCuration_status_other = 255
}
 
enum  EReadonly_status { eReadonly_status_unassigned = 0, eReadonly_status_readonly = 1, eReadonly_status_readwrite = 2, eReadonly_status_other = 255 }
 
enum  E_Choice {
  e_not_set = 0, e_Othername, e_Category, e_Comment,
  e_Reference, e_Create_date, e_Tax_source, e_Source,
  e_Status, e_Update_date, e_Scrapbook, e_Source_id,
  e_Repeats, e_Old_root, e_Curation_status, e_Readonly_status,
  e_Book_ref, e_Attribution, e_Title
}
 Choice variants. More...
 
enum  E_ChoiceStopper { e_MaxChoice = 19 }
 Maximum+1 value of the choice variant enumerator. More...
 
typedef string TOthername
 
typedef string TCategory
 
typedef string TComment
 
typedef CPub TReference
 
typedef CDate TCreate_date
 
typedef COrg_ref TTax_source
 
typedef string TSource
 
typedef int TStatus
 
typedef CDate TUpdate_date
 
typedef list< stringTScrapbook
 
typedef CCdd_id_set TSource_id
 
typedef CCdd_repeat TRepeats
 
typedef CCdd_id_set TOld_root
 
typedef int TCuration_status
 
typedef int TReadonly_status
 
typedef CCdd_book_ref TBook_ref
 
typedef CPub TAttribution
 
typedef string TTitle
 
- 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 CAtomicCounter TCounter
 Counter type is CAtomiCounter. More...
 
typedef TCounter::TValue TCount
 Alias for value type of counter. More...
 
- Static Public Member Functions inherited from CCdd_descr_Base
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EStatus (void)
 Access to EStatus's attributes (values, names) as defined in spec. More...
 
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() ECuration_status (void)
 Access to ECuration_status's attributes (values, names) as defined in spec. More...
 
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EReadonly_status (void)
 Access to EReadonly_status'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_NORETURN void ThrowNullPointerException (void)
 Define method to throw null pointer exception. More...
 
static NCBI_NORETURN 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

CCdd_descr –.

Definition at line 65 of file Cdd_descr.hpp.

Member Typedef Documentation

Definition at line 67 of file Cdd_descr.hpp.

Constructor & Destructor Documentation

CCdd_descr::CCdd_descr ( void  )
inline

Definition at line 86 of file Cdd_descr.hpp.

CCdd_descr::~CCdd_descr ( void  )

Definition at line 50 of file Cdd_descr.cpp.

CCdd_descr::CCdd_descr ( const CCdd_descr value)
private

Member Function Documentation

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

The documentation for this class was generated from the following files:
Modified on Sat Mar 25 15:51:07 2017 by modify_doxy.py rev. 506947