Settings.h
Go to the documentation of this file.
1/* -*- C++ -*- */
2
3/****************************************************************************
4** Copyright (c) 2001-2014
5**
6** This file is part of the QuickFIX FIX Engine
7**
8** This file may be distributed under the terms of the quickfixengine.org
9** license as defined by quickfixengine.org and appearing in the file
10** LICENSE included in the packaging of this file.
11**
12** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
13** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14**
15** See http://www.quickfixengine.org/LICENSE for licensing information.
16**
17** Contact ask@quickfixengine.org if any conditions of this licensing are
18** not clear to you.
19**
20****************************************************************************/
21
22#ifndef FIX_SETTINGS_H
23#define FIX_SETTINGS_H
24
25#ifdef _MSC_VER
26#pragma warning( disable : 4503 4355 4786 4290 )
27#endif
28
29#include "Dictionary.h"
30#include <string>
31#include <vector>
32#include <map>
33#include <iostream>
34
35namespace FIX
36{
39{
40public:
42
43 typedef std::vector < Dictionary > Sections;
44
45 Sections get( const std::string& name ) const;
46
47 friend std::istream& operator>>( std::istream&, Settings& );
48private:
51};
52
53std::istream& operator>>( std::istream&, Settings& );
54}
55
56#endif //FIX_SETTINGS_H
Internal representation of QuickFIX configuration settings.
Definition Settings.h:39
friend std::istream & operator>>(std::istream &, Settings &)
Definition Settings.cpp:134
std::vector< Dictionary > Sections
Definition Settings.h:43
bool m_resolveEnvVars
Definition Settings.h:50
Settings(bool resolveEnvVars=false)
Definition Settings.h:41
Sections m_sections
Definition Settings.h:49
Sections get(const std::string &name) const
Definition Settings.cpp:162
std::string resolveEnvVars(const std::string &str)
Definition Settings.cpp:65
std::istream & operator>>(std::istream &stream, SessionID &sessionID)
Definition SessionID.h:160

Generated on Mon Mar 4 2024 21:10:02 for QuickFIX by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2001