wfut 0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
|
#include <ChannelFileList.h>
Public Member Functions | |
std::string | getName () const |
void | setName (const std::string &name) |
const FileMap & | getFiles () const |
void | addFile (const FileObject &fo) |
void | removeFile (const std::string &filename) |
void | clear () |
size_t | size () const |
The ChannelFileList class represents a WFUT channel. It maintainns a list of FileObjects representing a local or remote directory of files.
Definition at line 17 of file ChannelFileList.h.
|
inline |
Adds a FileObject to this channel.
Definition at line 41 of file ChannelFileList.h.
Referenced by WFUT::WFUTClient::calculateUpdates().
|
inline |
Clear all the files out of the channel.
Definition at line 54 of file ChannelFileList.h.
|
inline |
Get the FileMap object storing all of the FileObjects for this channel.
Definition at line 36 of file ChannelFileList.h.
Referenced by WFUT::WFUTClient::calculateUpdates(), and WFUT::WFUTClient::updateChannel().
|
inline |
Returns the name of the channel.
Definition at line 25 of file ChannelFileList.h.
Referenced by WFUT::WFUTClient::updateChannel().
|
inline |
Removes a FileObject from this channel by it's filename.
Definition at line 46 of file ChannelFileList.h.
|
inline |
Set the name of the channel.
Definition at line 30 of file ChannelFileList.h.
|
inline |
Returns the number of files in the channel.
Definition at line 59 of file ChannelFileList.h.