Mantid
Loading...
Searching...
No Matches
isisraw2.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "isisraw.h"
10
12// isis raw
13class ISISRAW2 : public ISISRAW {
14public:
15 ISISRAW2();
16 ~ISISRAW2() override;
17
18 int ioRAW(FILE *file, bool from_file, bool read_data = true) override;
19
20 void skipData(FILE *file, int i);
21 bool readData(FILE *file, int i);
22 void clear();
23
24 int ndes;
25private:
26 char *outbuff;
28};
isis raw file.
Definition: isisraw2.h:13
~ISISRAW2() override
Definition: isisraw2.cpp:163
int m_bufferSize
Definition: isisraw2.h:27
char * outbuff
output buffer
Definition: isisraw2.h:26
int ndes
ndes
Definition: isisraw2.h:24
ISISRAW2()
No arg Constructor.
Definition: isisraw2.cpp:22
void skipData(FILE *file, int i)
Skip data.
Definition: isisraw2.cpp:133
int ioRAW(FILE *file, bool from_file, bool read_data=true) override
Loads the headers of the file, leaves the file pointer at a specific position.
Definition: isisraw2.cpp:43
bool readData(FILE *file, int i)
Read data.
Definition: isisraw2.cpp:146
void clear()
Clears the output buffer.
Definition: isisraw2.cpp:169
isis raw file.
Definition: isisraw.h:272
ISIS VMS raw file definitions.