#include <OUX/files/directry.hh> class OUX_Directory : public OTC_Directory {
public:
static os_typespec* get_os_typespec();
OUX_Directory(OTC_String const& theName);
OUX_Directory(OTC_Directory const& theDir);
OUX_Directory(OUX_Directory const& theDir);
inline OUX_Directory& operator=(OTC_String const& theName);
inline OUX_Directory& operator=(OTC_Directory const& theDir);
inline OUX_Directory& operator=(OUX_Directory const& theDir);
OTC_Boolean contains(OTC_String const& theName) const;
};
OTC_Directory
the ability to determine
if a directory contains a particular file.
OUX_Directory(OTC_String const& theName);
theName
. Note that theName
is used as is, ie. leading and trailing
whitespace is not removed. If this is
required it should be done before hand.
OUX_Directory(OTC_Directory const& theDir);
theDir
.
OUX_Directory(OUX_Directory const& theDir);
theDir
.
inline OUX_Directory& operator=(OTC_String const& theName);
theName
.
inline OUX_Directory& operator=(OTC_Directory const& theDir);
theDir
.
inline OUX_Directory& operator=(OUX_Directory const& theDir);
theDir
.
OTC_Boolean contains(OTC_String const& theName) const;
OTCLIB_TRUE
if this directory
contains a file with name theName
. If
theName
contains a slash, ie. /
, then
OTCLIB_FALSE
is always returned.
OTC_Directory