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::HolographyRow Class Reference

The HolographyRow class is a row of a HolographyTable. More...

#include <HolographyRow.h>

List of all members.

Public Member Functions

virtual ~HolographyRow ()
 friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
HolographyTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
Length getDistance () const
 ===> Attribute distance
void setDistance (Length distance)
 Set distance with the specified Length.
Length getFocus () const
 ===> Attribute focus
void setFocus (Length focus)
 Set focus with the specified Length.
int getNumCorr () const
 ===> Attribute numCorr
void setNumCorr (int numCorr)
 Set numCorr with the specified int.
vector
< HolographyChannelTypeMod::HolographyChannelType > 
getType () const
 ===> Attribute type
void setType (vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.
Extrinsic Table Attributes
Links *bool 
compareNoAutoInc (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (HolographyRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::HolographyRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::HolographyRowIDL &x) const
 Define the content of a HolographyRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::HolographyRowIDL x)
 Fill the values of this row from the IDL struct HolographyRowIDL.
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 ~HolographyRow ()
 friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
HolographyTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
Length getDistance () const
 ===> Attribute distance
void setDistance (Length distance)
 Set distance with the specified Length.
Length getFocus () const
 ===> Attribute focus
void setFocus (Length focus)
 Set focus with the specified Length.
int getNumCorr () const
 ===> Attribute numCorr
void setNumCorr (int numCorr)
 Set numCorr with the specified int.
vector
< HolographyChannelTypeMod::HolographyChannelType > 
getType () const
 ===> Attribute type
void setType (vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.
Extrinsic Table Attributes
Links *bool 
compareNoAutoInc (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (Length distance, Length focus, int numCorr, vector< HolographyChannelTypeMod::HolographyChannelType > type)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (HolographyRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::HolographyRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (asdmIDL::HolographyRowIDL x)
 Fill the values of this row from the IDL struct HolographyRowIDL.
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.
 HolographyRow (HolographyTable &table)
 Create a HolographyRow.
 HolographyRow (HolographyTable &table, HolographyRow &row)
 Create a HolographyRow using a copy constructor mechanism.
void setHolographyId (Tag holographyId)
 Set holographyId with the specified Tag value.
void holographyIdFromBin (EndianIStream &eis)
void distanceFromBin (EndianIStream &eis)
void focusFromBin (EndianIStream &eis)
void numCorrFromBin (EndianIStream &eis)
void typeFromBin (EndianIStream &eis)
void holographyIdFromText (const string &s)
void distanceFromText (const string &s)
void focusFromText (const string &s)
void numCorrFromText (const string &s)
void typeFromText (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.
 HolographyRow (HolographyTable &table)
 Create a HolographyRow.
 HolographyRow (HolographyTable &table, HolographyRow &row)
 Create a HolographyRow using a copy constructor mechanism.
void setHolographyId (Tag holographyId)
 Set holographyId with the specified Tag value.
void holographyIdFromBin (EndianIStream &eis)
void distanceFromBin (EndianIStream &eis)
void focusFromBin (EndianIStream &eis)
void numCorrFromBin (EndianIStream &eis)
void typeFromBin (EndianIStream &eis)
void holographyIdFromText (const string &s)
void distanceFromText (const string &s)
void focusFromText (const string &s)
void numCorrFromText (const string &s)
void typeFromText (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

HolographyTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
Length distance
 ===> Attribute distance
Length focus
 ===> Attribute focus
int numCorr
 ===> Attribute numCorr
vector
< HolographyChannelTypeMod::HolographyChannelType > 
type
 ===> Attribute type
Extrinsic Table Attributes
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
HolographyAttributeFromBin
fromBinMethods
*text deserialization material
std::map< std::string,
HolographyAttributeFromText
fromTextMethods

Friends

class asdm::HolographyTable
class asdm::RowTransformer< HolographyRow >

Detailed Description

The HolographyRow class is a row of a HolographyTable.

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

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

Definition at line 102 of file HolographyRow.h.


Constructor & Destructor Documentation

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

friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;

Create a HolographyRow.

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 HolographyRow using a copy constructor mechanism.

Given a HolographyRow row and a HolographyTable table, the method creates a new HolographyRow 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.
virtual asdm::HolographyRow::~HolographyRow ( ) [virtual]

friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;

Create a HolographyRow.

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 HolographyRow using a copy constructor mechanism.

Given a HolographyRow row and a HolographyTable table, the method creates a new HolographyRow 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

Extrinsic Table Attributes Links* bool asdm::HolographyRow::compareNoAutoInc ( Length  distance,
Length  focus,
int  numCorr,
vector< HolographyChannelTypeMod::HolographyChannelType >  type 
)

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

Parameters:
distance
focus
numCorr
type
Extrinsic Table Attributes Links* bool asdm::HolographyRow::compareNoAutoInc ( Length  distance,
Length  focus,
int  numCorr,
vector< HolographyChannelTypeMod::HolographyChannelType >  type 
)

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

Parameters:
distance
focus
numCorr
type
bool asdm::HolographyRow::compareRequiredValue ( Length  distance,
Length  focus,
int  numCorr,
vector< HolographyChannelTypeMod::HolographyChannelType >  type 
)

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:
distance
focus
numCorr
type
bool asdm::HolographyRow::compareRequiredValue ( Length  distance,
Length  focus,
int  numCorr,
vector< HolographyChannelTypeMod::HolographyChannelType >  type 
)

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:
distance
focus
numCorr
type
void asdm::HolographyRow::distanceFromText ( const string &  s) [private]
void asdm::HolographyRow::distanceFromText ( const string &  s) [private]

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 HolographyRow 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 HolographyRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
void asdm::HolographyRow::focusFromText ( const string &  s) [private]
void asdm::HolographyRow::focusFromText ( const string &  s) [private]
void asdm::HolographyRow::fromText ( const std::string &  attributeName,
const std::string &  t 
) [private]

===> Attribute distance

         

Get distance.

Returns:
distance as Length

===> Attribute distance

         

Get distance.

Returns:
distance as Length

===> Attribute focus

         

Get focus.

Returns:
focus as Length

===> Attribute focus

         

Get focus.

Returns:
focus as Length

===> Attribute numCorr

         

Get numCorr.

Returns:
numCorr as int

===> Attribute numCorr

         

Get numCorr.

Returns:
numCorr as int

Return the table to which this row belongs.

Return the table to which this row belongs.

vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::getType ( ) const

===> Attribute type

         

Get type.

Returns:
type as vector<HolographyChannelTypeMod::HolographyChannelType >
vector<HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::getType ( ) const

===> Attribute type

         

Get type.

Returns:
type as vector<HolographyChannelTypeMod::HolographyChannelType >
void asdm::HolographyRow::holographyIdFromText ( const string &  s) [private]
void asdm::HolographyRow::holographyIdFromText ( const string &  s) [private]

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

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

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

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

void asdm::HolographyRow::numCorrFromText ( const string &  s) [private]
void asdm::HolographyRow::numCorrFromText ( const string &  s) [private]

Set distance with the specified Length.

Parameters:
distanceThe Length value to which distance is to be set.

Set distance with the specified Length.

Parameters:
distanceThe Length value to which distance is to be set.

Set focus with the specified Length.

Parameters:
focusThe Length value to which focus is to be set.

Set focus with the specified Length.

Parameters:
focusThe Length value to which focus is to be set.
void asdm::HolographyRow::setFromIDL ( asdmIDL::HolographyRowIDL  x)

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

Parameters:
xThe IDL struct containing the values used to fill this row.
Exceptions:
ConversionException
void asdm::HolographyRow::setFromIDL ( asdmIDL::HolographyRowIDL  x)

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

Parameters:
xThe IDL struct containing the values used to fill this row.
Exceptions:
ConversionException
void asdm::HolographyRow::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::HolographyRow::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::HolographyRow::setHolographyId ( Tag  holographyId) [private]

Set holographyId with the specified Tag value.

Parameters:
holographyIdThe Tag value to which holographyId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::HolographyRow::setHolographyId ( Tag  holographyId) [private]

Set holographyId with the specified Tag value.

Parameters:
holographyIdThe Tag value to which holographyId is to be set.
Exceptions:
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::HolographyRow::setNumCorr ( int  numCorr)

Set numCorr with the specified int.

Parameters:
numCorrThe int value to which numCorr is to be set.
void asdm::HolographyRow::setNumCorr ( int  numCorr)

Set numCorr with the specified int.

Parameters:
numCorrThe int value to which numCorr is to be set.
void asdm::HolographyRow::setType ( vector< HolographyChannelTypeMod::HolographyChannelType >  type)

Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.

Parameters:
typeThe vector<HolographyChannelTypeMod::HolographyChannelType > value to which type is to be set.
void asdm::HolographyRow::setType ( vector< HolographyChannelTypeMod::HolographyChannelType >  type)

Set type with the specified vector<HolographyChannelTypeMod::HolographyChannelType >.

Parameters:
typeThe vector<HolographyChannelTypeMod::HolographyChannelType > value to which type is to be set.
void asdm::HolographyRow::toBin ( EndianOSStream eoss) [private]

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

Parameters:
eossthe EndianOSStream to be written to
void asdm::HolographyRow::toBin ( EndianOSStream eoss) [private]

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

Parameters:
eossthe EndianOSStream to be written to
asdmIDL::HolographyRowIDL* asdm::HolographyRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a HolographyRowIDL struct.
asdmIDL::HolographyRowIDL* asdm::HolographyRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a HolographyRowIDL struct.
void asdm::HolographyRow::toIDL ( asdmIDL::HolographyRowIDL &  x) const

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

Parameters:
xa reference to the HolographyRowIDL struct to be set.
std::string asdm::HolographyRow::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::HolographyRow::toXML ( ) const

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.
void asdm::HolographyRow::typeFromText ( const string &  s) [private]
void asdm::HolographyRow::typeFromText ( const string &  s) [private]

Friends And Related Function Documentation

Definition at line 103 of file HolographyRow.h.

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

Definition at line 104 of file HolographyRow.h.


Member Data Documentation

Definition at line 127 of file HolographyRow.h.

===> Attribute distance

         

Definition at line 468 of file HolographyRow.h.

===> Attribute focus

         

Definition at line 479 of file HolographyRow.h.

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

Definition at line 520 of file HolographyRow.h.

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

Definition at line 533 of file HolographyRow.h.

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

Definition at line 401 of file HolographyRow.h.

===> Attribute numCorr

         

Definition at line 490 of file HolographyRow.h.

The table to which this row belongs.

Definition at line 397 of file HolographyRow.h.

vector< HolographyChannelTypeMod::HolographyChannelType > asdm::HolographyRow::type [private]

===> Attribute type

         

Definition at line 501 of file HolographyRow.h.


The documentation for this class was generated from the following files: