Public Member Functions | Private Attributes

TAO::Portable_Server::IdAssignmentPolicy Class Reference

#include <IdAssignmentPolicy.h>

Inheritance diagram for TAO::Portable_Server::IdAssignmentPolicy:
Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::IdAssignmentPolicy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IdAssignmentPolicy (::PortableServer::IdAssignmentPolicyValue value)
CORBA::Policy_ptr copy (void)
void destroy (void)
::PortableServer::IdAssignmentPolicyValue 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::IdAssignmentPolicyValue value_

Detailed Description

Definition at line 41 of file IdAssignmentPolicy.h.


Constructor & Destructor Documentation

TAO::Portable_Server::IdAssignmentPolicy::IdAssignmentPolicy ( ::PortableServer::IdAssignmentPolicyValue  value  ) 

Definition at line 18 of file IdAssignmentPolicy.cpp.

                                                   :
        value_ (value)
    {
    }


Member Function Documentation

TAO_Cached_Policy_Type TAO::Portable_Server::IdAssignmentPolicy::_tao_cached_type ( void   )  const [virtual]

Return the cached policy type for this policy.

Definition at line 53 of file IdAssignmentPolicy.cpp.

    {
      return TAO_CACHED_POLICY_ID_ASSIGNMENT;
    }

TAO_Policy_Scope TAO::Portable_Server::IdAssignmentPolicy::_tao_scope ( void   )  const [virtual]

Returns the scope at which this policy can be applied. See orbconf.h.

Definition at line 59 of file IdAssignmentPolicy.cpp.

    {
      return TAO_POLICY_POA_SCOPE;
    }

CORBA::Policy_ptr TAO::Portable_Server::IdAssignmentPolicy::copy ( void   ) 

Definition at line 25 of file IdAssignmentPolicy.cpp.

    {
      IdAssignmentPolicy *copy = 0;
      ACE_NEW_THROW_EX (copy,
                        IdAssignmentPolicy (this->value_),
                        CORBA::NO_MEMORY ());

      return copy;
    }

void TAO::Portable_Server::IdAssignmentPolicy::destroy ( void   ) 

Definition at line 36 of file IdAssignmentPolicy.cpp.

    {
    }

CORBA::PolicyType TAO::Portable_Server::IdAssignmentPolicy::policy_type ( void   ) 

Definition at line 47 of file IdAssignmentPolicy.cpp.

    {
      return ::PortableServer::ID_ASSIGNMENT_POLICY_ID;
    }

PortableServer::IdAssignmentPolicyValue TAO::Portable_Server::IdAssignmentPolicy::value ( void   ) 

Definition at line 41 of file IdAssignmentPolicy.cpp.

    {
      return value_;
    }


Member Data Documentation

::PortableServer::IdAssignmentPolicyValue TAO::Portable_Server::IdAssignmentPolicy::value_ [private]

Definition at line 63 of file IdAssignmentPolicy.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines