casa
5.7.0-16
|
The EphemerisRow class is a row of a EphemerisTable. More...
#include <EphemerisRow.h>
Public Member Functions | |
virtual | ~EphemerisRow () |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>; More... | |
EphemerisTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. More... | |
int | getEphemerisId () const |
===> Attribute ephemerisId More... | |
void | setEphemerisId (int ephemerisId) |
Set ephemerisId with the specified int. More... | |
std::vector< double > | getObserverLocation () const |
===> Attribute observerLocation More... | |
void | setObserverLocation (std::vector< double > observerLocation) |
Set observerLocation with the specified std::vector<double >. More... | |
double | getEquinoxEquator () const |
===> Attribute equinoxEquator More... | |
void | setEquinoxEquator (double equinoxEquator) |
Set equinoxEquator with the specified double. More... | |
int | getNumPolyDir () const |
===> Attribute numPolyDir More... | |
void | setNumPolyDir (int numPolyDir) |
Set numPolyDir with the specified int. More... | |
std::vector< std::vector < double > > | getDir () const |
===> Attribute dir More... | |
void | setDir (std::vector< std::vector< double > > dir) |
Set dir with the specified std::vector<std::vector<double > >. More... | |
int | getNumPolyDist () const |
===> Attribute numPolyDist More... | |
void | setNumPolyDist (int numPolyDist) |
Set numPolyDist with the specified int. More... | |
std::vector< double > | getDistance () const |
===> Attribute distance More... | |
void | setDistance (std::vector< double > distance) |
Set distance with the specified std::vector<double >. More... | |
ArrayTime | getTimeOrigin () const |
===> Attribute timeOrigin More... | |
void | setTimeOrigin (ArrayTime timeOrigin) |
Set timeOrigin with the specified ArrayTime. More... | |
std::string | getOrigin () const |
===> Attribute origin More... | |
void | setOrigin (std::string origin) |
Set origin with the specified std::string. More... | |
bool | isNumPolyRadVelExists () const |
===> Attribute numPolyRadVel, which is optional More... | |
int | getNumPolyRadVel () const |
Get numPolyRadVel, which is optional. More... | |
void | setNumPolyRadVel (int numPolyRadVel) |
Set numPolyRadVel with the specified int. More... | |
void | clearNumPolyRadVel () |
Mark numPolyRadVel, which is an optional field, as non-existent. More... | |
bool | isRadVelExists () const |
===> Attribute radVel, which is optional More... | |
std::vector< double > | getRadVel () const |
Get radVel, which is optional. More... | |
void | setRadVel (std::vector< double > radVel) |
Set radVel with the specified std::vector<double >. More... | |
void | clearRadVel () |
Mark radVel, which is an optional field, as non-existent. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTimeInterval timeInterval, int ephemerisId, std::vector< double > observerLocation, double equinoxEquator, int numPolyDir, std::vector< std::vector< double > > dir, int numPolyDist, std::vector< double > distance, ArrayTime timeOrigin, std::string origin) |
Compare each mandatory attribute except the autoincrementable one of this EphemerisRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (std::vector< double > observerLocation, double equinoxEquator, int numPolyDir, std::vector< std::vector< double > > dir, int numPolyDist, std::vector< double > distance, ArrayTime timeOrigin, std::string origin) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (EphemerisRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::EphemerisRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::EphemerisRowIDL &x) const |
Define the content of a EphemerisRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::EphemerisRowIDL x) |
Fill the values of this row from the IDL struct EphemerisRowIDL. More... | |
std::string | toXML () const |
Return this row in the form of an XML string. More... | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. More... | |
Public Attributes | |
Intrinsic Table | Attributes |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
EphemerisRow (EphemerisTable &table) | |
Create a EphemerisRow. More... | |
EphemerisRow (EphemerisTable &table, EphemerisRow *row) | |
Create a EphemerisRow using a copy constructor mechanism. More... | |
void | timeIntervalFromBin (EndianIStream &eis) |
void | ephemerisIdFromBin (EndianIStream &eis) |
void | observerLocationFromBin (EndianIStream &eis) |
void | equinoxEquatorFromBin (EndianIStream &eis) |
void | numPolyDirFromBin (EndianIStream &eis) |
void | dirFromBin (EndianIStream &eis) |
void | numPolyDistFromBin (EndianIStream &eis) |
void | distanceFromBin (EndianIStream &eis) |
void | timeOriginFromBin (EndianIStream &eis) |
void | originFromBin (EndianIStream &eis) |
void | numPolyRadVelFromBin (EndianIStream &eis) |
void | radVelFromBin (EndianIStream &eis) |
void | timeIntervalFromText (const std::string &s) |
void | ephemerisIdFromText (const std::string &s) |
void | observerLocationFromText (const std::string &s) |
void | equinoxEquatorFromText (const std::string &s) |
void | numPolyDirFromText (const std::string &s) |
void | dirFromText (const std::string &s) |
void | numPolyDistFromText (const std::string &s) |
void | distanceFromText (const std::string &s) |
void | timeOriginFromText (const std::string &s) |
void | originFromText (const std::string &s) |
void | numPolyRadVelFromText (const std::string &s) |
void | radVelFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
EphemerisTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | ephemerisId |
===> Attribute ephemerisId More... | |
std::vector< double > | observerLocation |
===> Attribute observerLocation More... | |
double | equinoxEquator |
===> Attribute equinoxEquator More... | |
int | numPolyDir |
===> Attribute numPolyDir More... | |
std::vector< std::vector < double > > | dir |
===> Attribute dir More... | |
int | numPolyDist |
===> Attribute numPolyDist More... | |
std::vector< double > | distance |
===> Attribute distance More... | |
ArrayTime | timeOrigin |
===> Attribute timeOrigin More... | |
std::string | origin |
===> Attribute origin More... | |
bool | numPolyRadVelExists |
===> Attribute numPolyRadVel, which is optional More... | |
int | numPolyRadVel |
bool | radVelExists |
===> Attribute radVel, which is optional More... | |
std::vector< double > | radVel |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, EphemerisAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, EphemerisAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::EphemerisTable |
class | asdm::RowTransformer< EphemerisRow > |
The EphemerisRow class is a row of a EphemerisTable.
Generated from model's revision "-1", branch ""
Definition at line 114 of file EphemerisRow.h.
|
virtual |
friend class asdm::TableStreamReader<EphemerisTable, EphemerisRow>;
|
private |
Create a EphemerisRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
|
private |
Create a EphemerisRow using a copy constructor mechanism.
Given a EphemerisRow row and a EphemerisTable table, the method creates a new EphemerisRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
row | The row which is to be copied. |
void asdm::EphemerisRow::clearNumPolyRadVel | ( | ) |
Mark numPolyRadVel, which is an optional field, as non-existent.
void asdm::EphemerisRow::clearRadVel | ( | ) |
Mark radVel, which is an optional field, as non-existent.
Extrinsic Table Attributes Links* bool asdm::EphemerisRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, |
int | ephemerisId, | ||
std::vector< double > | observerLocation, | ||
double | equinoxEquator, | ||
int | numPolyDir, | ||
std::vector< std::vector< double > > | dir, | ||
int | numPolyDist, | ||
std::vector< double > | distance, | ||
ArrayTime | timeOrigin, | ||
std::string | origin | ||
) |
Compare each mandatory attribute except the autoincrementable one of this EphemerisRow with the corresponding parameters and return true if there is a match and false otherwise.
timeInterval | |
ephemerisId | |
observerLocation | |
equinoxEquator | |
numPolyDir | |
dir | |
numPolyDist | |
distance | |
timeOrigin | |
origin |
bool asdm::EphemerisRow::compareRequiredValue | ( | std::vector< double > | observerLocation, |
double | equinoxEquator, | ||
int | numPolyDir, | ||
std::vector< std::vector< double > > | dir, | ||
int | numPolyDist, | ||
std::vector< double > | distance, | ||
ArrayTime | timeOrigin, | ||
std::string | origin | ||
) |
Compare each mandatory value (i.e.
not in the key) attribute with the corresponding parameters and return true if there is a match and false otherwise.
observerLocation | |
equinoxEquator | |
numPolyDir | |
dir | |
numPolyDist | |
distance | |
timeOrigin | |
origin |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool asdm::EphemerisRow::equalByRequiredValue | ( | EphemerisRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | a pointer on the EphemerisRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
std::vector<std::vector<double > > asdm::EphemerisRow::getDir | ( | ) | const |
===> Attribute dir
Get dir.
std::vector<double > asdm::EphemerisRow::getDistance | ( | ) | const |
===> Attribute distance
Get distance.
int asdm::EphemerisRow::getEphemerisId | ( | ) | const |
===> Attribute ephemerisId
Get ephemerisId.
double asdm::EphemerisRow::getEquinoxEquator | ( | ) | const |
===> Attribute equinoxEquator
Get equinoxEquator.
int asdm::EphemerisRow::getNumPolyDir | ( | ) | const |
===> Attribute numPolyDir
Get numPolyDir.
int asdm::EphemerisRow::getNumPolyDist | ( | ) | const |
===> Attribute numPolyDist
Get numPolyDist.
int asdm::EphemerisRow::getNumPolyRadVel | ( | ) | const |
Get numPolyRadVel, which is optional.
IllegalAccessException | If numPolyRadVel does not exist. |
std::vector<double > asdm::EphemerisRow::getObserverLocation | ( | ) | const |
===> Attribute observerLocation
Get observerLocation.
std::string asdm::EphemerisRow::getOrigin | ( | ) | const |
===> Attribute origin
Get origin.
std::vector<double > asdm::EphemerisRow::getRadVel | ( | ) | const |
Get radVel, which is optional.
IllegalAccessException | If radVel does not exist. |
EphemerisTable& asdm::EphemerisRow::getTable | ( | ) | const |
Return the table to which this row belongs.
ArrayTime asdm::EphemerisRow::getTimeOrigin | ( | ) | const |
bool asdm::EphemerisRow::isAdded | ( | ) | const |
Has this row been added to its table ?
|
private |
This method is used by the Table class when this row is added to the table.
bool asdm::EphemerisRow::isNumPolyRadVelExists | ( | ) | const |
===> Attribute numPolyRadVel, which is optional
The attribute numPolyRadVel is optional. Return true if this attribute exists.
bool asdm::EphemerisRow::isRadVelExists | ( | ) | const |
===> Attribute radVel, which is optional
The attribute radVel is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::EphemerisRow::setDir | ( | std::vector< std::vector< double > > | dir | ) |
Set dir with the specified std::vector<std::vector<double > >.
dir | The std::vector<std::vector<double > > value to which dir is to be set. |
void asdm::EphemerisRow::setDistance | ( | std::vector< double > | distance | ) |
Set distance with the specified std::vector<double >.
distance | The std::vector<double > value to which distance is to be set. |
void asdm::EphemerisRow::setEphemerisId | ( | int | ephemerisId | ) |
Set ephemerisId with the specified int.
ephemerisId | The int value to which ephemerisId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::EphemerisRow::setEquinoxEquator | ( | double | equinoxEquator | ) |
Set equinoxEquator with the specified double.
equinoxEquator | The double value to which equinoxEquator is to be set. |
void asdm::EphemerisRow::setFromIDL | ( | asdmIDL::EphemerisRowIDL | x | ) |
Fill the values of this row from the IDL struct EphemerisRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::EphemerisRow::setFromXML | ( | std::string | rowDoc | ) |
Fill the values of this row from an XML string that was produced by the toXML() method.
rowDoc | the XML string being used to set the values of this row. |
ConversionException |
void asdm::EphemerisRow::setNumPolyDir | ( | int | numPolyDir | ) |
Set numPolyDir with the specified int.
numPolyDir | The int value to which numPolyDir is to be set. |
void asdm::EphemerisRow::setNumPolyDist | ( | int | numPolyDist | ) |
Set numPolyDist with the specified int.
numPolyDist | The int value to which numPolyDist is to be set. |
void asdm::EphemerisRow::setNumPolyRadVel | ( | int | numPolyRadVel | ) |
Set numPolyRadVel with the specified int.
numPolyRadVel | The int value to which numPolyRadVel is to be set. |
void asdm::EphemerisRow::setObserverLocation | ( | std::vector< double > | observerLocation | ) |
Set observerLocation with the specified std::vector<double >.
observerLocation | The std::vector<double > value to which observerLocation is to be set. |
void asdm::EphemerisRow::setOrigin | ( | std::string | origin | ) |
Set origin with the specified std::string.
origin | The std::string value to which origin is to be set. |
void asdm::EphemerisRow::setRadVel | ( | std::vector< double > | radVel | ) |
Set radVel with the specified std::vector<double >.
radVel | The std::vector<double > value to which radVel is to be set. |
void asdm::EphemerisRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::EphemerisRow::setTimeOrigin | ( | ArrayTime | timeOrigin | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::EphemerisRowIDL* asdm::EphemerisRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::EphemerisRow::toIDL | ( | asdmIDL::EphemerisRowIDL & | x | ) | const |
Define the content of a EphemerisRowIDL struct from the values found in this row.
x | a reference to the EphemerisRowIDL struct to be set. |
std::string asdm::EphemerisRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 115 of file EphemerisRow.h.
|
friend |
Definition at line 116 of file EphemerisRow.h.
Intrinsic Table asdm::EphemerisRow::Attributes |
Definition at line 139 of file EphemerisRow.h.
|
private |
===> Attribute dir
Definition at line 785 of file EphemerisRow.h.
|
private |
===> Attribute distance
Definition at line 807 of file EphemerisRow.h.
|
private |
===> Attribute ephemerisId
Definition at line 741 of file EphemerisRow.h.
|
private |
===> Attribute equinoxEquator
Definition at line 763 of file EphemerisRow.h.
|
private |
Definition at line 874 of file EphemerisRow.h.
|
private |
Definition at line 894 of file EphemerisRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 686 of file EphemerisRow.h.
|
private |
===> Attribute numPolyDir
Definition at line 774 of file EphemerisRow.h.
|
private |
===> Attribute numPolyDist
Definition at line 796 of file EphemerisRow.h.
|
private |
Definition at line 842 of file EphemerisRow.h.
|
private |
===> Attribute numPolyRadVel, which is optional
Definition at line 839 of file EphemerisRow.h.
|
private |
===> Attribute observerLocation
Definition at line 752 of file EphemerisRow.h.
|
private |
===> Attribute origin
Definition at line 829 of file EphemerisRow.h.
|
private |
Definition at line 855 of file EphemerisRow.h.
|
private |
===> Attribute radVel, which is optional
Definition at line 852 of file EphemerisRow.h.
|
private |
The table to which this row belongs.
Definition at line 682 of file EphemerisRow.h.
|
private |
===> Attribute timeOrigin
Definition at line 818 of file EphemerisRow.h.