summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp')
-rw-r--r--TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp
new file mode 100644
index 00000000000..d5dfd92b64d
--- /dev/null
+++ b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/tests/CodeSets/libs/IBM1047_ISO8859
+//
+// = FILENAME
+// Char_IBM1047_ISO8859_Factory.cpp
+//
+// = DESCRIPTION
+// A tempate instantiation of the codeset translator factory from TAO. This
+// one loads a modified version of ACE's IBM1047 (EBCDIC) to ISO8859 (ASCII)
+// translator.
+//
+// = AUTHORS
+// Phil Mesnier <mesnier_p@ociweb.com>
+//
+// ============================================================================
+
+#include "Char_IBM1047_ISO8859_Factory.h"
+#include "ace/Log_Msg.h"
+
+ACE_STATIC_SVC_DEFINE (Char_IBM1047_ISO8859_Factory,
+ ACE_TEXT ("Char_IBM1047_ISO8859_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (Char_IBM1047_ISO8859_Factory),
+ ACE_Service_Type::DELETE_THIS
+ | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (IBM1047_ISO8859, Char_IBM1047_ISO8859_Factory)