Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Storable_Factory.h
blobdd787fb01e252d347988d28a025e966730b43658
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Storable_Factory.h
7 * @author Byron Harris <harrisb@ociweb.com>
8 */
9 //=============================================================================
11 #ifndef TAO_STORABLE_FACTORY_H
12 #define TAO_STORABLE_FACTORY_H
14 #include /**/ "ace/pre.h"
15 #include "ace/config-lite.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Storable_Base.h"
23 #include "ace/SString.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 namespace TAO
29 class TAO_Export Storable_Factory
31 public:
32 Storable_Factory();
34 virtual ~Storable_Factory();
36 // Factory Methods
38 virtual Storable_Base *create_stream(const ACE_CString & file,
39 const char * mode,
40 bool use_backup =
41 Storable_Base::use_backup_default) = 0;
45 TAO_END_VERSIONED_NAMESPACE_DECL
47 #include /**/ "ace/post.h"
49 #endif /* TAO_STORABLE_FACTORY_H */