-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTLStack.h
More file actions
32 lines (24 loc) · 706 Bytes
/
Copy pathTLStack.h
File metadata and controls
32 lines (24 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* File: TLStack.h
* Project: QUEST
* Author: Axel Hirche, Marc Diefenbruch
* Date: (C) 1997 University of Essen, All rights reserved.
*/
#ifndef _TLSTACK_H_
#define _TLSTACK_H_
#include "SCL/SCList.h"
template <class T> class TLStack : public SCList<T>
{
public:
TLStack (void);
~TLStack (void);
T* Pop (void);
T* Top (void) const;
void Push (T*);
SCNatural Depth (void);
void Clear (void); // Kill all elements.
};
#ifndef __GNUC__
#include "TLStack.tmpl.h" // necessary for CC compiler
#endif
#endif // _TLSTACK_H_