public

Inheritance Graph

graph BT
	Map
	Map --> Collection
	click Map "classEScript_1_1Map"
	click Collection "classEScript_1_1Collection"

Description

[ Map ] > [ Collection ] > [ Object ]

Classes

     
struct EScript::Map::MapEntry
MapEntry : (key,value)
 
class EScript::Map::MapIterator
[ MapIterator ]
> [ Iterator ]

Types

   
   
typedef std::map< std::string, MapEntry > 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

   
   
Map * create()
   
Map * create(const std::unordered_map< StringId , Object * > & void)
template< class Map_T >  
Map * create(const Map_T & m)
   
  Map( Type * type)
   
  ~Map()

TypeObject

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

Data

   
   
container_t & operator*()
   
const container_t & operator*() const
   
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
   
bool empty() const
   
size_type erase(const std::string & key)
   
Object * getValue(const std::string & key)
   
Object * getKeyObject(const std::string & key)
   
void merge( Collection * c, bool overwrite)
   
void rt_filter( Runtime & runtime, ObjPtr function, const ParameterValues & additionalValues)
   
void unset( ObjPtr key)
   
void swap( Map * other)

—|> [Collection]

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

—|> [Object]

   
   
Object * clone() const
o

Documentation

typedef
EScript::Map::container_t

public
 
 
typedef std::map< std::string, MapEntry > container_t

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


typedef
EScript::Map::iterator

public
 
 
typedef container_t::iterator iterator

Defined in EScript/EScript/Objects/Collections/Map.h:44


typedef
EScript::Map::pointer

public
 
 
typedef container_t::pointer pointer

Defined in EScript/EScript/Objects/Collections/Map.h:45


typedef
EScript::Map::const_pointer

public
 
 
typedef container_t::const_pointer const_pointer

Defined in EScript/EScript/Objects/Collections/Map.h:46


typedef
EScript::Map::const_iterator

public
 
 
typedef container_t::const_iterator const_iterator

Defined in EScript/EScript/Objects/Collections/Map.h:47


typedef
EScript::Map::reference

public
 
 
typedef container_t::reference reference

Defined in EScript/EScript/Objects/Collections/Map.h:48


typedef
EScript::Map::const_reference

public
 
 
typedef container_t::const_reference const_reference

Defined in EScript/EScript/Objects/Collections/Map.h:49


typedef
EScript::Map::size_type

public
 
 
typedef container_t::size_type size_type

Defined in EScript/EScript/Objects/Collections/Map.h:50


typedef
EScript::Map::difference_type

public
 
 
typedef std::ptrdiff_t difference_type

Defined in EScript/EScript/Objects/Collections/Map.h:52


typedef
EScript::Map::reverse_iterator

public
 
 
typedef std::reverse_iterator< iterator > reverse_iterator

Defined in EScript/EScript/Objects/Collections/Map.h:53


typedef
EScript::Map::const_reverse_iterator

public
 
 
typedef std::reverse_iterator< const_iterator > const_reverse_iterator

Defined in EScript/EScript/Objects/Collections/Map.h:54


function
EScript::Map::create

public static
   
   
Map * create( )

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


function
EScript::Map::create

public static
     
     
Map * create( const std::unordered_map< StringId , Object * > & void )

Defined in EScript/EScript/Objects/Collections/Map.h:63


function
EScript::Map::create

public static inline
     
template< class Map_T >    
Map * create( const Map_T & m )

Defined in EScript/EScript/Objects/Collections/Map.h:66


function
EScript::Map::Map

public inline
     
     
Map( Type * type )

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


function
EScript::Map::~Map

public inline virtual
   
   
~Map( )

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


function
EScript::Map::getTypeObject

public static
   
   
Type * getTypeObject( )

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


function
EScript::Map::init

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

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


function
EScript::Map::operator*

public inline
   
   
container_t & operator*( )

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


function
EScript::Map::operator*

public const inline
   
   
const container_t & operator*( ) const

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


function
EScript::Map::begin

public inline
   
   
iterator begin( )

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


function
EScript::Map::begin

public const inline
   
   
const_iterator begin( ) const

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


function
EScript::Map::end

public inline
   
   
iterator end( )

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


function
EScript::Map::end

public const inline
   
   
const_iterator end( ) const

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


function
EScript::Map::rbegin

public inline
   
   
reverse_iterator rbegin( )

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


function
EScript::Map::rbegin

public const inline
   
   
const_reverse_iterator rbegin( ) const

Defined in EScript/EScript/Objects/Collections/Map.h:101


function
EScript::Map::rend

public inline
   
   
reverse_iterator rend( )

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


function
EScript::Map::rend

public const inline
   
   
const_reverse_iterator rend( ) const

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


function
EScript::Map::empty

public const inline
   
   
bool empty( ) const

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


function
EScript::Map::erase

public inline
     
     
size_type erase( const std::string & key )

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


function
EScript::Map::getValue

public
     
     
Object * getValue( const std::string & key )

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


function
EScript::Map::getKeyObject

public
     
     
Object * getKeyObject( const std::string & key )

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


function
EScript::Map::merge

public
     
     
void merge( Collection * c,
  bool overwrite
)    

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


function
EScript::Map::rt_filter

public
     
     
void rt_filter( Runtime & runtime,
  ObjPtr function,
  const ParameterValues & additionalValues
)    

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


function
EScript::Map::unset

public
     
     
void unset( ObjPtr key )

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


function
EScript::Map::swap

public
     
     
void swap( Map * other )

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


function
EScript::Map::clear

public virtual
   
   
void clear( )

o

Defined in EScript/EScript/Objects/Collections/Map.h:137


function
EScript::Map::count

public const virtual
   
   
size_t count( ) const

o

Defined in EScript/EScript/Objects/Collections/Map.h:138


function
EScript::Map::getIterator

public virtual
   
   
MapIterator * getIterator( )

o

Defined in EScript/EScript/Objects/Collections/Map.h:139


function
EScript::Map::getValue

public virtual
     
     
Object * getValue( ObjPtr key )

o

Defined in EScript/EScript/Objects/Collections/Map.h:140


function
EScript::Map::setValue

public virtual
     
     
void setValue( ObjPtr key,
  ObjPtr value
)    

o

Defined in EScript/EScript/Objects/Collections/Map.h:141


function
EScript::Map::clone

public const virtual
   
   
Object * clone( ) const

o

Defined in EScript/EScript/Objects/Collections/Map.h:148