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 378 of file Flat_File_Persistence.cpp.

References ACE_NEW_RETURN, ACE_TEXT_ALWAYS_CHAR, and ACE_TRACE.

00380 {
00381   ACE_TRACE("TAO_NS_FlatFileFactory::create_stream");
00382   TAO_Storable_Base *stream = 0;
00383 
00384   ACE_NEW_RETURN (stream,
00385                   TAO_NS_FlatFileStream(file, ACE_TEXT_ALWAYS_CHAR (mode)),
00386                   0);
00387   return stream;
00388 }


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 16:16:16 2008 for TAO_CosNaming by doxygen 1.3.6