#include <Trader.h>
Inheritance diagram for TAO_Trader_Base:
TAO_Trader is a template class. And while we want , , and use a lock contained in TAO_Trader, we do not want all these classes to be templatized. TAO_Trader_Base class solves this problem.
Definition at line 408 of file Trader.h.
|
Definition at line 412 of file Trader.h.
|
|
Definition at line 28 of file Trader.cpp.
00029 { 00030 } |
|
Implemented.
Definition at line 20 of file Trader.cpp.
00021 : trading_components_ (*this), 00022 import_attributes_ (*this), 00023 support_attributes_ (*this), 00024 link_attributes_ (*this) 00025 { 00026 } |
|
Unimplemented.
|
|
Definition at line 39 of file Trader.cpp. References import_attributes_.
00040 { 00041 return this->import_attributes_; 00042 } |
|
Definition at line 33 of file Trader.cpp. References import_attributes_. Referenced by TAO_Trader_Factory::manufacture_trader().
00034 { 00035 return this->import_attributes_; 00036 } |
|
Determine whether the identifier is a valid one (i.e., if the first character is a letter, and the subsequent ones letter, numbers, or underscores.) IDL identifier scoping and escaping rules apply. Definition at line 106 of file Trader.cpp. References ACE_OS::ace_isalnum(), ACE_OS::ace_isalpha(), ACE_OS::strlen(), and ACE_OS::strstr(). Referenced by TAO_Service_Type_Repository::add_type(), TAO_Service_Type_Repository::describe_type(), TAO_Service_Type_Repository::fully_describe_type(), TAO_Service_Type_Repository::mask_type(), TAO_Offer_Database< LOCK_TYPE >::parse_offer_id(), TAO_Service_Type_Repository::remove_type(), TAO_Service_Type_Repository::unmask_type(), and TAO_Service_Type_Repository::validate_supertypes().
00107 { 00108 static char const * const double_colon = "::"; 00109 00110 if (ident == 0) 00111 return 0; 00112 00113 int return_value = 1; 00114 00115 // Allow scoped identifiers 00116 CORBA::Boolean done = 0; 00117 char const * pos = 00118 ACE_OS::strstr (ident, 00119 double_colon); 00120 00121 do 00122 { 00123 if ('_' == ident[0]) 00124 { 00125 // Treat escaped identifiers the same way as IDL 00126 ++ident; 00127 } 00128 00129 size_t length = 00130 pos ? pos - ident : ACE_OS::strlen (ident); 00131 00132 if (length >= 1 && ACE_OS::ace_isalpha (ident[0])) 00133 { 00134 // First character must be alpha 00135 for (size_t i = 0; i < length; ++i) 00136 { 00137 if (! (ACE_OS::ace_isalnum (ident[i]) 00138 || ident[i] == '_')) 00139 { 00140 // Subsequent characters is not alpha, numeric, or '_' 00141 return_value = 0; 00142 break; 00143 } 00144 } 00145 } 00146 else 00147 return_value = 0; 00148 00149 if (pos) 00150 { 00151 // More identifiers 00152 ident = pos + 2; 00153 pos = ACE_OS::strstr (ident, double_colon); 00154 } 00155 else 00156 { 00157 // Last or only identifier 00158 done = 1; 00159 } 00160 } 00161 while (!done); 00162 00163 return return_value; 00164 } |
|
Determine whether the link name is a valid one currently defined the same as property name. Definition at line 463 of file Trader.h. Referenced by TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::add_link(), TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::describe_link(), TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::modify_link(), TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::remove_link(), and TAO_Register< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::resolve().
00464 { 00465 return is_valid_property_name (ident); 00466 } |
|
Determine whether the identifier is a valid one (i.e., if the first character is a letter, and the subsequent ones letter, numbers, or underscores.) Definition at line 81 of file Trader.cpp. References ACE_OS::ace_isalnum(), ACE_OS::ace_isalpha(), and ACE_OS::strlen(). Referenced by TAO_Offer_Modifier::delete_properties(), TAO_Offer_Modifier::merge_properties(), TAO_Property_Evaluator_By_Name::TAO_Property_Evaluator_By_Name(), TAO_Property_Filter::TAO_Property_Filter(), and TAO_Service_Type_Repository::validate_properties().
00082 { 00083 bool return_value = false; 00084 00085 if (ident == 0) 00086 return return_value; 00087 00088 size_t length = ACE_OS::strlen (ident); 00089 if (length >= 1 && ACE_OS::ace_isalpha (ident[0])) 00090 { 00091 return_value = true; 00092 for (size_t i = 0; i < length; i++) 00093 { 00094 if (! (ACE_OS::ace_isalnum (ident[i]) || ident[i] == '_')) 00095 { 00096 return_value = false; 00097 break; 00098 } 00099 } 00100 } 00101 00102 return return_value; 00103 } |
|
Definition at line 63 of file Trader.cpp. References link_attributes_.
00064 { 00065 return this->link_attributes_; 00066 } |
|
Definition at line 57 of file Trader.cpp. References link_attributes_.
00058 { 00059 return this->link_attributes_; 00060 } |
|
|
|
Definition at line 51 of file Trader.cpp. References support_attributes_.
00052 { 00053 return this->support_attributes_; 00054 } |
|
Definition at line 45 of file Trader.cpp. References support_attributes_. Referenced by TAO_Trader_Factory::manufacture_trader().
00046 { 00047 return this->support_attributes_; 00048 } |
|
Definition at line 75 of file Trader.cpp. References trading_components_.
00076 { 00077 return this->trading_components_; 00078 } |
|
Definition at line 69 of file Trader.cpp. References trading_components_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00070 { 00071 return this->trading_components_; 00072 } |
|
Stores and allows access/modification of trader's import attributes.
Definition at line 475 of file Trader.h. Referenced by import_attributes(). |
|
Stores and allows access/modification of trader's link attributes.
Definition at line 481 of file Trader.h. Referenced by link_attributes(). |
|
Stores and allows access/modification of trader's support attributes.
Definition at line 478 of file Trader.h. Referenced by support_attributes(). |
|
Stores and allows lookup of trader's components.
Definition at line 472 of file Trader.h. Referenced by trading_components(). |