53 myDefaultBucket(true) {
60 myDefaultBucket(false) {
void removeElement(const bool isTemplate)
remove element
void addElement(const bool isTemplate)
function related with Elements
const bool myDefaultBucket
flag to indicate if this is a default bucket (it cannot be removed)
int myNumElements
number of elements vinculated with this file bucket
int myNumTemplates
number of templates vinculated with this file bucket
Type
Files that this bucket can save.
static const std::vector< FileBucket::Type > types
vector with all types managed in this get bucket handler
const std::string & getFilename() const
get filename
bool isEmpty() const
check if this bucket is empty
const FileBucket::Type myFileType
type
static const std::vector< FileBucket::Type > prefixes
vector with all types and prefixes managed in this get bucket handler
FileBucket::Type getType() const
get file type
bool isDefaultBucket() const
check if this is a default bucket
void setFilename(const std::string &filename)
set filename
FileBucket()=delete
Invalidated default constructor.
std::string myFilename
filename
int getNumElements() const
check number of elements (no templates)