summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/ID_Handler.h
blob: ef7f9c5c86d88d4ba08673ab4f3e5a9161b490bb (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
//==================================================================
/**
 *  @file  ID_Handler.h
 *
 *  $Id$
 *
 *  @author Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
 */
//=====================================================================

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

#include "DeploymentC.h"
#include "Config_Handler_export.h"

#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/dom/DOM.hpp>
#include "XercesString.h"

using Config_Handler::XStr;
using xercesc::XMLString;
using xercesc::DOMText;
using xercesc::DOMNodeIterator;
using xercesc::DOMNode;

namespace CIAO
{
  namespace Config_Handler
  {
    /**
     * @class ID_Handler
     *
     * @brief Handler class for <ImplementationDependency> type
     *
     * This class defines handler methods to parse Implementation
     * Dependency types in the descriptor files. The corresponding
     * CORBA IDL type for the schema element is returned.
     *
     * KNOWN ISSUE:
     * The IDL mapping for this type defines a struct containing a
     * string type. However, the schema defines an unbounded string.
     * Currently, this Handler handles what the IDL requires as this is
     * valid via the schema definition also.
     *
     */
    class Config_Handler_Export ID_Handler
    {
    public:
      static void
        process_ImplementationDependency (DOMNodeIterator * iter,
                                          Deployment::ImplementationDependency &ret_struct);
      // process elements of type Implementation Dependency definitions in
      // the descriptor files

    };
  }

}

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

#endif /* ID_HANDLER_H */