source: trunk/src/STUpgrade.h @ 3106

Last change on this file since 3106 was 3106, checked in by Takeshi Nakazato, 8 years ago

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 size: 780 bytes
Line 
1//
2// C++ Interface: STUpgrade
3//
4// Description:
5//   Seemlessly upgrade an old version of scantable files to the current
6//   schema.
7//
8// Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2011
9//
10// Copyright: See COPYING file that comes with this distribution
11//
12//
13#ifndef ASAPSTUPGRADE_H
14#define ASAPSTUPGRADE_H
15
16#include <casa/aips.h>
17#include <string>
18
19
20namespace asap {
21
22/**
23A class to upgrade Scantable schemas
24
25@author Malte Marquarding
26*/
27class STUpgrade {
28public:
29  explicit STUpgrade(casacore::uInt version) { version_ = version ;}
30  virtual ~STUpgrade() {;}
31
32  std::string two2three(const std::string& name);
33  std::string three2four(const std::string& name);
34
35  std::string upgrade(const std::string& name);
36 
37private:
38  casacore::uInt version_;
39};
40
41}
42
43#endif
Note: See TracBrowser for help on using the repository browser.