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

Represents ASN.1 type Blast-db-metadata defined in file blastdb.asn

Search Toolkit Book for CBlast_db_metadata_Base

CBlast_db_metadata_Base –. More...

#include <objects/blastdb/Blast_db_metadata_.hpp>

+ Inheritance diagram for CBlast_db_metadata_Base:
+ Collaboration diagram for CBlast_db_metadata_Base:

Public Types

enum class  E_memberIndex {
  e__allMandatory = 0 , e_version , e_dbname , e_dbtype ,
  e_db_version , e_description , e_number_of_letters , e_number_of_sequences ,
  e_last_updated , e_number_of_volumes , e_number_of_taxids , e_bytes_total ,
  e_bytes_to_cache , e_bytes_total_compressed , e_files , e_compressed_files
}
 
typedef string TVersion
 
typedef string TDbname
 
typedef string TDbtype
 
typedef int TDb_version
 
typedef string TDescription
 
typedef Uint8 TNumber_of_letters
 
typedef Int8 TNumber_of_sequences
 
typedef string TLast_updated
 
typedef int TNumber_of_volumes
 
typedef int TNumber_of_taxids
 
typedef Uint8 TBytes_total
 
typedef Uint8 TBytes_to_cache
 
typedef Uint8 TBytes_total_compressed
 
typedef vector< stringTFiles
 
typedef vector< stringTCompressed_files
 
typedef Tparent::CMemberIndex< E_memberIndex, 16 > TmemberIndex
 
- 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

 CBlast_db_metadata_Base (void)
 
virtual ~CBlast_db_metadata_Base (void)
 
 DECLARE_INTERNAL_TYPE_INFO ()
 
bool IsSetVersion (void) const
 Default indicates the starting version Check if a value has been assigned to Version data member. More...
 
bool CanGetVersion (void) const
 Check if it is safe to call GetVersion method. More...
 
void ResetVersion (void)
 Reset Version data member. More...
 
void SetDefaultVersion (void)
 Assign default value to Version data member. More...
 
const TVersionGetVersion (void) const
 Get the Version member data. More...
 
void SetVersion (const TVersion &value)
 Assign a value to Version data member. More...
 
void SetVersion (TVersion &&value)
 
TVersionSetVersion (void)
 Assign a value to Version data member. More...
 
bool IsSetDbname (void) const
 Check if a value has been assigned to Dbname data member. More...
 
bool CanGetDbname (void) const
 Check if it is safe to call GetDbname method. More...
 
void ResetDbname (void)
 Reset Dbname data member. More...
 
const TDbnameGetDbname (void) const
 Get the Dbname member data. More...
 
void SetDbname (const TDbname &value)
 Assign a value to Dbname data member. More...
 
void SetDbname (TDbname &&value)
 
TDbnameSetDbname (void)
 Assign a value to Dbname data member. More...
 
bool IsSetDbtype (void) const
 Check if a value has been assigned to Dbtype data member. More...
 
bool CanGetDbtype (void) const
 Check if it is safe to call GetDbtype method. More...
 
void ResetDbtype (void)
 Reset Dbtype data member. More...
 
const TDbtypeGetDbtype (void) const
 Get the Dbtype member data. More...
 
void SetDbtype (const TDbtype &value)
 Assign a value to Dbtype data member. More...
 
void SetDbtype (TDbtype &&value)
 
TDbtypeSetDbtype (void)
 Assign a value to Dbtype data member. More...
 
bool IsSetDb_version (void) const
 Default indicates the starting version Check if a value has been assigned to Db_version data member. More...
 
bool CanGetDb_version (void) const
 Check if it is safe to call GetDb_version method. More...
 
void ResetDb_version (void)
 Reset Db_version data member. More...
 
void SetDefaultDb_version (void)
 Assign default value to Db_version data member. More...
 
TDb_version GetDb_version (void) const
 Get the Db_version member data. More...
 
void SetDb_version (TDb_version value)
 Assign a value to Db_version data member. More...
 
