# Frost::s_array< T, N > Class Template Reference

Base type : array. More...

`#include <frost_utils_array.h>`

List of all members.

## Public Types

typedef T * | iterator
typedef const T * | const_iterator
typedef s_range< iterator > | range
typedef s_range< const_iterator > | const_range

## Public Member Functions

| s_array ()
| s_array (const T &mInitValue)
template<class U , class C >
| s_array (const s_ctnr_t< U, C > &mContainer)
| s_array (const s_array &mValue)
T * | GetClassicArray ()
| Returns the underlying C array.
void | Set (const T &mValue)
void | Set (const T(&lArray)[N])
void | Set (const T *lArray)
void | Set (const s_nullptr &pPtr)
s_uint_t< default_uint > | GetSize () const
const T & | Get (const s_uint_t< default_uint > &uiIndex) const
iterator | Begin ()
const_iterator | Begin () const
iterator | End ()
const_iterator | End () const
iterator | begin ()
const_iterator | begin () const
iterator | end ()
const_iterator | end () const
T & | operator[] (const s_uint_t< default_uint > &uiIndex)
const T & | operator[] (const s_uint_t< default_uint > &uiIndex) const
T & | operator[] (const default_uint &uiIndex)
const T & | operator[] (const default_uint &uiIndex) const
s_bool | operator== (const s_array &mValue) const
s_bool | operator!= (const s_array &mValue) const
s_array & | operator= (const s_array &mValue)
template<class U , class C >
s_array & | operator= (const s_ctnr_t< U, C > &mContainer)

## Private Attributes

T | lArray_ [N]

## Detailed Description

### template<class T, default_uint N = 0>
class Frost::s_array< T, N >

Base type : array.

This class is an improved version of C arrays. It comes with a few features that make it simpler to use.

Definition at line 10 of file frost_utils_array.h.

## Member Typedef Documentation

template<class T, default_uint N = 0>

typedef const T* Frost::s_array< T, N >::const_iterator

Definition at line 15 of file frost_utils_array.h.

template<class T, default_uint N = 0>

typedef s_range<const_iterator> Frost::s_array< T, N >::const_range

Definition at line 17 of file frost_utils_array.h.

template<class T, default_uint N = 0>

typedef T* Frost::s_array< T, N >::iterator

Definition at line 14 of file frost_utils_array.h.

template<class T, default_uint N = 0>

typedef s_range<iterator> Frost::s_array< T, N >::range

Definition at line 16 of file frost_utils_array.h.

## Constructor & Destructor Documentation

template<class T, default_uint N = 0>

Frost::s_array< T, N >::s_array | ( |  | ) | `[inline]`

Definition at line 19 of file frost_utils_array.h.

template<class T, default_uint N = 0>

Frost::s_array< T, N >::s_array | ( | const T & | mInitValue | ) | `[inline]`

Definition at line 23 of file frost_utils_array.h.

template<class T, default_uint N = 0>
template<class U , class C >

Frost::s_array< T, N >::s_array | ( | const s_ctnr_t< U, C > & | mContainer | ) | `[inline]`

Definition at line 32 of file frost_utils_array.h.

template<class T, default_uint N = 0>

Frost::s_array< T, N >::s_array | ( | const s_array< T, N > & | mValue | ) | `[inline]`

Definition at line 70 of file frost_utils_array.h.

## Member Function Documentation

template<class T, default_uint N = 0>

const_iterator Frost::s_array< T, N >::begin | ( |  | ) | const`[inline]`

Definition at line 151 of file frost_utils_array.h.

template<class T, default_uint N = 0>

iterator Frost::s_array< T, N >::begin | ( |  | ) | `[inline]`

Definition at line 146 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const_iterator Frost::s_array< T, N >::Begin | ( |  | ) | const`[inline]`

Definition at line 131 of file frost_utils_array.h.

template<class T, default_uint N = 0>

iterator Frost::s_array< T, N >::Begin | ( |  | ) | `[inline]`

