TAO_CosTrader
2.1.2
|
This class deletes, modifies, and adds properties to a given offer according to the rules of the modify method on the Register interface. More...
#include <Trader_Utils.h>
This class deletes, modifies, and adds properties to a given offer according to the rules of the modify method on the Register interface.
|
private |
TAO_Offer_Modifier::TAO_Offer_Modifier | ( | const char * | type, |
const CosTradingRepos::ServiceTypeRepository::TypeStruct & | type_struct, | ||
CosTrading::Offer * | offer | ||
) |
Modify an <offer> of type <type>, whose properties are described by <type_struct>
|
private |
void TAO_Offer_Modifier::affect_change | ( | const CosTrading::PropertySeq & | modifies | ) |
Return a reference to the Offer with the changes affected.
void TAO_Offer_Modifier::delete_properties | ( | const CosTrading::PropertyNameSeq & | deletes | ) |
Delete the properties whose names were given to the constructor. Ensure we don't delete mandatory properties.
void TAO_Offer_Modifier::merge_properties | ( | const CosTrading::PropertySeq & | modifies | ) |
Copy to the destination the union of the source and destination properties. In the case of duplicate properties, update the destination with the source's value. This class claims the memory in the modifies sequence.
|
private |
A reference to the offer undergoing change.
Table of property types.
The map of properties in the offer.
The set of readonly and mandatory property names in the offer's type.
|
private |
The type of the offer.