#include <osl_topology.h>
Public Member Functions | |
osl_topology_base (osl_topology_base const &x) | |
osl_topology_base () | |
~osl_topology_base () | |
void | SetId (int) |
int | GetId () const |
void | stash_add (char const *name, void const *data, void(*dtor)(void *)=0) |
add another stash under that name. | |
void | stash_replace (char const *name, void const *data, void(*dtor)(void *)=0) |
replace first stash ith given name. the old dtor is not called. | |
void * | stash_retrieve (char const *name) const |
return first stash with given name, 0 if none. | |
void * | stash_remove (char const *name) |
remove first stash with given name. the dtor is not called. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Public Attributes | |
int | id |
Private Attributes | |
osl_stash_link * | stash_head |
Definition at line 35 of file osl_topology.h.
osl_topology_base::osl_topology_base | ( | osl_topology_base const & | x | ) | [inline] |
Definition at line 37 of file osl_topology.h.
osl_topology_base::osl_topology_base | ( | ) |
Definition at line 32 of file osl_topology.cxx.
osl_topology_base::~osl_topology_base | ( | ) |
Definition at line 79 of file osl_topology.cxx.
int osl_topology_base::GetId | ( | ) | const |
Definition at line 89 of file osl_topology.cxx.
void osl_topology_base::SetId | ( | int | v | ) |
Definition at line 87 of file osl_topology.cxx.
void osl_topology_base::stash_add | ( | char const * | name, |
void const * | data, | ||
void(*)(void *) | dtor = 0 |
||
) |
add another stash under that name.
Definition at line 33 of file osl_topology.cxx.
void * osl_topology_base::stash_remove | ( | char const * | name | ) |
remove first stash with given name. the dtor is not called.
Definition at line 65 of file osl_topology.cxx.
void osl_topology_base::stash_replace | ( | char const * | name, |
void const * | data, | ||
void(*)(void *) | dtor = 0 |
||
) |
replace first stash ith given name. the old dtor is not called.
Definition at line 41 of file osl_topology.cxx.
void * osl_topology_base::stash_retrieve | ( | char const * | name | ) | const |
return first stash with given name, 0 if none.
Definition at line 57 of file osl_topology.cxx.
Definition at line 39 of file osl_topology.h.
osl_stash_link* osl_topology_base::stash_head [private] |
Definition at line 54 of file osl_topology.h.