|
ViennaGrid - The Vienna Grid Library
2.1.0
|
Defines the smart_id type which unifies different ways of identifying objects (numeric ID, pointer, etc.) More...
#include <iostream>Go to the source code of this file.
Data Structures | |
| struct | const_id< id_type > |
| struct | const_id< smart_id< value_type, id_type > > |
| struct | id< some_type > |
| class | id_compare< id_type_ > |
| class | id_handler< id_type_ > |
| struct | make_id< value_type, id_tag< id_type > > |
| struct | make_id< value_type, smart_id_tag< base_id_type > > |
| class | smart_id< value_type_, base_id_type_ > |
| class | smart_id< const value_type_, base_id_type_ > |
Namespaces | |
| namespace | viennagrid |
The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces. | |
| namespace | viennagrid::detail |
Namespace for implementation details. Not intended to be used directly by a library user. | |
| namespace | viennagrid::detail::result_of |
Namespace for metafunctions for implementation details. Not intended to be used directly by a library user. | |
Functions | |
| template<typename value_type , typename base_id_type > | |
| bool | operator< (smart_id< value_type, base_id_type > const &lhs, smart_id< value_type, base_id_type > const &rhs) |
| template<typename value_type , typename base_id_type > | |
| bool | operator< (smart_id< const value_type, base_id_type > const &lhs, smart_id< value_type, base_id_type > const &rhs) |
| template<typename value_type , typename base_id_type > | |
| bool | operator< (smart_id< value_type, base_id_type > const &lhs, smart_id< const value_type, base_id_type > const &rhs) |
| template<typename value_type , typename base_id_type > | |
| bool | operator< (smart_id< const value_type, base_id_type > const &lhs, smart_id< const value_type, base_id_type > const &rhs) |
| template<typename value_type_ , typename base_id_type > | |
| std::ostream & | operator<< (std::ostream &os, smart_id< value_type_, base_id_type > id) |
| template<typename element_type , typename id_type > | |
| void | set_id (element_type &element, id_type id) |
| template<typename id_type > | |
| void | set_id (bool &, id_type) |
| template<typename id_type > | |
| void | set_id (char &, id_type) |
| template<typename id_type > | |
| void | set_id (unsigned char &, id_type) |
| template<typename id_type > | |
| void | set_id (short &, id_type) |
| template<typename id_type > | |
| void | set_id (unsigned short &, id_type) |
| template<typename id_type > | |
| void | set_id (int &, id_type) |
| template<typename id_type > | |
| void | set_id (unsigned int &, id_type) |
| template<typename id_type > | |
| void | set_id (long &, id_type) |
| template<typename id_type > | |
| void | set_id (unsigned long &, id_type) |
| template<typename id_type > | |
| void | set_id (float &, id_type) |
| template<typename id_type > | |
| void | set_id (double &, id_type) |
Defines the smart_id type which unifies different ways of identifying objects (numeric ID, pointer, etc.)
1.7.6.1