diff options
Diffstat (limited to 'trunk/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Utils.h')
-rw-r--r-- | trunk/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Utils.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Utils.h b/trunk/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Utils.h new file mode 100644 index 00000000000..8e8395f2bc6 --- /dev/null +++ b/trunk/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Utils.h @@ -0,0 +1,57 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file PG_Property_Utils.h + * + * $Id$ + * + * @author Ossama Othman <ossama@uci.edu> + */ +//============================================================================= + + +#ifndef TAO_PG_PROPERTY_UTILS_H +#define TAO_PG_PROPERTY_UTILS_H + +#include /**/ "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +#pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "orbsvcs/PortableGroup/portablegroup_export.h" +#include "orbsvcs/PortableGroupC.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO_PG +{ + /// Retrieve the value of the given property from the given property + /// list. + /** + * @return true if successful, false otherwise + */ + TAO_PortableGroup_Export CORBA::Boolean get_property_value ( + const PortableGroup::Name & property_name, + const PortableGroup::Properties & properties, + PortableGroup::Value & property_value); + + /// Override properties in the "properties" sequence with those in + /// the "overrides" sequence. + /** + * If no property is overridden, the override in question will be + * appended to the "properties" list. + */ + TAO_PortableGroup_Export void override_properties ( + const PortableGroup::Properties & overrides, + PortableGroup::Properties &properties); + +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" +#endif /* TAO_PG_PROPERTY_UTILS_H */ |