summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h106
1 files changed, 38 insertions, 68 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
index d887745dec3..92f370c9cf8 100644
--- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
+++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
@@ -127,23 +127,21 @@ public:
// Destructor.
virtual CosPropertyService::PropertySet_ptr
- create_propertyset (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ create_propertyset (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Returns a new TAO_PropertySet object. "The property set returned
// will *not* have any initial properties."
virtual CosPropertyService::PropertySet_ptr
create_constrained_propertyset (const CosPropertyService::PropertyTypes &allowed_property_types,
- const CosPropertyService::Properties &allowed_properties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ const CosPropertyService::Properties &allowed_properties)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::ConstraintNotSupported));
// Allows a client to create a new TAO_PropertySet with specific
// constraints. "All the properties will have *fixed-normal* modes".
virtual CosPropertyService::PropertySet_ptr
- create_initial_propertyset (const CosPropertyService::Properties &initial_properties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ create_initial_propertyset (const CosPropertyService::Properties &initial_properties)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// Allows a client to create a new TAO_PropertySet with specific
@@ -180,22 +178,20 @@ public:
// Destructor.
virtual CosPropertyService::PropertySetDef_ptr
- create_propertysetdef (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ create_propertysetdef (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Returns a new TAO_PropertySetDef object.
virtual CosPropertyService::PropertySetDef_ptr
create_constrained_propertysetdef (const CosPropertyService::PropertyTypes &allowed_property_types,
- const CosPropertyService::PropertyDefs &allowed_property_defs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ const CosPropertyService::PropertyDefs &allowed_property_defs)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::ConstraintNotSupported));
// Allows a client to create a new TAO_PropertySetDef with specific
// constraints.
virtual CosPropertyService::PropertySetDef_ptr
- create_initial_propertysetdef (const CosPropertyService::PropertyDefs &initial_property_defs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ create_initial_propertysetdef (const CosPropertyService::PropertyDefs &initial_property_defs)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// Allows a client to create a new TAO_PropertySetDef with specific
@@ -227,25 +223,21 @@ public:
// Default constructor.
TAO_PropertySet (const CosPropertyService::PropertyTypes allowed_property_types,
- const CosPropertyService::Properties allowed_properties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ const CosPropertyService::Properties allowed_properties);
// Init values that the PropertySetFactory will want to specify.
- TAO_PropertySet (const CosPropertyService::Properties initial_properties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ TAO_PropertySet (const CosPropertyService::Properties initial_properties);
// PropertySetFactory needs this constructor.
TAO_PropertySet (const CosPropertyService::PropertyTypes allowed_property_types,
- const CORBA::ULong number_of_allowed_propertydefs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ const CORBA::ULong number_of_allowed_propertydefs);
// PropertySetDef's construction needs this.
virtual ~TAO_PropertySet (void);
// Destructor function.
virtual void define_property (const char *property_name,
- const CORBA::Any &property_value
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ const CORBA::Any &property_value)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::InvalidPropertyName,
CosPropertyService::ConflictingProperty,
@@ -256,67 +248,59 @@ public:
// Store the property in the hash after checking for validity of the
// property name, duplicate name, type code over writing etc.
- virtual void define_properties (const CosPropertyService::Properties &nproperties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void define_properties (const CosPropertyService::Properties &nproperties)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// Define a sequence of properties at a time.
- virtual CORBA::ULong get_number_of_properties (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::ULong get_number_of_properties (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Get the number of properties that are currently defined in the
// PropertySet.
virtual void get_all_property_names (CORBA::ULong how_many,
CosPropertyService::PropertyNames_out property_names,
- CosPropertyService::PropertyNamesIterator_out rest
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertyNamesIterator_out rest)
ACE_THROW_SPEC ((CORBA::SystemException));
// Get the names of all the properties that are currently defined in
// the property set.
- virtual CORBA::Any *get_property_value (const char *property_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::Any *get_property_value (const char *property_name)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::PropertyNotFound,
CosPropertyService::InvalidPropertyName));
// Get the value of the property, given the name.
virtual CORBA::Boolean get_properties (const CosPropertyService::PropertyNames &property_names,
- CosPropertyService::Properties_out nproperties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::Properties_out nproperties)
ACE_THROW_SPEC ((CORBA::SystemException));
// Get all names and their property values.
virtual void get_all_properties (CORBA::ULong how_many,
CosPropertyService::Properties_out nproperties,
- CosPropertyService::PropertiesIterator_out rest
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertiesIterator_out rest)
ACE_THROW_SPEC ((CORBA::SystemException));
// Returns all of the property names currently defined in the
// PropertySet. If the PropertySet contains more than how_many
// property names, then the remaining property names are put into the PropertyNamesIterator.
- virtual void delete_property (const char *property_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void delete_property (const char *property_name)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::PropertyNotFound,
CosPropertyService::InvalidPropertyName,
CosPropertyService::FixedProperty));
// Delete a property given a name.
- virtual void delete_properties (const CosPropertyService::PropertyNames &property_names
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void delete_properties (const CosPropertyService::PropertyNames &property_names)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// Delete all the these properties from this property set.
- virtual CORBA::Boolean delete_all_properties (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::Boolean delete_all_properties (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Delete everything from this property set.
- virtual CORBA::Boolean is_property_defined (const char *property_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::Boolean is_property_defined (const char *property_name)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::InvalidPropertyName));
// Tell whether this property is defined or no. Forget about the
@@ -385,19 +369,16 @@ public:
// Constructor.
TAO_PropertySetDef (const CosPropertyService::PropertyTypes allowed_property_types,
- const CosPropertyService::PropertyDefs allowed_property
- ACE_ENV_ARG_DECL);
+ const CosPropertyService::PropertyDefs allowed_property);
// The factory uses this constructor.
- TAO_PropertySetDef (const CosPropertyService::PropertyDefs initial_property_defs
- ACE_ENV_ARG_DECL);
+ TAO_PropertySetDef (const CosPropertyService::PropertyDefs initial_property_defs);
// This is also for the factory.
virtual ~TAO_PropertySetDef (void);
// Destructor.
- virtual void get_allowed_property_types (CosPropertyService::PropertyTypes_out property_types
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void get_allowed_property_types (CosPropertyService::PropertyTypes_out property_types)
ACE_THROW_SPEC ((CORBA::SystemException));
// Indicates which types of properties are supported by this
// PropertySet. If the output sequence is empty, then there is no
@@ -405,8 +386,7 @@ public:
// field of a Property in this PropertySet, unless the
// get_allowed_properties output sequence is not empty.
- virtual void get_allowed_properties (CosPropertyService::PropertyDefs_out property_defs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void get_allowed_properties (CosPropertyService::PropertyDefs_out property_defs)
ACE_THROW_SPEC ((CORBA::SystemException));
// Indicates which properties are supported by this PropertySet. If
@@ -416,8 +396,7 @@ public:
virtual void define_property_with_mode (const char *property_name,
const CORBA::Any &property_value,
- CosPropertyService::PropertyModeType property_mode
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertyModeType property_mode)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::InvalidPropertyName,
CosPropertyService::ConflictingProperty,
@@ -433,15 +412,13 @@ public:
// PropertySet. If type or mode is violated, ConflictingProperty
// exception is thrown.
- virtual void define_properties_with_modes (const CosPropertyService::PropertyDefs &property_defs
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void define_properties_with_modes (const CosPropertyService::PropertyDefs &property_defs)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// This operation will modify or add each of the properties in the
// Properties parameter to the PropertySet.
- virtual CosPropertyService::PropertyModeType get_property_mode (const char *property_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual CosPropertyService::PropertyModeType get_property_mode (const char *property_name)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::PropertyNotFound,
CosPropertyService::InvalidPropertyName));
@@ -449,8 +426,7 @@ public:
// PropertyNotFound exceptions.
virtual CORBA::Boolean get_property_modes (const CosPropertyService::PropertyNames &property_names,
- CosPropertyService::PropertyModes_out property_modes
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertyModes_out property_modes)
ACE_THROW_SPEC ((CORBA::SystemException));
// Batch operation for getting the property. Invoke
// get_property_mode for each name. Return value False indicates
@@ -461,8 +437,7 @@ public:
// doing something with it.
virtual void set_property_mode (const char *property_name,
- CosPropertyService::PropertyModeType property_mode
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertyModeType property_mode)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::InvalidPropertyName,
CosPropertyService::PropertyNotFound,
@@ -478,8 +453,7 @@ public:
// all illegal set_mode attempts, UnsupportedMode exception is
// raised.
- virtual void set_property_modes (const CosPropertyService::PropertyModes &property_modes
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual void set_property_modes (const CosPropertyService::PropertyModes &property_modes)
ACE_THROW_SPEC ((CORBA::SystemException,
CosPropertyService::MultipleExceptions));
// Batch operation for setting the property. Raises
@@ -509,13 +483,12 @@ public:
virtual ~TAO_PropertyNamesIterator (void);
// Destructor.
- virtual void reset (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual void reset (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// The reset operation resets the position in an iterator to the
// first property name, if one exists.
- virtual CORBA::Boolean next_one (CORBA::String_out property_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::Boolean next_one (CORBA::String_out property_name)
ACE_THROW_SPEC ((CORBA::SystemException));
// The next_one operation returns true if an item exists at the
// current position in the iterator with an output parameter of a
@@ -523,8 +496,7 @@ public:
virtual CORBA::Boolean next_n (CORBA::ULong how_many,
- CosPropertyService::PropertyNames_out property_names
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::PropertyNames_out property_names)
ACE_THROW_SPEC ((CORBA::SystemException));
// The next_n operation returns true if an item exists at the
// current position in the iterator and the how_many parameter was
@@ -532,7 +504,7 @@ public:
// with at most the how_many number of names. A return of false
// signifies no more items in the iterator.
- virtual void destroy (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual void destroy (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Destroys the iterator.
private:
@@ -572,12 +544,11 @@ public:
virtual ~TAO_PropertiesIterator (void);
// Destructor.
- virtual void reset (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual void reset (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Resets the position in an iterator to the first property, if one exists.
- virtual CORBA::Boolean next_one (CosPropertyService::Property_out aproperty
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ virtual CORBA::Boolean next_one (CosPropertyService::Property_out aproperty)
ACE_THROW_SPEC ((CORBA::SystemException));
// The next_one operation returns true if an item exists at the
// current position in the iterator with an output parameter of a
@@ -585,8 +556,7 @@ public:
// iterator.
virtual CORBA::Boolean next_n (CORBA::ULong how_many,
- CosPropertyService::Properties_out nproperties
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ CosPropertyService::Properties_out nproperties)
ACE_THROW_SPEC ((CORBA::SystemException));
// The next_n operation returns true if an item exists at the
// current position in the iterator and the how_many parameter was
@@ -594,7 +564,7 @@ public:
// at most the how_many number of properties. A return of false
// signifies no more items in the iterator.
- virtual void destroy (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ virtual void destroy (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Destroys the iterator.