Public Member Functions | Public Attributes
osl_vertex Class Reference

#include <osl_vertex.h>

Inheritance diagram for osl_vertex:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 13 of file osl_vertex.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

int osl_topology_base::id [inherited]

Definition at line 39 of file osl_topology.h.

Definition at line 16 of file osl_vertex.h.

Definition at line 16 of file osl_vertex.h.


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