summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/CCD_Handler.h
blob: bb960c37f2b4891a8ac96f3a2a7731776fcbbab9 (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
//================================================
/**
 *  @file  CCD_Handler.h
 *
 *  $Id$
 *
 *  @author Jules White <jules@dre.vanderbilt.edu>
 */
//================================================

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

#include "Config_Handlers/Config_Handlers_Export.h"

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

namespace Deployment
{
  struct ComponentInterfaceDescription;
}

namespace CIAO
{
  namespace Config_Handlers
  {
    class ComponentInterfaceDescription;

   /*
    * @class CCD_Handler
    *
    * @brief Handler class for <ComponentInterfaceDescription> types.
    *
    * This class is named CCD_Handler but actually fills
    * <ComponentInterfaceDescription>. Why is this confusion? We
    * want to maintain the correlation between the XSD file and the
    * actual datatype. The file name corresponds to the XSD file but
    * the data type being filled in is of type
    * <ComponentInterfaceDescription>
    */
    class Config_Handlers_Export CCD_Handler
    {
      public:
       static bool component_interface_descr (
         const ComponentInterfaceDescription &src,
         ::Deployment::ComponentInterfaceDescription& dest);
       static ComponentInterfaceDescription
       component_interface_descr (
         const ::Deployment::ComponentInterfaceDescription&  src);

    };
  }
}

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