title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

ptr.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gdt

Defines

#define COPY_INTO_PTR(T, x, p)   (new((void*)(&p),0) T(x))
#define PTR_ACCESS(T, p)   ptr_access((T*)0, p)
#define PTR_DEFAULT_INIT(T, p)   ptr_default_init((T*)0,p)
#define PTR_CONST_ACCESS(T, p)   ptr_const_access((T*)0, p)
#define PTR_DELETE(T, p)   ptr_delete((T*)0, p)

Typedefs

typedef void * gdt::Ptr

Functions

void * operator new (size_t, void *where, int)
void operator delete (void *, size_t)
void operator delete (void *, size_t, int)
void operator delete (void *, void *, int)
template<class T>
Ptr gdt::ptr_copy (T x)
template<class T>
T & gdt::ptr_access (T *, Ptr &p)
template<class T>
void gdt::ptr_default_init (T *, Ptr &p)
template<class T>
const T & gdt::ptr_const_access (T *, const Ptr &p)
template<class T>
void gdt::ptr_delete (T *, Ptr p)


Detailed Description

Definition in file ptr.h.


Define Documentation

#define COPY_INTO_PTR ( T,
x,
 )     (new((void*)(&p),0) T(x))

Definition at line 26 of file ptr.h.

Referenced by gdt::ptr_copy().

#define PTR_ACCESS ( T,
 )     ptr_access((T*)0, p)

Definition at line 40 of file ptr.h.

Referenced by gdt::gdtmap< Key, Value >::inf(), and gdt::gdtmap< Key, Value >::operator[]().

#define PTR_CONST_ACCESS ( T,
 )     ptr_const_access((T*)0, p)

Definition at line 60 of file ptr.h.

Referenced by gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::extract_max(), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::get_max(), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::inf(), gdt::gdtmap< Key, Value >::operator[](), gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::show_heap(), and gdt::gdtbinary_heap2< P, struct_gdtnode, gdt::LessToGreater< P, gdt::stdless< P > > >::show_list().

#define PTR_DEFAULT_INIT ( T,
 )     ptr_default_init((T*)0,p)

Definition at line 52 of file ptr.h.

Referenced by gdt::gdtmap< Key, Value >::undefine().

#define PTR_DELETE ( T,
 )     ptr_delete((T*)0, p)

Definition at line 72 of file ptr.h.

Referenced by gdt::gdtmap< Key, Value >::delete_table(), and gdt::gdtmap< Key, Value >::undefine().


Function Documentation

void operator delete ( void *  ,
void *  ,
int   
) [inline]

Definition at line 12 of file ptr.h.

void operator delete ( void *  ,
size_t  ,
int   
) [inline]

Definition at line 11 of file ptr.h.

void operator delete ( void *  ,
size_t   
) [inline]

Definition at line 10 of file ptr.h.

void* operator new ( size_t  ,
void *  where,
int   
) [inline]

Definition at line 7 of file ptr.h.


Generated on Thu Jan 10 14:48:16 2008 for GDToolkit GAPI by  doxygen 1.5.3