version 1.5, 2001/03/04 21:57:34
|
version 1.6, 2001/03/29 16:40:31
|
|
|
// Author: | // Author: |
// | // |
// $Log$ | // $Log$ |
|
// Revision 1.6 2001/03/29 16:40:31 karl |
|
// add doc |
|
// |
// Revision 1.5 2001/03/04 21:57:34 bob | // Revision 1.5 2001/03/04 21:57:34 bob |
// Changed print methods to take a stream instead of hardcoded cout | // Changed print methods to take a stream instead of hardcoded cout |
// | // |
|
|
{ | { |
public: | public: |
| |
/** Constructor - Creates and instantiates a new object reprenting a CIM |
/** Constructor - Creates an uninitiated a new CIM object |
class. If you use this constructor, use setName to define a name for |
reprenting a CIM class. The class object created by this |
the class |
constructor can only be used in an operation such as the |
|
copy constructor. It cannot be used to create a class by |
|
appending names, properties, etc. since it is unitiated. |
|
|
|
Useone of the other constructors to create an initiated new CIM class |
|
object. |
*/ | */ |
CIMClass() : _rep(0) | CIMClass() : _rep(0) |
{ | { |
|
|
Inc(_rep = x._rep); | Inc(_rep = x._rep); |
} | } |
| |
/// Operator = ATTN: |
/// Operator = Assigns the CIM Class constructor. |
CIMClass& operator=(const CIMClass& x) | CIMClass& operator=(const CIMClass& x) |
{ | { |
if (x._rep != _rep) | if (x._rep != _rep) |