adbncfs  0.9.1
Public Member Functions | Private Attributes | List of all members
FileCache::Entry Class Reference

Represents an entry of FileCache. More...

Public Member Functions

 Entry ()
 Default constructor. More...
 
 Entry (const Entry &orig)
 Copy constructor. More...
 
Entryoperator= (const Entry &orig)
 Assignment operator. More...
 
virtual ~Entry ()
 Virtual destructor. More...
 
void timeStamp (const time_t &time)
 Set the entries time stamp. More...
 
void statOutput (const deque< string > &output)
 
void readLinkOutput (const deque< string > &output)
 
const time_t timeStamp () const
 
const deque< string > * statOutput () const
 
const deque< string > * readLinkOutput () const
 

Private Attributes

time_t m_Timestamp
 
deque< string > * m_pStatOutput
 
deque< string > * m_pReadLinkOutput
 

Detailed Description

Represents an entry of FileCache.

Definition at line 62 of file fileInfoCache.h.

Constructor & Destructor Documentation

FileCache::Entry::Entry ( )
inline

Default constructor.

Definition at line 66 of file fileInfoCache.h.

FileCache::Entry::Entry ( const Entry orig)

Copy constructor.

Definition at line 34 of file fileinfoCache.cpp.

FileCache::Entry::~Entry ( )
virtual

Virtual destructor.

Definition at line 79 of file fileinfoCache.cpp.

Member Function Documentation

FileCache::Entry & FileCache::Entry::operator= ( const Entry orig)

Assignment operator.

Parameters
origreference to right hand object.
Returns
a reference to the assignee.

Definition at line 50 of file fileinfoCache.cpp.

void FileCache::Entry::readLinkOutput ( const deque< string > &  output)

Definition at line 96 of file fileinfoCache.cpp.

Here is the caller graph for this function:

const deque<string>* FileCache::Entry::readLinkOutput ( ) const
inline

Definition at line 83 of file fileInfoCache.h.

void FileCache::Entry::statOutput ( const deque< string > &  output)

Definition at line 88 of file fileinfoCache.cpp.

Here is the caller graph for this function:

const deque<string>* FileCache::Entry::statOutput ( ) const
inline

Definition at line 82 of file fileInfoCache.h.

void FileCache::Entry::timeStamp ( const time_t &  time)
inline

Set the entries time stamp.

Parameters
timethe time stamp to set.

Definition at line 76 of file fileInfoCache.h.

Here is the caller graph for this function:

const time_t FileCache::Entry::timeStamp ( ) const
inline

Definition at line 81 of file fileInfoCache.h.

Member Data Documentation

deque<string>* FileCache::Entry::m_pReadLinkOutput
private

Definition at line 88 of file fileInfoCache.h.

deque<string>* FileCache::Entry::m_pStatOutput
private

Definition at line 87 of file fileInfoCache.h.

time_t FileCache::Entry::m_Timestamp
private

Definition at line 86 of file fileInfoCache.h.


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