c++/EEDB/SPStreams/MultiMergeStream.cpp
/***** reset_stream_node
  Description: re-initialize this stream node prior to reconfiguring stream
*****/
reset_stream_node
Description: re-initialize this stream node prior to reconfiguring stream
reset_stream_node Description : re - initialize this stream node prior to reconfiguring stream
void EEDB::SPStreams::MultiMergeStream::_reset_stream_node() {
  vector<EEDB::SPStreams::MultistreamElement*>::iterator   it;
  for(it = _sourcestreams.begin(); it != _sourcestreams.end(); it++) {
    if((*it)->stream == NULL) { continue; }
    (*it)->current_object     = NULL;
    (*it)->stream_is_empty    = true;  
    (*it)->object_class       = MSE_OTHER;    
    (*it)->input_stream_count = 0;
    if((*it)->stream_is_source) {
    }
  }
}
void EEDB :: SPStreams :: MultiMergeStream :: _reset_stream_node ( ) { vector < EEDB :: SPStreams :: MultistreamElement * > :: iterator it ; for ( it = _sourcestreams . begin ( ) ; it != _sourcestreams . end ( ) ; it ++ ) { if ( ( * it ) -> stream == NULL ) { continue ; } ( * it ) -> current_object = NULL ; ( * it ) -> stream_is_empty = true ; ( * it ) -> object_class = MSE_OTHER ; ( * it ) -> input_stream_count = 0 ; if ( ( * it ) -> stream_is_source ) { } } }
reset_stream_node
Description: re-initialize this stream node prior to reconfiguring stream
reset_stream_node Description : re - initialize this stream node prior to reconfiguring stream
//reset to empty, _init_active_streams will change //EEDB::SPStreams::SourceStream  *source = (EEDB::SPStreams::SourceStream*) (*it)->stream; //source->sourcestream_output(_sourcestream_output);