summaryrefslogtreecommitdiff
path: root/include/VBox/com/array.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@debian.org>2010-06-04 09:49:50 +0200
committerMichael Meskes <meskes@debian.org>2010-06-04 09:49:50 +0200
commite13debb062071c46f2707d0d0e59c57675b49360 (patch)
tree922f54068563b5cf3274bae8ba8122ce4b4ede1d /include/VBox/com/array.h
parentabd0051802e55207e88435a185ff8d6e6b8d17d5 (diff)
downloadvirtualbox-upstream/3.2.2-dfsg.tar.gz
Imported Upstream version 3.2.2-dfsgupstream/3.2.2-dfsg
Diffstat (limited to 'include/VBox/com/array.h')
-rw-r--r--include/VBox/com/array.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/VBox/com/array.h b/include/VBox/com/array.h
index 755e5155e..128d32233 100644
--- a/include/VBox/com/array.h
+++ b/include/VBox/com/array.h
@@ -711,6 +711,11 @@ public:
bool isNull() const { return m.arr == NULL; }
/**
+ * Returns @c true if this instance does not represents a null array.
+ */
+ bool isNotNull() const { return m.arr != NULL; }
+
+ /**
* Resets this instance to null and, if this instance is not a weak one,
* releases any resources occupied by the array data.
*