summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/Prop_Handler.h
blob: ee3c9ac2ff0bed23ab083a2bfab741abe058d35a (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  Prop_Handler.h
 *
 *  $Id$
 *
 *  @author Jules White <jules@dre.vanderbilt.edu>
 */
//================================================

#ifndef PROP_HANDLER_H
#define PROP_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 Prop_Handler
   * 
   * @brief Handler class for <CCMComponentPortDescription> 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 Prop_Handler{
 
    public:
       
    Prop_Handler();
    virtual ~Prop_Handler();
            
    ///This method maps the values from the
    ///XSC object <CIAO::Config_Handlers::Property> to
    ///the CORBA IDL type <Deployment::Property>.    
    Deployment::Property&
    get_Property(
        Deployment::Property& toconfig,
        Property& desc);
   };

 }
}

#include /**/ "ace/post.h"
#endif /* PROP_HANDLER_H */