public |
Inheritance Graph
graph BT
_ObjArray
click _ObjArray "classEScript_1_1__ObjArray"
Description
Array of fixed size for EScript::Objects (via ObjRef or ObjPtr).
Note: This array is especially optimized for sizes of < 3 (typical number of parameters). For those sizes, the benchmark indicates that it is a good deal faster than a std::vector.
Public Types
typedef _T * | iterator |
typedef const _T * | const_iterator |
typedef std::size_t | size_type |
typedef _ObjArray < _T > | thisObj_t |
Public Functions
_ObjArray() | |
_ObjArray( ObjPtr p1) | |
_ObjArray( ObjPtr p1, ObjPtr p2) | |
_ObjArray( ObjPtr p1, ObjPtr p2, ObjPtr p3) | |
_ObjArray( ObjPtr p1, ObjPtr p2, ObjPtr p3, ObjPtr p4) | |
_ObjArray( size_type _paramCount) | |
_ObjArray(const _ObjArray & other) | |
~_ObjArray() | |
void | set( size_type i, ObjPtr v) |
void | emplace( size_type i, ObjRef && v) |
size_type | count() const |
size_type | size() const |
bool | empty() const |
ObjPtr | operator[]( size_type i) const |
ObjPtr | get( size_type i) const |
iterator | begin() |
const_iterator | begin() const |
iterator | end() |
const_iterator | end() const |
Documentation
typedef
EScript::_ObjArray::iterator
public |
typedef _T * iterator |
Defined in EScript/EScript/Utils/ObjArray.h:27
typedef
EScript::_ObjArray::const_iterator
public |
typedef const _T * const_iterator |
Defined in EScript/EScript/Utils/ObjArray.h:28
typedef
EScript::_ObjArray::size_type
public |
typedef std::size_t size_type |
Defined in EScript/EScript/Utils/ObjArray.h:29
typedef
EScript::_ObjArray::thisObj_t
public |
typedef _ObjArray < _T > thisObj_t |
Defined in EScript/EScript/Utils/ObjArray.h:39
function
EScript::_ObjArray::_ObjArray
public | inline |
_ObjArray( | ) |
Defined in EScript/EScript/Utils/ObjArray.h:41
function
EScript::_ObjArray::_ObjArray
public | inline |
_ObjArray( | ObjPtr | p1 ) |
Defined in EScript/EScript/Utils/ObjArray.h:43
function
EScript::_ObjArray::_ObjArray
public | inline |
_ObjArray( | ObjPtr | p1, |
ObjPtr | p2 | |
) |
Defined in EScript/EScript/Utils/ObjArray.h:46
function
EScript::_ObjArray::_ObjArray
public | inline |
_ObjArray( | ObjPtr | p1, |
ObjPtr | p2, | |
ObjPtr | p3 | |
) |
Defined in EScript/EScript/Utils/ObjArray.h:49
function
EScript::_ObjArray::_ObjArray
public | inline |
_ObjArray( | ObjPtr | p1, |
ObjPtr | p2, | |
ObjPtr | p3, | |
ObjPtr | p4 | |
) |
Defined in EScript/EScript/Utils/ObjArray.h:52
function
EScript::_ObjArray::_ObjArray
public | inline | explicit |
_ObjArray( | size_type | _paramCount ) |
Defined in EScript/EScript/Utils/ObjArray.h:55
function
EScript::_ObjArray::_ObjArray
public | inline | explicit |
_ObjArray( | const _ObjArray & | other ) |
Defined in EScript/EScript/Utils/ObjArray.h:57
function
EScript::_ObjArray::~_ObjArray
public | inline |
~_ObjArray( | ) |
Defined in EScript/EScript/Utils/ObjArray.h:62
function
EScript::_ObjArray::set
public | inline |
void set( | size_type | i, |
ObjPtr | v | |
) |
Note: no range check is performed.
Defined in EScript/EScript/Utils/ObjArray.h:64
function
EScript::_ObjArray::emplace
public | inline |
void emplace( | size_type | i, |
ObjRef && | v | |
) |
Defined in EScript/EScript/Utils/ObjArray.h:65
function
EScript::_ObjArray::count
public | const | inline |
size_type count( | ) const |
Defined in EScript/EScript/Utils/ObjArray.h:67
function
EScript::_ObjArray::size
public | const | inline |
size_type size( | ) const |
Defined in EScript/EScript/Utils/ObjArray.h:68
function
EScript::_ObjArray::empty
public | const | inline |
bool empty( | ) const |
Defined in EScript/EScript/Utils/ObjArray.h:69
function
EScript::_ObjArray::operator[]
public | const | inline |
ObjPtr operator[]( | size_type | i ) const |
Defined in EScript/EScript/Utils/ObjArray.h:71
function
EScript::_ObjArray::get
public | const | inline |
ObjPtr get( | size_type | i ) const |
Defined in EScript/EScript/Utils/ObjArray.h:72
function
EScript::_ObjArray::begin
public | inline |
iterator begin( | ) |
Defined in EScript/EScript/Utils/ObjArray.h:73
function
EScript::_ObjArray::begin
public | const | inline |
const_iterator begin( | ) const |
Defined in EScript/EScript/Utils/ObjArray.h:74
function
EScript::_ObjArray::end
public | inline |
iterator end( | ) |
Defined in EScript/EScript/Utils/ObjArray.h:75
function
EScript::_ObjArray::end
public | const | inline |
const_iterator end( | ) const |
Defined in EScript/EScript/Utils/ObjArray.h:76