#include <osl_vertex.h>
Public Member Functions | |
osl_vertex (float x_, float y_, int id_=0) | |
~osl_vertex () | |
float | GetX () const |
float | GetY () const |
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 | |
float | x |
float | y |
int | id |
Definition at line 13 of file osl_vertex.h.
osl_vertex::osl_vertex | ( | float | x_, |
float | y_, | ||
int | id_ = 0 |
||
) |
Definition at line 15 of file osl_vertex.cxx.
osl_vertex::~osl_vertex | ( | ) |
Definition at line 22 of file osl_vertex.cxx.
int osl_topology_base::GetId | ( | ) | const [inherited] |
Definition at line 89 of file osl_topology.cxx.
float osl_vertex::GetX | ( | ) | const [inline] |
Definition at line 19 of file osl_vertex.h.
float osl_vertex::GetY | ( | ) | const [inline] |
Definition at line 20 of file osl_vertex.h.
void osl_topology_base::SetId | ( | int | v | ) | [inherited] |
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 |
||
) | [inherited] |
add another stash under that name.
Definition at line 33 of file osl_topology.cxx.
void * osl_topology_base::stash_remove | ( | char const * | name | ) | [inherited] |
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 |
||
) | [inherited] |
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 [inherited] |
return first stash with given name, 0 if none.
Definition at line 57 of file osl_topology.cxx.
int osl_topology_base::id [inherited] |
Definition at line 39 of file osl_topology.h.
float osl_vertex::x |
Definition at line 16 of file osl_vertex.h.
float osl_vertex::y |
Definition at line 16 of file osl_vertex.h.