template<class T> LCVMarray<T> LCVMarray(const int array_size)

not have a default constructor, then the array is not initialized...)

[more]friend ostream& operator<<<>(ostream&, const LCVMarray<T>&)
[more]friend ostream& operator<<(ostream&, const LCVMarray<T>&)
[more]classLCVMarray_3D T LCVMarray(const int = 0)
[more] LCVMarray(const int, const T&)
default constructor
[more] LCVMarray(const LCVMarray<T>&)
constructor with initial value
[more] LCVMarray(const T* const, const int)
copy constructor
[more] ~LCVMarray()
copy from built in array
[more]const LCVMarray<T> & operator=(const LCVMarray<T>&)
destructor
[more]int get_size() const
assignment op
[more]int operator==(const LCVMarray<T>&) const
return size
[more]int operator!=(const LCVMarray<T>&) const
compare equal
[more]T& operator[](const int)
compare !equal
[more]T get_element(const int) const
subscript operator
[more]LCVMarray<T> & erase()
like the subscript operator
[more]LCVMarray<T> & set_data(const LCVMarray<T>&)
set data from LCVMarray
[more]LCVMarray<T> & set_data(const T* const, const int)
set data from normal array
[more]LCVMarray<T> & set_data(const int = 0)
erase and create a "new" array with the given size
[more]LCVMarray<T> & set_data(const int, const T&)
erase and create a "new" array with given size and given inital value
[more]void get_data(LCVMarray<T>&) const
[more]void get_data(T*) const
copy array data into LCVMarray
[more]LCVMarray<T> & initialize(const T&)
copy array data into normal array
[more]void print(ostream&) const
initialize with a given value
[more]T* ptr
[more]int size
pointer to first (zeroth) element of array
ovoid set_data_helper(const int)
size of the array
o
utility function for some set_datas


Documentation

not have a default constructor, then the array is not initialized...)
ofriend ostream& operator<<<>(ostream&, const LCVMarray<T>&)

ofriend ostream& operator<<(ostream&, const LCVMarray<T>&)

oclassLCVMarray_3D T LCVMarray(const int = 0)

o LCVMarray(const int, const T&)
default constructor

o LCVMarray(const LCVMarray<T>&)
constructor with initial value

o LCVMarray(const T* const, const int)
copy constructor

o ~LCVMarray()
copy from built in array

oconst LCVMarray<T> & operator=(const LCVMarray<T>&)
destructor

oint get_size() const
assignment op

oint operator==(const LCVMarray<T>&) const
return size

oint operator!=(const LCVMarray<T>&) const
compare equal

oT& operator[](const int)
compare !equal

oT get_element(const int) const
subscript operator

oLCVMarray<T> & erase()
like the subscript operator

oLCVMarray<T> & set_data(const LCVMarray<T>&)
set data from LCVMarray

oLCVMarray<T> & set_data(const T* const, const int)
set data from normal array

oLCVMarray<T> & set_data(const int = 0)
erase and create a "new" array with the given size

oLCVMarray<T> & set_data(const int, const T&)
erase and create a "new" array with given size and given inital value

ovoid get_data(LCVMarray<T>&) const

ovoid get_data(T*) const
copy array data into LCVMarray

oLCVMarray<T> & initialize(const T&)
copy array data into normal array

ovoid print(ostream&) const
initialize with a given value

oT* ptr

oint size
pointer to first (zeroth) element of array

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.