uvector_view_tlate Class Template Reference

A base class for uvectors. More...

#include <uvector_tlate.h>

Inheritance diagram for uvector_view_tlate:

uvector_base_tlate uvector_const_view_tlate umatrix_row_tlate uvector_array_tlate uvector_subvector_tlate

Detailed Description

template<class data_t>
class uvector_view_tlate< data_t >

A base class for uvectors.

Definition at line 477 of file uvector_tlate.h.


Public Member Functions

Copy constructors
 uvector_view_tlate (const uvector_view_tlate &v)
 Copy constructor - create a new view of the same vector.
uvector_view_tlateoperator= (const uvector_view_tlate &v)
 Copy constructor - create a new view of the same vector.
 uvector_view_tlate (uvector_base_tlate< data_t > &v)
 Copy constructor - create a new view of the same vector.
uvector_view_tlateoperator= (uvector_base_tlate< data_t > &v)
 Copy constructor - create a new view of the same vector.
Get and set methods
data_t & operator[] (size_t i) const
 Array-like indexing.
data_t & operator() (size_t i) const
 Array-like indexing.
data_t * get_ptr (size_t i) const
 Get pointer (with optional range-checking).
int set (size_t i, data_t val) const
 Set (with optional range-checking).
int set_all (data_t val) const
 Set all of the value to be the value val.

Protected Member Functions

 uvector_view_tlate ()
 Empty constructor provided for use by uvector_view_tlate(const uvector_view_tlate &v).

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page