5 #ifndef OS_INTERFACES_DIRECTORYINTERFACE_HPP_ 6 #define OS_INTERFACES_DIRECTORYINTERFACE_HPP_ 78 virtual void close() = 0;
83 #endif // OS_INTERFACES_DIRECTORYINTERFACE_HPP_
virtual DirectoryHandle * getHandle()=0
return the underlying Directory handle (implementation specific)
virtual ~DirectoryInterface()=default
default virtual destructor
virtual Status read(char *fileNameBuffer, FwSizeType buffSize)=0
Get next filename from directory stream.
PlatformSizeType FwSizeType
DirectoryInterface()=default
default constructor
DirectoryInterface & operator=(const DirectoryInterface &other)=delete
assignment operator is forbidden
types and constants shared by users of Os::Directory and by its implementations
virtual Status open(const char *path, OpenMode mode)=0
Open or create a directory.
virtual Status rewind()=0
Rewind directory stream.
virtual void close()=0
Get next filename from directory stream and write it to a Fw::StringBase object.