diff options
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/DataType_Handler.h')
-rw-r--r-- | TAO/CIAO/tools/Config_Handlers/DataType_Handler.h | 82 |
1 files changed, 42 insertions, 40 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h index eda2375fcee..97d512f2300 100644 --- a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h @@ -1,59 +1,61 @@ //================================================ /** - * @file DataType_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file DataType_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================ #ifndef DATATYPE_HANDLER_H #define DATATYPE_HANDLER_H #include /**/ "ace/pre.h" - + #include "ciao/DeploymentC.h" #include "Basic_Deployment_Data.hpp" - - + +#include "Config_Handlers_Export.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ namespace CIAO{ - - namespace Config_Handlers{ - - /* - * @class DataType_Handler - * - * @brief Handler class for <ComponentPortDescription> types. - * - * This class defines handler methods to map values from - * XSC objects, parsed from the descriptor files, to the - * corresponding CORBA IDL type for the schema element. - * - */ - - class DataType_Handler{ - - public: - - DataType_Handler (void); - virtual ~DataType_Handler (void); - - ////This method takes a <CIAO::Config_Handlers::DataType> - ///and returns the corresponding CORBA::TypeCode. - static void - data_type (CORBA::TypeCode_ptr& type, - const DataType& desc); - - static DataType data_type (const CORBA::TypeCode_ptr& type); - }; - - } + +namespace Config_Handlers{ + +/* +* @class DataType_Handler +* +* @brief Handler class for <ComponentPortDescription> types. +* +* This class defines handler methods to map values from +* XSC objects, parsed from the descriptor files, to the +* corresponding CORBA IDL type for the schema element. +* +*/ + +class Config_Handlers_Export DataType_Handler { + +public: + +DataType_Handler (void); +virtual ~DataType_Handler (void); + +////This method takes a <CIAO::Config_Handlers::DataType> +///and returns the corresponding CORBA::TypeCode. +static void +data_type (const DataType& desc, +CORBA::TypeCode_ptr& type); + + +static DataType data_type (const CORBA::TypeCode_ptr& type); +}; + +} } #include /**/ "ace/post.h" |