Public Member Functions | Public Attributes | Private Attributes
osl_topology_base Struct Reference

#include <osl_topology.h>

Inheritance diagram for osl_topology_base:
Inheritance graph
[legend]

List of all members.

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_linkstash_head

Detailed Description

Definition at line 35 of file osl_topology.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 39 of file osl_topology.h.

Definition at line 54 of file osl_topology.h.


The documentation for this struct was generated from the following files: