table< C, T, V > Class Template Reference
#include <table.hpp>
List of all members.
Public Member Functions
- void * operator new (size_t sz)
- void * operator new (size_t sz, void *where)
- void * operator new[] (size_t sz)
- void * operator new[] (size_t sz, void *where)
- void operator delete (void *ptr, size_t sz)
- void operator delete[] (void *ptr, size_t sz)
- table (table_rep< C, T, V > *rep2)
- table (const table_rep< C, T, V > *rep2, bool inc)
- table (const table &x)
- ~table ()
- table & operator= (const table &x)
- const table_rep< C, T, V > * operator-> () const
- void secure ()
- table ()
- table (const format< C > &fm1, const format< T > &fm2)
- template<typename K > table (const K &i, nat n=1)
- template<typename K > table (const K &i, const format< T > &fm2, nat n=1)
- table (const iterator< pair< T, C > > &it)
- table (const C &i, const iterator< pair< T, C > > &it)
- template<typename K > const C & operator[] (const K &x) const
- const C & operator[] (const T &x) const
- template<typename K > C & operator[] (const K &x)
- C & operator[] (const T &x)
Protected Attributes
Friends
Detailed Description
template<typename C, typename T, typename V = exact_eq_table>
class mmx::table< C, T, V >
Definition at line 131 of file table.hpp.
Constructor & Destructor Documentation
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
table |
( |
const K & |
i, |
|
|
nat |
n = 1 | |
|
) |
| | [inline] |
Definition at line 144 of file table.hpp.
00144 :
00145 rep (new Table_rep (i, 1, CF(it).format2 ())) {
00146 for (; busy (it); ++it) rep->set ((*it).x1)= (*it).x2; }
template<typename K> inline const C& operator [] (const K& x) const {
Member Function Documentation
void operator delete |
( |
void * |
ptr, |
|
|
size_t |
sz | |
|
) |
| | [inline] |
void operator delete[] |
( |
void * |
ptr, |
|
|
size_t |
sz | |
|
) |
| | [inline] |
void* operator new |
( |
size_t |
sz, |
|
|
void * |
where | |
|
) |
| | [inline] |
void* operator new |
( |
size_t |
sz |
) |
[inline] |
void* operator new[] |
( |
size_t |
sz, |
|
|
void * |
where | |
|
) |
| | [inline] |
void* operator new[] |
( |
size_t |
sz |
) |
[inline] |
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
Definition at line 157 of file table.hpp.
00162 { return t->tfm1 (); }
C& operator[] |
( |
const T & |
x |
) |
[inline] |
C& operator[] |
( |
const K & |
x |
) |
[inline] |
const C& operator[] |
( |
const T & |
x |
) |
const [inline] |
Definition at line 149 of file table.hpp.
00149 {
00150 return rep->get (x); }
const C& operator[] |
( |
const K & |
x |
) |
const [inline] |
Definition at line 147 of file table.hpp.
00147 {
00148 return rep->get (as<T> (x)); }
Friends And Related Function Documentation
void simplify |
( |
table< C, T, V > & |
t |
) |
[friend] |
Member Data Documentation
Definition at line 132 of file table.hpp.
Referenced by new_table< C, T, V >::new_table(), table< D, pair< S1, S2 >, table_variant >::operator[](), new_table< C, T, V >::operator[](), and table< D, pair< S1, S2 >, table_variant >::table().
The documentation for this class was generated from the following file: