TAO  2.4.0
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
TAO::Storable_FlatFileFactory Class Reference

#include <Storable_FlatFileStream.h>

Inheritance diagram for TAO::Storable_FlatFileFactory:
Inheritance graph
Collaboration diagram for TAO::Storable_FlatFileFactory:
Collaboration graph

Public Member Functions

 Storable_FlatFileFactory (const ACE_CString &directory, bool use_backup=Storable_Base::use_backup_default)
 Storable_FlatFileFactory (const ACE_CString &directory, bool use_backup, bool retry_on_ebadf)
const ACE_CStringget_directory () const
 ~Storable_FlatFileFactory ()
virtual Storable_Basecreate_stream (const ACE_CString &file, const char *mode, bool=false)
 Create the stream that can operate on a disk file. More...
- Public Member Functions inherited from TAO::Storable_Factory
 Storable_Factory ()
virtual ~Storable_Factory ()

Static Private Member Functions

static bool is_nfs (const ACE_CString &dir)

Private Attributes

ACE_CString directory_
bool use_backup_
bool retry_on_ebadf_

Constructor & Destructor Documentation

TAO::Storable_FlatFileFactory::Storable_FlatFileFactory ( const ACE_CString directory,
bool  use_backup = Storable_Base::use_backup_default 
directoryDirectory to contain file passed in create_stream (). The directory is assumed to already exist.
TAO::Storable_FlatFileFactory::Storable_FlatFileFactory ( const ACE_CString directory,
bool  use_backup,
bool  retry_on_ebadf 
TAO::Storable_FlatFileFactory::~Storable_FlatFileFactory ( )

Member Function Documentation

TAO::Storable_Base * TAO::Storable_FlatFileFactory::create_stream ( const ACE_CString file,
const char *  mode,
bool  = false 

Create the stream that can operate on a disk file.

Implements TAO::Storable_Factory.

const ACE_CString & TAO::Storable_FlatFileFactory::get_directory ( ) const
bool TAO::Storable_FlatFileFactory::is_nfs ( const ACE_CString dir)

Member Data Documentation

ACE_CString TAO::Storable_FlatFileFactory::directory_
bool TAO::Storable_FlatFileFactory::retry_on_ebadf_
bool TAO::Storable_FlatFileFactory::use_backup_

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