INodeValidity.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE:           INodeValidity.h
00004 
00005     DESCRIPTION:    Declare BaseInterface class INodeValidity
00006                                              
00007     CREATED BY:     MIchael Zyracki
00008 
00009     HISTORY:        created Aug 6, 2004
00010 
00011  *> Copyright (c) 2004, All Rights Reserved.
00012  **********************************************************************/
00013 #pragma once
00014 
00015 #include "baseinterface.h"
00016 #include "interval.h"
00017 
00018 // The interface ID for class INodeValidity
00019 #define NODEVALIDITY_INTERFACE Interface_ID(0x15ce0b65, 0x6acd24ba)
00020 
00021 // Provides access to the nodes layer and bylayer bits
00022 class INodeValidity : public BaseInterface 
00023 {
00024 public:
00025     //get access to the node validity intervals 
00026     virtual Interval GetObValid() =0;
00027     virtual Interval GetWSValid() =0;
00028     virtual Interval GetTMValid() =0;
00029 
00030     Interface_ID    GetID() { return NODEVALIDITY_INTERFACE; }
00031     LifetimeType    LifetimeControl() { return wantsRelease; }
00032     void            DeleteInterface() =0;
00033 
00034 };