casa::sdfiller::DataRecord Struct Reference

#include <DataRecord.h>

List of all members.

Public Member Functions

 DataRecord ()
 ~DataRecord ()
void clear ()
 method
void setDataSize (size_t n)
void setTsysSize (size_t n)
void setTcalSize (size_t n)
 DataRecord (DataRecord const &other)
DataRecordoperator= (DataRecord const &other)

Public Attributes

Double time
 mandatory
Double interval
Int antenna_id
Int field_id
Int spw_id
Int feed_id
Int scan
Int subscan
uInt polno
String intent
String pol_type
Matrix< Double > direction
Matrix< Double > direction_slice
Vector< Double > direction_vector
Vector< Double > scan_rate
Vector< Float > data
Vector< Bool > flag
Bool flag_row
Vector< Float > tsys
 optional
Vector< Float > tcal
Float temperature
Float pressure
Float rel_humidity
Float wind_speed
Float wind_direction

Private Attributes

size_t const block_size_
size_t num_data_storage_
size_t num_tsys_storage_
size_t num_tcal_storage_
IPosition data_shape_
IPosition tsys_shape_
IPosition tcal_shape_
std::unique_ptr< Float[]> data_storage_
std::unique_ptr< Bool[]> flag_storage_
std::unique_ptr< Float[]> tsys_storage_
std::unique_ptr< Float[]> tcal_storage_

Detailed Description

Definition at line 40 of file DataRecord.h.


Constructor & Destructor Documentation

casa::sdfiller::DataRecord::DataRecord (  )  [inline]

std::cout << "DataRecord::DataRecord()" << std::endl;

Definition at line 41 of file DataRecord.h.

References clear().

casa::sdfiller::DataRecord::~DataRecord (  )  [inline]

Definition at line 59 of file DataRecord.h.

casa::sdfiller::DataRecord::DataRecord ( DataRecord const &  other  )  [inline]

Definition at line 165 of file DataRecord.h.


Member Function Documentation

void casa::sdfiller::DataRecord::clear (  )  [inline]
DataRecord& casa::sdfiller::DataRecord::operator= ( DataRecord const &  other  )  [inline]
void casa::sdfiller::DataRecord::setDataSize ( size_t  n  )  [inline]

std::cout << "resize data to " << n << std::endl;

std::cout << "resize data storage to " << new_num_storage << std::endl;

Definition at line 89 of file DataRecord.h.

References block_size_, data, data_shape_, data_storage_, casacore::False, flag, flag_storage_, num_data_storage_, casacore::SHARE, and casacore::True.

Referenced by clear(), and operator=().

void casa::sdfiller::DataRecord::setTcalSize ( size_t  n  )  [inline]

std::cout << "resize tcal to " << n << std::endl;

std::cout << "resize tcal storage to " << new_num_storage << std::endl;

Definition at line 141 of file DataRecord.h.

References block_size_, casacore::False, num_tcal_storage_, casacore::SHARE, tcal, tcal_shape_, tcal_storage_, and casacore::True.

Referenced by clear(), and operator=().

void casa::sdfiller::DataRecord::setTsysSize ( size_t  n  )  [inline]

std::cout << "resize tsys to " << n << std::endl;

std::cout << "resize tsys storage to " << new_num_storage << std::endl;

Definition at line 117 of file DataRecord.h.

References block_size_, casacore::False, num_tsys_storage_, casacore::SHARE, casacore::True, tsys, tsys_shape_, and tsys_storage_.

Referenced by clear(), and operator=().


Member Data Documentation

Definition at line 205 of file DataRecord.h.

Referenced by setDataSize(), setTcalSize(), and setTsysSize().

Definition at line 209 of file DataRecord.h.

Referenced by operator=(), and setDataSize().

std::unique_ptr<Float[]> casa::sdfiller::DataRecord::data_storage_ [private]

Definition at line 212 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 231 of file DataRecord.h.

Referenced by operator=().

Definition at line 232 of file DataRecord.h.

Referenced by operator=().

Definition at line 236 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().

std::unique_ptr<Bool[]> casa::sdfiller::DataRecord::flag_storage_ [private]

Definition at line 213 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 228 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

Definition at line 206 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 208 of file DataRecord.h.

Referenced by setTcalSize().

Definition at line 207 of file DataRecord.h.

Referenced by setTsysSize().

Definition at line 229 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

Definition at line 227 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().

Definition at line 243 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

Definition at line 244 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

Definition at line 233 of file DataRecord.h.

Referenced by operator=().

Definition at line 240 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTcalSize().

Definition at line 211 of file DataRecord.h.

Referenced by operator=(), and setTcalSize().

std::unique_ptr<Float[]> casa::sdfiller::DataRecord::tcal_storage_ [private]

Definition at line 215 of file DataRecord.h.

Referenced by setTcalSize().

Definition at line 242 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

optional

Definition at line 239 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTsysSize().

Definition at line 210 of file DataRecord.h.

Referenced by operator=(), and setTsysSize().

std::unique_ptr<Float[]> casa::sdfiller::DataRecord::tsys_storage_ [private]

Definition at line 214 of file DataRecord.h.

Referenced by setTsysSize().

Definition at line 246 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().

Definition at line 245 of file DataRecord.h.

Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().


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

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1