Ignore:
Timestamp:
07/06/06 11:28:10 (18 years ago)
Author:
mar637
Message:

enabled another constructor to handle disk based tables; chnaged this interface to be int instead of string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ScantableWrapper.h

    r1068 r1077  
    3737public:
    3838  ScantableWrapper( const std::string& name,
    39                     const std::string& type="")
     39                    int type=0)
    4040  {
    4141    casa::Table::TableType tp = casa::Table::Memory;
    42     if ( type == "disk") tp = casa::Table::Plain;
     42    if ( type == 1 ) tp = casa::Table::Plain;
    4343    table_ = new Scantable(name, tp);
    4444  }
    4545
    46   ScantableWrapper(const std::string& type="")
     46  ScantableWrapper(int type=0)
    4747  {
    4848    casa::Table::TableType tp = casa::Table::Memory;
    49     if ( type == "disk") tp = casa::Table::Plain;
     49    if ( type == 1) tp = casa::Table::Plain;
    5050    table_= new Scantable(tp);
    5151  }
Note: See TracChangeset for help on using the changeset viewer.