#include <IdUniquenessPolicy.h>
Public Member Functions | |
IdUniquenessPolicy (::PortableServer::IdUniquenessPolicyValue value) | |
CORBA::Policy_ptr | copy (void) |
void | destroy (void) |
::PortableServer::IdUniquenessPolicyValue | value (void) |
CORBA::PolicyType | policy_type (void) |
virtual TAO_Cached_Policy_Type | _tao_cached_type (void) const |
Return the cached policy type for this policy. | |
virtual TAO_Policy_Scope | _tao_scope (void) const |
Returns the scope at which this policy can be applied. See orbconf.h. | |
Private Attributes | |
::PortableServer::IdUniquenessPolicyValue | value_ |
Definition at line 41 of file IdUniquenessPolicy.h.
TAO::Portable_Server::IdUniquenessPolicy::IdUniquenessPolicy | ( | ::PortableServer::IdUniquenessPolicyValue | value | ) |
Definition at line 18 of file IdUniquenessPolicy.cpp.
: value_ (value) { }
TAO_Cached_Policy_Type TAO::Portable_Server::IdUniquenessPolicy::_tao_cached_type | ( | void | ) | const [virtual] |
Return the cached policy type for this policy.
Definition at line 53 of file IdUniquenessPolicy.cpp.
{
return TAO_CACHED_POLICY_ID_UNIQUENESS;
}
TAO_Policy_Scope TAO::Portable_Server::IdUniquenessPolicy::_tao_scope | ( | void | ) | const [virtual] |
Returns the scope at which this policy can be applied. See orbconf.h.
Definition at line 59 of file IdUniquenessPolicy.cpp.
{
return TAO_POLICY_POA_SCOPE;
}
CORBA::Policy_ptr TAO::Portable_Server::IdUniquenessPolicy::copy | ( | void | ) |
Definition at line 25 of file IdUniquenessPolicy.cpp.
{ IdUniquenessPolicy *copy = 0; ACE_NEW_THROW_EX (copy, IdUniquenessPolicy (this->value_), CORBA::NO_MEMORY ()); return copy; }
void TAO::Portable_Server::IdUniquenessPolicy::destroy | ( | void | ) |
Definition at line 36 of file IdUniquenessPolicy.cpp.
{ }
CORBA::PolicyType TAO::Portable_Server::IdUniquenessPolicy::policy_type | ( | void | ) |
Definition at line 47 of file IdUniquenessPolicy.cpp.
{ return ::PortableServer::ID_UNIQUENESS_POLICY_ID; }
PortableServer::IdUniquenessPolicyValue TAO::Portable_Server::IdUniquenessPolicy::value | ( | void | ) |
Definition at line 41 of file IdUniquenessPolicy.cpp.
{ return value_; }
::PortableServer::IdUniquenessPolicyValue TAO::Portable_Server::IdUniquenessPolicy::value_ [private] |
Definition at line 63 of file IdUniquenessPolicy.h.