1 // SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : DataFlowBase_InDataStreamPort.hxx
8 // Author : Jean Rahuel
12 #ifndef _DATAFLOWBASE_INDATASTREAMPORT_HXX
13 #define _DATAFLOWBASE_INDATASTREAMPORT_HXX
15 #include "DataFlowBase_OutPort.hxx"
19 class InDataStreamPort : public InPort {
23 // if TimeDependency :
24 SUPERV::KindOfSchema _KindOfSchema ;
25 SUPERV::KindOfInterpolation _KindOfInterpolation ;
26 SUPERV::KindOfExtrapolation _KindOfExtrapolation ;
34 InDataStreamPort( const char *const * NodeName ,
35 const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ,
36 const SALOME_ModuleCatalog::DataStreamDependency aDependency = SALOME_ModuleCatalog::DATASTREAM_UNDEFINED ,
37 const SUPERV::KindOfSchema aKindOfSchema = SUPERV::SCHENULL ,
38 const SUPERV::KindOfInterpolation aKindOfInterpolation = SUPERV::INTERNULL ,
39 const SUPERV::KindOfExtrapolation aKindOfExtrapolation = SUPERV::EXTRANULL ) ;
41 virtual ~InDataStreamPort() ;
43 bool SetParams( const SUPERV::KindOfSchema aKindOfSchema ,
44 const SUPERV::KindOfInterpolation aKindOfInterpolation ,
45 const SUPERV::KindOfExtrapolation aKindOfExtrapolation ) ;
47 void Params( SUPERV::KindOfSchema & aKindOfSchema ,
48 SUPERV::KindOfInterpolation & aKindOfInterpolation ,
49 SUPERV::KindOfExtrapolation & aKindOfExtrapolation ) const ;
55 ostream & operator<< (ostream &,const SUPERV::KindOfSchema &);
57 ostream & operator<< (ostream &,const SUPERV::KindOfInterpolation &);
59 ostream & operator<< (ostream &,const SUPERV::KindOfExtrapolation &);