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

SDMDataObject::DataStruct:: declarations. More...

#include <SDMDataObject.h>

List of all members.

Public Member Functions

 DataStruct ()
 An empty constructor.
virtual ~DataStruct ()
 The destructor.
 DataStruct (const vector< AtmPhaseCorrection > &apc, const vector< Baseband > &basebands, const BinaryPart &flags, const BinaryPart &actualTimes, const BinaryPart &actualDurations, const ZeroLagsBinaryPart &zeroLags, const BinaryPart &crossData, const AutoDataBinaryPart &autoData)
 A full constructor.
const vector
< AtmPhaseCorrection > & 
apc () const
 Returns the radiometric atmospheric phase correction codes.
const vector< Baseband > & basebands () const
 void apc(const vector<AtmPhaseCorrection>& value);
const BinaryPartflags () const
 void basebands(const vector<Baseband>& value);
const BinaryPartactualTimes () const
 void flags(const BinaryPart& value);
const BinaryPartactualDurations () const
 void actualTimes(const BinaryPart& value);
const ZeroLagsBinaryPartzeroLags () const
 void actualDurations(const BinaryPart& value);
const BinaryPartcrossData () const
 void zeroLags(const BinaryPart& value);
const AutoDataBinaryPartautoData () const
 void crossData(const BinaryPart& value);
void imageSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
 void autoData(const BinaryPart& value);
const SpectralWindowimageSPW (unsigned int ibb, unsigned int ispw) const
 Returns a pointer to the spectral window image of a spectral window.
void imageOfSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
 Defines an association "spw1 is image of spw2" between two spectral windows spw1 and spw2.
const SpectralWindowimageOfSPW (unsigned int ibb, unsigned int ispw) const
 Returns a pointer to the spectral window whom the spectral window passed in argument is the image.
 DataStruct ()
 An empty constructor.
virtual ~DataStruct ()
 The destructor.
 DataStruct (const vector< AtmPhaseCorrection > &apc, const vector< Baseband > &basebands, const BinaryPart &flags, const BinaryPart &actualTimes, const BinaryPart &actualDurations, const ZeroLagsBinaryPart &zeroLags, const BinaryPart &crossData, const AutoDataBinaryPart &autoData)
 A full constructor.
const vector
< AtmPhaseCorrection > & 
apc () const
 Returns the radiometric atmospheric phase correction codes.
const vector< Baseband > & basebands () const
 void apc(const vector<AtmPhaseCorrection>& value);
const BinaryPartflags () const
 void basebands(const vector<Baseband>& value);
const BinaryPartactualTimes () const
 void flags(const BinaryPart& value);
const BinaryPartactualDurations () const
 void actualTimes(const BinaryPart& value);
const ZeroLagsBinaryPartzeroLags () const
 void actualDurations(const BinaryPart& value);
const BinaryPartcrossData () const
 void zeroLags(const BinaryPart& value);
const AutoDataBinaryPartautoData () const
 void crossData(const BinaryPart& value);
void imageSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
 void autoData(const BinaryPart& value);
const SpectralWindowimageSPW (unsigned int ibb, unsigned int ispw) const
 Returns a pointer to the spectral window image of a spectral window.
void imageOfSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
 Defines an association "spw1 is image of spw2" between two spectral windows spw1 and spw2.
const SpectralWindowimageOfSPW (unsigned int ibb, unsigned int ispw) const
 Returns a pointer to the spectral window whom the spectral window passed in argument is the image.

Private Member Functions

void owner (const SDMDataObject *o)
void checkCoordinate (unsigned int ibb, unsigned int ispw) const
bool associatedSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
void divorceSPW (unsigned int ibb, unsigned int ispw)
void owner (const SDMDataObject *o)
void checkCoordinate (unsigned int ibb, unsigned int ispw) const
bool associatedSPW (unsigned int ibb, unsigned int ispw1, unsigned int ispw2)
void divorceSPW (unsigned int ibb, unsigned int ispw)

Private Attributes

