ewmscp  ..
Public Member Functions | Protected Attributes | List of all members
davixIoCommon Class Reference

#include <davixCommon.h>

Inheritance diagram for davixIoCommon:
[legend]
Collaboration diagram for davixIoCommon:
[legend]

Public Member Functions

 davixIoCommon (const std::string &aPath, davixCommon &aHandler)
 
std::unique_ptr< const genericStatgetStat () override
 
- Public Member Functions inherited from ioHandle
 ioHandle ()
 
virtual ~ioHandle () noexcept(false)
 
virtual bool parallelizable () const
 tell if this handler is capable of parallel IO. Unsually not the case More...
 
virtual void setXattr (const std::string &, const std::string &)
 
virtual std::string getXattr (const std::string &)
 get one extended attribute value More...
 
virtual void removeXattr (const std::string &)
 
virtual size_t getBlockSize () const
 
virtual void setBlockSize (size_t newSize)
 
virtual std::unique_ptr< attrDataTypegetAttrData (const outputHandler::base *)
 get attributes in the optimal way for setting with aOutputHandler More...
 
virtual std::unique_ptr< acl::listgetAclData ()
 get acls More...
 

Protected Attributes

const std::string & path
 
davixCommonhandler
 
DAVIX_FD * fd
 
- Protected Attributes inherited from ioHandle
size_t blockSize
 in bytes, block size to be used when reading or writing More...
 

Detailed Description

Definition at line 224 of file davixCommon.h.

Constructor & Destructor Documentation

◆ davixIoCommon()

davixIoCommon::davixIoCommon ( const std::string &  aPath,
davixCommon aHandler 
)

Definition at line 214 of file davixCommon.cpp.

214  :
215  path(aPath),
216  handler(aHandler) {
217 }

Member Function Documentation

◆ getStat()

std::unique_ptr< const genericStat > davixIoCommon::getStat ( )
overridevirtual

Implements ioHandle.

Definition at line 220 of file davixCommon.cpp.

220  {
221  return handler.getStat(path, true);
222 }

References davixCommon::getStat(), handler, and path.

Here is the call graph for this function:

Member Data Documentation

◆ fd

DAVIX_FD* davixIoCommon::fd
protected

◆ handler

davixCommon& davixIoCommon::handler
protected

◆ path

const std::string& davixIoCommon::path
protected

The documentation for this class was generated from the following files:
davixIoCommon::handler
davixCommon & handler
Definition: davixCommon.h:227
davixCommon::getStat
std::unique_ptr< const genericStat > getStat(const std::string &path, bool followLink) override
Definition: davixCommon.cpp:185
davixIoCommon::path
const std::string & path
Definition: davixCommon.h:226