casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
VLARCA Class Reference

#include <VLARCA.h>

Public Member Functions

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

Private Attributes

casacore::ByteSource itsRecord
 

Detailed Description

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

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

VLARCA::VLARCA ( )

The default constructor creates an unusable object.

VLARCA::VLARCA ( casacore::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.

VLARCA::~VLARCA ( )

The destructor is trivial;.

Member Function Documentation

casacore::uInt VLARCA::ADAOffset ( casacore::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 ( casacore::ByteSource record)

attach to the specified casacore::ByteSource

casacore::uInt VLARCA::CDABaselineBytes ( casacore::uInt  which) const

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

casacore::uInt VLARCA::CDAHeaderBytes ( casacore::uInt  which) const

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

casacore::uInt VLARCA::CDAOffset ( casacore::uInt  which) const

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

casacore::uInt VLARCA::length ( ) const

return the length of this logical record

casacore::uInt VLARCA::nAntennas ( ) const

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

casacore::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.

casacore::uInt VLARCA::revision ( ) const

return the revision of this logical record

casacore::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

casacore::ByteSource VLARCA::itsRecord
mutableprivate

Definition at line 137 of file VLARCA.h.


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