#pragma once #include #include class JModule : public JObject { public: bool AddModule(JModule* _module); bool AddNameSpace(JObject* _ns); bool AddMethod(JObject* _method); bool AddType(JObject* _type); bool AddInterface(JObject* _interface); bool AddConst(JObject* _const); bool AddTag(JObject* _tag); bool AddField(JObject* _field); public: JString toString(); JString toXml(); };