version 1.33, 2002/04/29 16:52:55
|
version 1.34, 2002/04/30 18:03:11
|
|
|
{ | { |
if (x._rep != _rep) | if (x._rep != _rep) |
{ | { |
|
if (_rep) |
|
{ |
Dec(_rep); | Dec(_rep); |
|
} |
Inc(_rep = x._rep); | Inc(_rep = x._rep); |
} | } |
return *this; | return *this; |
|
|
/// Destructor | /// Destructor |
~CIMClass() | ~CIMClass() |
{ | { |
|
if (_rep) |
|
{ |
Dec(_rep); | Dec(_rep); |
} | } |
|
} |
| |
/** isAssociation - Identifies whether or not this CIM class | /** isAssociation - Identifies whether or not this CIM class |
is an association. An association is a relationship between two | is an association. An association is a relationship between two |
|
|
{ | { |
if (x._rep != _rep) | if (x._rep != _rep) |
{ | { |
|
if (_rep) |
|
{ |
Dec(_rep); | Dec(_rep); |
|
} |
Inc(_rep = x._rep); | Inc(_rep = x._rep); |
} | } |
return *this; | return *this; |
|
|
{ | { |
if (x._rep != _rep) | if (x._rep != _rep) |
{ | { |
|
if (_rep) |
|
{ |
Dec(_rep); | Dec(_rep); |
|
} |
Inc(_rep = x._rep); | Inc(_rep = x._rep); |
} | } |
return *this; | return *this; |
|
|
| |
~CIMConstClass() | ~CIMConstClass() |
{ | { |
|
if (_rep) |
|
{ |
Dec(_rep); | Dec(_rep); |
} | } |
|
} |
| |
Boolean isAssociation() const | Boolean isAssociation() const |
{ | { |