Index: /trunk/BNC/bncpostprocess.cpp
===================================================================
--- /trunk/BNC/bncpostprocess.cpp	(revision 3674)
+++ /trunk/BNC/bncpostprocess.cpp	(revision 3675)
@@ -108,5 +108,6 @@
   // Read Observations
   // -----------------
-  while (_rnxObsFile->getEpoch() == success) {
+  const t_rnxObsFile::t_epo* epo = 0;
+  while ( (epo = _rnxObsFile->nextEpoch()) != 0) {
 
   }
Index: /trunk/BNC/rnxobsfile.cpp
===================================================================
--- /trunk/BNC/rnxobsfile.cpp	(revision 3674)
+++ /trunk/BNC/rnxobsfile.cpp	(revision 3675)
@@ -130,10 +130,10 @@
 // Retrieve single Epoch
 ////////////////////////////////////////////////////////////////////////////
-t_irc t_rnxObsFile::getEpoch() {
+const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpoch() {
   if (version() < 3.0) {
-    return getEpochV2();
+    return nextEpochV2();
   }
   else {
-    return getEpochV3();
+    return nextEpochV3();
   }
 }
@@ -141,11 +141,11 @@
 // Retrieve single Epoch (RINEX Version 3)
 ////////////////////////////////////////////////////////////////////////////
-t_irc t_rnxObsFile::getEpochV3() {
-  return failure; // TODO
+const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpochV3() {
+  return 0; // TODO
 }
 
 // Retrieve single Epoch (RINEX Version 2)
 ////////////////////////////////////////////////////////////////////////////
-t_irc t_rnxObsFile::getEpochV2() {
+const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpochV2() {
   while (_stream->status() == QTextStream::Ok && !_stream->atEnd()) {
     QString line = _stream->readLine();
@@ -174,4 +174,5 @@
       }
       QString prn = line.mid(pos, 3);
+      
       cout << "prn = " << prn.toAscii().data() << endl;
       pos += 3;
@@ -179,8 +180,8 @@
 
     //// beg test
-    return failure;
+    return 0;
     //// end test
   }
 
-  return success;
+  return &_currEpo;
 }
Index: /trunk/BNC/rnxobsfile.h
===================================================================
--- /trunk/BNC/rnxobsfile.h	(revision 3674)
+++ /trunk/BNC/rnxobsfile.h	(revision 3675)
@@ -60,14 +60,20 @@
   ~t_rnxObsFile();
 
+  class t_epo {
+   public:
+    QMap<QString, ColumnVector> satObs;
+  };
+
   float version() const {return _header.version();}
-  t_irc getEpoch(); 
+  const t_epo* nextEpoch(); 
 
  private:
-  t_irc getEpochV2();
-  t_irc getEpochV3();
+  const t_epo* nextEpochV2();
+  const t_epo* nextEpochV3();
 
   t_rnxObsHeader _header;
   QFile*         _file;
   QTextStream*   _stream;
+  t_epo          _currEpo;
 };
 
