casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
asdm::SquareLawDetectorRow Class Reference

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

#include <SquareLawDetectorRow.h>

Public Member Functions

virtual ~SquareLawDetectorRow ()
 friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>; More...
 
SquareLawDetectorTablegetTable () const
 Return the table to which this row belongs. More...
 
bool isAdded () const
 Has this row been added to its table ? More...
 
int getNumBand () const
 ===> Attribute numBand More...
 
void setNumBand (int numBand)
 Set numBand with the specified int. More...
 
DetectorBandTypeMod::DetectorBandType getBandType () const
 ===> Attribute bandType More...
 
void setBandType (DetectorBandTypeMod::DetectorBandType bandType)
 Set bandType with the specified DetectorBandTypeMod::DetectorBandType. More...
 
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. More...
 
bool compareRequiredValue (int numBand, DetectorBandTypeMod::DetectorBandType bandType)
 Compare each mandatory value (i.e. More...
 
bool equalByRequiredValue (SquareLawDetectorRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More...
 
asdmIDL::SquareLawDetectorRowIDL * toIDL () const
 Return this row in the form of an IDL struct. More...
 
void toIDL (asdmIDL::SquareLawDetectorRowIDL &x) const
 Define the content of a SquareLawDetectorRowIDL struct from the values found in this row. More...
 
void setFromIDL (asdmIDL::SquareLawDetectorRowIDL x)
 Fill the values of this row from the IDL struct SquareLawDetectorRowIDL. 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...
 
 SquareLawDetectorRow (SquareLawDetectorTable &table)
 Create a SquareLawDetectorRow. More...
 
 SquareLawDetectorRow (SquareLawDetectorTable &table, SquareLawDetectorRow *row)
 Create a SquareLawDetectorRow using a copy constructor mechanism. More...
 
void setSquareLawDetectorId (Tag squareLawDetectorId)
 Set squareLawDetectorId with the specified Tag value. More...
 
void squareLawDetectorIdFromBin (EndianIStream &eis)
 
void numBandFromBin (EndianIStream &eis)
 
void bandTypeFromBin (EndianIStream &eis)
 
void squareLawDetectorIdFromText (const std::string &s)
 
void numBandFromText (const std::string &s)
 
void bandTypeFromText (const std::string &s)
 
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream. More...
 

Private Attributes

SquareLawDetectorTabletable
 The table to which this row belongs. More...
 
bool hasBeenAdded
 Whether this row has been added to the table or not. More...
 
int numBand
 ===> Attribute numBand More...
 
DetectorBandTypeMod::DetectorBandType bandType
 ===> Attribute bandType More...
 
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", branch ""

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
tableThe 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
tableThe table to which this row belongs.
rowThe row which is to be copied.

Member Function Documentation

void asdm::SquareLawDetectorRow::bandTypeFromBin ( EndianIStream eis)
private
void asdm::SquareLawDetectorRow::bandTypeFromText ( const std::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
xa 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.

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::isAdded ( bool  added)
private

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

void asdm::SquareLawDetectorRow::numBandFromBin ( EndianIStream eis)
private
void asdm::SquareLawDetectorRow::numBandFromText ( const std::string &  s)
private
void asdm::SquareLawDetectorRow::setBandType ( DetectorBandTypeMod::DetectorBandType  bandType)

Set bandType with the specified DetectorBandTypeMod::DetectorBandType.

Parameters
bandTypeThe 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
xThe 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
rowDocthe 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
numBandThe int value to which numBand is to be set.
void asdm::SquareLawDetectorRow::setSquareLawDetectorId ( Tag  squareLawDetectorId)
private

Set squareLawDetectorId with the specified Tag value.

Parameters
squareLawDetectorIdThe Tag value to which squareLawDetectorId is to be set.
Exceptions
IllegalAccessExceptionIf 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 std::string &  s)
private
void asdm::SquareLawDetectorRow::toBin ( EndianOSStream eoss)
private

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

Parameters
eossthe EndianOSStream to be written to
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.
void asdm::SquareLawDetectorRow::toIDL ( asdmIDL::SquareLawDetectorRowIDL &  x) const

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

Parameters
xa reference to the SquareLawDetectorRowIDL struct to be set.
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

Definition at line 96 of file SquareLawDetectorRow.h.

friend class asdm::SquareLawDetectorTable
friend

Definition at line 95 of file SquareLawDetectorRow.h.

Member Data Documentation

Intrinsic Table asdm::SquareLawDetectorRow::Attributes

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.

bool asdm::SquareLawDetectorRow::hasBeenAdded
private

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

Definition at line 323 of file SquareLawDetectorRow.h.

int asdm::SquareLawDetectorRow::numBand
private

===> Attribute numBand

Definition at line 390 of file SquareLawDetectorRow.h.

SquareLawDetectorTable& asdm::SquareLawDetectorRow::table
private

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: