blob: c204b7e7a239330df00fd447ff61f779e9614c01 (
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
55
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file PG_Utils.h
*
* $Id$
*
* Utility methods
*
* @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
*/
//=============================================================================
#ifndef TAO_PORTABLEGROUP_UTILS_H
#define TAO_PORTABLEGROUP_UTILS_H
#include /**/ "ace/pre.h"
#include "orbsvcs/PortableGroupC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "portablegroup_export.h"
namespace TAO
{
/**
* @class PG_Utils
*
* @brief Simple utility class
*/
class TAO_PortableGroup_Export PG_Utils
{
public:
/// Set tagged component for the object group
static CORBA::Boolean set_tagged_component (
PortableGroup::ObjectGroup *&ior,
PortableGroup::TagGroupTaggedComponent &t);
/// Get tagged component for the object group
static CORBA::Boolean get_tagged_component (
PortableGroup::ObjectGroup *&ior,
PortableGroup::TagGroupTaggedComponent &t);
private:
static CORBA::Boolean encode_properties (
TAO_OutputCDR &cdr,
PortableGroup::TagGroupTaggedComponent &tg);
};
}
#include /**/ "ace/post.h"
#endif /*TAO_PORTABLEGROUP_UTILS_H*/
|