blob: 3a6f11afa079859b57ece594546eb806403e3584 (
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
|
// $Id$
#include "ID_Handler.h"
#include "Basic_Deployment_Data.hpp"
#include "dance/Deployment/Deployment_DataC.h"
#include "dance/Logger/Log_Macros.h"
namespace DAnCE
{
namespace Config_Handlers
{
ID_Handler::ID_Handler (void)
{
}
ID_Handler::~ID_Handler (void)
{
}
void
ID_Handler::get_ImplementationDependency (const ImplementationDependency& desc,
Deployment::ImplementationDependency& toconfig)
{
DANCE_TRACE("ID_Handler::get_ImplementationDependency");
toconfig.requiredType=
CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR (desc.requiredType ().c_str ()));
}
ImplementationDependency
ID_Handler::impl_dependency (
const ::Deployment::ImplementationDependency& src)
{
DANCE_TRACE("ID_Handler::get_ImplementationDependency - reverse");
XMLSchema::string< ACE_TCHAR > reqtype (ACE_TEXT_CHAR_TO_TCHAR (src.requiredType));
ImplementationDependency id (reqtype);
return id;
}
}
}
|