#include <finfo.hpp>
Public Field Index: | |
uint32_t | QtyErrsAccess = 0 |
Number of access errors in the folder and sub-folders. | |
uint32_t | QtyErrsBrokenLink = 0 |
Number of broken symbolic links in the directory and its sub-folders. | |
uint32_t | QtyStopsOnCircularLinks = 0 |
Number of recursion aborts due to detected circular links reach of maximum recursion depth. | |
uint32_t | QtyStopsOnMaxDepth = 0 |
Number of recursion aborts due to reach of maximum recursion depth. | |
ALIB_WARNINGS_ALLOW_UNSAFE_BUFFER_USAGE uinteger | Size = 0 |
The cumulated sizes of all files and directories. | |
uint32_t | TypeCounters [int(Types::MARKER_TYPES_END)] = {0,0,0,0,0,0,0,0} |
Per-type counters. | |
Public Method Index: | |
constexpr | DirectorySums () noexcept=default |
constexpr DirectorySums & | Add (const FInfo &finfo) noexcept |
uint32_t | Count () const noexcept |
uint32_t | Count (Types type) const noexcept |
uint32_t | CountDirectories () const noexcept |
uint32_t | CountNonDirectories () const noexcept |
constexpr bool | IsDirType (Types type) const noexcept |
DirectorySums & | operator+= (const DirectorySums &rhs) |
DirectorySums & | operator-= (const DirectorySums &rhs) |
uint32_t QtyErrsAccess = 0 |
uint32_t QtyErrsBrokenLink = 0 |
uint32_t QtyStopsOnCircularLinks = 0 |
uint32_t QtyStopsOnMaxDepth = 0 |
uint32_t TypeCounters[int(Types::MARKER_TYPES_END)] = {0,0,0,0,0,0,0,0} |
|
constexprdefaultnoexcept |
Defaulted default constructor.
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns the sum of the number of entries of type Types::DIRECTORY and Types::SYMBOLIC_LINK_DIR
|
inlinenoexcept |
Returns the sum of the number of entries which are not of type Types::DIRECTORY and Types::SYMBOLIC_LINK_DIR
|
inlineconstexprnoexcept |
Returns true
if the given type equals either Types::DIRECTORY or Types::SYMBOLIC_LINK_DIR
type | returns false if the given type does not represent a directory and true if type equals Types::DIRECTORY or Types::SYMBOLIC_LINK_DIR |
false
if the given type does not represent a directory, true
otherwise.
|
inline |
|
inline |