![]() |
Home | Libraries | Author | Links |
A CtExceptions object is a stm::filespeclist designating those file system elements which have to be handled specially.
Definition at line 265 of file ctaids.hpp.
Bitwise orable flags | |
No flag. | |
static const word | NoFlags = 0x0000 |
static const word | PlainFile = 0x0001 |
Directory content flag. | |
static const word | Directory = 0x0002 |
Plain file content flag. | |
static const word | Content = PlainFile | Directory |
Bit mask for possible content flags. | |
static const word | Include = 0x0004 |
Include action flag. | |
static const word | Exclude = 0x0008 |
Exclude action flag. | |
static const word | Actions = Include | Exclude |
Bit mask for possible action flags. | |
Public Types | |
typedef filespeclist::const_iterator | const_iterator |
Constant iterator inherited from stm::filespeclist. | |
Public Member Functions | |
void | add (const std::string &spec, word flags=NoFlags) |
If spec begins with a path separator, it is appended to the exception list without this path separator. | |
bool | excludes (const std::string &path, bool directory=false) const |
Returns true, if this CtExceptions object excludes the plain file (if directory is false, the default) or the directory designated by the relative path path, else false. | |
void | clear () |
Clears the exception list. |
Constant iterator inherited from stm::filespeclist.
Reimplemented from stm::filespeclist.
Definition at line 269 of file ctaids.hpp.
void stm::tools::CtExceptions::add | ( | const std::string & | spec, | |
word | flags = NoFlags | |||
) |
bool stm::tools::CtExceptions::excludes | ( | const std::string & | path, | |
bool | directory = false | |||
) | const |
Returns true, if this CtExceptions object excludes the plain file (if directory is false, the default) or the directory designated by the relative path path, else false.
void stm::tools::CtExceptions::clear | ( | ) |
const word stm::tools::CtExceptions::PlainFile = 0x0001 [static] |
const word stm::tools::CtExceptions::Directory = 0x0002 [static] |
const word stm::tools::CtExceptions::Content = PlainFile | Directory [static] |
const word stm::tools::CtExceptions::Include = 0x0004 [static] |
const word stm::tools::CtExceptions::Exclude = 0x0008 [static] |
const word stm::tools::CtExceptions::Actions = Include | Exclude [static] |
© Copyright Tom Michaelis 2002-2007
Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).