|
|
researchv10 Norman
/* print_self.H -- base class for objects that want to support
the 'official' print self for \T in printf. */
/*
$Header: /var/lib/cvsd/repos/research/researchv10no/cmd/cfront/ooptcfront/print_self.H,v 1.1.1.1 2018/04/24 17:21:35 root Exp $
Copyright (c) 1989 by Object Design, Inc., Burlington, Mass.
All rights reserved.
*/
#ifndef _PRINT_SELF_CLASS
#define _PRINT_SELF_CLASS
#include <iostream.h>
class _Print_self {
public:
virtual char * type_name () const { return "OBJECT"; }
virtual int print_self (ostream&) const; // returns count of characters printed.
virtual int format_self (ostream&) const; // returns count of characters printed.
};
#endif
/*
$Log: print_self.H,v $
Revision 1.1.1.1 2018/04/24 17:21:35 root
researchv10 Norman
Revision 1.4 89/09/19 11:49:19 benson
rename class to _Print_self.
Revision 1.3 89/09/19 11:40:31 benson
missed a semicolon last time.
Revision 1.2 89/09/19 11:38:12 benson
const-ify.
Revision 1.1 89/05/22 13:28:40 benson
Initial revision
end_log
*/
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.