Angelscript addon Template Containers  1.0
STL container powerr for Angelscript
aatc_container_shared_1tp_tempspec< T_container, T_content > Class Template Reference

Internal template monster. More...

#include <aatc_shared_tempspec.hpp>

Inheritance diagram for aatc_container_shared_1tp_tempspec< T_container, T_content >:
aatc_container_base aatc_refcounted

Classes

class  aatc_iterator
 

Public Types

typedef T_container::iterator iteratortype
 

Public Member Functions

 aatc_container_shared_1tp_tempspec (const aatc_container_shared_1tp_tempspec &other)
 
void operator= (const aatc_container_shared_1tp_tempspec &other)
 
void swap (aatc_container_shared_1tp_tempspec &other)
 
aatc_type_sizetype Count (const T_content &value)
 
bool Contains_generic (const T_content &value)
 
void Clear ()
 
bool Empty ()
 
aatc_type_sizetype Size ()
 
template<class T >
void Push_Back (const T_content &value)
 
template<class T >
void Pop_Back ()
 
template<>
void Push_Back (const T_content &value)
 
template<>
void Pop_Back ()
 
template<class T >
T_content & Back ()
 
template<>
T_content & Back ()
 
template<class T >
void Push_Front (const T_content &value)
 
template<class T >
void Pop_Front ()
 
template<>
void Push_Front (const T_content &value)
 
template<>
void Pop_Front ()
 
template<class T >
T_content & Front ()
 
template<>
T_content & Front ()
 
template<class T >
void Erase_value (const T_content &value)
 
template<>
void Erase_value (const T_content &value)
 
template<class T >
T_content & op_index (aatc_type_sizetype index)
 
template<>
T_content & op_index (aatc_type_sizetype index)
 
template<class T >
void Reserve (aatc_type_sizetype count)
 
template<>
void Reserve (aatc_type_sizetype count)
 
template<class T >
void Insert (const T_content &value)
 
template<>
void Insert (const T_content &value)
 
template<class T >
void Sort_native (bool ascending)
 
template<>
void Sort_native (bool ascending)
 
template<class T >
void Sort_generic (bool ascending)
 
template<>
void Sort_generic (bool ascending)
 
template<class T >
bool Contains_native (const T_content &value)
 
template<>
bool Contains_native (const T_content &value)
 
template<class T_is_native >
void Insert_generic_index_before (int index, const T_content &value)
 
template<class T_is_native >
void Erase_generic_index (int position)
 
template<class T_is_native >
void Erase_generic_index_range (int range_index_begin, int range_index_end)
 
template<class T_existence >
void Erase_generic_value (const T_content &value, bool all)
 
aatc_iterator Begin ()
 
aatc_iterator End ()
 
template<class T >
bool Erase_iterator (const aatc_iterator &aatc_it)
 
template<>
bool Erase_iterator (const aatc_iterator &aatc_it)
 
template<class T >
aatc_type_sizetype Erase_iterator_range (const aatc_iterator &aatc_it_range_begin, const aatc_iterator &aatc_it_range_end)
 
template<>
aatc_type_sizetype Erase_iterator_range (const aatc_iterator &aatc_it_range_begin, const aatc_iterator &aatc_it_range_end)
 
template<class T >
aatc_iterator Find_iterator (const T_content &value)
 
template<>
aatc_iterator Find_iterator (const T_content &value)
 
template<class T >
aatc_iterator Find_iterator_generic (const T_content &value)
 
template<>
aatc_iterator Find_iterator_generic (const T_content &value)
 
template<class T >
void Insert_iterator (const aatc_iterator &aatc_it, const T_content &value)
 
template<>
void Insert_iterator (const aatc_iterator &aatc_it, const T_content &value)
 
- Public Member Functions inherited from aatc_refcounted
void refcount_Add ()
 
void refcount_Release ()
 

Static Public Member Functions

template<class T_cond >
static void Register_func_back_write (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_back_write (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_back_read (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_back_read (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_front_write (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_front_write (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_front_read (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_front_read (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_erase_value (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_erase_value (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_op_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_op_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_reserve (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_reserve (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_insert (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_insert (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_sort_native (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_sort_native (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_sort_generic (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_sort_generic (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_contains_native (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_contains_native (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_is_native >
static void Register_func_insert_generic_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_insert_generic_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_is_native >
static void Register_func_erase_generic_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_erase_generic_index (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_existence >
static void Register_func_erase_generic_value (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<>
static void Register_func_erase_generic_value (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content)
 
template<class T_cond >
static void Register_func_Erase_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<>
static void Register_func_Erase_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<class T_cond >
static void Register_func_Erase_iterator_range (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<>
static void Register_func_Erase_iterator_range (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<class T_cond >
static void Register_func_Find_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<>
static void Register_func_Find_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<class T_cond >
static void Register_func_Insert_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 
template<>
static void Register_func_Insert_iterator (asIScriptEngine *engine, int &r, char *textbuf, const char *n_container, const char *n_container_T, const char *n_content, const char *n_iterator_TT)
 

Static Public Attributes

static T_content defaultvalue = T_content()
 
static std::string staticname_container = "test_container"
 
static std::string staticname_content = "test_content"
 

Additional Inherited Members

- Public Attributes inherited from aatc_container_base
asIScriptEngine * engine
 
int_fast16_t iterator_safety_version
 
- Public Attributes inherited from aatc_refcounted
int refcount
 

Detailed Description

template<class T_container, class T_content>
class aatc_container_shared_1tp_tempspec< T_container, T_content >

Internal template monster.