Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gugr::graph_vertex Struct Reference

#include <gugr_basics.h>

List of all members.

Public Methods

 graph_vertex ()
 graph_vertex (const point2< rational > &av, graph_edge *ae)
 graph_vertex (const vertex &av, graph_edge *ae)
 graph_vertex (const vertex &av, graph_edge *ae, int code)
 graph_vertex (const vertex &av, graph_edge *ae, gul::ptr_int_union pi)
 ~graph_vertex ()
void * operator new (size_t s)
void operator delete (void *p, size_t s)

Public Attributes

vertex v
graph_edgee
gul::ptr_int_union reserved [2]
graph_vertex * next
graph_vertex * prev


Constructor & Destructor Documentation

gugr::graph_vertex::graph_vertex   [inline]
 

Definition at line 291 of file gugr_basics.h.

00292   {
00293   }

gugr::graph_vertex::graph_vertex const point2< rational > &    av,
graph_edge   ae
[inline, explicit]
 

Definition at line 294 of file gugr_basics.h.

References e.

00294                                                                       : v(av) 
00295   { 
00296     e = ae;
00297   }

gugr::graph_vertex::graph_vertex const vertex   av,
graph_edge   ae
[inline, explicit]
 

Definition at line 298 of file gugr_basics.h.

References e.

00299   { 
00300     v = av; e = ae;
00301   }

gugr::graph_vertex::graph_vertex const vertex   av,
graph_edge   ae,
int    code
[inline, explicit]
 

Definition at line 303 of file gugr_basics.h.

References e, and gul::ptr_int_union::set_i().

00304   { 
00305     v = av; e = ae; reserved[1].set_i(code);
00306   }

gugr::graph_vertex::graph_vertex const vertex   av,
graph_edge   ae,
gul::ptr_int_union    pi
[inline, explicit]
 

Definition at line 309 of file gugr_basics.h.

References e.

00310   { 
00311     v = av; e = ae; reserved[1] = pi;
00312   }

gugr::graph_vertex::~graph_vertex   [inline]
 

Definition at line 315 of file gugr_basics.h.

00316   {
00317   }


Member Function Documentation

void gugr::graph_vertex::operator delete void *    p,
size_t    s
[inline]
 

Definition at line 326 of file gugr_basics.h.

References gugr::graph_vertex_list, gugr::graph_vertex_list2, and gust::PoolFree().

00327   {
00328     PoolFree( p, s );
00329   }

void* gugr::graph_vertex::operator new size_t    s [inline]
 

Definition at line 319 of file gugr_basics.h.

References gust::PoolAlloc().

00320   {
00321     size_t dummy;
00322     void *p = PoolAlloc( s, &dummy );
00323     if( p == NULL ) throw PoolAllocError();
00324     return(p);
00325   }


Member Data Documentation

graph_edge* gugr::graph_vertex::e
 

Definition at line 284 of file gugr_basics.h.

Referenced by graph_vertex().

graph_vertex* gugr::graph_vertex::next
 

Definition at line 288 of file gugr_basics.h.

graph_vertex* gugr::graph_vertex::prev
 

Definition at line 289 of file gugr_basics.h.

gul::ptr_int_union gugr::graph_vertex::reserved[2]
 

Definition at line 286 of file gugr_basics.h.

vertex gugr::graph_vertex::v
 

Definition at line 283 of file gugr_basics.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 21 04:17:54 2002 for GUL 0.6 - Geometry Utility Library by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001