diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
| commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
| tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/stable/queue.h | |
| parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
| download | libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2 libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip | |
Converted tabs to spaces with tabconv.
Diffstat (limited to '')
| -rw-r--r-- | src/stable/queue.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/stable/queue.h b/src/stable/queue.h index a5f41e9..213d508 100644 --- a/src/stable/queue.h +++ b/src/stable/queue.h | |||
| @@ -10,31 +10,31 @@ | |||
| 10 | 10 | ||
| 11 | namespace Bu | 11 | namespace Bu |
| 12 | { | 12 | { |
| 13 | /** | 13 | /** |
| 14 | * Queue abstract baseclass | 14 | * Queue abstract baseclass |
| 15 | */ | 15 | */ |
| 16 | template<typename value> | 16 | template<typename value> |
| 17 | class Queue | 17 | class Queue |
| 18 | { | 18 | { |
| 19 | public: | 19 | public: |
| 20 | Queue() | 20 | Queue() |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | virtual ~Queue() | 24 | virtual ~Queue() |
| 25 | { | 25 | { |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | virtual void enqueue( const value &i )=0; | 28 | virtual void enqueue( const value &i )=0; |
| 29 | virtual value dequeue()=0; | 29 | virtual value dequeue()=0; |
| 30 | virtual value &peek()=0; | 30 | virtual value &peek()=0; |
| 31 | virtual const value &peek() const=0; | 31 | virtual const value &peek() const=0; |
| 32 | virtual bool isEmpty() const=0; | 32 | virtual bool isEmpty() const=0; |
| 33 | virtual int getSize() const=0; | 33 | virtual int getSize() const=0; |
| 34 | 34 | ||
| 35 | private: | 35 | private: |
| 36 | 36 | ||
| 37 | }; | 37 | }; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | #endif | 40 | #endif |
