template < class C > class CWTemp Copy on write data vector class template.
The CWTemp template classes allow data in a specified container to be shared by more than one Data vector without forcing a copy. This is especially useful for reducing overheads when passing ownership of long data vectors. A data vector can be copied using the assignment (=) operator, and the data container is referenced with the getRef method.
typedef C container_t
typedef pair <size_t, container_t> node_t
typedef typename C::iterator iterator
typedef typename C::const_iterator const_iterator
typedef typename C::value_type value_type
CWTemp(void)
explicit CWTemp(size_t N)
CWTemp(const CWTemp& x)
~CWTemp(void)
CWTemp& operator=(const CWTemp& x)
size_t getSize(void) const
size_t getLength(void) const
const_iterator begin(void) const
iterator begin(void)
const_iterator end(void) const
iterator end(void)
const container_t& getRef(void) const
container_t& getRef(void)
const value_type& operator[](size_t i) const
value_type& operator[](size_t i)
alphabetic index hierarchy of classes
generated by doc++