blob: ca02b71a41337c1404cc9caea43f1cc74b188873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// -*- 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 "portablegroup_export.h"
#include "orbsvcs/PortableGroupC.h"
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);
}
#include /**/ "ace/post.h"
#endif /* TAO_PG_PROPERTY_UTILS_H */
|