blob: faac487e828be5ef7b7431908466c918b345c7e3 (
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
|
//==================================================================
/**
* @file DT_Handler.h
*
* $Id$
*
* @author Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
*/
//=====================================================================
#ifndef DT_HANDLER_H
#define DT_HANDLER_H
#include /**/ "ace/pre.h"
#include "DeploymentC.h"
#include "Config_Handler_export.h"
#include "tao/ORB.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/dom/DOM.hpp>
#include "XercesString.h"
using Config_Handler::XStr;
using xercesc::XMLString;
using xercesc::DOMImplementation;
using xercesc::DOMText;
using xercesc::DOMNodeIterator;
using xercesc::DOMNode;
namespace CIAO
{
namespace Config_Handler
{
/**
* @class DT_Handler
*
* @brief Handler class for <type> tag
*
* This class defines handler methods to parse the aforementioned type
* in the descriptor files. The corresponding CORBA IDL mapped type in this
* a CORBA::Typecode is created and returned. Dynamic creation of typecodes
* also requires operations defined on the ORB interface, hence the
* process_DataType requires an ORB_ptr as a formal parameter.
*/
class Config_Handler_Export DT_Handler
{
public:
static void process_DataType (DOMNodeIterator * iter,
::CORBA::TypeCode_ptr &type,
::CORBA::ORB_ptr orb);
// process <type> definitions in the descriptor files
private:
static void process_basic_tc (DOMNodeIterator * iter,
::CORBA::TypeCode_ptr &type);
// process <Deployment:TCKind> definitions in the descriptor
// files
};
}
}
#include /**/ "ace/post.h"
#endif /* DT_HANDLER_H */
|