|
|
@@ -112,6 +112,8 @@ PUBLISHED:
|
|
|
INLINE int get_ref_count() const;
|
|
|
INLINE int get_node_ref_count() const;
|
|
|
|
|
|
+ INLINE size_t count(const Element &) const;
|
|
|
+
|
|
|
#ifdef HAVE_PYTHON
|
|
|
EXTENSION(int __getbuffer__(PyObject *self, Py_buffer *view, int flags));
|
|
|
EXTENSION(void __releasebuffer__(PyObject *self, Py_buffer *view) const);
|
|
|
@@ -214,6 +216,8 @@ public:
|
|
|
INLINE void node_ref() const;
|
|
|
INLINE bool node_unref() const;
|
|
|
|
|
|
+ INLINE size_t count(const Element &) const;
|
|
|
+
|
|
|
// Reassignment is by pointer, not memberwise as with a vector.
|
|
|
INLINE PointerToArray<Element> &
|
|
|
operator = (ReferenceCountedVector<Element> *ptr);
|
|
|
@@ -266,6 +270,8 @@ PUBLISHED:
|
|
|
INLINE int get_ref_count() const;
|
|
|
INLINE int get_node_ref_count() const;
|
|
|
|
|
|
+ INLINE size_t count(const Element &) const;
|
|
|
+
|
|
|
#ifdef HAVE_PYTHON
|
|
|
EXTENSION(int __getbuffer__(PyObject *self, Py_buffer *view, int flags) const);
|
|
|
EXTENSION(void __releasebuffer__(PyObject *self, Py_buffer *view) const);
|
|
|
@@ -341,6 +347,8 @@ PUBLISHED:
|
|
|
INLINE void node_ref() const;
|
|
|
INLINE bool node_unref() const;
|
|
|
|
|
|
+ INLINE size_t count(const Element &) const;
|
|
|
+
|
|
|
// Reassignment is by pointer, not memberwise as with a vector.
|
|
|
INLINE ConstPointerToArray<Element> &
|
|
|
operator = (ReferenceCountedVector<Element> *ptr);
|