Changeset 80 for trunk/src/SDMemTable.h


Ignore:
Timestamp:
09/07/04 10:56:27 (20 years ago)
Author:
mar637
Message:

a) Changed interface to "taql" to allow for source name seraches.
b) updated to use CASA include paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.h

    r78 r80  
    2929//# $Id:
    3030//#---------------------------------------------------------------------------
    31 #ifndef _SDMEMTABLE_H_
    32 #define _SDMEMTABLE_H_
     31#ifndef _SDMEMTABLE_H
     32#define _SDMEMTABLE_H
    3333
    3434// STL
     
    3636#include <vector>
    3737// AIPS++
    38 #include <aips/aips.h>
    39 #include <aips/Utilities/String.h>
    40 #include <aips/Tables/Table.h>
    41 #include <aips/Arrays/MaskedArray.h>
     38#include <casa/aips.h>
     39#include <casa/BasicSL/String.h>
     40#include <tables/Tables/Table.h>
     41#include <casa/Arrays/MaskedArray.h>
    4242
    43 #include <trial/Coordinates/SpectralCoordinate.h>
     43#include <coordinates/Coordinates/SpectralCoordinate.h>
    4444
    4545namespace atnf_sd {
     
    6363  // Copy Construct a SDMemTable, give a scanid constraint
    6464  // see also getScan()
    65   SDMemTable(const Table& tab, Int scanID);
     65  SDMemTable(const Table& tab, const std::string& expr);
    6666
    6767  virtual ~SDMemTable();
     
    114114  // get a new SDMemTable containg all rows with the same give SCANID
    115115  SDMemTable getScan(Int scanID);
     116  SDMemTable getSource(const std::string& source);
    116117
    117118  const TableRecord& getHeader() const {return table_.keywordSet();}
Note: See TracChangeset for help on using the changeset viewer.