summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/ERE_Handler.h')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/ERE_Handler.h81
1 files changed, 44 insertions, 37 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h
index 93671582bae..934e2273bf5 100644
--- a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h
+++ b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h
@@ -1,11 +1,11 @@
//==============================================================
/**
- * @file ERE_Handler.h
- *
- * $Id$
- *
- * @author Jules White <jules@dre.vanderbilt.edu>
- */
+* @file ERE_Handler.h
+*
+* $Id$
+*
+* @author Jules White <jules@dre.vanderbilt.edu>
+*/
//================================================================
#ifndef CIAO_CONFIG_HANDLERS_ERE_HANDLER_H
@@ -18,46 +18,53 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "Utils/Functors.h"
+
namespace Deployment
{
- class ExternalReferenceEndpoints;
- struct ExternalReferenceEndpoint;
+class ExternalReferenceEndpoints;
+struct ExternalReferenceEndpoint;
}
namespace CIAO
{
- namespace Config_Handlers
- {
- class PlanConnectionDescription;
- class ExternalReferenceEndpoint;
+namespace Config_Handlers
+{
+class PlanConnectionDescription;
+class ExternalReferenceEndpoint;
+
+/*
+* @class ERE_Handler
+*
+* @brief Handler class for <ExternalReferenceEndpoint> types.
+*
+* This class defines handler methods to map values from
+* XSC ExternalReferenceEndpoint objects, parsed from
+* the descriptor files, to the corresponding CORBA IDL type.
+*
+*/
+
+class Config_Handlers_Export ERE_Handler
+{
+public:
+static void external_ref_endpoints (
+const PlanConnectionDescription &src,
+::Deployment::ExternalReferenceEndpoints &dest);
+
+static ExternalReferenceEndpoint external_ref_endpoint (
+const Deployment::ExternalReferenceEndpoint& src);
- /*
- * @class ERE_Handler
- *
- * @brief Handler class for <ExternalReferenceEndpoint> types.
- *
- * This class defines handler methods to map values from
- * XSC ExternalReferenceEndpoint objects, parsed from
- * the descriptor files, to the corresponding CORBA IDL type.
- *
- */
+static void external_ref_endpoint (const ExternalReferenceEndpoint &src,
+Deployment::ExternalReferenceEndpoint &dest);
+};
- class Config_Handlers_Export ERE_Handler
- {
- public:
- static void external_ref_endpoints (
- const PlanConnectionDescription &src,
- ::Deployment::ExternalReferenceEndpoints &dest);
-
- static ExternalReferenceEndpoint external_ref_endpoint (
- const Deployment::ExternalReferenceEndpoint& src);
- private:
- static void external_ref_endpoint (
- const ExternalReferenceEndpoint &src,
- Deployment::ExternalReferenceEndpoint &dest);
- };
- }
+typedef Sequence_Handler < ExternalReferenceEndpoint,
+::Deployment::ExternalReferenceEndpoints,
+::Deployment::ExternalReferenceEndpoint,
+ERE_Handler::external_ref_endpoint > ERE_Functor;
+
+}
}
#include /**/ "ace/post.h"