summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/CCD_Handler.cpp
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-11-14 14:00:59 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-11-14 14:00:59 +0000
commitf84b53a4e188194e9e6cc95e33a8a4d10bc80e94 (patch)
tree27ffaf719cf35408423a161806f011347c932eda /CIAO/tools/Config_Handlers/CCD_Handler.cpp
parentda53b6bf04dd7af5855244e9803addca653b09e1 (diff)
downloadATCD-f84b53a4e188194e9e6cc95e33a8a4d10bc80e94.tar.gz
ChangeLogTag: Fri Nov 14 13:53:49 UTC 2008 Vladimir Zykov <vzykov@prismtech.com>
Diffstat (limited to 'CIAO/tools/Config_Handlers/CCD_Handler.cpp')
-rw-r--r--CIAO/tools/Config_Handlers/CCD_Handler.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/CIAO/tools/Config_Handlers/CCD_Handler.cpp b/CIAO/tools/Config_Handlers/CCD_Handler.cpp
index ac878c0c671..3dc3af1a414 100644
--- a/CIAO/tools/Config_Handlers/CCD_Handler.cpp
+++ b/CIAO/tools/Config_Handlers/CCD_Handler.cpp
@@ -22,18 +22,18 @@ namespace CIAO
CIAO_TRACE("CCD_Handler::component_interface_descr");
if (desc.UUID_p ())
toconfig.UUID =
- CORBA::string_dup (desc.UUID ().c_str ());
+ CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR (desc.UUID ().c_str ()));
if (desc.label_p ())
{
toconfig.label =
- CORBA::string_dup (desc.label ().c_str ());
+ CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR (desc.label ().c_str ()));
}
if (desc.specificType_p ())
{
toconfig.specificType =
- CORBA::string_dup (desc.specificType ().c_str ());
+ CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR (desc.specificType ().c_str ()));
}
ComponentInterfaceDescription::supportedType_const_iterator
@@ -46,7 +46,7 @@ namespace CIAO
s != end;
++s)
{
- toconfig.supportedType[pos++] = s->c_str ();
+ toconfig.supportedType[pos++] = ACE_TEXT_ALWAYS_CHAR (s->c_str ());
}
ComponentInterfaceDescription::idlFile_const_iterator
@@ -58,7 +58,7 @@ namespace CIAO
sidl != eidl;
++sidl)
{
- toconfig.idlFile [pos++] = sidl->c_str ();
+ toconfig.idlFile [pos++] = ACE_TEXT_ALWAYS_CHAR (sidl->c_str ());
}
ComponentInterfaceDescription::configProperty_const_iterator pend =
@@ -117,9 +117,9 @@ namespace CIAO
ComponentInterfaceDescription cid;
//Load up the basic string members
- XMLSchema::string< char > uuid ((src.UUID));
- XMLSchema::string< char > label ((src.label));
- XMLSchema::string< char > specifict ((src.specificType));
+ XMLSchema::string< ACE_TCHAR > uuid (ACE_TEXT_CHAR_TO_TCHAR (src.UUID.in ()));
+ XMLSchema::string< ACE_TCHAR > label (ACE_TEXT_CHAR_TO_TCHAR (src.label.in ()));
+ XMLSchema::string< ACE_TCHAR > specifict (ACE_TEXT_CHAR_TO_TCHAR (src.specificType.in ()));
//Then put them in the CID
cid.UUID (uuid);
@@ -130,7 +130,7 @@ namespace CIAO
::CORBA::ULong total = src.supportedType.length ();
for (size_t i = 0; i < total; ++i)
{
- XMLSchema::string< char > curr ((src.supportedType[i]));
+ XMLSchema::string< ACE_TCHAR > curr (ACE_TEXT_CHAR_TO_TCHAR (src.supportedType[i].in ()));
cid.add_supportedType (curr);
}
@@ -138,7 +138,7 @@ namespace CIAO
total = src.idlFile.length ();
for (size_t j = 0; j < total; ++j)
{
- XMLSchema::string< char > curr ((src.idlFile[j]));
+ XMLSchema::string< ACE_TCHAR > curr (ACE_TEXT_CHAR_TO_TCHAR (src.idlFile[j].in ()));
cid.add_idlFile (curr);
}