Template value class to embed data structure into a named list.
More...
#include <linked.h>
|
T | value |
| Embedded data value.
|
|
void | set (const T &object) |
| Assign our value from a typed data object. More...
|
|
template<typename T, class O = NamedObject>
class ucommon::named_value< T, O >
Template value class to embed data structure into a named list.
This is used to form a class which can be searched by name and that contains a member value object. Most of the core logic for this template is found in and derived from the object_value template.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 1063 of file linked.h.
template<typename T , class O = NamedObject>
Construct embedded named object on a linked list.
- Parameters
-
root | node or pointer for list. |
name | of our object. |
Definition at line 1071 of file linked.h.
template<typename T , class O = NamedObject>
Find embedded object in chain by name.
- Parameters
-
first | object in list to search from. |
name | to search for. |
- Returns
- composite object found by name or NULL if not found.
Definition at line 1087 of file linked.h.
template<typename T , class O = NamedObject>
Assign embedded value from related type.
- Parameters
-
Definition at line 1078 of file linked.h.
The documentation for this class was generated from the following file: