#include <Trader_Utils.h>
Public Methods | |
TAO_Policy_Creator (int num_policies=0) | |
void | search_card (CORBA::ULong scard) |
Set the maximum number of offers searched for the query. | |
void | match_card (CORBA::ULong mcard) |
Set the maximum number of offers searched for the query. | |
void | return_card (CORBA::ULong rcard) |
Set the maximum number of offers rerturned for the query. | |
void | use_modifiable_properties (CORBA::Boolean mod_props) |
Consider offers with modifiable properties. | |
void | use_dynamic_properties (CORBA::Boolean dyn_props) |
Consider offers with dynamic properties. | |
void | use_proxy_offers (CORBA::Boolean prox_offs) |
Consider proxy offers (NOT SUPPORTED). | |
void | starting_trader (const CosTrading::TraderName &name) |
Designate a trader at which to begin the query. | |
void | starting_trader (CosTrading::TraderName *name) |
void | link_follow_rule (CosTrading::FollowOption follow_option) |
Specify under what conditions a federated query is appropriate. | |
void | hop_count (CORBA::ULong hop_count) |
Limit the breadth of a federated query. | |
void | request_id (const CosTrading::Admin::OctetSeq &request_id) |
Set the identifier for this query (clients shouldn't use this). | |
void | exact_type_match (CORBA::Boolean exact_type) |
Search only the designated type --- not it's subtypes. | |
operator const CosTrading::PolicySeq & (void) const | |
Return the constructed policy sequence. | |
const CosTrading::PolicySeq & | policy_seq (void) const |
Private Methods | |
TAO_Policy_Creator (const TAO_Policy_Creator &) | |
TAO_Policy_Creator & | operator= (const TAO_Policy_Creator &) |
CosTrading::Policy & | fetch_next_policy (TAO_Policies::POLICY_TYPE pol_type) |
Private Attributes | |
int | poltable_ [TAO_Policies::REQUEST_ID+1] |
Table mapping policy enum value to the index in the policies sequence. | |
CosTrading::PolicySeq | policies_ |
The sequence being prepared for submittal to the query method. | |
CORBA::ULong | num_policies_ |
The number of policies so far in the sequence. |
|
|
|
|
|
Search only the designated type --- not it's subtypes.
|
|
Method to prepare the next slot in the policies_ sequence for policy insertion. |
|
Limit the breadth of a federated query.
|
|
Specify under what conditions a federated query is appropriate.
|
|
Set the maximum number of offers searched for the query.
|
|
Return the constructed policy sequence.
|
|
|
|
Return a PolicySeq suitable for passing to the query method of the Lookup interface. |
|
Set the identifier for this query (clients shouldn't use this).
|
|
Set the maximum number of offers rerturned for the query.
|
|
Set the maximum number of offers searched for the query.
|
|
|
|
Designate a trader at which to begin the query.
|
|
Consider offers with dynamic properties.
|
|
Consider offers with modifiable properties.
|
|
Consider proxy offers (NOT SUPPORTED).
|
|
The number of policies so far in the sequence.
|
|
The sequence being prepared for submittal to the query method.
|
|
Table mapping policy enum value to the index in the policies sequence.
|