-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathUnzipMktSymbols.h
37 lines (32 loc) · 1.53 KB
/
UnzipMktSymbols.h
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
/************************************************************************
* Copyright(c) 2009, One Unified. All rights reserved. *
* email: [email protected] *
* *
* 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. *
************************************************************************/
#pragma once
#include <boost/shared_array.hpp>
namespace ou { // One Unified
namespace tf { // TradeFrame
namespace iqfeed { // IQFeed
class UnZipMktSymbolsFile {
public:
UnZipMktSymbolsFile(void): m_nUnZippedFileSize( 0 ) {};
~UnZipMktSymbolsFile(void) {};
typedef boost::shared_array<char> pUnZippedFile_t;
pUnZippedFile_t UnZip( char* pchSource, size_t nSourceSize );
size_t UnZippedFileSize( void ) const { return m_nUnZippedFileSize; };
protected:
private:
size_t m_nUnZippedFileSize;
};
} // namespace iqfeed
} // namespace tf
} // namespace ou