|
// tzObject.h: interface for the tzObject class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TZOBJECT_H__51668446_3CF5_4484_97A5_9FE719791D20__INCLUDED_)
#define AFX_TZOBJECT_H__51668446_3CF5_4484_97A5_9FE719791D20__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class tzObject
{
public:
//
// Constructor/Destructor
//
tzObject();
virtual ~tzObject();
//
// To ensure a consistent comparison interface and to allow comparison
// of all kinds of different objects, we will define a comparison functions.
//
virtual int compare(tzObject *);
//
// To allow a deep copy of data structures we will define a standard interface...
// This member will return a copy of itself, freshly allocated and deep copied.
//
virtual tzObject *clone();
//
// To generate a key for this object, this will be used in Hash
//
virtual int key();
//
// To print out the content within the object
//
virtual void dump();
protected:
};
#endif // !defined(AFX_TZOBJECT_H__51668446_3CF5_4484_97A5_9FE719791D20__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.