41 #ifndef OBJECTS_BLASTDB_BLAST_DB_METADATA_BASE_HPP
42 #define OBJECTS_BLASTDB_BLAST_DB_METADATA_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
111 e_number_of_sequences,
117 e_bytes_total_compressed,
134 bool IsSetVersion(
void)
const;
141 bool CanGetVersion(
void)
const;
144 void ResetVersion(
void);
147 void SetDefaultVersion(
void);
153 const TVersion& GetVersion(
void)
const;
175 bool IsSetDbname(
void)
const;
182 bool CanGetDbname(
void)
const;
185 void ResetDbname(
void);
191 const TDbname& GetDbname(
void)
const;
213 bool IsSetDbtype(
void)
const;
220 bool CanGetDbtype(
void)
const;
223 void ResetDbtype(
void);
229 const TDbtype& GetDbtype(
void)
const;
252 bool IsSetDb_version(
void)
const;
259 bool CanGetDb_version(
void)
const;
262 void ResetDb_version(
void);
265 void SetDefaultDb_version(
void);
292 bool IsSetDescription(
void)
const;
299 bool CanGetDescription(
void)
const;
302 void ResetDescription(
void);
330 bool IsSetNumber_of_letters(
void)
const;
337 bool CanGetNumber_of_letters(
void)
const;
340 void ResetNumber_of_letters(
void);
367 bool IsSetNumber_of_sequences(
void)
const;
374 bool CanGetNumber_of_sequences(
void)
const;
377 void ResetNumber_of_sequences(
void);
404 bool IsSetLast_updated(
void)
const;
411 bool CanGetLast_updated(
void)
const;
414 void ResetLast_updated(
void);
442 bool IsSetNumber_of_volumes(
void)
const;
449 bool CanGetNumber_of_volumes(
void)
const;
452 void ResetNumber_of_volumes(
void);
479 bool IsSetNumber_of_taxids(
void)
const;
486 bool CanGetNumber_of_taxids(
void)
const;
489 void ResetNumber_of_taxids(
void);
516 bool IsSetBytes_total(
void)
const;
523 bool CanGetBytes_total(
void)
const;
526 void ResetBytes_total(
void);
553 bool IsSetBytes_to_cache(
void)
const;
560 bool CanGetBytes_to_cache(
void)
const;
563 void ResetBytes_to_cache(
void);
590 bool IsSetBytes_total_compressed(
void)
const;
597 bool CanGetBytes_total_compressed(
void)
const;
600 void ResetBytes_total_compressed(
void);
627 bool IsSetFiles(
void)
const;
634 bool CanGetFiles(
void)
const;
637 void ResetFiles(
void);
643 const TFiles& GetFiles(
void)
const;
658 bool IsSetCompressed_files(
void)
const;
665 bool CanGetCompressed_files(
void)
const;
668 void ResetCompressed_files(
void);
683 virtual void Reset(
void);
760 m_Version = std::forward<CBlast_db_metadata_Base::TVersion>(
value);
807 m_Dbname = std::forward<CBlast_db_metadata_Base::TDbname>(
value);
854 m_Dbtype = std::forward<CBlast_db_metadata_Base::TDbtype>(
value);
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
int64_t Int8
8-byte (64-bit) signed integer
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_BLASTDB_EXPORT
Uint8 TBytes_total_compressed
bool IsSetDb_version(void) const
Default indicates the starting version Check if a value has been assigned to Db_version data member.
TNumber_of_volumes & SetNumber_of_volumes(void)
Assign a value to Number_of_volumes data member.
bool CanGetBytes_to_cache(void) const
Check if it is safe to call GetBytes_to_cache method.
const TVersion & GetVersion(void) const
Get the Version member data.
bool CanGetVersion(void) const
Check if it is safe to call GetVersion method.
const TDescription & GetDescription(void) const
Get the Description member data.
TVersion & SetVersion(void)
Assign a value to Version data member.
void ResetNumber_of_letters(void)
Reset Number_of_letters data member.
bool IsSetDbtype(void) const
Check if a value has been assigned to Dbtype data member.
Int8 m_Number_of_sequences
vector< string > TCompressed_files
bool CanGetFiles(void) const
Check if it is safe to call GetFiles method.
TBytes_to_cache & SetBytes_to_cache(void)
Assign a value to Bytes_to_cache data member.
bool IsSetBytes_total(void) const
Check if a value has been assigned to Bytes_total data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetDbtype(void) const
Check if it is safe to call GetDbtype method.
TBytes_total GetBytes_total(void) const
Get the Bytes_total member data.
bool IsSetBytes_total_compressed(void) const
Check if a value has been assigned to Bytes_total_compressed data member.
void ResetDb_version(void)
Reset Db_version data member.
const TLast_updated & GetLast_updated(void) const
Get the Last_updated member data.
TDbtype & SetDbtype(void)
Assign a value to Dbtype data member.
void SetDefaultVersion(void)
Assign default value to Version data member.
CBlast_db_metadata_Base & operator=(const CBlast_db_metadata_Base &)
Tparent::CMemberIndex< E_memberIndex, 16 > TmemberIndex
bool IsSetDbname(void) const
Check if a value has been assigned to Dbname data member.
TNumber_of_volumes GetNumber_of_volumes(void) const
Get the Number_of_volumes member data.
void ResetBytes_total(void)
Reset Bytes_total data member.
TLast_updated & SetLast_updated(void)
Assign a value to Last_updated data member.
bool IsSetNumber_of_letters(void) const
Check if a value has been assigned to Number_of_letters data member.
const TDbname & GetDbname(void) const
Get the Dbname member data.
void ResetBytes_total_compressed(void)
Reset Bytes_total_compressed data member.
TNumber_of_sequences GetNumber_of_sequences(void) const
Get the Number_of_sequences member data.
void ResetBytes_to_cache(void)
Reset Bytes_to_cache data member.
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
TNumber_of_sequences & SetNumber_of_sequences(void)
Assign a value to Number_of_sequences data member.
bool CanGetNumber_of_letters(void) const
Check if it is safe to call GetNumber_of_letters method.
void ResetNumber_of_volumes(void)
Reset Number_of_volumes data member.
vector< string > m_Compressed_files
TFiles & SetFiles(void)
Assign a value to Files data member.
bool CanGetBytes_total(void) const
Check if it is safe to call GetBytes_total method.
bool CanGetNumber_of_sequences(void) const
Check if it is safe to call GetNumber_of_sequences method.
bool IsSetDescription(void) const
Check if a value has been assigned to Description data member.
Uint8 m_Number_of_letters
bool IsSetLast_updated(void) const
Check if a value has been assigned to Last_updated data member.
bool CanGetLast_updated(void) const
Check if it is safe to call GetLast_updated method.
TCompressed_files & SetCompressed_files(void)
Assign a value to Compressed_files data member.
bool IsSetFiles(void) const
Check if a value has been assigned to Files data member.
TDbname & SetDbname(void)
Assign a value to Dbname data member.
void ResetNumber_of_taxids(void)
Reset Number_of_taxids data member.
const TCompressed_files & GetCompressed_files(void) const
Get the Compressed_files member data.
TNumber_of_taxids & SetNumber_of_taxids(void)
Assign a value to Number_of_taxids data member.
bool CanGetNumber_of_taxids(void) const
Check if it is safe to call GetNumber_of_taxids method.
void ResetVersion(void)
Reset Version data member.
TDescription & SetDescription(void)
Assign a value to Description data member.
bool CanGetDb_version(void) const
Check if it is safe to call GetDb_version method.
TBytes_total_compressed GetBytes_total_compressed(void) const
Get the Bytes_total_compressed member data.
bool IsSetNumber_of_sequences(void) const
Check if a value has been assigned to Number_of_sequences data member.
Int8 TNumber_of_sequences
bool IsSetVersion(void) const
Default indicates the starting version Check if a value has been assigned to Version data member.
bool IsSetBytes_to_cache(void) const
Check if a value has been assigned to Bytes_to_cache data member.
TBytes_total_compressed & SetBytes_total_compressed(void)
Assign a value to Bytes_total_compressed data member.
bool CanGetDbname(void) const
Check if it is safe to call GetDbname method.
bool CanGetNumber_of_volumes(void) const
Check if it is safe to call GetNumber_of_volumes method.
bool IsSetNumber_of_volumes(void) const
Check if a value has been assigned to Number_of_volumes data member.
const TDbtype & GetDbtype(void) const
Get the Dbtype member data.
Uint8 m_Bytes_total_compressed
TNumber_of_taxids GetNumber_of_taxids(void) const
Get the Number_of_taxids member data.
bool CanGetBytes_total_compressed(void) const
Check if it is safe to call GetBytes_total_compressed method.
bool IsSetNumber_of_taxids(void) const
Check if a value has been assigned to Number_of_taxids data member.
TNumber_of_letters GetNumber_of_letters(void) const
Get the Number_of_letters member data.
bool CanGetCompressed_files(void) const
Check if it is safe to call GetCompressed_files method.
TDb_version & SetDb_version(void)
Assign a value to Db_version data member.
TNumber_of_letters & SetNumber_of_letters(void)
Assign a value to Number_of_letters data member.
CBlast_db_metadata_Base(const CBlast_db_metadata_Base &)
TBytes_to_cache GetBytes_to_cache(void) const
Get the Bytes_to_cache member data.
const TFiles & GetFiles(void) const
Get the Files member data.
TBytes_total & SetBytes_total(void)
Assign a value to Bytes_total data member.
TDb_version GetDb_version(void) const
Get the Db_version member data.
bool IsSetCompressed_files(void) const
Check if a value has been assigned to Compressed_files data member.
void SetDefaultDb_version(void)
Assign default value to Db_version data member.
void ResetNumber_of_sequences(void)
Reset Number_of_sequences data member.
const GenericPointer< typename T::ValueType > T2 value