desktop: made it possible to run Detect() multiple times in EvoSources
[barry/progweb.git] / src / dp_parser.h
blob17bab36400bbe14569df15190651ec821da8a50f
1 /**
2 * @file dp_parser.h
3 * @author Nicolas VIVIEN
4 * @date 2009-08-01
6 * @note CopyRight Nicolas VIVIEN
8 * @brief COD debug file parser
10 * @par Modifications
11 * - 2009/08/01 : N. VIVIEN
12 * - First release
14 * @par Licences
15 * Copyright (C) 2009-2010, Nicolas VIVIEN
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26 * See the GNU General Public License in the COPYING file at the
27 * root directory of this project for more details.
31 #ifndef __BARRYJDG_PARSER_H__
32 #define __BARRYJDG_PARSER_H__
34 #include <iosfwd>
35 #include <string>
36 #include <stdint.h>
38 namespace Barry {
40 namespace JDG {
42 std::string ParseString(std::istream &input, const int length);
43 uint32_t ParseInteger(std::istream &input);
45 } // namespace JDG
47 } // namespace Barry
49 #endif