TAO_CosTrader  2.4.2
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
TAO_Property_Filter Class Reference

The Ace_Property_Filter copies those properties specified in a CosTrading::Lookup::SpecifiedProps from a source CosTrading::Offer to a destination CosTrading::Offer. More...

#include <Trader_Utils.h>

Collaboration diagram for TAO_Property_Filter:
Collaboration graph
[legend]

Public Types

typedef CosTrading::Lookup::SpecifiedProps SPECIFIED_PROPS
 

Public Member Functions

 TAO_Property_Filter (void)
 An accomplice to g++'s insane lust for copy constructors. More...
 
 TAO_Property_Filter (const SPECIFIED_PROPS &desired_props)
 Verify that the specified properties are correct. More...
 
 TAO_Property_Filter (const TAO_Property_Filter &prop_filter)
 
TAO_Property_Filteroperator= (const TAO_Property_Filter &prop_filter)
 
void filter_offer (CosTrading::Offer *source, CosTrading::Offer &destination)
 

Private Types

typedef ACE_Unbounded_Queue< CosTrading::Property * > Prop_Queue
 

Private Attributes

TAO_String_Set props_
 
CosTrading::Lookup::HowManyProps policy_
 

Detailed Description

The Ace_Property_Filter copies those properties specified in a CosTrading::Lookup::SpecifiedProps from a source CosTrading::Offer to a destination CosTrading::Offer.

Member Typedef Documentation

Constructor & Destructor Documentation

TAO_Property_Filter::TAO_Property_Filter ( void  )
inline

An accomplice to g++'s insane lust for copy constructors.

TAO_Property_Filter::TAO_Property_Filter ( const SPECIFIED_PROPS desired_props)

Verify that the specified properties are correct.

TAO_Property_Filter::TAO_Property_Filter ( const TAO_Property_Filter prop_filter)

Member Function Documentation

void TAO_Property_Filter::filter_offer ( CosTrading::Offer source,
CosTrading::Offer destination 
)

Copy the desired properties from the source offer to the destination offer.

TAO_Property_Filter & TAO_Property_Filter::operator= ( const TAO_Property_Filter prop_filter)

Member Data Documentation

CosTrading::Lookup::HowManyProps TAO_Property_Filter::policy_
private
TAO_String_Set TAO_Property_Filter::props_
private

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