asdm::SquareLawDetectorRow Class Reference

The SquareLawDetectorRow class is a row of a SquareLawDetectorTable. More...

#include <SquareLawDetectorRow.h>

List of all members.

Public Member Functions

virtual ~SquareLawDetectorRow ()
 friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>;
SquareLawDetectorTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
int getNumBand () const
 ===> Attribute numBand
void setNumBand (int numBand)
 Set numBand with the specified int.
DetectorBandTypeMod::DetectorBandType getBandType () const
 ===> Attribute bandType
void setBandType (DetectorBandTypeMod::DetectorBandType bandType)
 Set bandType with the specified DetectorBandTypeMod::DetectorBandType.
Extrinsic Table Attributes
Links *bool 
compareNoAutoInc (int numBand, DetectorBandTypeMod::DetectorBandType bandType)
 Compare each mandatory attribute except the autoincrementable one of this SquareLawDetectorRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numBand, DetectorBandTypeMod::DetectorBandType bandType)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (SquareLawDetectorRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::SquareLawDetectorRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::SquareLawDetectorRowIDL &x) const
 Define the content of a SquareLawDetectorRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::SquareLawDetectorRowIDL x)
 Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.
std::string toXML () const
 Return this row in the form of an XML string.
void setFromXML (std::string rowDoc)
 Fill the values of this row from an XML string that was produced by the toXML() method.

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.
 SquareLawDetectorRow (SquareLawDetectorTable &table)
 Create a SquareLawDetectorRow.
 SquareLawDetectorRow (SquareLawDetectorTable &table, SquareLawDetectorRow &row)
 Create a SquareLawDetectorRow using a copy constructor mechanism.
void setSquareLawDetectorId (Tag squareLawDetectorId)
 Set squareLawDetectorId with the specified Tag value.
void squareLawDetectorIdFromBin (EndianIStream &eis)
void numBandFromBin (EndianIStream &eis)
void bandTypeFromBin (EndianIStream &eis)
void squareLawDetectorIdFromText (const string &s)
void numBandFromText (const string &s)
void bandTypeFromText (const string &s)
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream.

Private Attributes

SquareLawDetectorTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numBand
 ===> Attribute numBand
DetectorBandTypeMod::DetectorBandType bandType
 ===> Attribute bandType
Extrinsic Table Attributes
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
SquareLawDetectorAttributeFromBin
fromBinMethods
*text deserialization material
std::map< std::string,
SquareLawDetectorAttributeFromText
fromTextMethods

Friends

class asdm::SquareLawDetectorTable
class asdm::RowTransformer< SquareLawDetectorRow >

Detailed Description

The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.

Generated from model's revision "1.64", branch "HEAD"

Definition at line 94 of file SquareLawDetectorRow.h.


Constructor & Destructor Documentation

virtual asdm::SquareLawDetectorRow::~SquareLawDetectorRow (  )  [virtual]

friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>;

asdm::SquareLawDetectorRow::SquareLawDetectorRow ( SquareLawDetectorTable table  )  [private]

Create a SquareLawDetectorRow.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.
asdm::SquareLawDetectorRow::SquareLawDetectorRow ( SquareLawDetectorTable table,
SquareLawDetectorRow row 
) [private]

Create a SquareLawDetectorRow using a copy constructor mechanism.

Given a SquareLawDetectorRow row and a SquareLawDetectorTable table, the method creates a new SquareLawDetectorRow 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.

Parameters:
table The table to which this row belongs.
row The row which is to be copied.

Member Function Documentation

void asdm::SquareLawDetectorRow::bandTypeFromBin ( EndianIStream eis  )  [private]
void asdm::SquareLawDetectorRow::bandTypeFromText ( const string &  s  )  [private]
Extrinsic Table Attributes Links* bool asdm::SquareLawDetectorRow::compareNoAutoInc ( int  numBand,
DetectorBandTypeMod::DetectorBandType  bandType 
)

Compare each mandatory attribute except the autoincrementable one of this SquareLawDetectorRow with the corresponding parameters and return true if there is a match and false otherwise.

Parameters:
numBand 
bandType 
bool asdm::SquareLawDetectorRow::compareRequiredValue ( int  numBand,
DetectorBandTypeMod::DetectorBandType  bandType 
)

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.

