public

Inheritance Graph

graph BT
	Array
	Array --> Collection
	click Array "classEScript_1_1Array"
	click Collection "classEScript_1_1Collection"

Description

[ Array ] > [ Collection ] > [ Object ]

Classes

       
class EScript::Array::ArrayIterator
[ ArrayIterator ]
> [ Iterator ] > [ Object ]

Types

   
   
typedef ObjRef value_type
   
typedef std::vector< value_type > container_t
   
typedef container_t::iterator iterator
   
typedef container_t::pointer pointer
   
typedef container_t::const_pointer const_pointer
   
typedef container_t::const_iterator const_iterator
   
typedef container_t::reference reference
   
typedef container_t::const_reference const_reference
   
typedef container_t::size_type size_type
   
typedef std::ptrdiff_t difference_type
   
typedef std::reverse_iterator< iterator > reverse_iterator
   
typedef std::reverse_iterator< const_iterator > const_reverse_iterator

Creation

   
   
Array * create( Type * type)
   
Array * create(const ParameterValues & p, Type * type)
   
Array * create(size_t num, Object *const * objs, Type * type)
   
Array * create(size_t num, char ** strings, Type * type)
template< class Collection_T >  
Array * create(const Collection_T & collection)
   
void release( Array * b)
   
  ~Array()

TypeObject

   
   
Type * getTypeObject()
   
void init( EScript::Namespace & globals)

Data

   
   
iterator begin()
   
const_iterator begin() const
   
iterator end()
   
const_iterator end() const
   
reverse_iterator rbegin()
   
const_reverse_iterator rbegin() const
   
reverse_iterator rend()
   
const_reverse_iterator rend() const
   
container_t & operator*()
   
const container_t & operator*() const
   
ObjRef & at(size_t idx)
   
const ObjRef & at(size_t idx) const
   
void append( Collection * c)
   
Object * back() const
   
bool empty() const
   
iterator erase( iterator i)
   
iterator erase( iterator i, iterator j)
   
Object * front() const
   
Object * get(size_t index) const
   
std::string implode(const std::string & delimiter)
   
void popBack()
   
void popFront()
   
void pushBack(const ObjPtr & obj)
   
void pushFront(const ObjPtr & obj)
   
void removeIndex(size_t index)
   
void reserve(size_t capacity)
   
void resize(size_t newSize)
   
void reverse()
   
void rt_filter( Runtime & runtime, ObjPtr function)
   
int rt_indexOf( Runtime & runtime, ObjPtr search, size_t begin)
returns -1 if not found
   
size_t rt_removeValue( Runtime & runtime, const ObjPtr value, const int limit, const size_t begin)
   
void rt_sort( Runtime & runtime, Object * function, bool reverseOrder)
   
size_t size() const
   
ERef < Array > slice(int startIndex, int length) const
   
void splice(int startIndex, int length, Array * replacement)
   
void swap( Array * other)

—|> Collection

   
   
Object * getValue( ObjPtr key)
o
   
void setValue( ObjPtr key, ObjPtr value)
o
   
size_t count() const
o
   
ArrayIterator * getIterator()
o
   
void clear()
o

—|> Object

   
   
Object * clone() const
o
   
internalTypeId_t _getInternalTypeId() const

Documentation

typedef
EScript::Array::value_type

public
 
 
typedef ObjRef value_type

Defined in EScript/EScript/Objects/Collections/Array.h:30


typedef
EScript::Array::container_t

public
 
 
typedef std::vector< value_type > container_t

Defined in EScript/EScript/Objects/Collections/Array.h:32


typedef
EScript::Array::iterator

public
 
 
typedef container_t::iterator iterator

Defined in EScript/EScript/Objects/Collections/Array.h:33


typedef
EScript::Array::pointer

public
 
 
typedef container_t::pointer pointer

Defined in EScript/EScript/Objects/Collections/Array.h:34


typedef
EScript::Array::const_pointer

public
 
 
typedef container_t::const_pointer const_pointer

Defined in EScript/EScript/Objects/Collections/Array.h:35


typedef
EScript::Array::const_iterator

public
 
 
typedef container_t::const_iterator const_iterator

Defined in EScript/EScript/Objects/Collections/Array.h:36


typedef
EScript::Array::reference

public
 
 
typedef container_t::reference reference

Defined in EScript/EScript/Objects/Collections/Array.h:37


