summaryrefslogtreecommitdiff
path: root/docs/tutorials/011/data.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /docs/tutorials/011/data.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'docs/tutorials/011/data.h')
-rw-r--r--docs/tutorials/011/data.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/docs/tutorials/011/data.h b/docs/tutorials/011/data.h
deleted file mode 100644
index 098644c9a6f..00000000000
--- a/docs/tutorials/011/data.h
+++ /dev/null
@@ -1,73 +0,0 @@
-// $Id$
-
-#ifndef DATA_H
-#define DATA_H
-
-class DataBase
-{
-public:
- DataBase (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) DataBase ctor 0x%x\n",
- (void *) this));
- }
- virtual ~DataBase (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) DataBase dtor 0x%x\n",
- (void *) this));
- }
-
- void who_am_i (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) DataBase instance 0x%x\n",
- (void *) this));
- }
-
- virtual void what_am_i (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) I am a DataBase object\n"));
- }
-
-};
-
-class Data : public DataBase
-{
-public:
- Data (void)
- : message_ (-1)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Data ctor 0x%x\n",
- (void *) this));
- }
-
- Data (int message)
- : message_ (message)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Data ctor 0x%x for message %d\n",
- (void *) this, message_));
- }
- virtual ~Data (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Data dtor 0x%x\n",
- (void *) this));
- }
-
- void what_am_i (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) I am a Data object for message %d\n",
- message_));
- }
-
-protected:
- int message_;
-};
-
-#endif /* DATA_H */