Stefan Schuermans commited on 2011-12-19 18:12:38
Showing 3 changed files, with 21 additions and 0 deletions.
| ... | ... |
@@ -40,6 +40,13 @@ public: |
| 40 | 40 |
*/ |
| 41 | 41 |
const InStreamFile & operator=(const File &file); |
| 42 | 42 |
|
| 43 |
+private: |
|
| 44 |
+ /// copy constructor disabled |
|
| 45 |
+ InStreamFile(const InStreamFile &that); |
|
| 46 |
+ |
|
| 47 |
+ /// assignment operator disabled |
|
| 48 |
+ const InStreamFile & operator=(const InStreamFile &that); |
|
| 49 |
+ |
|
| 43 | 50 |
public: |
| 44 | 51 |
/** |
| 45 | 52 |
* @brief set stream receiver |
| ... | ... |
@@ -41,6 +41,13 @@ public: |
| 41 | 41 |
*/ |
| 42 | 42 |
const OutStreamFile & operator=(const File &file); |
| 43 | 43 |
|
| 44 |
+private: |
|
| 45 |
+ /// copy constructor disabled |
|
| 46 |
+ OutStreamFile(const OutStreamFile &that); |
|
| 47 |
+ |
|
| 48 |
+ /// assignment operator disabled |
|
| 49 |
+ const OutStreamFile & operator=(const OutStreamFile &that); |
|
| 50 |
+ |
|
| 44 | 51 |
public: |
| 45 | 52 |
/// update, i.e. (re-)read file and reference new stream |
| 46 | 53 |
void update(); |
| ... | ... |
@@ -40,6 +40,13 @@ public: |
| 40 | 40 |
*/ |
| 41 | 41 |
const StreamFile & operator=(const File &file); |
| 42 | 42 |
|
| 43 |
+private: |
|
| 44 |
+ /// copy constructor disabled |
|
| 45 |
+ StreamFile(const StreamFile &that); |
|
| 46 |
+ |
|
| 47 |
+ /// assignment operator disabled |
|
| 48 |
+ const StreamFile & operator=(const StreamFile &that); |
|
| 49 |
+ |
|
| 43 | 50 |
public: |
| 44 | 51 |
/// update, i.e. (re-)read file and reference new stream |
| 45 | 52 |
void update(); |
| 46 | 53 |