PG_Property_Utils.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  * @file  PG_Property_Utils.h
00006  *
00007  * PG_Property_Utils.h,v 1.11 2006/03/14 06:14:34 jtc Exp
00008  *
00009  * @author Ossama Othman <ossama@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_PG_PROPERTY_UTILS_H
00015 #define TAO_PG_PROPERTY_UTILS_H
00016 
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "ace/config-all.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 #pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "orbsvcs/PortableGroup/portablegroup_export.h"
00026 #include "orbsvcs/PortableGroupC.h"
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 namespace TAO_PG
00031 {
00032   /// Retrieve the value of the given property from the given property
00033   /// list.
00034   /**
00035    * @return true if successful, false otherwise
00036    */
00037   TAO_PortableGroup_Export CORBA::Boolean get_property_value (
00038     const PortableGroup::Name & property_name,
00039     const PortableGroup::Properties & properties,
00040     PortableGroup::Value & property_value);
00041 
00042   /// Override properties in the "properties" sequence with those in
00043   /// the "overrides" sequence.
00044   /**
00045    * If no property is overridden, the override in question will be
00046    * appended to the "properties" list.
00047    */
00048   TAO_PortableGroup_Export void override_properties (
00049     const PortableGroup::Properties & overrides,
00050     PortableGroup::Properties &properties);
00051 
00052 }
00053 
00054 TAO_END_VERSIONED_NAMESPACE_DECL
00055 
00056 #include /**/ "ace/post.h"
00057 #endif  /* TAO_PG_PROPERTY_UTILS_H */

Generated on Thu Nov 9 14:03:34 2006 for TAO_PortableGroup by doxygen 1.3.6