Settings.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef FIX_SETTINGS_H
00023 #define FIX_SETTINGS_H
00024
00025 #ifdef _MSC_VER
00026 #pragma warning( disable : 4503 4355 4786 4290 )
00027 #endif
00028
00029 #include "Dictionary.h"
00030 #include <string>
00031 #include <vector>
00032 #include <map>
00033 #include <iostream>
00034
00035 namespace FIX
00036 {
00038 class Settings
00039 {
00040 public:
00041 typedef std::vector < Dictionary > Sections;
00042
00043 Sections get( std::string name ) const;
00044
00045 friend std::istream& operator>>( std::istream&, Settings& );
00046 private:
00047 Sections m_sections;
00048 };
00049
00050 std::istream& operator>>( std::istream&, Settings& );
00051 }
00052
00053 #endif //FIX_SETTINGS_H