IBR-DTN  1.0.0
io::FATFile Class Reference

#include <FATFile.h>

Inheritance diagram for io::FATFile:
Inheritance graph
Collaboration diagram for io::FATFile:
Collaboration graph

Public Member Functions

 FATFile (const FatImageReader &reader)
 
 FATFile (const FatImageReader &reader, const std::string &file_path)
 
virtual ~FATFile ()
 
int getFiles (std::list< FATFile > &files) const
 
virtual int remove (bool recursive)
 
FATFile get (const std::string &filename) const
 
FATFile getParent () const
 
virtual bool exists () const
 
virtual void update ()
 
virtual size_t size () const
 
virtual time_t lastaccess () const
 
virtual time_t lastmodify () const
 
virtual time_t laststatchange () const
 
const FatImageReadergetReader () const
 

Detailed Description

Definition at line 39 of file FATFile.h.

Constructor & Destructor Documentation

io::FATFile::FATFile ( const FatImageReader reader)

Definition at line 32 of file FATFile.cpp.

Referenced by get(), and getParent().

io::FATFile::FATFile ( const FatImageReader reader,
const std::string &  file_path 
)

Definition at line 37 of file FATFile.cpp.

References update().

Here is the call graph for this function:

io::FATFile::~FATFile ( )
virtual

Definition at line 43 of file FATFile.cpp.

Member Function Documentation

bool io::FATFile::exists ( ) const
virtual

Definition at line 76 of file FATFile.cpp.

References io::FatImageReader::exists().

Here is the call graph for this function:

FATFile io::FATFile::get ( const std::string &  filename) const

Definition at line 64 of file FATFile.cpp.

References FATFile().

Here is the call graph for this function:

int io::FATFile::getFiles ( std::list< FATFile > &  files) const

Definition at line 47 of file FATFile.cpp.

References io::FatImageReader::FatImageException::getErrorCode(), and io::FatImageReader::list().

Referenced by io::ObservedFile::findFiles().

Here is the call graph for this function:

FATFile io::FATFile::getParent ( ) const

Definition at line 70 of file FATFile.cpp.

References FATFile().

Here is the call graph for this function:

const FatImageReader & io::FATFile::getReader ( ) const

Definition at line 110 of file FATFile.cpp.

Referenced by io::TarUtils::write().

time_t io::FATFile::lastaccess ( ) const
virtual

Definition at line 95 of file FATFile.cpp.

References io::FatImageReader::lastaccess().

Referenced by lastmodify(), and laststatchange().

Here is the call graph for this function:

time_t io::FATFile::lastmodify ( ) const
virtual

Definition at line 100 of file FATFile.cpp.

References lastaccess().

Here is the call graph for this function:

time_t io::FATFile::laststatchange ( ) const
virtual

Definition at line 105 of file FATFile.cpp.

References lastaccess().

Here is the call graph for this function:

int io::FATFile::remove ( bool  recursive)
virtual

Definition at line 58 of file FATFile.cpp.

size_t io::FATFile::size ( ) const
virtual

Definition at line 90 of file FATFile.cpp.

References io::FatImageReader::size().

Here is the call graph for this function:

void io::FATFile::update ( )
virtual

Definition at line 81 of file FATFile.cpp.

References io::FatImageReader::isDirectory().

Referenced by FATFile().

Here is the call graph for this function:


The documentation for this class was generated from the following files: