Ignore:
Timestamp:
10/04/16 18:20:50 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes/No?

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...


Check-in asap modifications from Jim regarding casacore namespace conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STApplyTable.h

    r2964 r3106  
    3636public:
    3737  STApplyTable() {;}
    38   STApplyTable(const Scantable& parent, const casa::String& name);
    39   STApplyTable(const casa::String &name);
     38  STApplyTable(const Scantable& parent, const casacore::String& name);
     39  STApplyTable(const casacore::String &name);
    4040
    4141  virtual ~STApplyTable();
     
    4949   * Name of the table
    5050   ***/
    51   virtual const casa::String& name() const = 0;
     51  virtual const casacore::String& name() const = 0;
    5252
    53   const casa::Table& table() const { return table_; }
    54   casa::Table table() { return table_; }
     53  const casacore::Table& table() const { return table_; }
     54  casacore::Table table() { return table_; }
    5555  void attach();
    5656  void attachBaseColumns();
    5757  virtual void attachOptionalColumns() = 0;
    5858
    59   casa::uInt nrow() {return table_.nrow();}
     59  casacore::uInt nrow() {return table_.nrow();}
    6060
    61   casa::Vector<casa::uInt> getScan() const {return scanCol_.getColumn();}
    62   casa::Vector<casa::uInt> getCycle() const {return cycleCol_.getColumn();}
    63   casa::Vector<casa::uInt> getBeam() const {return beamCol_.getColumn();}
    64   casa::Vector<casa::uInt> getIF() const {return ifCol_.getColumn();}
    65   casa::Vector<casa::uInt> getPol() const {return polCol_.getColumn();}
    66   casa::Vector<casa::Double> getTime() const {return timeCol_.getColumn();}
     61  casacore::Vector<casacore::uInt> getScan() const {return scanCol_.getColumn();}
     62  casacore::Vector<casacore::uInt> getCycle() const {return cycleCol_.getColumn();}
     63  casacore::Vector<casacore::uInt> getBeam() const {return beamCol_.getColumn();}
     64  casacore::Vector<casacore::uInt> getIF() const {return ifCol_.getColumn();}
     65  casacore::Vector<casacore::uInt> getPol() const {return polCol_.getColumn();}
     66  casacore::Vector<casacore::Double> getTime() const {return timeCol_.getColumn();}
    6767
    6868  void setSelection(STSelector &sel, bool sortByTime=false);
    6969  void unsetSelection();
    70   casa::String caltype();
     70  casacore::String caltype();
    7171
    72   void save(const casa::String &name);
     72  void save(const casacore::String &name);
    7373
    74   virtual casa::uInt nchan(casa::uInt ifno) = 0;
     74  virtual casacore::uInt nchan(casacore::uInt ifno) = 0;
    7575
    7676  // static methods
    77   static STCalEnum::CalType getCalType(const casa::String &name);
    78   static STCalEnum::CalType getCalType(casa::CountedPtr<STApplyTable> tab);
     77  static STCalEnum::CalType getCalType(const casacore::String &name);
     78  static STCalEnum::CalType getCalType(casacore::CountedPtr<STApplyTable> tab);
    7979  static STCalEnum::CalType getCalType(STApplyTable *tab);
    8080
    8181protected:
    82   void setbasedata(casa::uInt irow, casa::uInt scanno, casa::uInt cycleno,
    83                    casa::uInt beamno, casa::uInt ifno, casa::uInt polno,
    84                    casa::uInt freqid, casa::Double time);
    85   casa::Block<casa::Double> getFrequenciesRow(casa::uInt id);
     82  void setbasedata(casacore::uInt irow, casacore::uInt scanno, casacore::uInt cycleno,
     83                   casacore::uInt beamno, casacore::uInt ifno, casacore::uInt polno,
     84                   casacore::uInt freqid, casacore::Double time);
     85  casacore::Block<casacore::Double> getFrequenciesRow(casacore::uInt id);
    8686
    87   casa::Table table_, originaltable_;
    88   casa::ScalarColumn<casa::uInt> scanCol_, cycleCol_, beamCol_, ifCol_, polCol_, freqidCol_;
    89   casa::ScalarColumn<casa::Double> timeCol_;
    90   casa::MEpoch::ScalarColumn timeMeasCol_;
     87  casacore::Table table_, originaltable_;
     88  casacore::ScalarColumn<casacore::uInt> scanCol_, cycleCol_, beamCol_, ifCol_, polCol_, freqidCol_;
     89  casacore::ScalarColumn<casacore::Double> timeCol_;
     90  casacore::MEpoch::ScalarColumn timeMeasCol_;
    9191  STSelector sel_;
    92   casa::LogIO os_;
     92  casacore::LogIO os_;
    9393
    9494private:
    95   static STCalEnum::CalType stringToType(const casa::String &caltype);
     95  static STCalEnum::CalType stringToType(const casacore::String &caltype);
    9696};
    9797
Note: See TracChangeset for help on using the changeset viewer.