The policy manager implementation.
More...
#include <Tagged_Components.h>
List of all members.
Detailed Description
The policy manager implementation.
This class is used to manipulate and access the <components> field of an IIOP profile (and other GIOP profiles). The definition for that field is simply a sequence of the following structures: typedef unsigned long ComponentId; struct TaggedComponent { ComponentId tag; sequence<octet> component_data; }; the real motivation is to minimize the marshaling and demarshaling of the <component_data> field for certain critical components.
Constructor & Destructor Documentation
TAO_Tagged_Components::TAO_Tagged_Components |
( |
void |
|
) |
|
Member Function Documentation
Read/Write access to the underlying MutipleComponentProfile. Added by request from Chris Hafey <chris@stentorsoft.com>
Gets a reference of the IOP::TAG_CODE_SETS component value, return 0 if the component is not present.
Gets a copy of the IOP::TAG_CODE_SETS component value, return 0 if the component is not present.
Get a copy of the component identified by <component.tag>, return 0 if the component is not present.
int TAO_Tagged_Components::get_known_component_i |
( |
IOP::TaggedComponent & |
component |
) |
const [private] |
int TAO_Tagged_Components::get_orb_type |
( |
CORBA::ULong & |
orb_type |
) |
const |
Gets the IOP::TAG_ORB_TYPE component value, return 0 if the component is not present.
Is tag a well-known component?
Remove a component, if present. Return number of components removed.
int TAO_Tagged_Components::remove_component_i |
( |
IOP::ComponentId |
tag |
) |
[private] |
int TAO_Tagged_Components::remove_known_component_i |
( |
IOP::ComponentId |
tag |
) |
[private] |
The the IOP::TAG_CODE_SETS component value, the first version copies the data, the second version steal all the sequence buffers.
Insert the component into the list, but efficiently stealing the contents of the octet sequence.
Insert the component into the list, making a copy of the octet sequence.
void TAO_Tagged_Components::set_known_component_i |
( |
const IOP::TaggedComponent & |
component |
) |
[private] |
void TAO_Tagged_Components::set_orb_type |
( |
CORBA::ULong |
orb_type |
) |
|
Does tag show up only once?
Member Data Documentation
The ORB_TYPE component value.
The rest of the components, to be compliant we cannot drop a bunch of them.
The ORB_TYPE component value.
A flag for each component...
The documentation for this class was generated from the following files: