#include <Flat_File_Persistence.h>
Inheritance diagram for TAO_NS_FlatFileFactory:
Public Member Functions | |
virtual TAO_Storable_Base * | create_stream (const ACE_CString &file, const ACE_TCHAR *mode) |
Create the stream that can operate on a disk file. |
|
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 } |