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