Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCDate__Base.html below:
NCBI C++ ToolKit: CDate_Base Class Reference
CDate_Base (void) virtual ~CDate_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 IsStr (void) const Check if variant Str is selected. More...
const TStr & GetStr (void) const Get the variant data. More...
TStr & SetStr (void) Select the variant. More...
void SetStr (const TStr &value) Select the variant and set its data. More...
bool IsStd (void) const Check if variant Std is selected. More...
const TStd & GetStd (void) const Get the variant data. More...
TStd & SetStd (void) Select the variant. More...
void SetStd (TStd &value) Select the variant and set its data. More...
CSerialObject (void) virtual ~CSerialObject (void) virtual const CTypeInfo * GetThisTypeInfo (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 string & GetNamespaceName (void) const Get namespace name. More...
bool HasNamespacePrefix (void) const Check if data type has namespace prefix. More...
const string & GetNamespacePrefix (void) const Get namespace prefix. More...
CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (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...
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
StringStore is really a VisibleString.
It is used to define very long strings which may need to be stored by the receiving program in special structures, such as a ByteStore, but it's just a hint. AsnTool stores StringStores in ByteStore structures. OCTET STRINGs are also stored in ByteStores by AsnTool
typedef struct bsunit { /* for building multiline strings Nlm_Handle str; /* the string piece Nlm_Int2 len_avail, len; struct bsunit PNTR next; } /* the next one Nlm_BSUnit, PNTR Nlm_BSUnitPtr;
typedef struct bytestore { Nlm_Int4 seekptr, /* current position totlen, /* total stored data length in bytes chain_offset; /* offset in ByteStore of first byte in curchain Nlm_BSUnitPtr chain, /* chain of elements curchain; /* the BSUnit containing seekptr } Nlm_ByteStore, PNTR Nlm_ByteStorePtr;
AsnTool incorporates this as a primitive type, so the definition is here just for completeness
StringStore ::= [APPLICATION 1] IMPLICIT OCTET STRING
BigInt is really an INTEGER. It is used to warn the receiving code to expect a value bigger than Int4 (actually Int8). It will be stored in DataVal.bigintvalue
Like StringStore, AsnTool incorporates it as a primitive. The definition would be: BigInt ::= [APPLICATION 2] IMPLICIT INTEGER
Date is used to replace the (overly complex) UTCTtime, GeneralizedTime of ASN.1 It stores only a date
CDate_Base –
Definition at line 112 of file Date_.hpp.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4