34 #ifndef DelayModelVariableParametersTable_CLASS
35 #define DelayModelVariableParametersTable_CLASS
102 #include <asdmIDLC.h>
115 class DelayModelVariableParametersRow;
254 static const std::vector<std::string>&
getKeyName();
271 unsigned int size()
const;
289 static std::string
name() ;
329 std::string
toXML() ;
338 asdmIDL::DelayModelVariableParametersTableIDL *
toIDL() ;
347 void toIDL(asdmIDL::DelayModelVariableParametersTableIDL& x)
const;
358 void fromIDL(asdmIDL::DelayModelVariableParametersTableIDL x) ;
442 std::vector<DelayModelVariableParametersRow *>
get() ;
450 const std::vector<DelayModelVariableParametersRow *>&
get()
const ;
568 std::vector<DelayModelVariableParametersRow *>
row;
626 void toFile(std::string directory);
static const ByteOrder * Machine_Endianity
void toFile(std::string directory)
Stores a representation (binary or XML) of this table into a file.
std::vector< DelayModelVariableParametersRow * > row
void checkPresenceInMemory()
std::map< std::string, int > noAutoIncIds
A map for the autoincrementation algorithm.
DelayModelVariableParametersRow * newRow()
====> Row creation.
void autoIncrement(std::string key, DelayModelVariableParametersRow *x)
A class to represent byte order information.
static std::string name()
Return the name of this table.
std::vector< DelayModelVariableParametersRow * > privateRows
A data structure to store the pointers on the table's rows.
BinaryAttributeReaderFunctor * getUnknownAttributeBinaryReader(const std::string &attributeName) const
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
The ASDM class is the container for all tables.
void setFromXMLFile(const std::string &directory)
DelayModelVariableParametersRow * add(DelayModelVariableParametersRow *x)
====> Append a row to its table.
DelayModelVariableParametersRow * lookup(ArrayTime time, double ut1_utc, double iat_utc, DifferenceTypeMod::DifferenceType timeType, Angle gstAtUt0, AngularRate earthRotationRate, std::vector< double > polarOffsets, DifferenceTypeMod::DifferenceType polarOffsetsType, Tag delayModelFixedParametersId)
Look up the table for a row whose all attributes except the autoincrementable one are equal to the co...
bool loadInProgress
Load the table in memory if necessary.
unsigned int size() const
Return the number of rows in the table.
The DelayModelVariableParametersTable class is an Alma table.
The Angle class implements a quantity of angle in radians.
void fromIDL(asdmIDL::DelayModelVariableParametersTableIDL x)
Populate this table from the content of a DelayModelVariableParametersTableIDL Corba structure...
DelayModelVariableParametersRow * checkAndAdd(DelayModelVariableParametersRow *x, bool skipCheckUniqueness=false)
If this table has an autoincrementable attribute then check if *x verifies the rule of uniqueness and...
std::string toXML()
Produces an XML representation conform to the schema defined for DelayModelVariableParameters (DelayM...
void fromXML(std::string &xmlDoc)
Populate this table from the content of a XML document that is required to be conform to the XML sche...
static const std::vector< std::string > & getKeyName()
Return the list of field names that make up key key as an array of strings.
asdmIDL::DelayModelVariableParametersTableIDL * toIDL()
Conversion Methods.
The AngularRate class implements a quantity of AngularRate in radians per second. ...
void setFromMIME(const std::string &mimeMsg)
Extracts the binary part of a MIME message and deserialize its content to fill this with the result o...
void append(DelayModelVariableParametersRow *x)
Brutally append an DelayModelVariableParametersRow x to the collection of rows already stored in this...
DelayModelVariableParametersRow * getRowByKey(Tag delayModelVariableParametersId)
Returns a DelayModelVariableParametersRow* given a key.
virtual ~DelayModelVariableParametersTable()
The DelayModelVariableParametersRow class is a row of a DelayModelVariableParametersTable.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
std::string toMIME(const asdm::ByteOrder *byteOrder=asdm::ByteOrder::Machine_Endianity)
Serialize this into a stream of bytes and encapsulates that stream into a MIME message.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
DelayModelVariableParametersTable(ASDM &container)
Create a DelayModelVariableParametersTable.
void setUnknownAttributeBinaryReader(const std::string &attributeName, BinaryAttributeReaderFunctor *barFctr)
void addWithoutCheckingUnique(DelayModelVariableParametersRow *x)
Brutally append an DelayModelVariableParametersRow x to the collection of rows already stored in this...
A pure virtual class whose derived classes are expected to be functors whose behaviours will be to re...
The Representable interface is implemented by all tables and by the container.
Entity getEntity() const
Return this table's Entity.
const Double e
e and functions thereof:
ASDM & getContainer() const
Return the container to which this table belongs.
static const std::vector< std::string > & defaultAttributesNamesInBin()
Return the default sorted list of attributes names in the binary representation of the table...
void setFromFile(const std::string &directory)
Reads and parses a file containing a representation of a DelayModelVariableParametersTable as those p...
std::string MIMEXMLPart(const asdm::ByteOrder *byteOrder=asdm::ByteOrder::Machine_Endianity)
Private methods involved during the export of this table into disk file(s).
std::string getName() const
Return the name of this table.
std::map< std::string, BinaryAttributeReaderFunctor * > unknownAttributes2Functors
void setFromMIMEFile(const std::string &directory)
Private methods involved during the build of this table out of the content of file(s) containing an e...
void setEntity(Entity e)
Set this table's Entity.
static const std::vector< std::string > & getAttributesNames()
Return the names of the attributes of this table.
std::string getVersion() const
Return the version information about this table.
The Entity class is an identification of a persistant entity in the ALMA archive. ...