Public Member Functions | |
bool | operator== (const ReferenceKeyType &other) const |
CORBA::ULong | hash () const |
operator const char * () const | |
Public Attributes | |
PortableServer::ObjectId_var | oid_ |
CORBA::OctetSeq_var | adapter_id_ |
CORBA::String_var | orbid_ |
Definition at line 108 of file SL2_SecurityManager.h.
CORBA::ULong TAO::Security::AccessDecision::ReferenceKeyType::hash | ( | ) | const |
TAO::Security::AccessDecision::ReferenceKeyType::operator const char * | ( | ) | const |
bool TAO::Security::AccessDecision::ReferenceKeyType::operator== | ( | const ReferenceKeyType & | other | ) | const |
Definition at line 102 of file SL2_SecurityManager.cpp.
References ACE_OS::memcmp(), and strcmp().
00103 { 00104 ::CORBA::ULong olen = this->oid_->length(); 00105 ::CORBA::ULong alen = this->adapter_id_->length(); 00106 00107 if (olen == other.oid_->length() && 00108 alen == other.adapter_id_->length()) 00109 return (ACE_OS::memcmp (this->oid_->get_buffer(), 00110 other.oid_->get_buffer(),olen) == 0 && 00111 ACE_OS::memcmp (this->adapter_id_->get_buffer(), 00112 other.adapter_id_->get_buffer(),alen) == 0 && 00113 ACE_OS_String::strcmp (this->orbid_.in(), other.orbid_.in()) == 0); 00114 return false; 00115 }
CORBA::OctetSeq_var TAO::Security::AccessDecision::ReferenceKeyType::adapter_id_ |
Definition at line 111 of file SL2_SecurityManager.h.
Referenced by TAO::Security::AccessDecision::access_allowed_ex(), and TAO::Security::AccessDecision::remove_object().
Definition at line 110 of file SL2_SecurityManager.h.
Referenced by TAO::Security::AccessDecision::access_allowed_ex(), and TAO::Security::AccessDecision::remove_object().
Definition at line 112 of file SL2_SecurityManager.h.
Referenced by TAO::Security::AccessDecision::access_allowed_ex(), and TAO::Security::AccessDecision::remove_object().