TDb_versionSetDb_version (void)
 Assign a value to Db_version data member. More...
 
bool IsSetDescription (void) const
 Check if a value has been assigned to Description data member. More...
 
bool CanGetDescription (void) const
 Check if it is safe to call GetDescription method. More...
 
void ResetDescription (void)
 Reset Description data member. More...
 
const TDescriptionGetDescription (void) const
 Get the Description member data. More...
 
void SetDescription (const TDescription &value)
 Assign a value to Description data member. More...
 
void SetDescription (TDescription &&value)
 
TDescriptionSetDescription (void)
 Assign a value to Description data member. More...
 
bool IsSetNumber_of_letters (void) const
 Check if a value has been assigned to Number_of_letters data member. More...
 
bool CanGetNumber_of_letters (void) const
 Check if it is safe to call GetNumber_of_letters method. More...
 
void ResetNumber_of_letters (void)
 Reset Number_of_letters data member. More...
 
TNumber_of_letters GetNumber_of_letters (void) const
 Get the Number_of_letters member data. More...
 
void SetNumber_of_letters (TNumber_of_letters value)
 Assign a value to Number_of_letters data member. More...
 
TNumber_of_lettersSetNumber_of_letters (void)
 Assign a value to Number_of_letters data member. More...
 
bool IsSetNumber_of_sequences (void) const
 Check if a value has been assigned to Number_of_sequences data member. More...
 
bool CanGetNumber_of_sequences (void) const
 Check if it is safe to call GetNumber_of_sequences method. More...
 
void ResetNumber_of_sequences (void)
 Reset Number_of_sequences data member. More...
 
TNumber_of_sequences GetNumber_of_sequences (void) const
 Get the Number_of_sequences member data. More...
 
void SetNumber_of_sequences (TNumber_of_sequences value)
 Assign a value to Number_of_sequences data member. More...
 
TNumber_of_sequencesSetNumber_of_sequences (void)
 Assign a value to Number_of_sequences data member. More...
 
bool IsSetLast_updated (void) const
 Check if a value has been assigned to Last_updated data member. More...
 
bool CanGetLast_updated (void) const
 Check if it is safe to call GetLast_updated method. More...
 
void ResetLast_updated (void)
 Reset Last_updated data member. More...
 
const TLast_updatedGetLast_updated (void) const
 Get the Last_updated member data. More...
 
void SetLast_updated (const TLast_updated &value)
 Assign a value to Last_updated data member. More...
 
void SetLast_updated (TLast_updated &&value)
 
TLast_updatedSetLast_updated (void)
 Assign a value to Last_updated data member. More...
 
bool IsSetNumber_of_volumes (void) const
 Check if a value has been assigned to Number_of_volumes data member. More...
 
bool CanGetNumber_of_volumes (void) const
 Check if it is safe to call GetNumber_of_volumes method. More...
 
void ResetNumber_of_volumes (void)
 Reset Number_of_volumes data member. More...
 
TNumber_of_volumes GetNumber_of_volumes (void) const
 Get the Number_of_volumes member data. More...
 
void SetNumber_of_volumes (TNumber_of_volumes value)
 Assign a value to Number_of_volumes data member. More...
 
TNumber_of_volumesSetNumber_of_volumes (void)
 Assign a value to Number_of_volumes data member. More...
 
bool IsSetNumber_of_taxids (void) const
 Check if a value has been assigned to Number_of_taxids data member. More...
 
bool CanGetNumber_of_taxids (void) const
 Check if it is safe to call GetNumber_of_taxids method. More...
 
void ResetNumber_of_taxids (void)
 Reset Number_of_taxids data member. More...
 
TNumber_of_taxids GetNumber_of_taxids (void) const
 Get the Number_of_taxids member data. More...
 
void SetNumber_of_taxids (TNumber_of_taxids value)
 Assign a value to Number_of_taxids data member. More...
 
