NAMD
Public Member Functions | Static Public Member Functions | Friends | List of all members
EntryGlob< Elem > Class Template Reference

#include <UniqueSetRaw.h>

Public Member Functions

 ~EntryGlob (void)
 
void clear (void)
 
EntryGlob< Elem > * next (void)
 
EntryGlob< Elem > * setNext (EntryGlob< Elem > *e)
 

Static Public Member Functions

static void clearChain (EntryGlob< Elem > *e)
 

Friends

class UniqueSetIter< Elem >
 
class UniqueSetRaw< Elem >
 

Detailed Description

template<class Elem>
class EntryGlob< Elem >

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 17 of file UniqueSetRaw.h.

Constructor & Destructor Documentation

template<class Elem>
EntryGlob< Elem >::~EntryGlob ( void  )
inline

Definition at line 91 of file UniqueSetRaw.h.

91 { clear(); }
void clear(void)
Definition: UniqueSetRaw.h:93

Member Function Documentation

template<class Elem>
void EntryGlob< Elem >::clear ( void  )
inline

Definition at line 93 of file UniqueSetRaw.h.

Referenced by EntryGlob< ProxyElem >::~EntryGlob().

93 { delete[] glob; }
template<class Elem>
static void EntryGlob< Elem >::clearChain ( EntryGlob< Elem > *  e)
inlinestatic

Definition at line 101 of file UniqueSetRaw.h.

101  {
102  while(e) { EntryGlob<Elem> *tmp = e->next(); delete e; e = tmp; }
103  }
EntryGlob< Elem > * next(void)
Definition: UniqueSetRaw.h:95
template<class Elem>
EntryGlob<Elem>* EntryGlob< Elem >::next ( void  )
inline

Definition at line 95 of file UniqueSetRaw.h.

Referenced by EntryGlob< ProxyElem >::clearChain(), and UniqueSetIter< Type >::gotoUsed().

95 { return _next; }
template<class Elem>
EntryGlob<Elem>* EntryGlob< Elem >::setNext ( EntryGlob< Elem > *  e)
inline

Definition at line 97 of file UniqueSetRaw.h.

97  {
98  this->_next = e; return this;
99  }

Friends And Related Function Documentation

template<class Elem>
friend class UniqueSetIter< Elem >
friend

Definition at line 86 of file UniqueSetRaw.h.

template<class Elem>
friend class UniqueSetRaw< Elem >
friend

Definition at line 87 of file UniqueSetRaw.h.


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