vector< AtmPhaseCorrection > apc_
vector< Basebandbasebands_
BinaryPart flags_
BinaryPart actualTimes_
BinaryPart actualDurations_
ZeroLagsBinaryPart zeroLags_
BinaryPart crossData_
AutoDataBinaryPart autoData_
const SDMDataObjectowner_
map< string, string > imageSPW_
map< string, string > imageOfSPW_

Friends

class SDMDataObject
class HeaderParser
class SDMDataObjectWriter

Detailed Description

SDMDataObject::DataStruct:: declarations.

A class to represent the structure of binary data. An instance of this class collects informations :

Definition at line 696 of file SDMDataObject.h.


Constructor & Destructor Documentation

An empty constructor.

Note:
This constructor should never be used.

The destructor.

asdmbinaries::SDMDataObject::DataStruct::DataStruct ( const vector< AtmPhaseCorrection > &  apc,
const vector< Baseband > &  basebands,
const BinaryPart flags,
const BinaryPart actualTimes,
const BinaryPart actualDurations,
const ZeroLagsBinaryPart zeroLags,
const BinaryPart crossData,
const AutoDataBinaryPart autoData 
)

A full constructor.

Parameters:
apca vector of AtmPhaseCorrection. If apc is not relevant pass an empty vector.
basebandsa vector of Baseband.
flagsa BinaryPart object describing the flags. If flags is not relevant pass an empty BinaryPart object.
actualTimesa BinaryPart object describing the actual times. If actualTimes is not relevant pass an empty BinaryPart object.
actualDurationsa BinaryPart object describing the actual durations. If actualDurations is not relevant pass an empty BinaryPart object.
zeroLagsa ZeroLagsBinaryPart object describing the zero lags. If zeroLags is not relevant pass an empty ZeroLagsBinaryPart object.
crossDataa BinaryPart object describing the cross data. If crossData is not relevant pass an empty BinaryPart object.
autoDataan AutoDataBinaryPart object describing the auto data. If autoData is not relevant pass an empty AutoDataBinaryPart object.

An empty constructor.

Note:
This constructor should never be used.

The destructor.

asdmbinaries::SDMDataObject::DataStruct::DataStruct ( const vector< AtmPhaseCorrection > &  apc,
const vector< Baseband > &  basebands,
const BinaryPart flags,
const BinaryPart actualTimes,
const BinaryPart actualDurations,
const ZeroLagsBinaryPart zeroLags,
const BinaryPart crossData,
const AutoDataBinaryPart autoData 
)

A full constructor.

Parameters:
apca vector of AtmPhaseCorrection. If apc is not relevant pass an empty vector.
basebandsa vector of Baseband.
flagsa BinaryPart object describing the flags. If flags is not relevant pass an empty BinaryPart object.
actualTimesa BinaryPart object describing the actual times. If actualTimes is not relevant pass an empty BinaryPart object.
actualDurationsa BinaryPart object describing the actual durations. If actualDurations is not relevant pass an empty BinaryPart object.
zeroLagsa ZeroLagsBinaryPart object describing the zero lags. If zeroLags is not relevant pass an empty ZeroLagsBinaryPart object.
crossDataa BinaryPart object describing the cross data. If crossData is not relevant pass an empty BinaryPart object.
autoDataan AutoDataBinaryPart object describing the auto data. If autoData is not relevant pass an empty AutoDataBinaryPart object.

Member Function Documentation

void actualTimes(const BinaryPart& value);

       

Returns the description the actualDurations attachment.

Returns:
a reference to a BinaryPart value.

void actualTimes(const BinaryPart& value);

       

Returns the description the actualDurations attachment.

Returns:
a reference to a BinaryPart value.

void flags(const BinaryPart& value);

Returns the description the actualTimes attachment.

Returns:
a reference to a BinaryPart value.

void flags(const BinaryPart& value);

Returns the description the actualTimes attachment.

Returns:
a reference to a BinaryPart value.
const vector<AtmPhaseCorrection>& asdmbinaries::SDMDataObject::DataStruct::apc ( ) const

