Документ взят из кэша поисковой машины. Адрес оригинального документа : 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
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п
casacore: casa::RawIO Class Reference
Public Member Functions

casa::RawIO Class Reference
[IO_module]

Class for IO in local format. More...

#include <RawIO.h>

Inheritance diagram for casa::RawIO:
casa::TypeIO

List of all members.

Public Member Functions

 RawIO (ByteIO *byteIO, Bool takeOver=False)
 Constructor.
 RawIO (const RawIO &rawIO)
 The copy constructor uses reference semantics.
RawIOoperator= (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)

Detailed Description

Class for IO in local format.

Intended use:

Public interface

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1996/11/06
Test programs:
tTypeIO

Prerequisite

Synopsis

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 .

Motivation

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 & Destructor Documentation

casa::RawIO::RawIO ( ByteIO byteIO,
Bool  takeOver = False 
) [explicit]

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.


Member Function Documentation

RawIO& casa::RawIO::operator= ( const RawIO rawIO  ) 

The assignment operator uses reference semantics.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Bool value 
) [virtual]

Read the values from the ByteIO object.

Bool, complex and String values are handled by the base class.

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Char data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Complex *  value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
uChar data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Short data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
uShort data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Int data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
uInt data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Int64 data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
uInt64 data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Float data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
Double data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
DComplex *  value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::read ( uInt  nvalues,
String value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const String value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Int64 data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const uInt64 data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Char data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Double data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const uShort data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const DComplex *  value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Bool value 
) [virtual]

Write the values to the ByteIO object.

Bool, complex and String values are handled by the base class.

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const uChar data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Int data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Float data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Complex *  value 
) [virtual]

Reimplemented from casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const uInt data 
) [virtual]

Implements casa::TypeIO.

virtual uInt casa::RawIO::write ( uInt  nvalues,
const Short data 
) [virtual]

Implements casa::TypeIO.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines