Changeset 1814


Ignore:
Timestamp:
08/02/10 14:18:05 (14 years ago)
Author:
Malte Marquarding
Message:

Use casa::String instead as it is derived from std::string but also provides extra features

Location:
branches/newfiller/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/newfiller/src/Scantable.cpp

    r1804 r1814  
    12461246}
    12471247
    1248 std::string Scantable::getAntennaName() const
     1248String Scantable::getAntennaName() const
    12491249{
    12501250  String out;
  • branches/newfiller/src/Scantable.h

    r1757 r1814  
    237237
    238238  /**
    239    * Get flagRow info at the specified row. If true, the whole data 
     239   * Get flagRow info at the specified row. If true, the whole data
    240240   * at the row should be flagged.
    241241   */
     
    250250
    251251  /**
    252    * Return a list of booleans with the size of nchan for a specified row, to get info 
     252   * Return a list of booleans with the size of nchan for a specified row, to get info
    253253   * about which channel is clipped.
    254254   */
    255255  std::vector<bool> getClipMask(int whichrow, const casa::Float uthres, const casa::Float dthres, bool clipoutside, bool unflag);
    256   void srchChannelsToClip(casa::uInt whichrow, const casa::Float uthres, const casa::Float dthres, bool clipoutside, bool unflag, 
     256  void srchChannelsToClip(casa::uInt whichrow, const casa::Float uthres, const casa::Float dthres, bool clipoutside, bool unflag,
    257257                          casa::Vector<casa::uChar> flgs);
    258258
     
    441441   * @return antenna name string
    442442   */
    443   std::string getAntennaName() const;
     443  casa::String getAntennaName() const;
    444444
    445445  /**
     
    470470   * @param[in] nmin, nmax minimum and maximum channel
    471471   * @param[in] irow       row number
    472    * 
    473    * 30/07/2008 Takeshi Nakazato 
     472   *
     473   * 30/07/2008 Takeshi Nakazato
    474474   **/
    475475  void reshapeSpectrum( int nmin, int nmax ) throw( casa::AipsError );
     
    486486  void regridChannel( int nchan, double dnu, int irow ) ;
    487487
    488  
     488
    489489private:
    490490
     
    583583
    584584  /**
    585    * Add an auxiliary column to the main table and attach it to a 
     585   * Add an auxiliary column to the main table and attach it to a
    586586   * cached column. Use for adding new columns that the original asap2
    587    * tables do not have. 
     587   * tables do not have.
    588588   * @param[in] col      reference to the cached column to be attached
    589589   * @param[in] colName  column name in asap table
Note: See TracChangeset for help on using the changeset viewer.