Description

This is the base data for all types of references.

The base implementation is basically useless unless it has some inherited implementation (see other classes below)

#include <ChRef.h>

Inheritance diagram for chrono::ChRef:

Public Member Functions

virtual bool IsValid ()
 Tells if the reference is currently valid. More...
 
virtual bool RestoreReference ()
 This may be overloaded by child classes. More...
 

Protected Attributes

bool valid
 

Member Function Documentation

virtual bool chrono::ChRef::IsValid ( )
virtual

Tells if the reference is currently valid.

Instead of implementing it, child classes may simply set valif=false (or true) depending on the result of their implementations of RestoreReference();

virtual bool chrono::ChRef::RestoreReference ( )
virtual

This may be overloaded by child classes.

Argument should be the 'database' where the reference restoring takes place. Should return false if referencing was not possible. Should set valid=true/false depending on referencing success.