casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
VLARCA Class Reference

More...

#include <VLARCA.h>

List of all members.

Public Member Functions

 VLARCA ()
 The default constructor creates an unusable object.
 VLARCA (ByteSource &record)
 Initialise this RCA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.
 VLARCA (const VLARCA &other)
 The copy constructor uses copy semantics.
 ~VLARCA ()
 The destructor is trivial;.
VLARCAoperator= (const VLARCA &other)
 The assignment constructor uses copy semantics.
void attach (ByteSource &record)
 attach to the specified ByteSource
uInt length () const
 return the length of this logical record
uInt revision () const
 return the revision of this logical record
uInt SDAOffset () const
 return the position (in bytes) of the start of the SDA, from the beginning of the logical record.
uInt ADAOffset (uInt which) const
 return the position (in bytes) of the start of the specified ADA, from the beginning of the logical record.
uInt nAntennas () const
 return the number of antennas in the sub-array that this logical record contains data for.
uInt CDAOffset (uInt which) const
 return the position (in bytes) of the start of the specified CDA, from the beginning of the logical record.
uInt CDAHeaderBytes (uInt which) const
 return the number of bytes in the header of a baseline record in the specified CDA
uInt CDABaselineBytes (uInt which) const
 return the number of bytes in the baseline record, including the header in the specified CDA
uInt obsDay () const
 return the time in Modified Julian Days that is the reference point for the times given in this record.

Private Attributes

ByteSource itsRecord

Detailed Description

Intended use:

Public interface

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 79 of file VLARCA.h.


Constructor & Destructor Documentation

The default constructor creates an unusable object.

VLARCA::VLARCA ( ByteSource &  record)

Initialise this RCA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.

VLARCA::VLARCA ( const VLARCA other)

The copy constructor uses copy semantics.

The destructor is trivial;.


Member Function Documentation

uInt VLARCA::ADAOffset ( uInt  which) const

return the position (in bytes) of the start of the specified ADA, from the beginning of the logical record.

void VLARCA::attach ( ByteSource &  record)

attach to the specified ByteSource

uInt VLARCA::CDABaselineBytes ( uInt  which) const

return the number of bytes in the baseline record, including the header in the specified CDA

uInt VLARCA::CDAHeaderBytes ( uInt  which) const

return the number of bytes in the header of a baseline record in the specified CDA

uInt VLARCA::CDAOffset ( uInt  which) const

return the position (in bytes) of the start of the specified CDA, from the beginning of the logical record.

uInt VLARCA::length ( ) const

return the length of this logical record

uInt VLARCA::nAntennas ( ) const

return the number of antennas in the sub-array that this logical record contains data for.

uInt VLARCA::obsDay ( ) const

return the time in Modified Julian Days that is the reference point for the times given in this record.

VLARCA& VLARCA::operator= ( const VLARCA other)

The assignment constructor uses copy semantics.

uInt VLARCA::revision ( ) const

return the revision of this logical record

uInt VLARCA::SDAOffset ( ) const

return the position (in bytes) of the start of the SDA, from the beginning of the logical record.


Member Data Documentation

ByteSource VLARCA::itsRecord [mutable, private]

Definition at line 137 of file VLARCA.h.


The documentation for this class was generated from the following file: