OpenDDS::FileSystemStorage::File Class Reference

#include <FileSystemStorage.h>

Inheritance diagram for OpenDDS::FileSystemStorage::File:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::FileSystemStorage::File:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RcHandle< FilePtr

Public Member Functions

bool write (std::ofstream &stream)
bool read (std::ifstream &stream)
bool remove ()
std::string name () const
Directory::Ptr parent () const

Private Member Functions

 File (const ACE_TString &fname_phys, const ACE_TString &logical, Directory *parent)

Private Attributes

ACE_TString physical_file_
ACE_TString physical_dir_
ACE_TString logical_relative_
Directory::Ptr parent_

Friends

class Directory
class Directory::Iterator

Member Typedef Documentation

typedef RcHandle<File> OpenDDS::FileSystemStorage::File::Ptr


Constructor & Destructor Documentation

OpenDDS::FileSystemStorage::File::File ( const ACE_TString &  fname_phys,
const ACE_TString &  logical,
Directory parent 
) [private]


Member Function Documentation

std::string OpenDDS::FileSystemStorage::File::name (  )  const

Directory::Ptr OpenDDS::FileSystemStorage::File::parent (  )  const [inline]

bool OpenDDS::FileSystemStorage::File::read ( std::ifstream &  stream  ) 

bool OpenDDS::FileSystemStorage::File::remove (  ) 

bool OpenDDS::FileSystemStorage::File::write ( std::ofstream &  stream  ) 


Friends And Related Function Documentation

friend class Directory [friend]

friend class Directory::Iterator [friend]


Member Data Documentation

ACE_TString OpenDDS::FileSystemStorage::File::logical_relative_ [private]

Directory::Ptr OpenDDS::FileSystemStorage::File::parent_ [private]

ACE_TString OpenDDS::FileSystemStorage::File::physical_dir_ [private]

ACE_TString OpenDDS::FileSystemStorage::File::physical_file_ [private]


The documentation for this class was generated from the following files:
Generated on Wed Nov 16 15:29:33 2011 for OpenDDS by  doxygen 1.4.7