Idfxt

This pull request is for the sake of conversation, not necessarily with the intent to merge.  yet. 
On Wednesday, December 17, 2014 01:01:09 PM Kyle Benne wrote:
> > +#ifndef JSONDATAINTERFACE_H
> > +#define JSONDATAINTERFACE_H
> > +
> > +#include <string>
> > +
> > +extern "C"
> > +{
> > +#include "../../third_party/cJSON/cJSON.h"
> > +}
> > +
> > +namespace idfx {
> > +
> > +class JSONDataInterface
> > +{
> > +public:
> > +    JSONDataInterface() : JSONDataInterface(""){};
> 
> Does this thing work without a schema?
> 

getSchema() gets the idd data to load into the cJSON structure.  I'd been 
using Qt's cross-platform resource file system to include a pretty-printed idd 
json file, or to read it from the operating system's private app data folder.  
But, having neither of those options in a cross-platform way with straight C++ 
(I'd only found "experimental" support in c++-11), I opted to build it all 
into the binary -- and, yes -- it turned out really fast.

> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/NREL/EnergyPlus/pull/4636/files#r22003746