summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/BaseTypes_Handler.h
blob: bd2382fc1e27ae2d0bc337e614af6a1d92f21f90 (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
//================================================
/**
 *  @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 */


// @@ Jules, what do we achieve by this class Gains seem low to me..
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 <XMLSchema::string>
      ///and returns a duplicate char* that is
      ///created with CORBA::string_dup.
      static char* get_string (XMLSchema::string<char>& desc);

    };

  }

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