File: anyobj.h

package info (click to toggle)
bcpp 0.0.20050725-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 680 kB
  • ctags: 336
  • sloc: cpp: 4,410; sh: 2,871; makefile: 179
file content (20 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _ANYOBJECT_HEADER
#define _ANYOBJECT_HEADER

// Program code written by Steven De Toni ACBC 11

// This header contains a base class definition with a virtual destructor
// so that existing objects that inherit from it use their proper destructor
// no matter what type they are when being deleted.

// ###############################################################################
// #### ANYOBJECT Class ####
// #########################
// Class used within container (TWOWAYLL) to store objects.
// This is the base class for every other object to use.
class ANYOBJECT
{
      public:
      virtual ~ANYOBJECT (void);
};
#endif