c++/EEDB/SPStreams/MultiMergeStream.cpp
/***** set_sourcestream_output
  Description: sets output object (Feature, Expression, Edge) when streaming 
*****/
set_sourcestream_output
Description: sets output object (Feature, Expression, Edge) when streaming
set_sourcestream_output Description : sets output object ( Feature Expression Edge ) when streaming
void  EEDB::SPStreams::MultiMergeStream::set_sourcestream_output(string value) {
  vector<EEDB::SPStreams::MultistreamElement*>::iterator   it;
  for(it = _sourcestreams.begin(); it != _sourcestreams.end(); it++) {
    if((*it)->stream == NULL) { continue; }
    if((*it)->stream_is_source) {
      EEDB::SPStreams::SourceStream  *source = (EEDB::SPStreams::SourceStream*) (*it)->stream;
      source->set_sourcestream_output(value);
    }
  }
}
void EEDB :: SPStreams :: MultiMergeStream :: set_sourcestream_output ( string value ) { vector < EEDB :: SPStreams :: MultistreamElement * > :: iterator it ; for ( it = _sourcestreams . begin ( ) ; it != _sourcestreams . end ( ) ; it ++ ) { if ( ( * it ) -> stream == NULL ) { continue ; } if ( ( * it ) -> stream_is_source ) { EEDB :: SPStreams :: SourceStream * source = ( EEDB :: SPStreams :: SourceStream * ) ( * it ) -> stream ; source -> set_sourcestream_output ( value ) ; } } }
set_sourcestream_output
Description: sets output object (Feature, Expression, Edge) when streaming
set_sourcestream_output Description : sets output object ( Feature Expression Edge ) when streaming