JsonCpp project page JsonCpp home page

features.h

Go to the documentation of this file.
00001 // Copyright 2007-2010 Baptiste Lepilleur
00002 // Distributed under MIT license, or public domain if desired and
00003 // recognized in your jurisdiction.
00004 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
00005 
00006 #ifndef CPPTL_JSON_FEATURES_H_INCLUDED
00007 # define CPPTL_JSON_FEATURES_H_INCLUDED
00008 
00009 #if !defined(JSON_IS_AMALGAMATION)
00010 # include "forwards.h"
00011 #endif // if !defined(JSON_IS_AMALGAMATION)
00012 
00013 namespace Json {
00014 
00019    class JSON_API Features
00020    {
00021    public:
00027       static Features all();
00028 
00034       static Features strictMode();
00035 
00038       Features();
00039 
00041       bool allowComments_;
00042 
00044       bool strictRoot_;
00045    };
00046 
00047 } // namespace Json
00048 
00049 #endif // CPPTL_JSON_FEATURES_H_INCLUDED

SourceForge Logo hosts this site. Send comments to:
Json-cpp Developers