blob: 71f700f596e0b60a22929668f35778b467eee7a3 (
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
|
//$Id$
#include "ID_Handler.h"
#include "tao/Exception.h"
#include "Utils.h"
using CIAO::Config_Handler::Utils;
void
CIAO::Config_Handler::ID_Handler::
process_ImplementationDependency (DOMNodeIterator * iter,
Deployment::ImplementationDependency &ret_struct)
{
//Check if the Schema IDs for both the elements match
DOMNode * node = iter->nextNode ();
XStr name (node->getNodeName ());
if (name != XStr (ACE_TEXT ("elementType")))
{
ACE_DEBUG ((LM_DEBUG,
"Config_Handlers::ID_Handler::process_ImplDependency \
element mismatch expected <elementType>"));
ACE_THROW (CORBA::INTERNAL ());
}
// Populate the structure
ret_struct.requiredType = Utils::parse_string (iter);
}
|