-
Notifications
You must be signed in to change notification settings - Fork 2
/
AdiosStManIndColumn.h
51 lines (46 loc) · 1.99 KB
/
AdiosStManIndColumn.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// (c) University of Western Australia
// International Centre of Radio Astronomy Research
// M468, 35 Stirling Hwy
// Crawley, Perth WA 6009
// Australia
//
// Shanghai Astronomical Observatory, Chinese Academy of Sciences
// 80 Nandan Road, Shanghai 200030, China
//
// This library is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this library. If not, see <http://www.gnu.org/licenses/>.
//
// Any bugs, questions, concerns and/or suggestions please email to
#ifndef ADIOSSTMANINDCOLUMN_H
#define ADIOSSTMANINDCOLUMN_H
#include "AdiosStManColumn.h"
namespace casacore {
class AdiosStManIndColumn : public AdiosStManColumn
{
public:
AdiosStManIndColumn(AdiosStMan *aParent, int aDataType, uInt aColNr);
~AdiosStManIndColumn();
virtual void initAdiosWrite(uInt aNrRows);
virtual void initAdiosRead();
Bool canAccessSlice(Bool &reask) const;
virtual void flush();
virtual void setShapeColumn (const IPosition& shape);
virtual void setShape (uInt row, const IPosition& shape);
virtual IPosition shape(uInt RowID);
private:
virtual void getArrayMetaV (uint64_t rowStart, uint64_t nrRows, const Slicer& ns, void* dataPtr);
virtual void putArrayMetaV (uint64_t row, const void* data);
}; // end of class AdiosStManIndColumn
} // end of namespace casa
#endif