![]() |
![]() |
|
Index
Source Files
Annotated Class List
Alphabetical Class List
Class Hierarchy
Graphical Class Hierarchy
|
||
![]() |
![]() |
#include <FileStore.h>
Inheritance diagram for FIX::FileStoreFactory:


Public Member Functions | |
| FileStoreFactory (const SessionSettings &settings) | |
| FileStoreFactory (const std::string &path) | |
| MessageStore * | create (const SessionID &) |
| void | destroy (MessageStore *) |
Private Attributes | |
| std::string | m_path |
| SessionSettings | m_settings |
Definition at line 39 of file FileStore.h.
|
|
Definition at line 42 of file FileStore.h.
00043 : m_settings( settings ) {}; |
|
|
Definition at line 44 of file FileStore.h.
00045 : m_path( path ) {}; |
|
|
Implements FIX::MessageStoreFactory. Definition at line 175 of file FileStore.cpp. References FIX::FILE_STORE_PATH, FIX::SessionSettings::get(), FIX::Dictionary::getString(), QF_STACK_POP, and QF_STACK_PUSH.
00176 { QF_STACK_PUSH(FileStoreFactory::create)
00177
00178 if ( m_path.size() ) return new FileStore( m_path, s );
00179
00180 std::string path;
00181 Dictionary settings = m_settings.get( s );
00182 path = settings.getString( FILE_STORE_PATH );
00183 return new FileStore( path, s );
00184
00185 QF_STACK_POP
00186 }
|
|
|
Implements FIX::MessageStoreFactory. Definition at line 188 of file FileStore.cpp. References QF_STACK_POP, and QF_STACK_PUSH.
00189 { QF_STACK_PUSH(FileStoreFactory::destroy)
00190 delete pStore;
00191 QF_STACK_POP
00192 }
|
|
|
Definition at line 50 of file FileStore.h. |
|
|
Definition at line 51 of file FileStore.h. |
1.3.6-20040222 written by Dimitri van Heesch,
© 1997-2001