(className, baseClassName, aVersion) class CorPersistent : public CorBase

A simple persistent class

Inheritance:


Public Methods

CorPersistent ( const CorPersistent& aRef )
CorPersistent ()
CorBool isKindOf ( const CorRunTimeType* aType )
CorBool isStreamable ()
virtual CorPersistent* makeClone ()
CorPersistent& operator= ( const CorPersistent& aRef )
virtual void stream ( CorStream& aFile )
virtual ~CorPersistent ()

Public


Purpose
The d'tor

Purpose
Query if this class can be streamed

Purpose
The default c'tor

$Id: CorPersistent

Private Methods

friend void utest_CorPersistent (CorUnitTest&)
Purpose
Make a clone of this instance

Documentation

A simple persistent class
$Id: CorPersistent.h,v 1.2 1997/04/11 13:31:59 mwiedmer Exp $

SYNOPSIS

    #include <CorPersistent.h>
  
    CorPersistent myObject;
  

DESCRIPTION
This text serves as an example for the documentation of a class definition

CAUTIONS
This class does not do any pointer swivelling yet. It is only needed for other classes as a base, so that the CorStream can actually stream those objects.

EXAMPLES
<optional>

SEE ALSO
<optional>
CorBase

CorPersistent()

Purpose
The default c'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

CorPersistent( const CorPersistent& aRef )

CorPersistent& operator=( const CorPersistent& aRef )

virtual ~CorPersistent()

Purpose
The d'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

CorBool isStreamable()

Purpose
Query if this class can be streamed.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function retutns corTRUE if an this class can be streamed, ie. it is not an abstract class.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

CorBool isKindOf( const CorRunTimeType* aType )

virtual void stream( CorStream& aFile )

virtual CorPersistent* makeClone()

friend void utest_CorPersistent(CorUnitTest&)
Purpose
Make a clone of this instance.

Preconditions

Returns
This function retutns a pointer to a newly created instance that has the same properties as this one.

Exceptions


Direct child classes:
QucPlane
QucMedium
QucFunction1D
QucEquipmentModel
QucDirection
CorPtrArray
CorMapPtrToPtr

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de