diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-07 14:01:53 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:18 -0300 |
commit | c956f7307362d8ea2f0c2658b5954264fbf2bc05 (patch) | |
tree | 442566271a03f8a28c647b10cf3a512bf512aefe /abstractmetalang.h | |
parent | 389dab874764823c7a4b7a0b8a257f001d83ec02 (diff) |
AbstractMetaClasses now hold the instantiation types for the templates they implement.
AbstractMetaClasses that are typedefs for template class instantiations
use to keep the template from where they derive, but didn't keep the
values used for the derivation. Now this is fixed, and with an unit test.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r-- | abstractmetalang.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h index a3a8def6d..2851d1c70 100644 --- a/abstractmetalang.h +++ b/abstractmetalang.h @@ -1874,6 +1874,10 @@ public: m_templateBaseClass = cls; } + bool hasTemplateBaseClassInstantiations() const; + AbstractMetaTypeList templateBaseClassInstantiations() const; + void setTemplateBaseClassInstantiations(AbstractMetaTypeList& instantiations); + void setTypeAlias(bool typeAlias) { m_isTypeAlias = typeAlias; |