aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 11:23:29 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 14:44:59 -0300
commitcaa2fdfe7fa7c9450bb06dc1e6c017a04e6fa403 (patch)
tree0894ce552ffda28464fe8ce411029342e144aed0 /shibokengenerator.h
parent42154013b5ecd075288c7ccc9fe341875ad3431b (diff)
Adds ShibokenGenerator::getExtendedConverters() method.
It returns all types from a previous module that could be generated by a conversion operator defined in the current module, as well as all the possible arguments for the conversion.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r--shibokengenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h
index 34ad26177..0aca6641b 100644
--- a/shibokengenerator.h
+++ b/shibokengenerator.h
@@ -324,6 +324,12 @@ protected:
AbstractMetaFunctionList filterFunctions(const AbstractMetaClass* metaClass);
+ // All data about extended converters: the type entries of the target type, and a
+ // list of AbstractMetaClasses accepted as argument for the conversion.
+ typedef QHash<const TypeEntry*, QList<const AbstractMetaClass*> > ExtendedConverterData;
+ /// Returns all extended conversions for the current module.
+ ExtendedConverterData getExtendedConverters() const;
+
Indentor INDENT;
private:
bool m_useCtorHeuristic;