Parameters:
numBand 
bandType 
bool asdm::SquareLawDetectorRow::equalByRequiredValue ( SquareLawDetectorRow x  ) 

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters:
x a pointer on the SquareLawDetectorRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType (  )  const

===> Attribute bandType

Get bandType.

Returns:
bandType as DetectorBandTypeMod::DetectorBandType
int asdm::SquareLawDetectorRow::getNumBand (  )  const

===> Attribute numBand

Get numBand.

Returns:
numBand as int
SquareLawDetectorTable& asdm::SquareLawDetectorRow::getTable (  )  const

Return the table to which this row belongs.

void asdm::SquareLawDetectorRow::isAdded ( bool  added  )  [private]

This method is used by the Table class when this row is added to the table.

bool asdm::SquareLawDetectorRow::isAdded (  )  const

Has this row been added to its table ?

Returns:
true if and only if it has been added.
void asdm::SquareLawDetectorRow::numBandFromBin ( EndianIStream eis  )  [private]
void asdm::SquareLawDetectorRow::numBandFromText ( const string &  s  )  [private]
void asdm::SquareLawDetectorRow::setBandType ( DetectorBandTypeMod::DetectorBandType  bandType  ) 

Set bandType with the specified DetectorBandTypeMod::DetectorBandType.

Parameters:
bandType The DetectorBandTypeMod::DetectorBandType value to which bandType is to be set.
void asdm::SquareLawDetectorRow::setFromIDL ( asdmIDL::SquareLawDetectorRowIDL  x  ) 

Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.

Parameters:
x The IDL struct containing the values used to fill this row.
Exceptions:
ConversionException 
void asdm::SquareLawDetectorRow::setFromXML ( std::string  rowDoc  ) 

Fill the values of this row from an XML string that was produced by the toXML() method.

Parameters:
rowDoc the XML string being used to set the values of this row.
Exceptions:
ConversionException 
void asdm::SquareLawDetectorRow::setNumBand ( int  numBand  ) 

Set numBand with the specified int.

Parameters:
numBand The int value to which numBand is to be set.
void asdm::SquareLawDetectorRow::setSquareLawDetectorId ( Tag  squareLawDetectorId  )  [private]

Set squareLawDetectorId with the specified Tag value.

Parameters:
squareLawDetectorId The Tag value to which squareLawDetectorId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromBin ( EndianIStream eis  )  [private]
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromText ( const string &  s  )  [private]
void asdm::SquareLawDetectorRow::toBin ( EndianOSStream eoss  )  [private]

Serialize this into a stream of bytes written to an EndianOSStream.

Parameters:
eoss the EndianOSStream to be written to
void asdm::SquareLawDetectorRow::toIDL ( asdmIDL::SquareLawDetectorRowIDL &  x  )  const

Define the content of a SquareLawDetectorRowIDL struct from the values found in this row.

Parameters:
x a reference to the SquareLawDetectorRowIDL struct to be set.
asdmIDL::SquareLawDetectorRowIDL* asdm::SquareLawDetectorRow::toIDL (  )  const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a SquareLawDetectorRowIDL struct.
std::string asdm::SquareLawDetectorRow::toXML (  )  const

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.

Friends And Related Function Documentation

friend class asdm::RowTransformer< SquareLawDetectorRow > [friend]

Definition at line 96 of file SquareLawDetectorRow.h.

friend class asdm::SquareLawDetectorTable [friend]

Definition at line 95 of file SquareLawDetectorRow.h.


Member Data Documentation

Definition at line 119 of file SquareLawDetectorRow.h.

DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::bandType [private]

===> Attribute bandType

Definition at line 401 of file SquareLawDetectorRow.h.

Extrinsic Table Attributes Links* binary deserialization material from an EndianIStream std::map<std::string, SquareLawDetectorAttributeFromBin> asdm::SquareLawDetectorRow::fromBinMethods [private]

Definition at line 420 of file SquareLawDetectorRow.h.

* text deserialization material std::map<std::string, SquareLawDetectorAttributeFromText> asdm::SquareLawDetectorRow::fromTextMethods [private]

Definition at line 431 of file SquareLawDetectorRow.h.

Whether this row has been added to the table or not.

Definition at line 323 of file SquareLawDetectorRow.h.

===> Attribute numBand

Definition at line 390 of file SquareLawDetectorRow.h.

The table to which this row belongs.

Definition at line 319 of file SquareLawDetectorRow.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1