-
Notifications
You must be signed in to change notification settings - Fork 156
/
ParseMktSymbolLine.cpp
41 lines (34 loc) · 1.55 KB
/
ParseMktSymbolLine.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/************************************************************************
* Copyright(c) 2009, One Unified. All rights reserved. *
* email: info@oneunified.net *
* *
* This file is provided as is WITHOUT ANY WARRANTY *
* without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* This software may not be used nor distributed without proper license *
* agreement. *
* *
* See the file LICENSE.txt for redistribution information. *
************************************************************************/
//#include "StdAfx.h"
#include <string>
#include "ParseMktSymbolLine.h"
namespace ou { // One Unified
namespace tf { // TradeFrame
namespace iqfeed { // IQFeed
void doout( const std::string& s ) {
std::cout << "'" << s << "'" << std::endl;
}
// http://www.relisoft.com/book/tech/6lib.html
class LessThan
: public std::function<bool(char const *, char const *)> {
public:
bool operator () (char const * str1,
char const * str2) const {
return strcmp (str1, str2) < 0;
}
};
} // namespace iqfeed
} // namespace tf
} // namespace ou