Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Standard_Storable Class Reference

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.

#include <Standard_Storable.hxx>

Public Member Functions

virtual DEFINE_STANDARD_ALLOC 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>.

Standard_Boolean IsEqual (const Standard_Storable &Other) const
 Returns true if the direct contents of <me> and
<Other> are memberwise equal.

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.

virtual void ShallowDump (Standard_OStream &S) const
 Prints the contents at the first level of <me> on
the stream <s>. The Root version of ShallowDump prints
the name of the class <me> is instance of, followed by
its memory address.


Constructor & Destructor Documentation

virtual Standard_Storable::~Standard_Storable ( ) [inline, virtual]

Member Function Documentation

Standard_Boolean Standard_Storable::operator== ( const Standard_Storable Other) const [inline]
virtual void Standard_Storable::ShallowDump ( Standard_OStream S) const [virtual]

The documentation for this class was generated from the following file: