Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1RawIO.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 20:10:07 2011 Кодировка: Поисковые слова: п п п п п п |
Class for IO in local format. More...
#include <RawIO.h>
Public Member Functions | |
RawIO (ByteIO *byteIO, Bool takeOver=False) | |
Constructor. | |
RawIO (const RawIO &rawIO) | |
The copy constructor uses reference semantics. | |
RawIO & | operator= (const RawIO &rawIO) |
The assignment operator uses reference semantics. | |
~RawIO () | |
Destructor. | |
virtual uInt | write (uInt nvalues, const Bool *value) |
Write the values to the ByteIO object. | |
virtual uInt | write (uInt nvalues, const Char *data) |
virtual uInt | write (uInt nvalues, const uChar *data) |
virtual uInt | write (uInt nvalues, const Short *data) |
virtual uInt | write (uInt nvalues, const uShort *data) |
virtual uInt | write (uInt nvalues, const Int *data) |
virtual uInt | write (uInt nvalues, const uInt *data) |
virtual uInt | write (uInt nvalues, const Int64 *data) |
virtual uInt | write (uInt nvalues, const uInt64 *data) |
virtual uInt | write (uInt nvalues, const Float *data) |
virtual uInt | write (uInt nvalues, const Double *data) |
virtual uInt | write (uInt nvalues, const Complex *value) |
virtual uInt | write (uInt nvalues, const DComplex *value) |
virtual uInt | write (uInt nvalues, const String *value) |
virtual uInt | read (uInt nvalues, Bool *value) |
Read the values from the ByteIO object. | |
virtual uInt | read (uInt nvalues, Char *data) |
virtual uInt | read (uInt nvalues, uChar *data) |
virtual uInt | read (uInt nvalues, Short *data) |
virtual uInt | read (uInt nvalues, uShort *data) |
virtual uInt | read (uInt nvalues, Int *data) |
virtual uInt | read (uInt nvalues, uInt *data) |
virtual uInt | read (uInt nvalues, Int64 *data) |
virtual uInt | read (uInt nvalues, uInt64 *data) |
virtual uInt | read (uInt nvalues, Float *data) |
virtual uInt | read (uInt nvalues, Double *data) |
virtual uInt | read (uInt nvalues, Complex *value) |
virtual uInt | read (uInt nvalues, DComplex *value) |
virtual uInt | read (uInt nvalues, String *value) |
Class for IO in local format.
Public interface
RawIO is a specialization of class TypeIO to store data in local format.
This class is intended for data that will only be used internally and will not be exported to machines with a possible different data format.
To save storage Bools will be written as bits (using the static functions in class Conversion .
Storing data in local format can improve performance on little-endian machines like DEC-alpha and PC's.
Definition at line 73 of file RawIO.h.
Constructor.
The read/write functions will use the given ByteIO object as the data store. If takeOver is True the this class will delete the supplied pointer. Otherwise the caller is responsible for this.
casa::RawIO::RawIO | ( | const RawIO & | rawIO | ) |
The copy constructor uses reference semantics.
casa::RawIO::~RawIO | ( | ) |
Destructor.
The assignment operator uses reference semantics.
Read the values from the ByteIO object.
Bool, complex and String values are handled by the base class.
Reimplemented from casa::TypeIO.
Implements casa::TypeIO.
Reimplemented from casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Reimplemented from casa::TypeIO.
Reimplemented from casa::TypeIO.
Reimplemented from casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Reimplemented from casa::TypeIO.
Write the values to the ByteIO object.
Bool, complex and String values are handled by the base class.
Reimplemented from casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.
Reimplemented from casa::TypeIO.
Implements casa::TypeIO.
Implements casa::TypeIO.