Definition at line 126 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const_iterator Frost::s_array< T, N >::end | ( |  | ) | const`[inline]`

Definition at line 161 of file frost_utils_array.h.

template<class T, default_uint N = 0>

iterator Frost::s_array< T, N >::end | ( |  | ) | `[inline]`

Definition at line 156 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const_iterator Frost::s_array< T, N >::End | ( |  | ) | const`[inline]`

Definition at line 141 of file frost_utils_array.h.

template<class T, default_uint N = 0>

iterator Frost::s_array< T, N >::End | ( |  | ) | `[inline]`

Definition at line 136 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const T& Frost::s_array< T, N >::Get | ( | const s_uint_t< default_uint > & | uiIndex | ) | const`[inline]`

Definition at line 121 of file frost_utils_array.h.

template<class T, default_uint N = 0>

T* Frost::s_array< T, N >::GetClassicArray | ( |  | ) | `[inline]`

Returns the underlying C array.

Returns:
  The underlying C array

Definition at line 79 of file frost_utils_array.h.

template<class T, default_uint N = 0>

s_uint_t<default_uint> Frost::s_array< T, N >::GetSize | ( |  | ) | const`[inline]`

Definition at line 116 of file frost_utils_array.h.

template<class T, default_uint N = 0>

s_bool Frost::s_array< T, N >::operator!= | ( | const s_array< T, N > & | mValue | ) | const`[inline]`

Definition at line 197 of file frost_utils_array.h.

template<class T, default_uint N = 0>
template<class U , class C >

s_array& Frost::s_array< T, N >::operator= | ( | const s_ctnr_t< U, C > & | mContainer | ) | `[inline]`

Definition at line 217 of file frost_utils_array.h.

template<class T, default_uint N = 0>

s_array& Frost::s_array< T, N >::operator= | ( | const s_array< T, N > & | mValue | ) | `[inline]`

Definition at line 208 of file frost_utils_array.h.

template<class T, default_uint N = 0>

s_bool Frost::s_array< T, N >::operator== | ( | const s_array< T, N > & | mValue | ) | const`[inline]`

Definition at line 186 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const T& Frost::s_array< T, N >::operator[] | ( | const default_uint & | uiIndex | ) | const`[inline]`

Definition at line 181 of file frost_utils_array.h.

template<class T, default_uint N = 0>

T& Frost::s_array< T, N >::operator[] | ( | const default_uint & | uiIndex | ) | `[inline]`

Definition at line 176 of file frost_utils_array.h.

template<class T, default_uint N = 0>

const T& Frost::s_array< T, N >::operator[] | ( | const s_uint_t< default_uint > & | uiIndex | ) | const`[inline]`

Definition at line 171 of file frost_utils_array.h.

template<class T, default_uint N = 0>

T& Frost::s_array< T, N >::operator[] | ( | const s_uint_t< default_uint > & | uiIndex | ) | `[inline]`

Definition at line 166 of file frost_utils_array.h.

template<class T, default_uint N = 0>

void Frost::s_array< T, N >::Set | ( | const s_nullptr & | pPtr | ) | `[inline]`

Definition at line 108 of file frost_utils_array.h.

template<class T, default_uint N = 0>

void Frost::s_array< T, N >::Set | ( | const T * | lArray | ) | `[inline]`

Definition at line 100 of file frost_utils_array.h.

template<class T, default_uint N = 0>

void Frost::s_array< T, N >::Set | ( | const T(&) | lArray[N] | ) | `[inline]`

Definition at line 92 of file frost_utils_array.h.

template<class T, default_uint N = 0>

void Frost::s_array< T, N >::Set | ( | const T & | mValue | ) | `[inline]`

Definition at line 84 of file frost_utils_array.h.

## Member Data Documentation

template<class T, default_uint N = 0>

T Frost::s_array< T, N >::lArray_[N]`[private]`

Definition at line 234 of file frost_utils_array.h.

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

- D:/Programmation/Sources/Tensor2/Utils/include/frost_utils_array.h