summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/XML_Helpers/XML_Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/tools/XML_Helpers/XML_Utils.h')
-rw-r--r--TAO/CIAO/tools/XML_Helpers/XML_Utils.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/TAO/CIAO/tools/XML_Helpers/XML_Utils.h b/TAO/CIAO/tools/XML_Helpers/XML_Utils.h
deleted file mode 100644
index 22d75a3b72e..00000000000
--- a/TAO/CIAO/tools/XML_Helpers/XML_Utils.h
+++ /dev/null
@@ -1,93 +0,0 @@
-// $Id$
-
-//=============================================================================
-/**
- * @file XML_Utils.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef CIAO_XML_UTILS_H
-#define CIAO_XML_UTILS_H
-
-#include "XML_Helpers_Export.h"
-#include "Softpkg_Handlers.h"
-#include "Assembly_Spec.h"
-#include "tao/RTCORBA/RTCORBA.h"
-#include "RTConfigurationC.h"
-
-namespace CIAO
-{
- /**
- * @class Utils
- *
- * @brief Utils contains a collection of utility functions
- */
- class CIAO_XML_HELPERS_Export XML_Utils
- {
- public:
- /**
- * @brief Parse a set of component softpkg and return the important info
- *
- * This function parses a set of component softpkg files and
- * returns the important information required to intall the
- * component in a component server. In CIAO, two different
- * DLL are needed for a component installation. One for the
- * actual executor implementation and one for the container
- * servant implementation.
- *
- * When calling this function, info->csd_path_ must holds the
- * pathname to the component software descriptor the function is
- * going to parse.
- *
- * @retval 0 if all infor are parsed successfully.
- * @retval -1 if error occured
- */
- static int parse_softpkg (Softpkg_Handler::Softpkg_Info *info);
-
- /**
- * @brief Parse a component assembly descriptor and extract the
- * assembly specification.
- */
- static int parse_componentassembly (const char *filename,
- Assembly_Spec *spec);
-
- /**
- * @brief Parse a CIAO RT cad file extension descriptor and
- * extract and prepare the information for RTComponentServer.
- *
- * A CIAO RT cad file extension, as defined in
- * $CIAO_ROOT/doc/XML/ciao_rt_cad_ext.dtd, defines the RT
- * resources and named policy sets that a RTComponentServer shall
- * provides for the running components.
- *
- * This method assume that all the sequences, either those in
- * RTORB_Resource_Info or the Policy_Sets, are empty initially and
- * will add to them when parsing the RTCAD extension file.
- */
- static int parse_rtcad_extension (const char *filename,
- RTConfiguration::RTORB_Resource_Info &rtr,
- RTConfiguration::Policy_Sets &pset);
-
- static long get_id_and_cardinality (const char *&id,
- ACEXML_Attributes *atts
- ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- static long get_single_attribute (const char *attname,
- const char *&id,
- ACEXML_Attributes *atts
- ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- };
-
-}
-
-#if defined (__ACE_INLINE__)
-# include "XML_Utils.inl"
-#endif /* __ACE_INLINE__ */
-#endif /* CIAO_XML_UTILS_H */