casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends
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.
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 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.
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 fromText (const std::string &attributeName, const std::string &t)
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"

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

Definition at line 94 of file SquareLawDetectorRow.h.


Constructor & Destructor Documentation

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

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.

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.

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

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.

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::bandTypeFromText ( const string &  s) [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
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::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

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.

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.
void asdm::SquareLawDetectorRow::fromText ( const std::string &  attributeName,
const std::string &  t 
) [private]
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType ( ) const

===> Attribute bandType

         

Get bandType.

Returns:
bandType as DetectorBandTypeMod::DetectorBandType
DetectorBandTypeMod::DetectorBandType asdm::SquareLawDetectorRow::getBandType ( ) const

===> Attribute bandType

         

Get bandType.

Returns:
bandType as DetectorBandTypeMod::DetectorBandType

===> Attribute numBand

         

Get numBand.

Returns:
numBand as int

===> Attribute numBand

         

Get numBand.

Returns:
numBand as int

Return the table to which this row belongs.

Return the table to which this row belongs.

Has this row been added to its table ?

Returns:
true if and only if it has been added.

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

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

void asdm::SquareLawDetectorRow::numBandFromText ( const string &  s) [private]
void asdm::SquareLawDetectorRow::numBandFromText ( const 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::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::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::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

Set numBand with the specified int.

Parameters:
numBandThe int value to which numBand is to be set.

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::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::squareLawDetectorIdFromText ( const string &  s) [private]
void asdm::SquareLawDetectorRow::squareLawDetectorIdFromText ( const string &  s) [private]

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

Parameters:
eossthe EndianOSStream to be written to

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.
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.
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.

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 files: