c++/EEDB/ZDX/ZDXsegment.cpp
//when streaming, this will return the next segment in order after this one
when streaming, this will return the next segment in order after this one
when streaming this will return the next segment in order after this one
EEDB::ZDX::ZDXsegment*  EEDB::ZDX::ZDXsegment::first_segment() {
  if(!_zchrom) { return NULL;}
  EEDB::ZDX::ZDXsegment *zseg = new EEDB::ZDX::ZDXsegment(_zdxdb);
  if(!zseg->_init_segment(_zchrom_table.assembly_name, _zchrom->name, 1)) {
    zseg->release();
    return NULL;
  }
  return zseg;
}
EEDB :: ZDX :: ZDXsegment * EEDB :: ZDX :: ZDXsegment :: first_segment ( ) { if ( ! _zchrom ) { return NULL ; } EEDB :: ZDX :: ZDXsegment * zseg = new EEDB :: ZDX :: ZDXsegment ( _zdxdb ) ; if ( ! zseg -> _init_segment ( _zchrom_table . assembly_name , _zchrom -> name , 1 ) ) { zseg -> release ( ) ; return NULL ; } return zseg ; }
when streaming, this will return the next segment in order after this one
when streaming this will return the next segment in order after this one