Returns the radiometric atmospheric phase correction codes.

Returns:
a vector of AtmPhaseCorrectionMod::AtmPhaseCorrection.
const vector<AtmPhaseCorrection>& asdmbinaries::SDMDataObject::DataStruct::apc ( ) const

Returns the radiometric atmospheric phase correction codes.

Returns:
a vector of AtmPhaseCorrectionMod::AtmPhaseCorrection.
bool asdmbinaries::SDMDataObject::DataStruct::associatedSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
) [private]
bool asdmbinaries::SDMDataObject::DataStruct::associatedSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
) [private]

void crossData(const BinaryPart& value);

       

Returns the description the autoData attachment.

Returns:
a reference to an AutoDataBinaryPart value.

void crossData(const BinaryPart& value);

       

Returns the description the autoData attachment.

Returns:
a reference to an AutoDataBinaryPart value.

void apc(const vector<AtmPhaseCorrection>& value);

Returns the vector of basebands.

Returns:
a reference to a vector of Baseband.

void apc(const vector<AtmPhaseCorrection>& value);

Returns the vector of basebands.

Returns:
a reference to a vector of Baseband.
void asdmbinaries::SDMDataObject::DataStruct::checkCoordinate ( unsigned int  ibb,
unsigned int  ispw 
) const [private]
void asdmbinaries::SDMDataObject::DataStruct::checkCoordinate ( unsigned int  ibb,
unsigned int  ispw 
) const [private]

void zeroLags(const BinaryPart& value);

       

Returns the description the crossData attachment.

Returns:
a reference to a BinaryPart value.

void zeroLags(const BinaryPart& value);

       

Returns the description the crossData attachment.

Returns:
a reference to a BinaryPart value.
void asdmbinaries::SDMDataObject::DataStruct::divorceSPW ( unsigned int  ibb,
unsigned int  ispw 
) [private]
void asdmbinaries::SDMDataObject::DataStruct::divorceSPW ( unsigned int  ibb,
unsigned int  ispw 
) [private]

void basebands(const vector<Baseband>& value);

Returns the description the flags attachment.

Returns:
a reference to a BinaryPart value.

void basebands(const vector<Baseband>& value);

Returns the description the flags attachment.

Returns:
a reference to a BinaryPart value.
void asdmbinaries::SDMDataObject::DataStruct::imageOfSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
)

Defines an association "spw1 is image of spw2" between two spectral windows spw1 and spw2.

Assuming that a spectral window can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method declares that the spectral window with coordinates (ibb1, ispw1) is the image of the spectral window with coordinates (ibb2, ispw2).

Parameters:
ibb1st common coordinate of spw1
ispw12nd coordinate of spw1.
ispw22nd coordinate of spw2.
Exceptions:
SDMDataObjectException
void asdmbinaries::SDMDataObject::DataStruct::imageOfSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
)

Defines an association "spw1 is image of spw2" between two spectral windows spw1 and spw2.

Assuming that a spectral window can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method declares that the spectral window with coordinates (ibb1, ispw1) is the image of the spectral window with coordinates (ibb2, ispw2).

Parameters:
ibb1st common coordinate of spw1
ispw12nd coordinate of spw1.
ispw22nd coordinate of spw2.
Exceptions:
SDMDataObjectException
const SpectralWindow* asdmbinaries::SDMDataObject::DataStruct::imageOfSPW ( unsigned int  ibb,
unsigned int  ispw 
) const

Returns a pointer to the spectral window whom the spectral window passed in argument is the image.

Assuming that a spectral window spw can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method returns a pointer to the spectral window defined as the image of spw. If spw is not an image then null is returned.

Parameters:
ibb1st coordinate of spw
ispw2nd coordinate of spw
Exceptions:
SDMDataObjectException
const SpectralWindow* asdmbinaries::SDMDataObject::DataStruct::imageOfSPW ( unsigned int  ibb,
unsigned int  ispw 
) const

