Changeset 3843 in ntrip for trunk/BNC/rinex/rnxobsfile.cpp


Ignore:
Timestamp:
Apr 12, 2012, 1:53:38 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r3837 r3843  
    220220// Constructor
    221221////////////////////////////////////////////////////////////////////////////
    222 t_rnxObsFile::t_rnxObsFile(const QString& fileName) {
     222t_rnxObsFile::t_rnxObsFile(const QString& fileName, e_inpOut inpOut) {
     223  _inpOut       = inpOut;
    223224  _stream       = 0;
    224225  _flgPowerFail = false;
    225   open(fileName);
     226  if (_inpOut == input) {
     227    openRead(fileName);
     228  }
     229  else {
     230  }
    226231}
    227232
    228233// Open
    229234////////////////////////////////////////////////////////////////////////////
    230 void t_rnxObsFile::open(const QString& fileName) {
     235void t_rnxObsFile::openRead(const QString& fileName) {
    231236
    232237  _fileName = fileName; expandEnvVar(_fileName);
Note: See TracChangeset for help on using the changeset viewer.