typedef
EScript::Array::const_reference

public
 
 
typedef container_t::const_reference const_reference

Defined in EScript/EScript/Objects/Collections/Array.h:38


typedef
EScript::Array::size_type

public
 
 
typedef container_t::size_type size_type

Defined in EScript/EScript/Objects/Collections/Array.h:39


typedef
EScript::Array::difference_type

public
 
 
typedef std::ptrdiff_t difference_type

Defined in EScript/EScript/Objects/Collections/Array.h:41


typedef
EScript::Array::reverse_iterator

public
 
 
typedef std::reverse_iterator< iterator > reverse_iterator

Defined in EScript/EScript/Objects/Collections/Array.h:42


typedef
EScript::Array::const_reverse_iterator

public
 
 
typedef std::reverse_iterator< const_iterator > const_reverse_iterator

Defined in EScript/EScript/Objects/Collections/Array.h:43


function
EScript::Array::create

public static
     
     
Array * create( Type * type )

Defined in EScript/EScript/Objects/Collections/Array.h:59


function
EScript::Array::create

public static
     
     
Array * create( const ParameterValues & p,
  Type * type
)    

Defined in EScript/EScript/Objects/Collections/Array.h:60


function
EScript::Array::create

public static
     
     
Array * create( size_t num,
  Object *const * objs,
  Type * type
)    

Defined in EScript/EScript/Objects/Collections/Array.h:61


function
EScript::Array::create

public static
     
     
Array * create( size_t num,
  char ** strings,
  Type * type
)    

Defined in EScript/EScript/Objects/Collections/Array.h:62


function
EScript::Array::create

public static inline
     
template< class Collection_T >    
Array * create( const Collection_T & collection )

Defined in EScript/EScript/Objects/Collections/Array.h:65


function
EScript::Array::release

public static
     
     
void release( Array * b )

Defined in EScript/EScript/Objects/Collections/Array.h:73


function
EScript::Array::~Array

public inline virtual
   
   
~Array( )

Defined in EScript/EScript/Objects/Collections/Array.h:74


function
EScript::Array::getTypeObject

public static
   
   
Type * getTypeObject( )

Defined in EScript/EScript/Objects/Collections/Array.h:82


function
EScript::Array::init

public static
     
     
void init( EScript::Namespace & globals )

Defined in EScript/EScript/Objects/Collections/Array.h:83


function
EScript::Array::begin

public inline
   
   
iterator begin( )

Defined in EScript/EScript/Objects/Collections/Array.h:93


function
EScript::Array::begin

