Changeset 842


Ignore:
Timestamp:
02/23/06 11:22:31 (19 years ago)
Author:
mar637
Message:

added CYCLENO get/set

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STSelector.cpp

    r812 r842  
    6262{
    6363  set("POLNO", pols);
     64}
     65
     66void asap::STSelector::setCycles( const std::vector< int >& cycs )
     67{
     68  set("CYCLENO", cycs);
    6469}
    6570
     
    133138}
    134139
     140std::vector< int > asap::STSelector::getCycles( )
     141{
     142  return get("CYCLENO");
     143}
     144
    135145std::string asap::STSelector::print( )
    136146{
  • trunk/src/STSelector.h

    r812 r842  
    3434  STSelector& operator=(const STSelector& other);
    3535
    36   ~STSelector();
     36  virtual ~STSelector();
    3737
    3838  void setScans(const std::vector<int>& scans);
     
    4040  void setIFs(const std::vector<int>& ifs);
    4141  void setPolarizations(const std::vector<int>& pols);
     42  void setCycles(const std::vector<int>& cycs);
    4243  void setTaQL(const std::string& taql);
    4344
     
    4647  std::vector<int> getIFs();
    4748  std::vector<int> getPols();
     49  std::vector<int> getCycles();
    4850
    4951  casa::Table apply(const casa::Table& tab);
Note: See TracChangeset for help on using the changeset viewer.