diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2009-08-25 19:56:05 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2009-08-26 15:08:33 -0300 |
commit | 66b4e57c4c48cfe730dce2671eca25f3434d13a6 (patch) | |
tree | fee21e9658cfc5dc6d50b3161ce48322700a38c8 /abstractmetalang.h | |
parent | 3c06795f3cf8fcee47208f8b0759cd270eaedbb6 (diff) |
Create a new method to AbstractType: isValuePointer.
Separeted value pointers from native pointer for help generators.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r-- | abstractmetalang.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h index e313b7b01..c28da46d6 100644 --- a/abstractmetalang.h +++ b/abstractmetalang.h @@ -318,6 +318,7 @@ public: CharPattern, ObjectPattern, QObjectPattern, + ValuePointerPattern, NativePointerPattern, ContainerPattern, VariantPattern, @@ -428,6 +429,11 @@ public: return m_pattern == ValuePattern; } + bool isValuePointer() const + { + return m_pattern == ValuePointerPattern; + } + // returns true for more complex types... bool isNativePointer() const { |