aboutsummaryrefslogtreecommitdiffstats
path: root/generator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-23 22:28:34 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-09-12 15:52:48 -0300
commit53bd31b8564177a9f9871e715903c4cf43e079cf (patch)
tree62edaab0517f388d9ff0f6ae3c740ee9b66d5c99 /generator.h
parenta1e245f198d8b933572ca0791f02061667a42edf (diff)
Collect the instantiated container types for the current module.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'generator.h')
-rw-r--r--generator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/generator.h b/generator.h
index 4c20268e7..59cef78f3 100644
--- a/generator.h
+++ b/generator.h
@@ -277,9 +277,16 @@ protected:
*/
virtual QString subDirectoryForPackage(QString packageName = QString()) const;
+ QList<const AbstractMetaType*> instantiatedContainers() const;
+
+ static QString getSimplifiedContainerTypeName(const AbstractMetaType* type);
+ void addInstantiatedContainers(const AbstractMetaType* type);
+
private:
struct GeneratorPrivate;
GeneratorPrivate* m_d;
+ void collectInstantiatedContainers(const AbstractMetaFunction* func);
+ void collectInstantiatedContainers();
};
Q_DECLARE_OPERATORS_FOR_FLAGS(Generator::Options)