doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
MyArray< T, N > Struct Template Reference

Public Member Functions

 MyArray ()
 
 MyArray (const MyArray< T, N > &cpy)
 
void push_back (const T &i)
 
Toperator[] (int i)
 
const Toperator[] (int i) const
 
unsigned int size () const
 
void empty ()
 

Public Attributes

T v [N]
 
int s
 

Detailed Description

template<class T, int N>
struct MyArray< T, N >

Definition at line 42 of file tr_shadowbounds.cpp.

Constructor & Destructor Documentation

template<class T, int N>
MyArray< T, N >::MyArray ( )
inline

Definition at line 44 of file tr_shadowbounds.cpp.

template<class T, int N>
MyArray< T, N >::MyArray ( const MyArray< T, N > &  cpy)
inline

Definition at line 46 of file tr_shadowbounds.cpp.

Member Function Documentation

template<class T, int N>
void MyArray< T, N >::empty ( )
inline

Definition at line 71 of file tr_shadowbounds.cpp.

template<class T, int N>
T& MyArray< T, N >::operator[] ( int  i)
inline

Definition at line 59 of file tr_shadowbounds.cpp.

template<class T, int N>
const T& MyArray< T, N >::operator[] ( int  i) const
inline

Definition at line 63 of file tr_shadowbounds.cpp.

template<class T, int N>
void MyArray< T, N >::push_back ( const T i)
inline

Definition at line 52 of file tr_shadowbounds.cpp.

template<class T, int N>
unsigned int MyArray< T, N >::size ( ) const
inline

Definition at line 67 of file tr_shadowbounds.cpp.

Member Data Documentation

template<class T, int N>
int MyArray< T, N >::s

Definition at line 76 of file tr_shadowbounds.cpp.

template<class T, int N>
T MyArray< T, N >::v[N]

Definition at line 75 of file tr_shadowbounds.cpp.


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