c++/EEDB/SPStreams/MultiMergeStream.cpp
/***** stream_by_named_region
  Description: configure/initialize the stream-stack to a stream from a named region.
               This will be passed down the stack until it reaches an SPStream::SourceStream instance
               which then knows how to create a new stream from a database.
*****/
stream_by_named_region
Description: configure/initialize the stream-stack to a stream from a named region.
This will be passed down the stack until it reaches an SPStream::SourceStream instance
which then knows how to create a new stream from a database.
stream_by_named_region Description : configure / initialize the stream - stack to a stream from a named region . This will be passed down the stack until it reaches an SPStream :: SourceStream instance which then knows how to create a new stream from a database .
bool EEDB::SPStreams::MultiMergeStream::_stream_by_named_region(string assembly_name, string chrom_name, long int start, long int end) {
  bool rtn = true;
  vector<EEDB::SPStreams::MultistreamElement*>::iterator   it;
  for(it = _sourcestreams.begin(); it != _sourcestreams.end(); it++) {
    if((*it)->stream == NULL) { continue; }
    rtn &= (*it)->stream->stream_by_named_region(assembly_name, chrom_name, start, end);
  }
  _init_active_streams();  
  return rtn;
}
bool EEDB :: SPStreams :: MultiMergeStream :: _stream_by_named_region ( string assembly_name , string chrom_name , long int start , long int end ) { bool rtn = true ; vector < EEDB :: SPStreams :: MultistreamElement * > :: iterator it ; for ( it = _sourcestreams . begin ( ) ; it != _sourcestreams . end ( ) ; it ++ ) { if ( ( * it ) -> stream == NULL ) { continue ; } rtn &= ( * it ) -> stream -> stream_by_named_region ( assembly_name , chrom_name , start , end ) ; } _init_active_streams ( ) ; return rtn ; }
stream_by_named_region
Description: configure/initialize the stream-stack to a stream from a named region.
stream_by_named_region Description : configure / initialize the stream - stack to a stream from a named region .
//prepares for next_in_stream() calls