29 #ifndef FITS_COPYRECORD_H
30 #define FITS_COPYRECORD_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/ArrayFwd.h>
35 #include <casacore/casa/Containers/Block.h>
36 #include <casacore/casa/Containers/RecordField.h>
44 class RecordInterface;
47 template <
class T>
class ScalarColumn;
48 template <
class T>
class ArrayColumn;
Copies fields between Records, possibly to fields with another name.
Block< RecordFieldPtr< String > > out_record_string
Block< RORecordFieldPtr< Array< DComplex > > > in_record_array_dcomplex
Block< RecordFieldPtr< Array< Float > > > out_record_array_float
Block< RecordFieldPtr< Float > > out_record_float
Block< RecordFieldPtr< Array< String > > > out_record_array_string
void copy()
Copy from the record (which must still exist) to the output record (which must also still exist).
Block< RORecordFieldPtr< Array< Float > > > in_record_array_float
CopyRecordToRecord(const CopyRecordToRecord &)
Block< RecordFieldPtr< Array< Bool > > > out_record_array_bool
Block< RORecordFieldPtr< Array< Short > > > in_record_array_short
Block< RecordFieldPtr< Array< Int > > > out_record_array_int
Block< RORecordFieldPtr< uChar > > in_record_char
Block< RORecordFieldPtr< Float > > in_record_float
Block< RORecordFieldPtr< Array< Bool > > > in_record_array_bool
Block< RecordFieldPtr< DComplex > > out_record_dcomplex
Block< RORecordFieldPtr< Short > > in_record_short
Block< RORecordFieldPtr< Array< String > > > in_record_array_string
Block< RORecordFieldPtr< DComplex > > in_record_dcomplex
CopyRecordToRecord()
Undefined and inaccessible.
Block< RORecordFieldPtr< Bool > > in_record_bool
Block< RecordFieldPtr< Complex > > out_record_complex
Block< RecordFieldPtr< Short > > out_record_short
Block< RecordFieldPtr< Array< DComplex > > > out_record_array_dcomplex
Block< RecordFieldPtr< Array< Double > > > out_record_array_double
Block< RecordFieldPtr< Array< Short > > > out_record_array_short
Block< RecordFieldPtr< Array< uChar > > > out_record_array_char
Block< RecordFieldPtr< Double > > out_record_double
Block< RecordFieldPtr< Array< Complex > > > out_record_array_complex
CopyRecordToRecord(RecordInterface &outputBuffer, const RecordInterface &inputBuffer, const Vector< Int > inputMap)
Set the mapping between fields and columns.
Block< RecordFieldPtr< Int > > out_record_int
Block< RORecordFieldPtr< Array< uChar > > > in_record_array_char
Block< RORecordFieldPtr< Array< Int > > > in_record_array_int
Block< RORecordFieldPtr< Int > > in_record_int
Block< RORecordFieldPtr< String > > in_record_string
Block< RORecordFieldPtr< Array< Complex > > > in_record_array_complex
Block< RecordFieldPtr< Bool > > out_record_bool
Block< RORecordFieldPtr< Array< Double > > > in_record_array_double
CopyRecordToRecord & operator=(const CopyRecordToRecord &)
Block< RORecordFieldPtr< Double > > in_record_double
Block< RecordFieldPtr< uChar > > out_record_char
Block< RORecordFieldPtr< Complex > > in_record_complex
PtrBlock< ScalarColumn< Float > * > table_float
PtrBlock< ScalarColumn< Short > * > table_short
Block< RORecordFieldPtr< Double > > record_double
Block< RORecordFieldPtr< Float > > record_float
Block< RORecordFieldPtr< Array< uChar > > > record_array_char
Block< RORecordFieldPtr< Array< Bool > > > record_array_bool
Block< RORecordFieldPtr< DComplex > > record_dcomplex
Block< RORecordFieldPtr< Array< DComplex > > > record_array_dcomplex
PtrBlock< ArrayColumn< Double > * > table_array_double
Block< RORecordFieldPtr< Array< Complex > > > record_array_complex
PtrBlock< ArrayColumn< Short > * > table_array_short
Block< RORecordFieldPtr< Array< String > > > record_array_string
PtrBlock< ArrayColumn< Float > * > table_array_float
CopyRecordToTable(const CopyRecordToTable &other)
assignment constructor, reference semantics
Block< RORecordFieldPtr< Array< Int > > > record_array_int
CopyRecordToTable(Table &outputTable, const RecordInterface &inputBuffer, const Vector< Int > inputMap)
Set the mapping between fields and columns.
PtrBlock< ArrayColumn< Complex > * > table_array_complex
Block< RORecordFieldPtr< String > > record_string
void copy(uInt rownr)
Copy from the record (which must still exist) to the given row number of the table (which must also s...
Block< RORecordFieldPtr< Short > > record_short
Block< RORecordFieldPtr< Array< Double > > > record_array_double
PtrBlock< ScalarColumn< String > * > table_string
PtrBlock< ScalarColumn< uChar > * > table_char
PtrBlock< ArrayColumn< uChar > * > table_array_char
Block< RORecordFieldPtr< Array< Short > > > record_array_short
PtrBlock< ArrayColumn< Bool > * > table_array_bool
Block< RORecordFieldPtr< Complex > > record_complex
PtrBlock< ArrayColumn< DComplex > * > table_array_dcomplex
CopyRecordToTable()
Undefined and inaccessible.
PtrBlock< ScalarColumn< Complex > * > table_complex
Block< RORecordFieldPtr< Bool > > record_bool
Block< RORecordFieldPtr< Int > > record_int
PtrBlock< ScalarColumn< Int > * > table_int
PtrBlock< ArrayColumn< Int > * > table_array_int
PtrBlock< ScalarColumn< DComplex > * > table_dcomplex
PtrBlock< ScalarColumn< Double > * > table_double
Block< RORecordFieldPtr< uChar > > record_char
PtrBlock< ArrayColumn< String > * > table_array_string
Block< RORecordFieldPtr< Array< Float > > > record_array_float
CopyRecordToTable & operator=(const CopyRecordToTable &other)
assignment operator, reference semantics
PtrBlock< ScalarColumn< Bool > * > table_bool
We could just have a TableColumn for scalars, but we'd need all of the array types anyway.
A drop-in replacement for Block<T*>.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
void addRecordDesc(TableDesc &tableDescription, const RecordDesc &recordDescription, const String &prefix)
This function probably doesn't belong here, but I'm not yet sure where it does belong.