/** * jsonContainer.hh for jsonstroller * * Author: isundil **/ #pragma once #include #include "jsonElement.hh" class JSonContainer: public JSonElement, public std::list { public: JSonContainer(JSonContainer *parent); virtual ~JSonContainer(); virtual float diff(const JSonElement *) const; virtual bool operator==(const JSonElement *) const; /** * Get the first item of this container **/ virtual JSonElement *firstChild() =0; virtual const JSonElement *firstChild() const =0; };