diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
commit | b71531b42b3325fd6079a7039aae8641262c8adf (patch) | |
tree | a5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/tools/Config_Handlers/XML_File_Intf.h | |
parent | a0f67cc97c0050d907145e312135b60c0125e56e (diff) | |
download | ATCD-DS-main.tar.gz |
branching/taggingDS-main
Diffstat (limited to 'modules/CIAO/tools/Config_Handlers/XML_File_Intf.h')
-rw-r--r-- | modules/CIAO/tools/Config_Handlers/XML_File_Intf.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h b/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h new file mode 100644 index 00000000000..9f5869b20fb --- /dev/null +++ b/modules/CIAO/tools/Config_Handlers/XML_File_Intf.h @@ -0,0 +1,51 @@ +//============================================================== +/** +* @file XML_File_Intf.h +* +* $Id$ +* +* @author Bala Natarajan <bala@dre.vanderbilt.edu> +*/ +//================================================================ + +#ifndef CIAO_CONFIG_XML_FILE_INTF_H +#define CIAO_CONFIG_XML_FILE_INTF_H +#include /**/ "ace/pre.h" + +#include "Config_Handlers_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Auto_Ptr.h" + + +namespace Deployment +{ +struct DeploymentPlan ; +} + +namespace CIAO +{ +namespace Config_Handlers +{ +class Config_Handlers_Export XML_File_Intf +{ +public: +XML_File_Intf (const char *file); + +::Deployment::DeploymentPlan const *get_plan (void) const; +::Deployment::DeploymentPlan *get_plan (void); + +protected: + +bool read_process_file (const char *file); + +private: +ACE_Auto_Ptr< ::Deployment::DeploymentPlan> idl_dp_; +}; +} +} +#include /**/ "ace/post.h" +#endif /*CIAO_CONFIG_XML_FILE_INTF_H*/ |