The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
filesystem::file_tree_checksum Struct Reference

#include <filesystem.hpp>

Public Member Functions

 file_tree_checksum ()
 
 file_tree_checksum (const config &cfg)
 
void write (config &cfg) const
 
void reset ()
 
bool operator== (const file_tree_checksum &rhs) const
 
bool operator!= (const file_tree_checksum &rhs) const
 

Public Attributes

size_t nfiles
 
size_t sum_size
 
time_t modified
 

Detailed Description

Definition at line 148 of file filesystem.hpp.

Constructor & Destructor Documentation

filesystem::file_tree_checksum::file_tree_checksum ( )

Definition at line 129 of file filesystem_common.cpp.

filesystem::file_tree_checksum::file_tree_checksum ( const config cfg)
explicit

Definition at line 133 of file filesystem_common.cpp.

Member Function Documentation

bool filesystem::file_tree_checksum::operator!= ( const file_tree_checksum rhs) const
inline

Definition at line 158 of file filesystem.hpp.

References operator==().

bool filesystem::file_tree_checksum::operator== ( const file_tree_checksum rhs) const

Definition at line 147 of file filesystem_common.cpp.

References modified, nfiles, and sum_size.

Referenced by operator!=().

void filesystem::file_tree_checksum::reset ( )
inline

Definition at line 153 of file filesystem.hpp.

References modified, nfiles, and sum_size.

Referenced by filesystem::data_tree_checksum().

void filesystem::file_tree_checksum::write ( config cfg) const

Definition at line 140 of file filesystem_common.cpp.

References modified, nfiles, and sum_size.

Referenced by game_config::config_cache::read_cache().

Member Data Documentation

time_t filesystem::file_tree_checksum::modified

Definition at line 156 of file filesystem.hpp.

Referenced by filesystem::get_files_in_dir(), operator==(), reset(), and write().

size_t filesystem::file_tree_checksum::nfiles
size_t filesystem::file_tree_checksum::sum_size

The documentation for this struct was generated from the following files: