Source
91
91
virtual casacore::Bool getSpectralWindowRow(sdfiller::SpectralWindowRecord &record) {
92
92
POST_START;
93
93
casacore::Bool return_value = (*this.*get_spw_row_)(record);
94
94
POST_END;
95
95
return return_value;
96
96
}
97
97
98
98
// for DataAccumulator
99
99
virtual casacore::Bool getData(size_t irow, sdfiller::DataRecord &record);
100
100
101
-
virtual int getNROArraySize() const {
101
+
int getNROArraySize() const {
102
102
// return obs_header_.ARYNM0; //obs_header_.NBEAM * obs_header_.NPOL * obs_header_.NSPWIN;
103
103
return NRO_ARYMAX;
104
104
}
105
-
virtual int getNRONumBeam() const {
105
+
int getNRONumBeam() const {
106
106
return obs_header_.NBEAM;
107
107
}
108
-
virtual int getNRONumPol() const {
108
+
int getNRONumPol() const {
109
109
return obs_header_.NPOL;
110
110
}
111
-
virtual int getNRONumSpw() const {
111
+
int getNRONumSpw() const {
112
112
return obs_header_.NSPWIN;
113
113
}
114
114
115
-
virtual bool isNROArrayUsed(int array_id) const {
115
+
bool isNROArrayUsed(int array_id) const {
116
116
return array_mapper_[array_id].isUsed();
117
117
}
118
-
virtual int getNROArrayBeamId(int array_id) const {
118
+
int getNROArrayBeamId(int array_id) const {
119
119
// assert(array_id >= 0 && array_id < getNROArraySize());
120
120
return array_mapper_[array_id].getBeamId();
121
121
}
122
-
virtual casacore::Stokes::StokesTypes getNROArrayPol(int array_id) const {
122
+
casacore::Stokes::StokesTypes getNROArrayPol(int array_id) const {
123
123
// assert(array_id >= 0 && array_id < getNROArraySize());
124
124
return array_mapper_[array_id].getPol();
125
125
}
126
-
virtual int getNROArraySpwId(int array_id) const {
126
+
int getNROArraySpwId(int array_id) const {
127
127
// assert(array_id >= 0 && array_id < getNROArraySize());
128
128
return array_mapper_[array_id].getSpwId();
129
129
}
130
130
131
131
protected:
132
132
void initializeSpecific();
133
133
void finalizeSpecific();
134
134
135
135
private:
136
136
FILE *fp_;