ug4
ug::FixedArray1< T, 1 > Class Template Reference

#include <fixed_array_specialization.h>

Public Types

enum  { Size = 1 }
 
typedef size_t size_type
 
typedef T value_type
 

Public Member Functions

T & at (size_type i)
 
const T & at (size_type i) const
 
 FixedArray1 ()
 
 FixedArray1 (const FixedArray1< T, 1 > &other)
 
T & operator[] (size_type i)
 
const T & operator[] (size_type i) const
 
bool resize (size_type newN)
 
size_type size () const
 

Public Attributes

union ug::FixedArray1< T, 1 >:: { ... }  
 
value_type values [1]
 
value_type x
 

Member Typedef Documentation

◆ size_type

template<typename T >
typedef size_t ug::FixedArray1< T, 1 >::size_type

◆ value_type

template<typename T >
typedef T ug::FixedArray1< T, 1 >::value_type

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
Size 

Constructor & Destructor Documentation

◆ FixedArray1() [1/2]

template<typename T >
ug::FixedArray1< T, 1 >::FixedArray1 ( )
inline

◆ FixedArray1() [2/2]

template<typename T >
ug::FixedArray1< T, 1 >::FixedArray1 ( const FixedArray1< T, 1 > &  other)
inline

Member Function Documentation

◆ at() [1/2]

template<typename T >
T& ug::FixedArray1< T, 1 >::at ( size_type  i)
inline

◆ at() [2/2]

template<typename T >
const T& ug::FixedArray1< T, 1 >::at ( size_type  i) const
inline

◆ operator[]() [1/2]

template<typename T >
T& ug::FixedArray1< T, 1 >::operator[] ( size_type  i)
inline

◆ operator[]() [2/2]

template<typename T >
const T& ug::FixedArray1< T, 1 >::operator[] ( size_type  i) const
inline

◆ resize()

template<typename T >
bool ug::FixedArray1< T, 1 >::resize ( size_type  newN)
inline

◆ size()

template<typename T >
size_type ug::FixedArray1< T, 1 >::size ( ) const
inline

Member Data Documentation

◆ 

union { ... }

◆ values

template<typename T >
value_type ug::FixedArray1< T, 1 >::values[1]

Referenced by FixedArray1().

◆ x

template<typename T >
value_type ug::FixedArray1< T, 1 >::x

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