TDLib
Loading...
Searching...
No Matches
storageStatisticsFast Class Referencefinal

Inherits Object.

Description

Contains approximate storage usage statistics, excluding files of unknown file type.

Public Member Functions

 storageStatisticsFast ()
 storageStatisticsFast (int53 files_size_, int32 file_count_, int53 database_size_, int53 language_pack_database_size_, int53 log_size_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int53 database_size_
 Size of the database.
int32 file_count_
 Approximate number of files.
int53 files_size_
 Approximate total size of files, in bytes.
int53 language_pack_database_size_
 Size of the language pack database.
int53 log_size_
 Size of the TDLib internal log.

Static Public Attributes

static const std::int32_t ID = -884922271
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ storageStatisticsFast() [1/2]

storageStatisticsFast ( )

Contains approximate storage usage statistics, excluding files of unknown file type.

◆ storageStatisticsFast() [2/2]

storageStatisticsFast ( int53 files_size_,
int32 file_count_,
int53 database_size_,
int53 language_pack_database_size_,
int53 log_size_ )

Contains approximate storage usage statistics, excluding files of unknown file type.

Parameters
[in]files_size_Approximate total size of files, in bytes.
[in]file_count_Approximate number of files.
[in]database_size_Size of the database.
[in]language_pack_database_size_Size of the language pack database.
[in]log_size_Size of the TDLib internal log.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: