Same as get_element(), this returns the nth element of the array. Definition at line 1074 of file pointerToArray.I.
template<class Element >
Casts away the constness of the CPTA(Element), and returns an equivalent PTA(Element). Definition at line 1045 of file pointerToArray.I. Referenced by Texture::do_set_ram_image().
template<class Element >
To empty the PTA, use the clear() method, since assignment to NULL is problematic (given the ambiguity of the pointer type of NULL). Reimplemented from PointerToBase< ReferenceCountedVector< Element > >. Definition at line 1209 of file pointerToArray.I.
template<class Element >
This method exists mainly to access the data of the array easily from a high-level language such as Python. It returns the entire contents of the vector as a block of raw data in a string. Definition at line 1090 of file pointerToArray.I. References PointerToArray< Element >::get_subdata().
template<class Element >
This method exists mainly to access the elements of the array easily from a high-level language such as Python, especially on Windows, where the above index element accessor methods can't be defined because of a confusion with the pointer typecast operator. Definition at line 1062 of file pointerToArray.I.
template<class Element >
Returns the node_ref of the underlying vector. Definition at line 1132 of file pointerToArray.I. References PointerToArray< Element >::get_node_ref_count().
template<class Element >
Returns the reference count of the underlying vector. Definition at line 1121 of file pointerToArray.I. References PointerToArray< Element >::get_ref_count().
template<class Element >
This method exists mainly to access the data of the array easily from a high-level language such as Python. It returns the contents of a portion of the vector--from element (n) through element (n + count - 1)--as a block of raw data in a string. Definition at line 1107 of file pointerToArray.I. References PointerToArray< Element >::p().
template<class Element >
Increments the node_ref of the underlying vector. Definition at line 1143 of file pointerToArray.I. References PointerToArray< Element >::node_ref().
template<class Element >
Decrements the node_ref of the underlying vector. Definition at line 1157 of file pointerToArray.I.
template<class Element >
The pointer typecast operator is convenient for maintaining the fiction that we actually have a C-style array. It returns the address of the first element in the array, unless the pointer is unassigned, in which case it returns NULL. Definition at line 991 of file pointerToArray.I.
template<class Element >
Function p() is similar to the function from ConstPointerTo. It does the same thing: it returns the same thing as the typecast operator, above. Definition at line 1005 of file pointerToArray.I. Referenced by WebBrowserTexture::cull_callback(), and TexturePeeker::lookup().
template<class Element >
To access the vector itself, for more direct fiddling with some of the vector's esoteric functionality. Definition at line 1018 of file pointerToArray.I. Referenced by Datagram::copy_array().
template<class Element >
To access the internal ReferenceCountedVector object, for very low-level fiddling. Know what you are doing! Definition at line 1033 of file pointerToArray.I. The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||