• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • runner
  • json
JsonParser.h
Go to the documentation of this file.
1 /*
2  This file is part of the Marble Virtual Globe.
3 
4  This program is free software licensed under the GNU LGPL. You can
5  find a copy of this license in LICENSE.txt in the top directory of
6  the source code.
7 
8  Copyright 2013 Ander Pijoan <ander.pijoan@deusto.es>
9 */
10 
11 #ifndef MARBLE_JSONPARSER_H
12 #define MARBLE_JSONPARSER_H
13 
14 #include "GeoDataDocument.h"
15 
16 #include <QScriptEngine>
17 #include <QScriptValue>
18 #include <QScriptValueIterator>
19 
20 namespace Marble {
21 
22 class JsonParser
23 {
24 public:
25  JsonParser();
26  ~JsonParser();
27 
32  bool read(QIODevice*);
33 
39  GeoDataDocument* releaseDocument();
40 
41 private:
42 
43  GeoDataDocument* m_document;
44 };
45 
46 }
47 
48 #endif // MARBLE_JSONPARSER_H
GeoDataDocument.h
Marble::GeoDataDocument
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:64
Marble::JsonParser::releaseDocument
GeoDataDocument * releaseDocument()
retrieve the parsed document and reset the parser If parsing was successful, retrieve the resulting d...
Definition: JsonParser.cpp:32
Marble::JsonParser::~JsonParser
~JsonParser()
Definition: JsonParser.cpp:27
Marble::JsonParser::read
bool read(QIODevice *)
parse the json file
Definition: JsonParser.cpp:39
Marble::JsonParser::JsonParser
JsonParser()
Definition: JsonParser.cpp:23
Marble::JsonParser
Definition: JsonParser.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal