aboutsummaryrefslogtreecommitdiffstats
path: root/generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator.h')
-rw-r--r--generator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/generator.h b/generator.h
index 484327d32..eeaa07e29 100644
--- a/generator.h
+++ b/generator.h
@@ -242,6 +242,18 @@ public:
/// Returns true if the type is a void pointer.
static bool isVoidPointer(const AbstractMetaType* type);
+ // Returns the full name of the type.
+ QString getFullTypeName(const TypeEntry* type) const;
+ QString getFullTypeName(const AbstractMetaType* type) const;
+ QString getFullTypeName(const AbstractMetaClass* metaClass) const;
+
+ /**
+ * Returns the full qualified C++ name for an AbstractMetaType, but removing modifiers
+ * as 'const', '&', and '*' (except if the class is not derived from a template).
+ * This is useful for instantiated templates.
+ */
+ QString getFullTypeNameWithoutModifiers(const AbstractMetaType* type) const;
+
/**
* Tries to build a minimal constructor for the type.
* It will check first for a user defined default constructor.