TNumber_of_taxidsSetNumber_of_taxids (void)
 Assign a value to Number_of_taxids data member. More...
 
bool IsSetBytes_total (void) const
 Check if a value has been assigned to Bytes_total data member. More...
 
bool CanGetBytes_total (void) const
 Check if it is safe to call GetBytes_total method. More...
 
void ResetBytes_total (void)
 Reset Bytes_total data member. More...
 
TBytes_total GetBytes_total (void) const
 Get the Bytes_total member data. More...
 
void SetBytes_total (TBytes_total value)
 Assign a value to Bytes_total data member. More...
 
TBytes_totalSetBytes_total (void)
 Assign a value to Bytes_total data member. More...
 
bool IsSetBytes_to_cache (void) const
 Check if a value has been assigned to Bytes_to_cache data member. More...
 
bool CanGetBytes_to_cache (void) const
 Check if it is safe to call GetBytes_to_cache method. More...
 
void ResetBytes_to_cache (void)
 Reset Bytes_to_cache data member. More...
 
TBytes_to_cache GetBytes_to_cache (void) const
 Get the Bytes_to_cache member data. More...
 
void SetBytes_to_cache (TBytes_to_cache value)
 Assign a value to Bytes_to_cache data member. More...
 
TBytes_to_cacheSetBytes_to_cache (void)
 Assign a value to Bytes_to_cache data member. More...
 
bool IsSetBytes_total_compressed (void) const
 Check if a value has been assigned to Bytes_total_compressed data member. More...
 
bool CanGetBytes_total_compressed (void) const
 Check if it is safe to call GetBytes_total_compressed method. More...
 
void ResetBytes_total_compressed (void)
 Reset Bytes_total_compressed data member. More...
 
TBytes_total_compressed GetBytes_total_compressed (void) const
 Get the Bytes_total_compressed member data. More...
 
void SetBytes_total_compressed (TBytes_total_compressed value)
 Assign a value to Bytes_total_compressed data member. More...
 
TBytes_total_compressedSetBytes_total_compressed (void)
 Assign a value to Bytes_total_compressed data member. More...
 
bool IsSetFiles (void) const
 Check if a value has been assigned to Files data member. More...
 
bool CanGetFiles (void) const
 Check if it is safe to call GetFiles method. More...
 
void ResetFiles (void)
 Reset Files data member. More...
 
const TFilesGetFiles (void) const
 Get the Files member data. More...
 
TFilesSetFiles (void)
 Assign a value to Files data member. More...
 
bool IsSetCompressed_files (void) const
 Check if a value has been assigned to Compressed_files data member. More...
 
bool CanGetCompressed_files (void) const
 Check if it is safe to call GetCompressed_files method. More...
 
void ResetCompressed_files (void)
 Reset Compressed_files data member. More...
 
const TCompressed_filesGetCompressed_files (void) const
 Get the Compressed_files member data. More...
 
TCompressed_filesSetCompressed_files (void)
 Assign a value to Compressed_files data member. More...
 
virtual void Reset (void)
 Reset the whole object. 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 CSerialObject Tparent
 

Private Member Functions

 CBlast_db_metadata_Base (const CBlast_db_metadata_Base &)
 
CBlast_db_metadata_Baseoperator= (const CBlast_db_metadata_Base &)
 

Private Attributes

Uint4 m_set_State [1]
 
string m_Version
 
string m_Dbname
 
string m_Dbtype
 
int m_Db_version
 
string m_Description
 
Uint8 m_Number_of_letters
 
Int8 m_Number_of_sequences
 
string m_Last_updated
 
int m_Number_of_volumes
 
int m_Number_of_taxids
 
Uint8 m_Bytes_total
 
Uint8 m_Bytes_to_cache
 
Uint8 m_Bytes_total_compressed
 
vector< stringm_Files
 
vector< stringm_Compressed_files
 

Additional Inherited Members

- 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

CBlast_db_metadata_Base –.

Definition at line 73 of file Blast_db_metadata_.hpp.


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