casa
$Rev:20696$
|
#include <VLARCA.h>
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;. | |
VLARCA & | operator= (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 |
Public interface
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
VLARCA::VLARCA | ( | ) |
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.
VLARCA::~VLARCA | ( | ) |
The destructor is trivial;.
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.
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.
ByteSource VLARCA::itsRecord [mutable, private] |