30 lines
420 B
C++
30 lines
420 B
C++
/*
|
|
* mdJSON.hpp
|
|
*
|
|
* Created on: Jan 28, 2014
|
|
* Author: jdaugherty
|
|
*/
|
|
|
|
#ifndef MDJSON_HPP_
|
|
#define MDJSON_HPP_
|
|
|
|
class mdJSON {
|
|
private:
|
|
|
|
std::string path;
|
|
|
|
public:
|
|
|
|
bool fatal;
|
|
|
|
mdJSON (char *fileName);
|
|
~mdJSON();
|
|
bool parse();
|
|
bool didDie() {return fatal;}
|
|
void die(){ fatal = true;}
|
|
|
|
};
|
|
|
|
#endif /* MDJSON_HPP_ */
|
|
|