diff options
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r-- | TAO/tao/Profile.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h index c1d2f4ed21a..fc2eee3bee7 100644 --- a/TAO/tao/Profile.h +++ b/TAO/tao/Profile.h @@ -66,32 +66,32 @@ public: */ //@{ /// The tag, each concrete class will have a specific tag value. - CORBA::ULong tag (void) const; + CORBA::ULong tag () const; /// Return a pointer to this profile's version. This object /// maintains ownership. - const TAO_GIOP_Message_Version &version (void) const; + const TAO_GIOP_Message_Version &version () const; /// Get a pointer to the TAO_ORB_Core. - TAO_ORB_Core *orb_core (void) const; + TAO_ORB_Core *orb_core () const; /// Increase the reference count by one on this object. - unsigned long _incr_refcnt (void); + unsigned long _incr_refcnt (); /// Decrement the object's reference count. When this count goes to /// 0 this object will be deleted. - unsigned long _decr_refcnt (void); + unsigned long _decr_refcnt (); /// Keep a pointer to the forwarded profile void forward_to (TAO_MProfile *mprofiles); /// MProfile accessor - TAO_MProfile* forward_to (void); + TAO_MProfile* forward_to (); /// Access the tagged components, notice that they they could be /// empty (or ignored) for non-GIOP protocols (and even for GIOP-1.0) - const TAO_Tagged_Components& tagged_components (void) const; - TAO_Tagged_Components& tagged_components (void); + const TAO_Tagged_Components& tagged_components () const; + TAO_Tagged_Components& tagged_components (); /// Add the given tagged component to the profile. void add_tagged_component (const IOP::TaggedComponent &component); @@ -100,14 +100,14 @@ public: * Return the current addressing mode for this profile. * In almost all cases, this is TAO_Target_Specification::Key_Addr. */ - CORBA::Short addressing_mode (void) const; + CORBA::Short addressing_mode () const; /// @deprecated Return a reference to the Object Key. - const TAO::ObjectKey &object_key (void) const; + const TAO::ObjectKey &object_key () const; /// Obtain the object key, return 0 if the profile cannot be parsed. /// The memory is owned by the caller! - TAO::ObjectKey *_key (void) const; + TAO::ObjectKey *_key () const; //@} /** @@ -130,7 +130,7 @@ public: * return the reference to that. This method is necessary for GIOP * 1.2. */ - IOP::TaggedProfile *create_tagged_profile (void); + IOP::TaggedProfile *create_tagged_profile (); /// This method sets the client exposed policies, i.e., the ones /// propagated in the IOR, for this profile. @@ -140,10 +140,10 @@ public: virtual void get_policies (CORBA::PolicyList &policy_list); /// Returns true if this profile can specify multicast endpoints. - virtual int supports_multicast (void) const; + virtual int supports_multicast () const; /// Returns true if this profile supports non blocking oneways - virtual bool supports_non_blocking_oneways (void) const; + virtual bool supports_non_blocking_oneways () const; /** * Set the addressing mode if a remote servant replies with @@ -175,7 +175,7 @@ public: virtual void addressing_mode (CORBA::Short addr_mode); /// The object key delimiter. - virtual char object_key_delimiter (void) const = 0; + virtual char object_key_delimiter () const = 0; /// Initialize this object using the given input string. /// Supports URL style of object references @@ -184,14 +184,14 @@ public: /// Return a string representation for this profile. Client must /// deallocate memory. Only one endpoint is included into the /// string. - virtual char* to_string (void) const = 0; + virtual char* to_string () const = 0; /** * Encodes this profile's endpoints into a tagged component. * This is done only if RTCORBA is enabled, since currently this is * the only case when we have more than one endpoint per profile. */ - virtual int encode_endpoints (void) = 0; + virtual int encode_endpoints () = 0; /** * Encodes this profile's endpoints into protocol specific tagged @@ -199,14 +199,14 @@ public: * endpoints on profiles. The only known implementation is IIOP, using * TAG_ALTERNATE_IIOP_ADDRESS components. */ - virtual int encode_alternate_endpoints (void); + virtual int encode_alternate_endpoints (); /** * Return a pointer to this profile's endpoint. If the profile * contains more than one endpoint, i.e., a list, the method returns * the head of the list. */ - virtual TAO_Endpoint *endpoint (void) = 0; + virtual TAO_Endpoint *endpoint () = 0; /** @@ -219,17 +219,17 @@ public: * to facilitate the Endpoint Policy's filtering function. * The default implementation of base_endpoint simply returns endpoint. */ - virtual TAO_Endpoint *base_endpoint (void); + virtual TAO_Endpoint *base_endpoint (); /// Return how many endpoints this profile contains. - virtual CORBA::ULong endpoint_count (void) const = 0; + virtual CORBA::ULong endpoint_count () const = 0; /** * Return the first endpoint in the list that matches some filtering * constraint, such as IPv6 compatibility for IIOP endpoints. This * method is implemented in terms of TAO_Endpoint::next_filtered(). */ - TAO_Endpoint *first_filtered_endpoint (void); + TAO_Endpoint *first_filtered_endpoint (); /// Return the next filtered endpoint in the list after the one /// passed in. This method is implemented in terms of @@ -275,7 +275,7 @@ public: protected: /// If you have a virtual method you need a virtual dtor. - virtual ~TAO_Profile (void); + virtual ~TAO_Profile (); /** * @name Protected template methods. @@ -294,7 +294,7 @@ protected: * version of TAO or some other ORB. This is not an error, and we * must proceed. Return 0 on success and -1 on failure. */ - virtual int decode_endpoints (void) = 0; + virtual int decode_endpoints () = 0; /// Protocol specific implementation of parse_string () virtual void parse_string_i (const char *string) = 0; @@ -331,15 +331,15 @@ protected: private: /// This object keeps ownership of this object - TAO_MProfile *forward_to_i (void); + TAO_MProfile *forward_to_i (); /// Verify that the current ORB's configuration supports tagged /// components in IORs. - void verify_orb_configuration (void); + void verify_orb_configuration (); /// Verify that the given profile supports tagged components, /// i.e. is not a GIOP 1.0 profile. - void verify_profile_version (void); + void verify_profile_version (); // Profiles should not be copied or assigned! TAO_Profile (const TAO_Profile&); @@ -425,19 +425,19 @@ public: // = The TAO_Profile methods look above virtual void parse_string (const char *string); - virtual char object_key_delimiter (void) const; - virtual char* to_string (void) const; + virtual char object_key_delimiter () const; + virtual char* to_string () const; virtual int decode (TAO_InputCDR& cdr); virtual int encode (TAO_OutputCDR &stream) const; - virtual int encode_endpoints (void); + virtual int encode_endpoints (); - virtual TAO::ObjectKey *_key (void) const; - virtual TAO_Endpoint *endpoint (void); - virtual CORBA::ULong endpoint_count (void) const; + virtual TAO::ObjectKey *_key () const; + virtual TAO_Endpoint *endpoint (); + virtual CORBA::ULong endpoint_count () const; virtual CORBA::ULong hash (CORBA::ULong max); virtual int decode_profile (TAO_InputCDR &cdr); - virtual int decode_endpoints (void); + virtual int decode_endpoints (); protected: virtual CORBA::Boolean do_is_equivalent (const TAO_Profile* other_profile); |