diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-04-13 14:47:50 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-04-13 14:47:50 +0000 |
commit | feb8e89d1f3932917e3068c9c23db15ce55286e4 (patch) | |
tree | 0d62c61c2e4151b7665392d162436ee7d1e6782d /TAO/CIAO/tools/Config_Handlers/ID_Handler.h | |
parent | cbe8aa5d5be1d4679ae0c4e30baaea24fbae416c (diff) | |
download | ATCD-escher_x_4_9_integration_point.tar.gz |
Thu Apr 13 13:43:19 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>escher_x_4_9_integration_point
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/ID_Handler.h')
-rw-r--r-- | TAO/CIAO/tools/Config_Handlers/ID_Handler.h | 86 |
1 files changed, 48 insertions, 38 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/ID_Handler.h b/TAO/CIAO/tools/Config_Handlers/ID_Handler.h index c800b31e0b3..60fed331647 100644 --- a/TAO/CIAO/tools/Config_Handlers/ID_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/ID_Handler.h @@ -1,12 +1,12 @@ //============================================================== /** - * @file ID_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file ID_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ID_Handler_H @@ -16,6 +16,8 @@ #include "Config_Handlers_Export.h" #include "ace/config-lite.h" +#include "Utils/Functors.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -24,44 +26,52 @@ namespace Deployment { - struct ImplementationDependency; +struct ImplementationDependency; +class ImplementationDependencies;; + } namespace CIAO { - namespace Config_Handlers - { - - class ImplementationDependency; - - - /* - * @class ID_Handler - * - * @brief Handler class for <ImplementationDependency> types. - * - * This class defines handler methods to map values from - * XSC ImplementationDependency objects, parsed from the descriptor files, to the - * corresponding CORBA IDL Any type. - * - */ - class Config_Handlers_Export ID_Handler - { - public: - - ID_Handler (void); - virtual ~ID_Handler (void); - - static void get_ImplementationDependency ( - Deployment::ImplementationDependency& toconfig, - const ImplementationDependency& desc); - - static ImplementationDependency impl_dependency ( - const ::Deployment::ImplementationDependency& src); - }; - } +namespace Config_Handlers +{ + +class ImplementationDependency; + + +/* +* @class ID_Handler +* +* @brief Handler class for <ImplementationDependency> types. +* +* This class defines handler methods to map values from +* XSC ImplementationDependency objects, parsed from the descriptor files, to the +* corresponding CORBA IDL Any type. +* +*/ +class Config_Handlers_Export ID_Handler +{ +public: + +ID_Handler (void); +virtual ~ID_Handler (void); + +static void get_ImplementationDependency ( +const ImplementationDependency& desc, +Deployment::ImplementationDependency& toconfig); + +static ImplementationDependency impl_dependency ( +const ::Deployment::ImplementationDependency& src); +}; + +typedef Sequence_Handler < ImplementationDependency, +::Deployment::ImplementationDependencies, +::Deployment::ImplementationDependency, +ID_Handler::get_ImplementationDependency > ID_Functor; + +} } #include /**/ "ace/post.h" |