Templated value class to embed data structure into a named list. More...
#include <linked.h>
Public Member Functions | |
named_value (LinkedObject **root, char *name) | |
Construct embedded named object on a linked list. | |
void | operator= (const T &typed_value) |
Assign embedded value from related type. | |
Static Public Member Functions | |
static named_value | find (named_value *first, const char *name) |
Find embedded object in chain by name. |
Templated 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.
Definition at line 1038 of file linked.h.
ucc::named_value< T, O >::named_value | ( | LinkedObject ** | root, | |
char * | name | |||
) | [inline] |
static named_value ucc::named_value< T, O >::find | ( | named_value< T, O > * | first, | |
const char * | name | |||
) | [inline, static] |
void ucc::named_value< T, O >::operator= | ( | const T & | typed_value | ) | [inline] |
Assign embedded value from related type.
typed_value | to assign. |
Reimplemented from ucc::object_value< T, O >.