NeKernel dev
Loading...
Searching...
No Matches
Kernel::ArrayList< T > Class Template Referencefinal

#include <ArrayList.h>

Public Member Functions

 ArrayList (T *list, SizeT length)
 ~ArrayList ()=default
ArrayListoperator= (const ArrayList &)=default
 ArrayList (const ArrayList &)=default
T * Data ()
const T * CData ()
T & operator[] (SizeT index) const
 operator bool ()
SizeT Count () const

Private Attributes

T * fList {nullptr}
SizeT fLen {0}

Constructor & Destructor Documentation

◆ ArrayList() [1/2]

template<typename T>
Kernel::ArrayList< T >::ArrayList ( T * list,
SizeT length )
inlineexplicit

◆ ~ArrayList()

template<typename T>
Kernel::ArrayList< T >::~ArrayList ( )
default

◆ ArrayList() [2/2]

template<typename T>
Kernel::ArrayList< T >::ArrayList ( const ArrayList< T > & )
default

Member Function Documentation

◆ CData()

template<typename T>
const T * Kernel::ArrayList< T >::CData ( )
inline

◆ Count()

template<typename T>
SizeT Kernel::ArrayList< T >::Count ( ) const
inline

◆ Data()

template<typename T>
T * Kernel::ArrayList< T >::Data ( )
inline

◆ operator bool()

template<typename T>
Kernel::ArrayList< T >::operator bool ( )
inline

◆ operator=()

template<typename T>
ArrayList & Kernel::ArrayList< T >::operator= ( const ArrayList< T > & )
default

◆ operator[]()

template<typename T>
T & Kernel::ArrayList< T >::operator[] ( SizeT index) const
inline

Member Data Documentation

◆ fLen

template<typename T>
SizeT Kernel::ArrayList< T >::fLen {0}
private

◆ fList

template<typename T>
T* Kernel::ArrayList< T >::fList {nullptr}
private

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