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

Represents an entry of FileStatus. More...

Public Member Functions

 Entry ()
 Default constructor. More...
 
virtual ~Entry ()
 Virtual destructor. More...
 
void pendingOpen (const bool fPendingOpen, const bool fForWrite)
 
void pendingOpen (const string &strRenamedFromLocal)
 
void truncated (const bool fTruncated)
 
const bool pendingOpen () const
 
const bool truncated () const
 
int release (const int iFh)
 
int flush (const string &strFromLocalPath, const string &strToPat)
 

Private Attributes

bool m_fPendingOpen
 
bool m_fForWrite
 
bool m_fTruncated
 
string m_strRenamedFromLocal
 

Detailed Description

Represents an entry of FileStatus.

Definition at line 131 of file fileInfoCache.h.

Constructor & Destructor Documentation

FileStatus::Entry::Entry ( )
inline

Default constructor.

Definition at line 135 of file fileInfoCache.h.

virtual FileStatus::Entry::~Entry ( )
inlinevirtual

Virtual destructor.

Definition at line 138 of file fileInfoCache.h.

Member Function Documentation

int FileStatus::Entry::flush ( const string &  strFromLocalPath,
const string &  strToPat 
)

Definition at line 217 of file fileinfoCache.cpp.

Here is the call graph for this function:

void FileStatus::Entry::pendingOpen ( const bool  fPendingOpen,
const bool  fForWrite 
)
inline

Definition at line 141 of file fileInfoCache.h.

Here is the caller graph for this function:

void FileStatus::Entry::pendingOpen ( const string &  strRenamedFromLocal)
inline

Definition at line 142 of file fileInfoCache.h.

const bool FileStatus::Entry::pendingOpen ( ) const
inline

Definition at line 146 of file fileInfoCache.h.

int FileStatus::Entry::release ( const int  iFh)

Definition at line 201 of file fileinfoCache.cpp.

void FileStatus::Entry::truncated ( const bool  fTruncated)
inline

Definition at line 143 of file fileInfoCache.h.

Here is the caller graph for this function:

const bool FileStatus::Entry::truncated ( ) const
inline

Definition at line 147 of file fileInfoCache.h.

Member Data Documentation

bool FileStatus::Entry::m_fForWrite
private

Definition at line 155 of file fileInfoCache.h.

bool FileStatus::Entry::m_fPendingOpen
private

Definition at line 154 of file fileInfoCache.h.

bool FileStatus::Entry::m_fTruncated
private

Definition at line 156 of file fileInfoCache.h.

string FileStatus::Entry::m_strRenamedFromLocal
private

Definition at line 157 of file fileInfoCache.h.


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