4 #ifndef DMLITE_CPP_CATALOG_H 5 #define DMLITE_CPP_CATALOG_H 36 virtual void changeDir(
const std::string& path)
throw (
DmException);
40 virtual std::string getWorkingDir(
void)
throw (
DmException);
46 virtual ExtendedStat extendedStat(
const std::string& path,
59 virtual bool access(
const std::string& path,
int mode)
throw (
DmException);
66 virtual bool accessReplica(
const std::string& replica,
int mode)
throw (
DmException);
79 virtual std::vector<Replica> getReplicas(
const std::string& path)
throw (
DmException);
84 virtual void symlink(
const std::string& path,
90 virtual std::string readLink(
const std::string& path)
throw (
DmException);
94 virtual void unlink(
const std::string& path)
throw (
DmException);
99 virtual void create(
const std::string& path,
105 virtual mode_t umask(mode_t mask)
throw ();
110 virtual void setMode(
const std::string& path,
118 virtual void setOwner(
const std::string& path, uid_t newUid, gid_t newGid,
124 virtual void setSize(
const std::string& path,
131 virtual void setChecksum(
const std::string& path,
132 const std::string& csumtype,
138 virtual void setAcl(
const std::string& path,
144 virtual void utime(
const std::string& path,
150 virtual std::string getComment(
const std::string& path)
throw (
DmException);
155 virtual void setComment(
const std::string& path,
161 virtual void setGuid(
const std::string& path,
167 virtual void updateExtendedAttributes(
const std::string& path,
192 virtual void makeDir(
const std::string& path,
198 virtual void rename(
const std::string& oldPath,
203 virtual void removeDir(
const std::string& path)
throw (
DmException);
235 #endif // DMLITE_CPP_CATALOG_H File/directory metadata.
Definition: inode.h:28
Base class for interfaces.
Definition: base.h:18
Definition: security.h:51
Plug-ins must implement a concrete factory to be instantiated.
Definition: catalog.h:216
Header generated by CMake with the build configuration used.
Base exception class.
Definition: exceptions.h:17
File replica metadata.
Definition: inode.h:87
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for Catalog (Namespaces).
Definition: catalog.h:29
Exceptions used by the API.
Helpful typedef for KeyValue containers.
Definition: extensible.h:20
Base class for factories.
Definition: base.h:48
Extensible types (hold metadata).
Namespace for the dmlite C++ API.
Definition: authn.h:15
Typedef for directories.
Definition: catalog.h:26