summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/BaseTypes_Handler.h
blob: 884adbfb8930cb33ad50cbcc62ce760833fa4a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//================================================
/**
 *  @file  BaseTypes_Handler.h
 *
 *  $Id$
 *
 *  @author Jules White <jules@dre.vanderbilt.edu>
 */
//================================================

#ifndef BaseTypes_HANDLER_H
#define BaseTypes_HANDLER_H

#include /**/ "ace/pre.h"
                                                                                
#include "ciao/DeploymentC.h"
#include "Basic_Deployment_Data.hpp"
             
                                                                                
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */


namespace CIAO{
    
  namespace Config_Handlers{


   /*
    * @class BaseTypes_Handler
    * 
    * @brief Handler class for <ComponentInterfaceDescription> types.
    * 
    * This class defines handler methods to map values from 
    * XSC Any objects, parsed from the descriptor files, to the
    * corresponding CORBA IDL Any type.
    * 
    */
    
    class BaseTypes_Handler{
     
      public:
       
      BaseTypes_Handler();
      virtual ~BaseTypes_Handler();
  
      ///This method takes a <CORBA::string> and an 
      ///<XMLSchema::string> and stores the value from
      ///the <XMLSchema::string> in the <CORBA::string>.
      static CORBA::String_var& get_string (CORBA::String_var& str, 
                               XMLSchema::string<char>& desc);
         
    };

  }
   
}
#include /**/ "ace/post.h"
#endif /* BaseTypes_HANDLER_H */