Returns a pointer to the spectral window whom the spectral window passed in argument is the image.

Assuming that a spectral window spw can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method returns a pointer to the spectral window defined as the image of spw. If spw is not an image then null is returned.

Parameters:
ibb1st coordinate of spw
ispw2nd coordinate of spw
Exceptions:
SDMDataObjectException
void asdmbinaries::SDMDataObject::DataStruct::imageSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
)

void autoData(const BinaryPart& value);

Defines an association "spw1 has image spw2" between two spectral windows spw1 and spw2. Assuming that a spectral window can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method declares that the spectral window with coordinates (ibb, ispw1) has the spectral window with coordinates (ibb, ispw2) as an image.

Parameters:
ibb1st common coordinate of spw1 and spw2
ispw12nd coordinate of spw1.
ispw22nd coordinate of spw2.
Exceptions:
SDMDataObjectException
void asdmbinaries::SDMDataObject::DataStruct::imageSPW ( unsigned int  ibb,
unsigned int  ispw1,
unsigned int  ispw2 
)

void autoData(const BinaryPart& value);

Defines an association "spw1 has image spw2" between two spectral windows spw1 and spw2. Assuming that a spectral window can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method declares that the spectral window with coordinates (ibb, ispw1) has the spectral window with coordinates (ibb, ispw2) as an image.

Parameters:
ibb1st common coordinate of spw1 and spw2
ispw12nd coordinate of spw1.
ispw22nd coordinate of spw2.
Exceptions:
SDMDataObjectException
const SpectralWindow* asdmbinaries::SDMDataObject::DataStruct::imageSPW ( unsigned int  ibb,
unsigned int  ispw 
) const

Returns a pointer to the spectral window image of a spectral window.

Assuming that a spectral window spw can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method returns a pointer to the spectral window defined as the image of spw. If spw has no image defined then null is returned.

Parameters:
ibb1st coordinate of spw
ispw2nd coordinate of spw
Exceptions:
SDMDataObjectException
const SpectralWindow* asdmbinaries::SDMDataObject::DataStruct::imageSPW ( unsigned int  ibb,
unsigned int  ispw 
) const

Returns a pointer to the spectral window image of a spectral window.

Assuming that a spectral window spw can be located by a pair (ibb, ispw) of integer, where ibb denotes the index of the baseband this spectral window belongs to, and ispw its index in that baseband, this method returns a pointer to the spectral window defined as the image of spw. If spw has no image defined then null is returned.

Parameters:
ibb1st coordinate of spw
ispw2nd coordinate of spw
Exceptions:
SDMDataObjectException

void actualDurations(const BinaryPart& value);

       

Returns the description the zeroLags attachment.

Returns:
a reference to a ZeroLagsBinaryPart value.

void actualDurations(const BinaryPart& value);

       

Returns the description the zeroLags attachment.

Returns:
a reference to a ZeroLagsBinaryPart value.

Friends And Related Function Documentation

HeaderParser [friend]

Definition at line 698 of file SDMDataObject.h.

SDMDataObject [friend]

Definition at line 697 of file SDMDataObject.h.

Definition at line 699 of file SDMDataObject.h.


Member Data Documentation

Definition at line 870 of file SDMDataObject.h.

Definition at line 869 of file SDMDataObject.h.

vector< AtmPhaseCorrection > asdmbinaries::SDMDataObject::DataStruct::apc_ [private]

Definition at line 866 of file SDMDataObject.h.

Definition at line 873 of file SDMDataObject.h.

Definition at line 867 of file SDMDataObject.h.

Definition at line 872 of file SDMDataObject.h.

Definition at line 868 of file SDMDataObject.h.

Definition at line 879 of file SDMDataObject.h.

map< string, string > asdmbinaries::SDMDataObject::DataStruct::imageSPW_ [private]

Definition at line 878 of file SDMDataObject.h.

Definition at line 875 of file SDMDataObject.h.

Definition at line 871 of file SDMDataObject.h.


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