Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
PathList Class Reference

Path list structure. More...

#include <list.h>

Classes

struct  FileInfo
 

Public Types

using ItemList = std::map<Yuni::Clob, FileInfo>
 
using iterator = ItemList::iterator
 
using const_iterator = ItemList::const_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void clear ()
 
template<class StringT >
void add (const StringT &s)
 
template<class StringT >
void add (const StringT &s, size_t size)
 
template<class StringT >
void add (const StringT &s, const PathListOption opt)
 
template<class StringT >
void add (const StringT &s, const PathListOption opt, size_t size)
 
template<class StringT >
void addFromFolder (const StringT &folder, const PathList &exclude)
 
template<class StringT >
PathListOption find (const StringT &s) const
 
template<class StringT >
void remove (const StringT &s)
 
void remove (const PathList &toDelete)
 
uint size () const
 
bool empty () const
 
size_t totalSizeInBytes () const
 
template<class StringT >
uint deleteAllEmptyFolders (const StringT &sourceFolder)
 
template<class StringT >
uint deleteAllFiles (const StringT &sourceFolder)
 

Public Attributes

std::function< bool(uint)> onProgress
 Event triggered from time to time.
 

Detailed Description

Path list structure.


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