summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/DnC_Dump.h
blob: 17fb49377de0377ab7655a7177c26fb7c7192327 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
//==================================================================
/**
*  @file  DnC_Dump.h
*
* $Id$
*
*  @author Gan Deng <gan.deng@vanderbilt.edu>
*/
//=====================================================================

#ifndef DNC_DUMP_H
#define DNC_DUMP_H
#include /**/ "ace/pre.h"

#include "DAnCE/Deployment/DeploymentC.h"
#include "DAnCE/Deployment/Deployment_TargetDataC.h"
#include "Config_Handlers_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */


namespace Deployment
{
/**
* @class DnC_Dump
*
* @brief This class defines a set of overloaded "dump" methods to print
* the contents of various IDL data types, which passed as input.
*/
class Config_Handlers_Export DnC_Dump
{
public:
/// Dump functions for CORBA sequences
static void dump (const char* caption,
const ::CORBA::StringSeq &str_seq);

static void dump (const char* caption, const TAO::String_Manager& str);

static void dump (const char* caption, const CORBA::Boolean& val);

/// A whole slew of overloaded dump routines for different IDL
/// data types.

static void dump(const Deployment::SatisfierProperty &sp);

static void dump (const Deployment::SharedResource& sr);

static void dump (const Deployment::Node& node);

static void dump (const Deployment::Resource& resource);

static void dump (const Deployment::Interconnect& conn);

static void dump (const Deployment::Bridge& bridge);

static void dump (const ::Deployment::Property &property);

static void dump (const ::Deployment::AssemblyConnectionDescription &acd);

static void dump (const ::Deployment::AssemblyPropertyMapping &apm);

static void dump (const ::Deployment::ComponentPackageDescription
&comppkgdesc);

static void dump (const ::Deployment::ComponentPortDescription
&compportdesc);

static void dump (const ::Deployment::ComponentPropertyDescription
&comppropdesc);

static void dump (const ::Deployment::MonolithicImplementationDescription
&mid);

static void dump (const ::Deployment::PackageConfiguration &pc);

static void dump (const ::Deployment::PackagedComponentImplementation
&pci);

static void dump (const ::Deployment::SubcomponentPortEndpoint &spe);

static void dump (const ::Deployment::Requirement &requirement);

static void dump (const ::Deployment::ComponentExternalPortEndpoint
&cepe);

static void dump (const ::Deployment::ComponentPackageReference &cpr);

static void dump (const ::Deployment::ComponentImplementationDescription
&cid);

static void dump (const ::Deployment::SubcomponentInstantiationDescription
&sid);

static void dump (const ::Deployment::NamedImplementationArtifact
&named_implementation);

static void dump (const ::Deployment::ComponentInterfaceDescription &cid);

static void dump (const ::Deployment::SubcomponentPropertyReference
&scpr);

static void dump (const ::Deployment::ExternalReferenceEndpoint &ere);

static void dump (const ::Deployment::Domain &domain);

static void dump (const ::Deployment::Capability &capability);

static void dump (const ::Deployment::ImplementationArtifactDescription
&iad);

static void dump (const ::Deployment::ImplementationRequirement &ir);

static void dump(const Deployment::ResourceUsageKind &ruk);

static void dump(const Deployment::DeploymentPlan &plan);

static void dump(const Deployment::MonolithicDeploymentDescription &mdd);

static void dump(const Deployment::InstanceDeploymentDescription &idd);

static void dump(const Deployment::PlanConnectionDescription &pcd);

static void dump(const Deployment::PlanPropertyMapping &ppm);

static void dump(const Deployment::ImplementationDependency &id);

static void dump(const Deployment::ArtifactDeploymentDescription &add);

static void dump(const Deployment::InstanceResourceDeploymentDescription
&irdd);

static void dump(const PlanSubcomponentPortEndpoint &pspe);

static void dump(const ConnectionResourceDeploymentDescription &crdd);

static void dump(const PlanSubcomponentPropertyReference &pspr);

static void dump(const ResourceDeploymentDescription &rdd);

static void dump (const ::Deployment::ComponentAssemblyDescription& cad);

private:
static void dump (const ::CORBA::Any &any);
// Helper function to print an Any
};
}

#include /**/ "ace/post.h"

#endif /* DNC_DUMP_H */