00001 /** 00002 * @file dp_parser.h 00003 * @author Nicolas VIVIEN 00004 * @date 2009-08-01 00005 * 00006 * @note CopyRight Nicolas VIVIEN 00007 * 00008 * @brief COD debug file parser 00009 * 00010 * @par Modifications 00011 * - 2009/08/01 : N. VIVIEN 00012 * - First release 00013 * 00014 * @par Licences 00015 * Copyright (C) 2009-2010, Nicolas VIVIEN 00016 * 00017 * This program is free software; you can redistribute it and/or modify 00018 * it under the terms of the GNU General Public License as published by 00019 * the Free Software Foundation; either version 2 of the License, or 00020 * (at your option) any later version. 00021 * 00022 * This program is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00025 * 00026 * See the GNU General Public License in the COPYING file at the 00027 * root directory of this project for more details. 00028 */ 00029 00030 00031 #ifndef __BARRYJDG_PARSER_H__ 00032 #define __BARRYJDG_PARSER_H__ 00033 00034 #include <iosfwd> 00035 #include <string> 00036 #include <stdint.h> 00037 00038 namespace Barry { 00039 00040 namespace JDG { 00041 00042 std::string ParseString(std::istream &input, const int length); 00043 uint32_t ParseInteger(std::istream &input); 00044 00045 } // namespace JDG 00046 00047 } // namespace Barry 00048 00049 #endif 00050