34 #ifndef DelayModelFixedParametersTable_CLASS
35 #define DelayModelFixedParametersTable_CLASS
110 #include <asdmIDLC.h>
123 class DelayModelFixedParametersRow;
305 static const std::vector<std::string>&
getKeyName();
322 unsigned int size()
const;
340 static std::string
name() ;
380 std::string
toXML() ;
389 asdmIDL::DelayModelFixedParametersTableIDL *
toIDL() ;
398 void toIDL(asdmIDL::DelayModelFixedParametersTableIDL& x)
const;
409 void fromIDL(asdmIDL::DelayModelFixedParametersTableIDL x) ;
479 std::vector<DelayModelFixedParametersRow *>
get() ;
487 const std::vector<DelayModelFixedParametersRow *>&
get()
const ;
591 std::vector<DelayModelFixedParametersRow *>
row;
649 void toFile(std::string directory);
static const ByteOrder * Machine_Endianity
static std::string name()
Return the name of this table.
Entity getEntity() const
Return this table's Entity.
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...
std::string getVersion() const
Return the version information about this table.
void setEntity(Entity e)
Set this table's Entity.
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.
std::string MIMEXMLPart(const asdm::ByteOrder *byteOrder=asdm::ByteOrder::Machine_Endianity)
Private methods involved during the export of this table into disk file(s).
A class to represent byte order information.
DelayModelFixedParametersRow * add(DelayModelFixedParametersRow *x)
====> Append a row to its table.
The ASDM class is the container for all tables.
virtual ~DelayModelFixedParametersTable()
void setUnknownAttributeBinaryReader(const std::string &attributeName, BinaryAttributeReaderFunctor *barFctr)
static const std::vector< std::string > & getAttributesNames()
Return the names of the attributes of this table.
void fromIDL(asdmIDL::DelayModelFixedParametersTableIDL x)
Populate this table from the content of a DelayModelFixedParametersTableIDL Corba structure...
void autoIncrement(std::string key, DelayModelFixedParametersRow *x)
std::map< std::string, BinaryAttributeReaderFunctor * > unknownAttributes2Functors
void setFromFile(const std::string &directory)
Reads and parses a file containing a representation of a DelayModelFixedParametersTable as those prod...
void setFromXMLFile(const std::string &directory)
void checkPresenceInMemory()
BinaryAttributeReaderFunctor * getUnknownAttributeBinaryReader(const std::string &attributeName) const
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...
asdmIDL::DelayModelFixedParametersTableIDL * toIDL()
Conversion Methods.
unsigned int size() const
Return the number of rows in the table.
DelayModelFixedParametersRow * checkAndAdd(DelayModelFixedParametersRow *x, bool skipCheckUniqueness=false)
If this table has an autoincrementable attribute then check if *x verifies the rule of uniqueness and...
std::map< std::string, int > noAutoIncIds
A map for the autoincrementation algorithm.
DelayModelFixedParametersRow * newRow()
====> Row creation.
static const std::vector< std::string > & getKeyName()
Return the list of field names that make up key key as an array of strings.
std::vector< DelayModelFixedParametersRow * > row
The DelayModelFixedParametersRow class is a row of a DelayModelFixedParametersTable.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
std::vector< DelayModelFixedParametersRow * > privateRows
A data structure to store the pointers on the table's rows.
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.
const Double e
e and functions thereof:
bool loadInProgress
Load the table in memory if necessary.
DelayModelFixedParametersRow * getRowByKey(Tag delayModelFixedParametersId)
Returns a DelayModelFixedParametersRow* given a key.
DelayModelFixedParametersTable(ASDM &container)
Create a DelayModelFixedParametersTable.
void addWithoutCheckingUnique(DelayModelFixedParametersRow *x)
Brutally append an DelayModelFixedParametersRow x to the collection of rows already stored in this ta...
DelayModelFixedParametersRow * lookup(std::string delayModelVersion, Tag execBlockId)
Look up the table for a row whose all attributes except the autoincrementable one are equal to the co...
ASDM & getContainer() const
Return the container to which this table belongs.
void toFile(std::string directory)
Stores a representation (binary or XML) of this table into a file.
void append(DelayModelFixedParametersRow *x)
Brutally append an DelayModelFixedParametersRow x to the collection of rows already stored in this ta...
std::string toXML()
Produces an XML representation conform to the schema defined for DelayModelFixedParameters (DelayMode...
std::string getName() const
Return the name of this table.
The Entity class is an identification of a persistant entity in the ALMA archive. ...
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...
static const std::vector< std::string > & defaultAttributesNamesInBin()
Return the default sorted list of attributes names in the binary representation of the table...
The DelayModelFixedParametersTable class is an Alma table.