#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 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 } |