CGEM BOSS
6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
GmsListLink.h
Go to the documentation of this file.
1
// File: GmsListLink.h
2
// Author: Alan Breakstone
3
4
/* This class is derived from a similar class in "A C++ Toolkit",
5
which is Copyright 1991 by Jonathan S. Shapiro, and is used
6
with permission. "A C++ Toolkit" is published by Prentice Hall, Inc. */
7
8
// Contents ---------------------------------------------------------
9
//
10
// GmsListLink
11
//
12
// Description:
13
//
14
// C++ header file for Gismo GmsListLink class
15
//
16
// End --------------------------------------------------------------
17
18
19
// Interface Dependencies -------------------------------------------
20
21
#ifndef GMSLISTLINK_H
22
#define GMSLISTLINK_H
23
24
// End Interface Dependencies ---------------------------------------
25
26
27
// Class //
28
29
class
GmsListLink
30
{
// base class for any object that needs to be part of a doubly-linked list
31
friend
class
GmsList
;
32
protected
:
// make available to derived classes
33
GmsListLink
*
_next
;
// pointer to next item in list
34
GmsListLink
*
_prev
;
// pointer to previous item in list
35
public
:
36
GmsListLink
() {
_next
=
_prev
= 0; }
37
virtual
~GmsListLink
();
38
GmsListLink
*
next
()
const
{
return
_next
; }
39
GmsListLink
*
prev
()
const
{
return
_prev
; }
40
};
41
42
#endif
GmsListLink
Definition:
GmsListLink.h:30
GmsListLink::GmsListLink
GmsListLink()
Definition:
GmsListLink.h:36
GmsListLink::prev
GmsListLink * prev() const
Definition:
GmsListLink.h:39
GmsListLink::_prev
GmsListLink * _prev
Definition:
GmsListLink.h:34
GmsListLink::~GmsListLink
virtual ~GmsListLink()
Definition:
GmsListLink.cxx:16
GmsListLink::next
GmsListLink * next() const
Definition:
GmsListLink.h:38
GmsListLink::_next
GmsListLink * _next
Definition:
GmsListLink.h:33
GmsList
Definition:
GmsList.h:33
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-49
MdcTrkRecon
GmsListLink.h
Generated by
1.9.6