PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/property_tree/detail/json_parser_error.hpp

http://hadesmem.googlecode.com/
C++ Header | 33 lines | 18 code | 5 blank | 10 comment | 0 complexity | 75a3bcf62dcf875180f9f391c0bf060b MD5 | raw file
 1// ----------------------------------------------------------------------------
 2// Copyright (C) 2002-2006 Marcin Kalicinski
 3//
 4// Distributed under the Boost Software License, Version 1.0. 
 5// (See accompanying file LICENSE_1_0.txt or copy at 
 6// http://www.boost.org/LICENSE_1_0.txt)
 7//
 8// For more information, see www.boost.org
 9// ----------------------------------------------------------------------------
10#ifndef BOOST_PROPERTY_TREE_DETAIL_JSON_PARSER_ERROR_HPP_INCLUDED
11#define BOOST_PROPERTY_TREE_DETAIL_JSON_PARSER_ERROR_HPP_INCLUDED
12
13#include <boost/property_tree/detail/file_parser_error.hpp>
14#include <string>
15
16namespace boost { namespace property_tree { namespace json_parser
17{
18
19    //! Json parser error
20    class json_parser_error: public file_parser_error
21    {
22    public:
23        json_parser_error(const std::string &message, 
24                          const std::string &filename, 
25                          unsigned long line): 
26            file_parser_error(message, filename, line)
27        { 
28        }
29    };
30
31} } }
32
33#endif