Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Faro::Array< T > Class Template Reference

#include <Array.hpp>

Public Member Functions

 Array ()
 
 Array (std::initializer_list< T > list)
 
 Array (const Array< T > &copy)
 
 Array (Array< T > &copy)
 
void Add (const T &object)
 
void Add (T &&object)
 
void Add (Array< T > &otherArray)
 
void Insert (const T &object, uint32 index)
 
void Insert (T &&object, uint32 index)
 
void RemoveAt (uint32 index)
 
void RemoveAt (uint32 index, uint32 amount)
 
void Remove (T object)
 
void MoveTo (T object, uint32 index)
 
bool Contains (T object)
 
int32 Find (T object)
 
uint32 Size ()
 
void Resize (uint16 size)
 
bool Empty ()
 
bool IsValidIndex (int32 index)
 
void Invert ()
 
Array< T > Reverse ()
 
template<class NewType >
Array< NewType > Cast ()
 
void Clear ()
 
void Sort (std::function< bool(T &, T &)> function)
 
const T & operator[] (int index) const
 
T & operator[] (int index)
 
T * Data ()
 
T & First ()
 
T & Last ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Constructor & Destructor Documentation

◆ Array() [1/4]

template<class T >
Faro::Array< T >::Array ( )
inline

◆ Array() [2/4]

template<class T >
Faro::Array< T >::Array ( std::initializer_list< T >  list)
inline

◆ Array() [3/4]

template<class T >
Faro::Array< T >::Array ( const Array< T > &  copy)
inline

◆ Array() [4/4]

template<class T >
Faro::Array< T >::Array ( Array< T > &  copy)
inline

Member Function Documentation

◆ Add() [1/3]

template<class T >
void Faro::Array< T >::Add ( Array< T > &  otherArray)
inline

◆ Add() [2/3]

template<class T >
void Faro::Array< T >::Add ( const T &  object)
inline

◆ Add() [3/3]

template<class T >
void Faro::Array< T >::Add ( T &&  object)
inline

◆ begin() [1/2]

template<class T >
iterator Faro::Array< T >::begin ( )
inline

◆ begin() [2/2]

template<class T >
const_iterator Faro::Array< T >::begin ( ) const
inline

◆ Cast()

template<class T >
template<class NewType >
Array< NewType > Faro::Array< T >::Cast ( )
inline

◆ cbegin()

template<class T >
const_iterator Faro::Array< T >::cbegin ( ) const
inline

◆ cend()

template<class T >
const_iterator Faro::Array< T >::cend ( ) const
inline

◆ Clear()

template<class T >
void Faro::Array< T >::Clear ( )
inline

◆ Contains()

template<class T >
bool Faro::Array< T >::Contains ( object)
inline

◆ Data()

template<class T >
T * Faro::Array< T >::Data ( )
inline

◆ Empty()

template<class T >
bool Faro::Array< T >::Empty ( )
inline

◆ end() [1/2]

template<class T >
iterator Faro::Array< T >::end ( )
inline

◆ end() [2/2]

template<class T >
const_iterator Faro::Array< T >::end ( ) const
inline

◆ Find()

template<class T >
int32 Faro::Array< T >::Find ( object)
inline

◆ First()

template<class T >
T & Faro::Array< T >::First ( )
inline

◆ Insert() [1/2]

template<class T >
void Faro::Array< T >::Insert ( const T &  object,
uint32  index 
)
inline

◆ Insert() [2/2]

template<class T >
void Faro::Array< T >::Insert ( T &&  object,
uint32  index 
)
inline

◆ Invert()

template<class T >
void Faro::Array< T >::Invert ( )
inline

◆ IsValidIndex()

template<class T >
bool Faro::Array< T >::IsValidIndex ( int32  index)
inline

◆ Last()

template<class T >
T & Faro::Array< T >::Last ( )
inline

◆ MoveTo()

template<class T >
void Faro::Array< T >::MoveTo ( object,
uint32  index 
)
inline

◆ operator[]() [1/2]

template<class T >
T & Faro::Array< T >::operator[] ( int  index)
inline

◆ operator[]() [2/2]

template<class T >
const T & Faro::Array< T >::operator[] ( int  index) const
inline

◆ Remove()

template<class T >
void Faro::Array< T >::Remove ( object)
inline

◆ RemoveAt() [1/2]

template<class T >
void Faro::Array< T >::RemoveAt ( uint32  index)
inline

◆ RemoveAt() [2/2]

template<class T >
void Faro::Array< T >::RemoveAt ( uint32  index,
uint32  amount 
)
inline

◆ Resize()

template<class T >
void Faro::Array< T >::Resize ( uint16  size)
inline

◆ Reverse()

template<class T >
Array< T > Faro::Array< T >::Reverse ( )
inline

◆ Size()

template<class T >
uint32 Faro::Array< T >::Size ( )
inline

◆ Sort()

template<class T >
void Faro::Array< T >::Sort ( std::function< bool(T &, T &)>  function)
inline

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