#include <uvector_tlate.h>
There are several global binary operators associated with objects of type uvector_tlate. The are documented in the "Functions" section of uvector_tlate.h.
Definition at line 386 of file uvector_tlate.h.
Public Member Functions | |
~uvector_tlate () | |
Standard constructor | |
uvector_tlate (size_t n=0) | |
Create an uvector of size n with owner as 'true'. | |
Copy constructors | |
uvector_tlate (const uvector_tlate &v) | |
Deep copy constructor - allocate new space and make a copy. | |
uvector_tlate (const uvector_view_tlate< data_t > &v) | |
Deep copy constructor - allocate new space and make a copy. | |
uvector_tlate & | operator= (const uvector_tlate &v) |
Deep copy constructor - if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
uvector_tlate & | operator= (const uvector_view_tlate< data_t > &v) |
Deep copy constructor - if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
Memory allocation | |
int | allocate (size_t nsize) |
Allocate memory for size n after freeing any memory presently in use. | |
int | free () |
Free the memory. | |
Other methods | |
int | erase (size_t ix) |
Erase an element from the array. |
int free | ( | ) | [inline] |
Free the memory.
This function will safely do nothing if used without first allocating memory or if called multiple times in succession.
Definition at line 546 of file uvector_tlate.h.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page