Open CASCADE Technology
6.9.0
|
This class Storable is an abstract class that allows built-in primitive types to be extended. They are not themselves persistent, but are known by the database, therefore can be used to define the internal representation of persistent objects. Otherwise, all the fields of subclasses of Object MUST inherit from Storable. More...
#include <Standard_Storable.hxx>
Public Member Functions | |
virtual void | Delete () |
virtual | ~Standard_Storable () |
virtual Standard_Integer | HashCode (const Standard_Integer Upper) const |
Returns a hashed value denoting <me>. This value is in the range 1..<Upper>. More... | |
Standard_Boolean | IsEqual (const Standard_Storable &Other) const |
Returns true if the direct contents of <me> and <Other> are memberwise equal. More... | |
Standard_Boolean | operator== (const Standard_Storable &Other) const |
Standard_Boolean | IsSimilar (const Standard_Storable &Other) const |
Returns true if the Deep contents of <me> and <Other> are memberwise equal. More... | |
This class Storable is an abstract class that allows built-in primitive types to be extended. They are not themselves persistent, but are known by the database, therefore can be used to define the internal representation of persistent objects. Otherwise, all the fields of subclasses of Object MUST inherit from Storable.
This class provides also a framework for copying, comparing and printing.
|
inlinevirtual |
|
virtual |
|
virtual |
Returns a hashed value denoting <me>. This value is in the range 1..<Upper>.
Standard_Boolean Standard_Storable::IsEqual | ( | const Standard_Storable & | Other | ) | const |
Returns true if the direct contents of <me> and <Other> are memberwise equal.
Standard_Boolean Standard_Storable::IsSimilar | ( | const Standard_Storable & | Other | ) | const |
Returns true if the Deep contents of <me> and <Other> are memberwise equal.
|
inline |