Ignore:
Timestamp:
08/26/10 13:04:24 (14 years ago)
Author:
Malte Marquarding
Message:

pass down record for filler options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FillerWrapper.h

    r1819 r1904  
    1616#include <casa/Exceptions.h>
    1717#include <casa/Utilities/CountedPtr.h>
     18#include <casa/Containers/Record.h>
    1819#include <casa/OS/File.h>
    1920
     
    3839
    3940
    40 //  void open(const std::string& filename, casa::Record rec) {
    41   void open(const std::string& filename) {
     41  void open(const std::string& filename, const casa::Record& rec) {
     42    //  void open(const std::string& filename) {
    4243    casa::File file(filename);
    4344    if ( !file.exists() ) {
     
    4546    }
    4647    filler_ = new PKSFiller(stable_);
    47 //    if (filler_->open(filename, rec)) {
    48     if (filler_->open(filename)) {
     48    if (filler_->open(filename, rec)) {
     49      //    if (filler_->open(filename)) {
    4950      attached_ = true;
    5051      return;
    5152    }
    5253    filler_ = new NROFiller(stable_);
    53 //    if (filler_->open(filename, rec)) {
    54     if (filler_->open(filename)) {
     54    if (filler_->open(filename, rec)) {
     55      //    if (filler_->open(filename)) {
    5556      attached_ = true;
    5657      return;
Note: See TracChangeset for help on using the changeset viewer.