4 #ifndef DMLITE_CPP_CATALOG_H 5 #define DMLITE_CPP_CATALOG_H 37 virtual void changeDir(
const std::string& path)
throw (
DmException);
41 virtual std::string getWorkingDir(
void)
throw (
DmException);
47 virtual ExtendedStat extendedStat(
const std::string& path,
56 const std::string& path,
69 virtual bool access(
const std::string& path,
int mode)
throw (
DmException);
76 virtual bool accessReplica(
const std::string& replica,
int mode)
throw (
DmException);
89 virtual std::vector<Replica> getReplicas(
const std::string& path)
throw (
DmException);
94 virtual void symlink(
const std::string& path,
100 virtual std::string readLink(
const std::string& path)
throw (
DmException);
104 virtual void unlink(
const std::string& path)
throw (
DmException);
109 virtual void create(
const std::string& path,
115 virtual mode_t umask(mode_t mask)
throw ();
120 virtual void setMode(
const std::string& path,
128 virtual void setOwner(
const std::string& path, uid_t newUid, gid_t newGid,
134 virtual void setSize(
const std::string& path,
141 virtual void setChecksum(
const std::string& path,
142 const std::string& csumtype,
151 virtual void getChecksum(
const std::string& path,
152 const std::string& csumtype,
153 std::string& csumvalue,
154 const std::string& pfn,
const bool forcerecalc =
false,
const int waitsecs = 0)
throw (
DmException);
159 virtual void setAcl(
const std::string& path,
165 virtual void utime(
const std::string& path,
171 virtual std::string getComment(
const std::string& path)
throw (
DmException);
176 virtual void setComment(
const std::string& path,
182 virtual void setGuid(
const std::string& path,
188 virtual void updateExtendedAttributes(
const std::string& path,
213 virtual void makeDir(
const std::string& path,
219 virtual void rename(
const std::string& oldPath,
224 virtual void removeDir(
const std::string& path)
throw (
DmException);
256 #endif // DMLITE_CPP_CATALOG_H File/directory metadata.
Definition: inode.h:29
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:237
Header generated by CMake with the build configuration used.
Base exception class.
Definition: exceptions.h:17
File replica metadata.
Definition: inode.h:70
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for Catalog (Namespaces).
Definition: catalog.h:30
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).
Status objects used by the API.
Namespace for the dmlite C++ API.
Definition: authn.h:15
Typedef for directories.
Definition: catalog.h:27