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

gugr::vertex_rep Struct Reference

#include <gugr_basics.h>

List of all members.

Public Methods

 vertex_rep ()
 vertex_rep (const point2< rational > &av)
 ~vertex_rep ()
void * operator new (size_t s)
void operator delete (void *p, size_t s)

Public Attributes

point2< rational > v
int m_refcount
gul::ptr_int_union reserved


Constructor & Destructor Documentation

gugr::vertex_rep::vertex_rep   [inline]
 

Definition at line 120 of file gugr_basics.h.

References gul::ptr_int_union::i, m_refcount, and gul::ptr_int_union::p.

00121   { 
00122     m_refcount = 1;
00123     reserved.p = 0;
00124     reserved.i = 0;
00125   }

gugr::vertex_rep::vertex_rep const point2< rational > &    av [inline, explicit]
 

Definition at line 127 of file gugr_basics.h.

References gul::ptr_int_union::i, m_refcount, gul::ptr_int_union::p, and v.

00127                                                     : v(av) 
00128   { 
00129     m_refcount = 1;
00130     reserved.p = 0;
00131     reserved.i = 0;
00132   }

gugr::vertex_rep::~vertex_rep   [inline]
 

Definition at line 134 of file gugr_basics.h.

00135   {
00136   }


Member Function Documentation

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

Definition at line 145 of file gugr_basics.h.

References gust::PoolFree().

00146   {
00147     PoolFree( p, s );
00148   }

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

Definition at line 138 of file gugr_basics.h.

References gust::PoolAlloc().

00139   {
00140     size_t dummy;
00141     void *p = PoolAlloc( s, &dummy );
00142     if( p == NULL ) throw PoolAllocError();
00143     return(p);
00144   }


Member Data Documentation

int gugr::vertex_rep::m_refcount
 

Definition at line 117 of file gugr_basics.h.

Referenced by vertex_rep().

gul::ptr_int_union gugr::vertex_rep::reserved
 

Definition at line 118 of file gugr_basics.h.

point2<rational> gugr::vertex_rep::v
 

Definition at line 116 of file gugr_basics.h.

Referenced by vertex_rep().


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