public const inline
   
   
const_iterator begin( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:94


function
EScript::Array::end

public inline
   
   
iterator end( )

Defined in EScript/EScript/Objects/Collections/Array.h:95


function
EScript::Array::end

public const inline
   
   
const_iterator end( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:96


function
EScript::Array::rbegin

public inline
   
   
reverse_iterator rbegin( )

Defined in EScript/EScript/Objects/Collections/Array.h:97


function
EScript::Array::rbegin

public const inline
   
   
const_reverse_iterator rbegin( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:98


function
EScript::Array::rend

public inline
   
   
reverse_iterator rend( )

Defined in EScript/EScript/Objects/Collections/Array.h:99


function
EScript::Array::rend

public const inline
   
   
const_reverse_iterator rend( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:100


function
EScript::Array::operator*

public inline
   
   
container_t & operator*( )

Defined in EScript/EScript/Objects/Collections/Array.h:102


function
EScript::Array::operator*

public const inline
   
   
const container_t & operator*( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:103


function
EScript::Array::at

public inline
     
     
ObjRef & at( size_t idx )

Defined in EScript/EScript/Objects/Collections/Array.h:105


function
EScript::Array::at

public const inline
     
     
const ObjRef & at( size_t idx ) const

Defined in EScript/EScript/Objects/Collections/Array.h:106


function
EScript::Array::append

public
     
     
void append( Collection * c )

Defined in EScript/EScript/Objects/Collections/Array.h:107


function
EScript::Array::back

public const inline
   
   
Object * back( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:108


function
EScript::Array::empty

public const inline
   
   
bool empty( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:109


function
EScript::Array::erase

public inline
     
     
iterator erase( iterator i )

Defined in EScript/EScript/Objects/Collections/Array.h:110


function
EScript::Array::erase

public inline
     
     
iterator erase( iterator i,
  iterator j
)    

Defined in EScript/EScript/Objects/Collections/Array.h:111


function
EScript::Array::front

public const inline
   
   
Object * front( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:112


function
EScript::Array::get

public const inline
     
     
Object * get( size_t index ) const

Defined in EScript/EScript/Objects/Collections/Array.h:113


function
EScript::Array::implode

public
     
     
std::string implode( const std::string & delimiter )

Defined in EScript/EScript/Objects/Collections/Array.h:114


function
EScript::Array::popBack

public inline
   
   
void popBack( )

Defined in EScript/EScript/Objects/Collections/Array.h:115


function
EScript::Array::popFront

public inline
   
   
void popFront( )

Defined in EScript/EScript/Objects/Collections/Array.h:116


function
EScript::Array::pushBack

public inline
     
     
void pushBack( const ObjPtr & obj )

Defined in EScript/EScript/Objects/Collections/Array.h:117


function
EScript::Array::pushFront

public inline
     
     
void pushFront( const ObjPtr & obj )

Defined in EScript/EScript/Objects/Collections/Array.h:118


function
EScript::Array::removeIndex

public
     
     
void removeIndex( size_t index )

Defined in EScript/EScript/Objects/Collections/Array.h:119


function
EScript::Array::reserve

public
     
     
void reserve( size_t capacity )

Defined in EScript/EScript/Objects/Collections/Array.h:120


function
EScript::Array::resize

public
     
     
void resize( size_t newSize )

Defined in EScript/EScript/Objects/Collections/Array.h:121


function
EScript::Array::reverse

public
   
   
void reverse( )

Defined in EScript/EScript/Objects/Collections/Array.h:122


function
EScript::Array::rt_filter

public
     
     
void rt_filter( Runtime & runtime,
  ObjPtr function
)    

Defined in EScript/EScript/Objects/Collections/Array.h:123


function
EScript::Array::rt_indexOf

public
     
     
int rt_indexOf( Runtime & runtime,
  ObjPtr search,
  size_t begin
)    

returns -1 if not found

Defined in EScript/EScript/Objects/Collections/Array.h:125


function
EScript::Array::rt_removeValue

public
     
     
size_t rt_removeValue( Runtime & runtime,
  const ObjPtr value,
  const int limit,
  const size_t begin
)    

Defined in EScript/EScript/Objects/Collections/Array.h:126


function
EScript::Array::rt_sort

public
     
     
void rt_sort( Runtime & runtime,
  Object * function,
  bool reverseOrder
)    

Defined in EScript/EScript/Objects/Collections/Array.h:127


function
EScript::Array::size

public const inline
   
   
size_t size( ) const

Defined in EScript/EScript/Objects/Collections/Array.h:128


function
EScript::Array::slice

public const
     
     
ERef < Array > slice( int startIndex,
  int length
) const    

Defined in EScript/EScript/Objects/Collections/Array.h:129


function
EScript::Array::splice

public
     
     
void splice( int startIndex,
  int length,
  Array * replacement
)    

Defined in EScript/EScript/Objects/Collections/Array.h:130


function
EScript::Array::swap

public
     
     
void swap( Array * other )

Defined in EScript/EScript/Objects/Collections/Array.h:131


function
EScript::Array::getValue

public virtual
     
     
Object * getValue( ObjPtr key )

o

Defined in EScript/EScript/Objects/Collections/Array.h:159


function
EScript::Array::setValue

public virtual
     
     
void setValue( ObjPtr key,
  ObjPtr value
)    

o

Defined in EScript/EScript/Objects/Collections/Array.h:160


function
EScript::Array::count

public const virtual
   
   
size_t count( ) const

o

Defined in EScript/EScript/Objects/Collections/Array.h:161


function
EScript::Array::getIterator

public virtual
   
   
ArrayIterator * getIterator( )

o

Defined in EScript/EScript/Objects/Collections/Array.h:162


function
EScript::Array::clear

public virtual
   
   
void clear( )

o

Defined in EScript/EScript/Objects/Collections/Array.h:163


function
EScript::Array::clone

public const virtual
   
   
Object * clone( ) const

o

Defined in EScript/EScript/Objects/Collections/Array.h:170


function
EScript::Array::_getInternalTypeId

public const inline virtual
   
   
internalTypeId_t _getInternalTypeId( ) const

o For internal use only.

Defined in EScript/EScript/Objects/Collections/Array.h:171