|
Last change
on this file was
1615,
checked in by westram, 22 years ago
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | // ==================================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : arbtools.h // |
|---|
| 4 | // Purpose : small general purpose helper classes // |
|---|
| 5 | // Time-stamp: <Fri Aug/08/2003 07:36 MET Coder@ReallySoft.de> // |
|---|
| 6 | // // |
|---|
| 7 | // // |
|---|
| 8 | // Coded by Ralf Westram (coder@reallysoft.de) in August 2003 // |
|---|
| 9 | // Copyright Department of Microbiology (Technical University Munich) // |
|---|
| 10 | // // |
|---|
| 11 | // Visit our web site at: http://www.arb-home.de/ // |
|---|
| 12 | // // |
|---|
| 13 | // // |
|---|
| 14 | // ==================================================================== // |
|---|
| 15 | |
|---|
| 16 | #ifndef ARBTOOLS_H |
|---|
| 17 | #define ARBTOOLS_H |
|---|
| 18 | |
|---|
| 19 | // Base class for classes that may not be copied, neither via copy |
|---|
| 20 | // constructor or assignment operator. |
|---|
| 21 | |
|---|
| 22 | class Noncopyable { |
|---|
| 23 | Noncopyable(const Noncopyable&); |
|---|
| 24 | Noncopyable& operator=(const Noncopyable&); |
|---|
| 25 | public: |
|---|
| 26 | Noncopyable() {} |
|---|
| 27 | }; |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | #else |
|---|
| 31 | #error arbtools.h included twice |
|---|
| 32 | #endif // ARBTOOLS_H |
|---|
| 33 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.