TAO_NS_FlatFileFactory Class Reference

#include <Flat_File_Persistence.h>

Inheritance diagram for TAO_NS_FlatFileFactory:

Inheritance graph
[legend]
Collaboration diagram for TAO_NS_FlatFileFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual TAO_Storable_Basecreate_stream (const ACE_CString &file, const ACE_TCHAR *mode)
 Create the stream that can operate on a disk file.


Member Function Documentation

TAO_Storable_Base * TAO_NS_FlatFileFactory::create_stream const ACE_CString file,
const ACE_TCHAR mode
[virtual]
 

Create the stream that can operate on a disk file.

Implements TAO_Naming_Service_Persistence_Factory.

Definition at line 350 of file Flat_File_Persistence.cpp.

References ACE_NEW_RETURN, ACE_TEXT_ALWAYS_CHAR, and ACE_TRACE.

00352 {
00353   ACE_TRACE("TAO_NS_FlatFileFactory::create_stream");
00354   TAO_Storable_Base *stream = 0;
00355 
00356   ACE_NEW_RETURN (stream,
00357                   TAO_NS_FlatFileStream(file, ACE_TEXT_ALWAYS_CHAR (mode)),
00358                   0);
00359   return stream;
00360 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:57:41 2006 for TAO_CosNaming by doxygen 1.3.6