5 #ifndef LIBWFUT_CHANNELFILELIST_H 6 #define LIBWFUT_CHANNELFILELIST_H 1 10 #include <libwfut/types.h> 25 std::string
getName()
const {
return m_name; }
30 void setName(
const std::string &name) { m_name = name; }
36 const FileMap &
getFiles()
const {
return m_fileMap; }
47 auto I = m_fileMap.find(filename);
48 if (I != m_fileMap.end()) m_fileMap.erase(I);
54 void clear() { m_fileMap.clear(); }
59 size_t size()
const {
return m_fileMap.size(); }
63 std::map<std::string, FileObject> m_fileMap;
void removeFile(const std::string &filename)
void setName(const std::string &name)
std::string getName() const
const FileMap & getFiles() const
void addFile(const FileObject &fo)