List of all members | Public Fields | Public Instance Methods | Static Public Attributes
storageStatisticsFast Class Referencefinal

Inherits Object.

Description

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

Public Fields

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

Public Instance Methods

 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 Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ storageStatisticsFast() [1/2]

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.

Method 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: