diff options
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers')
156 files changed, 42423 insertions, 32251 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/ADD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/ADD_Handler.cpp index 09d53d2afd5..c038bd9d4b7 100644 --- a/TAO/CIAO/tools/Config_Handlers/ADD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/ADD_Handler.cpp @@ -9,160 +9,163 @@ ACE_RCSID (DAnCE, ADD_Handler, "$Id$") - -namespace CIAO -{ - namespace Config_Handlers + + namespace CIAO { - IDREF_Base<CORBA::ULong> ADD_Handler::IDREF; - - void - ADD_Handler::artifact_deployment_descrs ( - const DeploymentPlan &src, - ::Deployment::ArtifactDeploymentDescriptions &dest) + namespace Config_Handlers { - DeploymentPlan::artifact_const_iterator aci_e = - src.end_artifact (); - dest.length (src.count_artifact ()); - CORBA::ULong pos = 0; - for (DeploymentPlan::artifact_const_iterator aci_b = - src.begin_artifact (); - aci_e != aci_b; - ++aci_b) - { - ADD_Handler::artifact_deployment_descr ((*aci_b), - dest[pos], - pos); - pos++; - } - } + IDREF_Base<CORBA::ULong> ADD_Handler::IDREF; - void - ADD_Handler::artifact_deployment_descr ( - const ArtifactDeploymentDescription &src, - Deployment::ArtifactDeploymentDescription &dest, - CORBA::ULong pos) - { - dest.name = src.name ().c_str (); - - dest.node = src.node ().c_str (); - - ArtifactDeploymentDescription::location_const_iterator end = - src.end_location (); - - dest.location.length (src.count_location ()); - CORBA::ULong len = 0; - for (ArtifactDeploymentDescription::location_const_iterator - start = src.begin_location (); - start != end; - ++start) - { - dest.location[len++] = start->c_str (); - } - - ArtifactDeploymentDescription::source_const_iterator sce = - src.end_source (); - len = 0; - dest.source.length (src.count_source ()); - for (ArtifactDeploymentDescription::source_const_iterator - scb = src.begin_source (); - scb != sce; - ++scb) - { - dest.source[len++] = scb->c_str (); - } - - // @@TODO: See this loop is repeated - ArtifactDeploymentDescription::execParameter_const_iterator adce = - src.end_execParameter (); - len = 0; - dest.execParameter.length (src.count_execParameter ()); - for (ArtifactDeploymentDescription::execParameter_const_iterator adcb = - src.begin_execParameter (); - adcb != adce; - ++adcb) - { - Property_Handler::get_property ((*adcb), - dest.execParameter[len++]); - } - - if (src.id_p ()) - { - ACE_CString cstr (src.id ().c_str ()); - - ADD_Handler::IDREF.bind_ref (cstr,pos); - } - else - { - ACE_DEBUG ((LM_ERROR, - "(%P|%t) Warning: ADD %s has no idref.\n", - src.name ().c_str ())); - } + void + ADD_Handler::artifact_deployment_descrs ( + const DeploymentPlan &src, + ::Deployment::ArtifactDeploymentDescriptions &dest) + { + CIAO_TRACE("ADD_Handler::atrifact_deployment_descrs"); + DeploymentPlan::artifact_const_iterator aci_e = + src.end_artifact (); + dest.length (src.count_artifact ()); + CORBA::ULong pos = 0; + for (DeploymentPlan::artifact_const_iterator aci_b = + src.begin_artifact (); + aci_e != aci_b; + ++aci_b) + { + ADD_Handler::artifact_deployment_descr ((*aci_b), + dest[pos], + pos); + pos++; + } + } + + void + ADD_Handler::artifact_deployment_descr ( + const ArtifactDeploymentDescription &src, + Deployment::ArtifactDeploymentDescription &dest, + CORBA::ULong pos) + { + CIAO_TRACE("ADD_Handler::atrifact_deployment_descr"); + dest.name = src.name ().c_str (); + + dest.node = src.node ().c_str (); + + ArtifactDeploymentDescription::location_const_iterator end = + src.end_location (); + + dest.location.length (src.count_location ()); + CORBA::ULong len = 0; + for (ArtifactDeploymentDescription::location_const_iterator + start = src.begin_location (); + start != end; + ++start) + { + dest.location[len++] = start->c_str (); + } + + ArtifactDeploymentDescription::source_const_iterator sce = + src.end_source (); + len = 0; + dest.source.length (src.count_source ()); + for (ArtifactDeploymentDescription::source_const_iterator + scb = src.begin_source (); + scb != sce; + ++scb) + { + dest.source[len++] = scb->c_str (); + } + + // @@TODO: See this loop is repeated + ArtifactDeploymentDescription::execParameter_const_iterator adce = + src.end_execParameter (); + len = 0; + dest.execParameter.length (src.count_execParameter ()); + for (ArtifactDeploymentDescription::execParameter_const_iterator adcb = + src.begin_execParameter (); + adcb != adce; + ++adcb) + { + Property_Handler::get_property ((*adcb), + dest.execParameter[len++]); + } + + if (src.id_p ()) + { + ACE_CString cstr (src.id ().c_str ()); + + ADD_Handler::IDREF.bind_ref (cstr,pos); + } + else + { + ACE_DEBUG ((LM_ERROR, + "(%P|%t) Warning: ADD %s has no idref.\n", + src.name ().c_str ())); + } #if 0 - // @@ MAJO: Don't know how to handle this. - if (src.deployRequirement_p ()) - { - Req_Handler handler; - add.deployRequirement.length ( - add.deployRequirement.length () + 1); - handler.get_Requirement ( - add.deployRequirement[add.deployRequirement.length () - 1], - src.deployRequirement ()); - } - - if (src.deployedResource_p ()) - { - RDD_Handler handler; - add.deployedResource.length ( - add.deployedResource.length () + 1); - handler.get_ResourceDeploymentDescription ( - add.deployedResource[add.deployedResource.length () - 1], - src.deployedResource ()); - } + // @@ MAJO: Don't know how to handle this. + if (src.deployRequirement_p ()) + { + Req_Handler handler; + add.deployRequirement.length ( + add.deployRequirement.length () + 1); + handler.get_Requirement ( + add.deployRequirement[add.deployRequirement.length () - 1], + src.deployRequirement ()); + } + + if (src.deployedResource_p ()) + { + RDD_Handler handler; + add.deployedResource.length ( + add.deployedResource.length () + 1); + handler.get_ResourceDeploymentDescription ( + add.deployedResource[add.deployedResource.length () - 1], + src.deployedResource ()); + } #endif /* 0 */ - } - + } + ArtifactDeploymentDescription ADD_Handler::artifact_deployment_descr ( - const Deployment::ArtifactDeploymentDescription &src) + const Deployment::ArtifactDeploymentDescription &src) { - //Get the name and node and store them in the add - XMLSchema::string< char > name ((src.name)); - XMLSchema::string< char > node ((src.node)); - - ArtifactDeploymentDescription add (name,node); - - //Get the location(s) and store it/them in the add - size_t total = src.location.length (); - for (size_t i = 0; i < total; ++i) - { - XMLSchema::string< char > curr ((src.location[i])); - add.add_location (curr); - } - - //As above, for the source(s) - total = src.source.length (); - for (size_t j = 0; j < total; ++j) - { - XMLSchema::string< char > curr ((src.source[j])); - add.add_source (curr); - } - - //As above for the execParameter(s) - total = src.execParameter.length (); - for (size_t k = 0; k < total; ++k) - { - add.add_execParameter ( - Property_Handler::get_property ( - src.execParameter[k])); - } - - return add; - } + CIAO_TRACE("ADD_Handler::atrifact_deployment_descr - reverse"); + //Get the name and node and store them in the add + XMLSchema::string< char > name ((src.name)); + XMLSchema::string< char > node ((src.node)); + + ArtifactDeploymentDescription add (name,node); + + //Get the location(s) and store it/them in the add + size_t total = src.location.length (); + for (size_t i = 0; i < total; ++i) + { + XMLSchema::string< char > curr ((src.location[i])); + add.add_location (curr); + } + + //As above, for the source(s) + total = src.source.length (); + for (size_t j = 0; j < total; ++j) + { + XMLSchema::string< char > curr ((src.source[j])); + add.add_source (curr); + } + + //As above for the execParameter(s) + total = src.execParameter.length (); + for (size_t k = 0; k < total; ++k) + { + add.add_execParameter ( + Property_Handler::get_property ( + src.execParameter[k])); + } + + return add; + } - - } -} + } + + } diff --git a/TAO/CIAO/tools/Config_Handlers/ADD_Handler.h b/TAO/CIAO/tools/Config_Handlers/ADD_Handler.h index 6ac3d36f194..0db82b30fb2 100644 --- a/TAO/CIAO/tools/Config_Handlers/ADD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/ADD_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file ADD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file ADD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ADD_Handler_H @@ -23,50 +23,50 @@ namespace Deployment { - struct ArtifactDeploymentDescription; - class ArtifactDeploymentDescriptions; +struct ArtifactDeploymentDescription; +class ArtifactDeploymentDescriptions; } namespace CIAO { - namespace Config_Handlers - { - class DeploymentPlan; - class ArtifactDeploymentDescription; +namespace Config_Handlers +{ +class DeploymentPlan; +class ArtifactDeploymentDescription; + +/* +* @class ADD_Handler +* +* @brief Handler class for <ArtifactDeploymentDescription> types. +* +* This class defines handler methods to map values from XSC +* ArtifactDeploymentDescription objects, parsed from the +* // @@ Jules, why Any type? +* descriptor files, to the corresponding CORBA IDL Any type. +*/ +class Config_Handlers_Export ADD_Handler +{ +public: +static void artifact_deployment_descrs ( +const DeploymentPlan &src, +::Deployment::ArtifactDeploymentDescriptions &dest); - /* - * @class ADD_Handler - * - * @brief Handler class for <ArtifactDeploymentDescription> types. - * - * This class defines handler methods to map values from XSC - * ArtifactDeploymentDescription objects, parsed from the - * // @@ Jules, why Any type? - * descriptor files, to the corresponding CORBA IDL Any type. - */ - class Config_Handlers_Export ADD_Handler - { - public: - static void artifact_deployment_descrs ( - const DeploymentPlan &src, - ::Deployment::ArtifactDeploymentDescriptions &dest); +static ArtifactDeploymentDescription +artifact_deployment_descr ( +const Deployment::ArtifactDeploymentDescription &src); - static ArtifactDeploymentDescription - artifact_deployment_descr ( - const Deployment::ArtifactDeploymentDescription &src); +/// The IDREF Table associated with this class +static IDREF_Base<CORBA::ULong> IDREF; - /// The IDREF Table associated with this class - static IDREF_Base<CORBA::ULong> IDREF; - - private: - static void artifact_deployment_descr ( - const ArtifactDeploymentDescription& desc, - ::Deployment::ArtifactDeploymentDescription &dest, - CORBA::ULong l = 0); - }; - } +private: +static void artifact_deployment_descr ( +const ArtifactDeploymentDescription& desc, +::Deployment::ArtifactDeploymentDescription &dest, +CORBA::ULong l = 0); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/Any_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Any_Handler.cpp index e14838e9a9a..535d5a88d8a 100644 --- a/TAO/CIAO/tools/Config_Handlers/Any_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Any_Handler.cpp @@ -6,7 +6,7 @@ #include "DataType_Handler.h" #include "Basic_Deployment_Data.hpp" #include "tao/AnyTypeCode/Any.h" - +#include "ciao/CIAO_common.h" #include "DynAny_Handler/DynAny_Handler.h" namespace CIAO @@ -27,24 +27,20 @@ namespace CIAO CORBA::Any& toconfig) { + CIAO_TRACE("Any_Handler::extract_into_any"); DynamicAny::DynAny_var dyn = DYNANY_HANDLER->extract_into_dynany (desc.type (), - desc.value ()); - + desc.value ()); + toconfig = *dyn->to_any (); - + dyn->destroy (); } Any Any_Handler::get_any (const ::CORBA::Any& src) { - //MAJO - //@Bala ... still haven't figured this one out yet - //I was saving it for last...going from corba::any - //to xsc DataValue - DataType type = DataType_Handler::data_type (src.type ()); - DataValue value; - Any any (type,value); - return any; + CIAO_TRACE("Any_Handler::extract_into_any - reverse"); + + return DYNANY_HANDLER->extract_from_dynany (src); } } } diff --git a/TAO/CIAO/tools/Config_Handlers/Any_Handler.h b/TAO/CIAO/tools/Config_Handlers/Any_Handler.h index 17b0814ad41..e7086f6ec2c 100644 --- a/TAO/CIAO/tools/Config_Handlers/Any_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/Any_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file Any_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file Any_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ANY_HANDLER_H @@ -23,38 +23,38 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace CORBA { - class Any; +class Any; } TAO_END_VERSIONED_NAMESPACE_DECL namespace CIAO { - namespace Config_Handlers - { - class Any; - - /* - * @class Any_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 Config_Handlers_Export Any_Handler - { - public: - Any_Handler (void); - virtual ~Any_Handler (void); - - static void extract_into_any (const Any& desc, - ::CORBA::Any& toconfig); - - static Any get_any (const CORBA::Any &src); - }; - } +namespace Config_Handlers +{ +class Any; + +/* +* @class Any_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 Config_Handlers_Export Any_Handler +{ +public: +Any_Handler (void); +virtual ~Any_Handler (void); + +static void extract_into_any (const Any& desc, +::CORBA::Any& toconfig); + +static Any get_any (const CORBA::Any &src); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/BasicSP.cdp b/TAO/CIAO/tools/Config_Handlers/BasicSP.cdp index b9fa6a6e221..dee3dc87fcf 100644 --- a/TAO/CIAO/tools/Config_Handlers/BasicSP.cdp +++ b/TAO/CIAO/tools/Config_Handlers/BasicSP.cdp @@ -1,489 +1,489 @@ <Deployment:deploymentPlan - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Modified_Deployment.xsd"> - - <label>BasicSP-DeploymentPlan</label> - <UUID><!-- @@ fill in --> </UUID> - <!-- Exactly one realizes - This realizes section may also not be right. --> - <realizes> - <label>BasicSP-realizes-cid</label> - <UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID> - <specificType><!-- @@ What does here? --></specificType> - <supportedType>IDL:BasicSP/BMClosedED:1.0</supportedType> - <supportedType>IDL:BasicSP/BMDevice:1.0</supportedType> - <supportedType>IDL:BasicSP/BMDisplay:1.0</supportedType> - <supportedType>IDL:BasicSP/EC:1.0</supportedType> - <!-- - <idlFile></idlFile> - <configProperty></configProperty> - --> - - <port> - <name>in_avail</name> - <specificType>IDL:BasicSP/DataAvailable:1.0</specificType> - <supportedType>IDL:BasicSP/DataAvailable:1.0</supportedType> - <provider>false</provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>EventConsumer</kind> - </port> - - <port> - <name>out_avail</name> - <specificType>IDL:BasicSP/DataAvailable:1.0</specificType> - <supportedType>IDL:BasicSP/DataAvailable:1.0</supportedType> - <provider>true</provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>EventPublisher</kind> - </port> - - <port> - <name>dataout</name> - <specificType>IDL:BasicSP/ReadData:1.0</specificType> - <supportedType>IDL:BasicSP/ReadData:1.0</supportedType> - <provider>true</provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>Facet</kind> - </port> - - <port> - <name>datain</name> - <specificType>IDL:BasicSP/ReadData:1.0</specificType> - <supportedType>IDL:BasicSP/ReadData:1.0</supportedType> - <provider>true</provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>SimplexReceptacle</kind> - </port> - - <port> - <name>data_read</name> - <specificType>IDL:BasicSP/ReadData:1.0</specificType> - <supportedType>IDL:BasicSP/ReadData:1.0</supportedType> - <provider>false></provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>EventPublisher</kind> - </port> - - <port> - <name>timeout</name> - <specificType>IDL:BasicSP/TimeOut:1.0</specificType> - <supportedType>IDL:BasicSP/TimeOut:1.0</supportedType> - <provider>false></provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>EventConsumer</kind> - </port> - - <port> - <name>comp_data</name> - <specificType>IDL:BasicSP/ReadData:1.0</specificType> - <supportedType>IDL:BasicSP/ReadData:1.0</supportedType> - <provider>false</provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <kind>SimplexReceptacle</kind> - </port> - - <!-- - <property></property> - <infoProperty></infoProperty> - --> - </realizes> - - <implementation id="BasicSP-BMClosedED-mdd"> - <name>BasicSP-BMClosedED-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - <artifact>BasicSP-BMClosedED_DnC_svnt</artifact> - <artifact>BasicSP-BMClosedED_DnC_stub</artifact> - <artifact>BasicSP-BMClosedED_DnC_exec</artifact> - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <implementation id="BasicSP-BMDevice-mdd"> - <name>BasicSP-BMDevice-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - - <artifact>BasicSP-BMDevice_DnC_exec</artifact> - <artifact>BasicSP-BMDevice_DnC_stub</artifact> - <artifact>BasicSP-BMDevice_DnC_svnt</artifact> - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <implementation id="BasicSP-BMDisplay-mdd"> - <name>BasicSP-BMDisplay-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - <artifact>BasicSP-BMDisplay_DnC_exec</artifact> - <artifact>BasicSP-BMDisplay_DnC_svnt</artifact> - <artifact>BasicSP-BMDisplay_DnC_stub</artifact> - - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <implementation id="BasicSP-EC-mdd"> - <name>BasicSP-EC-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - - <artifact>BasicSP-EC_DnC_stub</artifact> - <artifact>BasicSP-EC_DnC_svnt</artifact> - <artifact>BasicSP-EC_DnC_exec</artifact> - - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <instance id="BasicSP-BMClosedED-idd"> - <name>BasicSP-BMClosedED-idd</name> - <node>BMDisplay</node> - <source><!-- @@ What goes here --></source> - <implementation>BasicSP-BMClosedED-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>BMClosedED.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance id="BasicSP-BMDevice-idd"> - <name>BasicSP-BMDevice-idd</name> - <node>BMDisplay</node> - <source><!-- @@ What goes here --></source> - <implementation>BasicSP-BMDevice-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>BMDevice.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance id="BasicSP-BMDisplay-idd"> - <name>BasicSP-BMDisplay-idd</name> - <node>BMDisplay</node> - <source><!-- @@ What goes here --></source> - <implementation>BasicSP-BMDisplay-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>BMDisplay.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance id="BasicSP-EC-idd"> - <name>BasicSP-EC-idd</name> - <node>EC</node> - <source><!-- @@ What goes here --></source> - <implementation>BasicSP-EC-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>EC.ior</string> - </value> - </value> - </configProperty> - </instance> - - <connection> - <name>datain_data_read</name> - <internalEndpoint> - <portName>data_read</portName> - <kind>Facet</kind> - <instance>BasicSP-BMDevice-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>datain</portName> - <kind>SimplexReceptacle</kind> - <instance>BasicSP-BMClosedED-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>comp_data_dataout</name> - <internalEndpoint> - <portName>dataout</portName> - <kind>Facet</kind> - <instance>BasicSP-BMClosedED-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>comp_data</portName> - <kind>SimplexReceptacle</kind> - <instance>BasicSP-BMDisplay-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>timeout_timeout</name> - <internalEndpoint> - <portName>timeout</portName> - <kind>EventPublisher</kind> - <instance>BasicSP-EC-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>timeout</portName> - <kind>EventConsumer</kind> - <instance>BasicSP-BMDevice-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>in_avail_data_available</name> - <internalEndpoint> - <portName>data_available</portName> - <kind>EventPublisher</kind> - <instance>BasicSP-BMDevice-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>in_avail</portName> - <kind>EventConsumer</kind> - <instance>BasicSP-BMClosedED-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>data_ready_out_avail</name> - <internalEndpoint> - <portName>out_avail</portName> - <kind>EventPublisher</kind> - <instance>BasicSP-BMClosedED-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>data_ready</portName> - <kind>EventConsumer</kind> - <instance>BasicSP-BMDisplay-idd</instance> - </internalEndpoint> - </connection> - - <artifact id="BasicSP-BMClosedED_DnC_exec"> - <name>BMClosedED_DnC_exec</name> - <source><!-- @@ Not sure about this--></source> - <node><!-- blank --></node> - <location>BMClosedED_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMClosedEDHome_Impl</string> - </value> - </value> - </execParameter> - - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMClosedED_DnC_svnt"> - <name>BMClosedED_DnC_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMClosedED_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMClosedEDHome_Servant</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMClosedED_DnC_stub"> - <name>BMClosedED_DnC_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMClosedED_DnC_stub</location> - - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDevice_DnC_exec"> - <name>BMDevice_DnC_exec</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDevice_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMDeviceHome_Impl</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDevice_DnC_stub"> - <name>BMDevice_DnC_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDevice_DnC_stub</location> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDevice_DnC_svnt"> - <name>BMDevice_DnC_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDevice_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMDeviceHome_Servant</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDisplay_DnC_exec"> - <name>BMDisplay_DnC_exec</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDisplay_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMDisplayHome_Impl</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDisplay_DnC_svnt"> - <name>BMDisplay_DnC_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDisplay_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createBMDisplayHome_Servant</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-BMDisplay_DnC_stub"> - <name>BMDisplay_DnC_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>BMDisplay_DnC_stub</location> - - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-EC_DnC_stub"> - <name>EC_DnC_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>EC_DnC_stub</location> - - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-EC_DnC_svnt"> - <name>EC_DnC_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>EC_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createECHome_Servant</string> - </value> - </value> - </execParameter> - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> - - <artifact id="BasicSP-EC_DnC_exec"> - <name>EC_DnC_exec</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>EC_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createECHome_Impl</string> - </value> - </value> - </execParameter> - - <!-- @@ This has dependancies that need to be specified, how? --> - </artifact> -</Deployment:deploymentPlan> +xmlns:Deployment="http://www.omg.org/Deployment" +xmlns:xmi="http://www.omg.org/XMI" +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://www.omg.org/Deployment Modified_Deployment.xsd"> + +<label>BasicSP-DeploymentPlan</label> +<UUID><!-- @@ fill in --> </UUID> +<!-- Exactly one realizes +This realizes section may also not be right. --> +<realizes> +<label>BasicSP-realizes-cid</label> +<UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID> +<specificType><!-- @@ What does here? --></specificType> +<supportedType>IDL:BasicSP/BMClosedED:1.0</supportedType> +<supportedType>IDL:BasicSP/BMDevice:1.0</supportedType> +<supportedType>IDL:BasicSP/BMDisplay:1.0</supportedType> +<supportedType>IDL:BasicSP/EC:1.0</supportedType> +<!-- +<idlFile></idlFile> +<configProperty></configProperty> +--> + +<port> +<name>in_avail</name> +<specificType>IDL:BasicSP/DataAvailable:1.0</specificType> +<supportedType>IDL:BasicSP/DataAvailable:1.0</supportedType> +<provider>false</provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>EventConsumer</kind> +</port> + +<port> +<name>out_avail</name> +<specificType>IDL:BasicSP/DataAvailable:1.0</specificType> +<supportedType>IDL:BasicSP/DataAvailable:1.0</supportedType> +<provider>true</provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>EventPublisher</kind> +</port> + +<port> +<name>dataout</name> +<specificType>IDL:BasicSP/ReadData:1.0</specificType> +<supportedType>IDL:BasicSP/ReadData:1.0</supportedType> +<provider>true</provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>Facet</kind> +</port> + +<port> +<name>datain</name> +<specificType>IDL:BasicSP/ReadData:1.0</specificType> +<supportedType>IDL:BasicSP/ReadData:1.0</supportedType> +<provider>true</provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>SimplexReceptacle</kind> +</port> + +<port> +<name>data_read</name> +<specificType>IDL:BasicSP/ReadData:1.0</specificType> +<supportedType>IDL:BasicSP/ReadData:1.0</supportedType> +<provider>false></provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>EventPublisher</kind> +</port> + +<port> +<name>timeout</name> +<specificType>IDL:BasicSP/TimeOut:1.0</specificType> +<supportedType>IDL:BasicSP/TimeOut:1.0</supportedType> +<provider>false></provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>EventConsumer</kind> +</port> + +<port> +<name>comp_data</name> +<specificType>IDL:BasicSP/ReadData:1.0</specificType> +<supportedType>IDL:BasicSP/ReadData:1.0</supportedType> +<provider>false</provider> +<exclusiveProvider>false</exclusiveProvider> +<exclusiveUser>false</exclusiveUser> +<optional>false</optional> +<kind>SimplexReceptacle</kind> +</port> + +<!-- +<property></property> +<infoProperty></infoProperty> +--> +</realizes> + +<implementation id="BasicSP-BMClosedED-mdd"> +<name>BasicSP-BMClosedED-mdd</name> +<source><!-- @@ Don't know what goes here --></source> +<artifact>BasicSP-BMClosedED_DnC_svnt</artifact> +<artifact>BasicSP-BMClosedED_DnC_stub</artifact> +<artifact>BasicSP-BMClosedED_DnC_exec</artifact> +<!-- +<execParameter></execParameter> +<deployRequirement></deployRequirement> +--> +</implementation> + +<implementation id="BasicSP-BMDevice-mdd"> +<name>BasicSP-BMDevice-mdd</name> +<source><!-- @@ Don't know what goes here --></source> + +<artifact>BasicSP-BMDevice_DnC_exec</artifact> +<artifact>BasicSP-BMDevice_DnC_stub</artifact> +<artifact>BasicSP-BMDevice_DnC_svnt</artifact> +<!-- +<execParameter></execParameter> +<deployRequirement></deployRequirement> +--> +</implementation> + +<implementation id="BasicSP-BMDisplay-mdd"> +<name>BasicSP-BMDisplay-mdd</name> +<source><!-- @@ Don't know what goes here --></source> +<artifact>BasicSP-BMDisplay_DnC_exec</artifact> +<artifact>BasicSP-BMDisplay_DnC_svnt</artifact> +<artifact>BasicSP-BMDisplay_DnC_stub</artifact> + +<!-- +<execParameter></execParameter> +<deployRequirement></deployRequirement> +--> +</implementation> + +<implementation id="BasicSP-EC-mdd"> +<name>BasicSP-EC-mdd</name> +<source><!-- @@ Don't know what goes here --></source> + +<artifact>BasicSP-EC_DnC_stub</artifact> +<artifact>BasicSP-EC_DnC_svnt</artifact> +<artifact>BasicSP-EC_DnC_exec</artifact> + +<!-- +<execParameter></execParameter> +<deployRequirement></deployRequirement> +--> +</implementation> + +<instance id="BasicSP-BMClosedED-idd"> +<name>BasicSP-BMClosedED-idd</name> +<node>BMDisplay</node> +<source><!-- @@ What goes here --></source> +<implementation>BasicSP-BMClosedED-mdd</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>BMClosedED.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="BasicSP-BMDevice-idd"> +<name>BasicSP-BMDevice-idd</name> +<node>BMDisplay</node> +<source><!-- @@ What goes here --></source> +<implementation>BasicSP-BMDevice-mdd</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>BMDevice.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="BasicSP-BMDisplay-idd"> +<name>BasicSP-BMDisplay-idd</name> +<node>BMDisplay</node> +<source><!-- @@ What goes here --></source> +<implementation>BasicSP-BMDisplay-mdd</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>BMDisplay.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="BasicSP-EC-idd"> +<name>BasicSP-EC-idd</name> +<node>EC</node> +<source><!-- @@ What goes here --></source> +<implementation>BasicSP-EC-mdd</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>EC.ior</string> +</value> +</value> +</configProperty> +</instance> + +<connection> +<name>datain_data_read</name> +<internalEndpoint> +<portName>data_read</portName> +<kind>Facet</kind> +<instance>BasicSP-BMDevice-idd</instance> +</internalEndpoint> +<internalEndpoint> +<portName>datain</portName> +<kind>SimplexReceptacle</kind> +<instance>BasicSP-BMClosedED-idd</instance> +</internalEndpoint> +</connection> + +<connection> +<name>comp_data_dataout</name> +<internalEndpoint> +<portName>dataout</portName> +<kind>Facet</kind> +<instance>BasicSP-BMClosedED-idd</instance> +</internalEndpoint> +<internalEndpoint> +<portName>comp_data</portName> +<kind>SimplexReceptacle</kind> +<instance>BasicSP-BMDisplay-idd</instance> +</internalEndpoint> +</connection> + +<connection> +<name>timeout_timeout</name> +<internalEndpoint> +<portName>timeout</portName> +<kind>EventPublisher</kind> +<instance>BasicSP-EC-idd</instance> +</internalEndpoint> +<internalEndpoint> +<portName>timeout</portName> +<kind>EventConsumer</kind> +<instance>BasicSP-BMDevice-idd</instance> +</internalEndpoint> +</connection> + +<connection> +<name>in_avail_data_available</name> +<internalEndpoint> +<portName>data_available</portName> +<kind>EventPublisher</kind> +<instance>BasicSP-BMDevice-idd</instance> +</internalEndpoint> +<internalEndpoint> +<portName>in_avail</portName> +<kind>EventConsumer</kind> +<instance>BasicSP-BMClosedED-idd</instance> +</internalEndpoint> +</connection> + +<connection> +<name>data_ready_out_avail</name> +<internalEndpoint> +<portName>out_avail</portName> +<kind>EventPublisher</kind> +<instance>BasicSP-BMClosedED-idd</instance> +</internalEndpoint> +<internalEndpoint> +<portName>data_ready</portName> +<kind>EventConsumer</kind> +<instance>BasicSP-BMDisplay-idd</instance> +</internalEndpoint> +</connection> + +<artifact id="BasicSP-BMClosedED_DnC_exec"> +<name>BMClosedED_DnC_exec</name> +<source><!-- @@ Not sure about this--></source> +<node><!-- blank --></node> +<location>BMClosedED_DnC_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMClosedEDHome_Impl</string> +</value> +</value> +</execParameter> + +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMClosedED_DnC_svnt"> +<name>BMClosedED_DnC_svnt</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMClosedED_DnC_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMClosedEDHome_Servant</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMClosedED_DnC_stub"> +<name>BMClosedED_DnC_stub</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMClosedED_DnC_stub</location> + +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDevice_DnC_exec"> +<name>BMDevice_DnC_exec</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDevice_DnC_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMDeviceHome_Impl</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDevice_DnC_stub"> +<name>BMDevice_DnC_stub</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDevice_DnC_stub</location> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDevice_DnC_svnt"> +<name>BMDevice_DnC_svnt</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDevice_DnC_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMDeviceHome_Servant</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDisplay_DnC_exec"> +<name>BMDisplay_DnC_exec</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDisplay_DnC_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMDisplayHome_Impl</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDisplay_DnC_svnt"> +<name>BMDisplay_DnC_svnt</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDisplay_DnC_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createBMDisplayHome_Servant</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-BMDisplay_DnC_stub"> +<name>BMDisplay_DnC_stub</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>BMDisplay_DnC_stub</location> + +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-EC_DnC_stub"> +<name>EC_DnC_stub</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>EC_DnC_stub</location> + +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-EC_DnC_svnt"> +<name>EC_DnC_svnt</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>EC_DnC_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createECHome_Servant</string> +</value> +</value> +</execParameter> +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> + +<artifact id="BasicSP-EC_DnC_exec"> +<name>EC_DnC_exec</name> +<source><!-- @@ Not sure --></source> +<node><!-- blank --></node> +<location>EC_DnC_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>createECHome_Impl</string> +</value> +</value> +</execParameter> + +<!-- @@ This has dependancies that need to be specified, how? --> +</artifact> +</Deployment:deploymentPlan> diff --git a/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp b/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp index 111232c6a4e..25191d1daaf 100644 --- a/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "Basic_Deployment_Data.hpp" namespace CIAO @@ -16,7 +16,7 @@ namespace CIAO namespace Config_Handlers { // TCKind - // + // TCKind::Value TCKind:: integral () const @@ -38,30 +38,30 @@ namespace CIAO TCKind:: TCKind (TCKind::Value v) - : v_ (v) + : v_ (v) { } // DataType - // + // DataType:: DataType (::CIAO::Config_Handlers::TCKind const& kind__) - : - ::XSCRT::Type (), - kind_ (new ::CIAO::Config_Handlers::TCKind (kind__)), - regulator__ () + : + ::XSCRT::Type (), + kind_ (new ::CIAO::Config_Handlers::TCKind (kind__)), + regulator__ () { kind_->container (this); } DataType:: DataType (::CIAO::Config_Handlers::DataType const& s) - : - ::XSCRT::Type (), - kind_ (new ::CIAO::Config_Handlers::TCKind (*s.kind_)), - enum__ (s.enum__.get () ? new ::CIAO::Config_Handlers::EnumType (*s.enum__) : 0), - regulator__ () + : + ::XSCRT::Type (), + kind_ (new ::CIAO::Config_Handlers::TCKind (*s.kind_)), + enum__ (s.enum__.get () ? new ::CIAO::Config_Handlers::EnumType (*s.enum__) : 0), + regulator__ () { kind_->container (this); if (enum__.get ()) enum__->container (this); @@ -80,7 +80,7 @@ namespace CIAO // DataType - // + // ::CIAO::Config_Handlers::TCKind const& DataType:: kind () const { @@ -94,7 +94,7 @@ namespace CIAO } // DataType - // + // bool DataType:: enum_p () const { @@ -111,34 +111,34 @@ namespace CIAO enum_ (::CIAO::Config_Handlers::EnumType const& e) { if (enum__.get ()) - { - *enum__ = e; - } + { + *enum__ = e; + } else - { - enum__ = ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > (new ::CIAO::Config_Handlers::EnumType (e)); - enum__->container (this); - } + { + enum__ = ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > (new ::CIAO::Config_Handlers::EnumType (e)); + enum__->container (this); + } } // DataValue - // + // DataValue:: DataValue () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } DataValue:: DataValue (::CIAO::Config_Handlers::DataValue const& s) - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { { for (short_const_iterator i (s.short_.begin ());i != s.short_.end ();++i) add_short (*i); @@ -266,7 +266,7 @@ namespace CIAO // DataValue - // + // DataValue::short_iterator DataValue:: begin_short () { @@ -304,7 +304,7 @@ namespace CIAO } // DataValue - // + // DataValue::long_iterator DataValue:: begin_long () { @@ -342,7 +342,7 @@ namespace CIAO } // DataValue - // + // DataValue::ushort_iterator DataValue:: begin_ushort () { @@ -380,7 +380,7 @@ namespace CIAO } // DataValue - // + // DataValue::ulong_iterator DataValue:: begin_ulong () { @@ -418,7 +418,7 @@ namespace CIAO } // DataValue - // + // DataValue::float_iterator DataValue:: begin_float () { @@ -456,7 +456,7 @@ namespace CIAO } // DataValue - // + // DataValue::double_iterator DataValue:: begin_double () { @@ -494,7 +494,7 @@ namespace CIAO } // DataValue - // + // DataValue::boolean_iterator DataValue:: begin_boolean () { @@ -532,7 +532,7 @@ namespace CIAO } // DataValue - // + // DataValue::octet_iterator DataValue:: begin_octet () { @@ -570,7 +570,7 @@ namespace CIAO } // DataValue - // + // DataValue::enum_iterator DataValue:: begin_enum () { @@ -608,7 +608,7 @@ namespace CIAO } // DataValue - // + // DataValue::string_iterator DataValue:: begin_string () { @@ -646,7 +646,7 @@ namespace CIAO } // DataValue - // + // DataValue::longlong_iterator DataValue:: begin_longlong () { @@ -684,7 +684,7 @@ namespace CIAO } // DataValue - // + // DataValue::ulonglong_iterator DataValue:: begin_ulonglong () { @@ -722,7 +722,7 @@ namespace CIAO } // DataValue - // + // DataValue::longdouble_iterator DataValue:: begin_longdouble () { @@ -761,12191 +761,13326 @@ namespace CIAO // EnumType - // + // EnumType:: EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, ::XMLSchema::string< ACE_TCHAR > const& typeId__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), - regulator__ () - { - name_->container (this); - typeId_->container (this); - } + : + ::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), +regulator__ () +{ +name_->container (this); +typeId_->container (this); +} - EnumType:: - EnumType (::CIAO::Config_Handlers::EnumType const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), - regulator__ () - { - name_->container (this); - typeId_->container (this); - { - for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); - } - } +EnumType:: +EnumType (::CIAO::Config_Handlers::EnumType const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), +regulator__ () +{ +name_->container (this); +typeId_->container (this); +{ +for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); +} +} - ::CIAO::Config_Handlers::EnumType& EnumType:: - operator= (::CIAO::Config_Handlers::EnumType const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::EnumType& EnumType:: +operator= (::CIAO::Config_Handlers::EnumType const& s) +{ +name (s.name ()); - typeId (s.typeId ()); +typeId (s.typeId ()); - member_.clear (); - { - for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); - } +member_.clear (); +{ +for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); +} - return *this; - } +return *this; +} - // EnumType - // - ::XMLSchema::string< ACE_TCHAR > const& EnumType:: - name () const - { - return *name_; - } +// EnumType +// +::XMLSchema::string< ACE_TCHAR > const& EnumType:: +name () const +{ +return *name_; +} - void EnumType:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void EnumType:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // EnumType - // - ::XMLSchema::string< ACE_TCHAR > const& EnumType:: - typeId () const - { - return *typeId_; - } +// EnumType +// +::XMLSchema::string< ACE_TCHAR > const& EnumType:: +typeId () const +{ +return *typeId_; +} - void EnumType:: - typeId (::XMLSchema::string< ACE_TCHAR > const& e) - { - *typeId_ = e; - } +void EnumType:: +typeId (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*typeId_ = e; +} - // EnumType - // - EnumType::member_iterator EnumType:: - begin_member () - { - return member_.begin (); - } +// EnumType +// +EnumType::member_iterator EnumType:: +begin_member () +{ +return member_.begin (); +} - EnumType::member_iterator EnumType:: - end_member () - { - return member_.end (); - } +EnumType::member_iterator EnumType:: +end_member () +{ +return member_.end (); +} - EnumType::member_const_iterator EnumType:: - begin_member () const - { - return member_.begin (); - } +EnumType::member_const_iterator EnumType:: +begin_member () const +{ +return member_.begin (); +} - EnumType::member_const_iterator EnumType:: - end_member () const - { - return member_.end (); - } +EnumType::member_const_iterator EnumType:: +end_member () const +{ +return member_.end (); +} - void EnumType:: - add_member (::XMLSchema::string< ACE_TCHAR > const& e) - { - member_.push_back (e); - } +void EnumType:: +add_member (::XMLSchema::string< ACE_TCHAR > const& e) +{ +member_.push_back (e); +} - size_t EnumType:: - count_member(void) const - { - return member_.size (); - } +size_t EnumType:: +count_member(void) const +{ +return member_.size (); +} - // Any - // +// Any +// - Any:: - Any (::CIAO::Config_Handlers::DataType const& type__, - ::CIAO::Config_Handlers::DataValue const& value__) - : - ::XSCRT::Type (), - type_ (new ::CIAO::Config_Handlers::DataType (type__)), - value_ (new ::CIAO::Config_Handlers::DataValue (value__)), - regulator__ () - { - type_->container (this); - value_->container (this); - } +Any:: +Any (::CIAO::Config_Handlers::DataType const& type__, +::CIAO::Config_Handlers::DataValue const& value__) +: +::XSCRT::Type (), +type_ (new ::CIAO::Config_Handlers::DataType (type__)), +value_ (new ::CIAO::Config_Handlers::DataValue (value__)), +regulator__ () +{ +type_->container (this); +value_->container (this); +} - Any:: - Any (::CIAO::Config_Handlers::Any const& s) - : - ::XSCRT::Type (), - type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), - value_ (new ::CIAO::Config_Handlers::DataValue (*s.value_)), - regulator__ () - { - type_->container (this); - value_->container (this); - } +Any:: +Any (::CIAO::Config_Handlers::Any const& s) +: +::XSCRT::Type (), +type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), +value_ (new ::CIAO::Config_Handlers::DataValue (*s.value_)), +regulator__ () +{ +type_->container (this); +value_->container (this); +} - ::CIAO::Config_Handlers::Any& Any:: - operator= (::CIAO::Config_Handlers::Any const& s) - { - type (s.type ()); +::CIAO::Config_Handlers::Any& Any:: +operator= (::CIAO::Config_Handlers::Any const& s) +{ +type (s.type ()); - value (s.value ()); +value (s.value ()); - return *this; - } +return *this; +} - // Any - // - ::CIAO::Config_Handlers::DataType const& Any:: - type () const - { - return *type_; - } +// Any +// +::CIAO::Config_Handlers::DataType const& Any:: +type () const +{ +return *type_; +} - void Any:: - type (::CIAO::Config_Handlers::DataType const& e) - { - *type_ = e; - } +void Any:: +type (::CIAO::Config_Handlers::DataType const& e) +{ +*type_ = e; +} - // Any - // - ::CIAO::Config_Handlers::DataValue const& Any:: - value () const - { - return *value_; - } +// Any +// +::CIAO::Config_Handlers::DataValue const& Any:: +value () const +{ +return *value_; +} - void Any:: - value (::CIAO::Config_Handlers::DataValue const& e) - { - *value_ = e; - } +void Any:: +value (::CIAO::Config_Handlers::DataValue const& e) +{ +*value_ = e; +} - // Property - // +// Property +// - Property:: - Property (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Any const& value__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - value_ (new ::CIAO::Config_Handlers::Any (value__)), - regulator__ () - { - name_->container (this); - value_->container (this); - } +Property:: +Property (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::Any const& value__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +value_ (new ::CIAO::Config_Handlers::Any (value__)), +regulator__ () +{ +name_->container (this); +value_->container (this); +} - Property:: - Property (::CIAO::Config_Handlers::Property const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), - regulator__ () - { - name_->container (this); - value_->container (this); - } +Property:: +Property (::CIAO::Config_Handlers::Property const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), +regulator__ () +{ +name_->container (this); +value_->container (this); +} - ::CIAO::Config_Handlers::Property& Property:: - operator= (::CIAO::Config_Handlers::Property const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::Property& Property:: +operator= (::CIAO::Config_Handlers::Property const& s) +{ +name (s.name ()); - value (s.value ()); +value (s.value ()); - return *this; - } +return *this; +} - // Property - // - ::XMLSchema::string< ACE_TCHAR > const& Property:: - name () const - { - return *name_; - } +// Property +// +::XMLSchema::string< ACE_TCHAR > const& Property:: +name () const +{ +return *name_; +} - void Property:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void Property:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // Property - // - ::CIAO::Config_Handlers::Any const& Property:: - value () const - { - return *value_; - } +// Property +// +::CIAO::Config_Handlers::Any const& Property:: +value () const +{ +return *value_; +} - void Property:: - value (::CIAO::Config_Handlers::Any const& e) - { - *value_ = e; - } +void Property:: +value (::CIAO::Config_Handlers::Any const& e) +{ +*value_ = e; +} - // SatisfierPropertyKind - // +// SatisfierPropertyKind +// - SatisfierPropertyKind::Value SatisfierPropertyKind:: - integral () const - { - return v_; - } +SatisfierPropertyKind::Value SatisfierPropertyKind:: +integral () const +{ +return v_; +} - bool - operator== (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) - { - return a.v_ == b.v_; - } +bool +operator== (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) +{ +return a.v_ == b.v_; +} - bool - operator!= (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) - { - return a.v_ != b.v_; - } +bool +operator!= (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) +{ +return a.v_ != b.v_; +} - SatisfierPropertyKind:: - SatisfierPropertyKind (SatisfierPropertyKind::Value v) - : v_ (v) - { - } +SatisfierPropertyKind:: +SatisfierPropertyKind (SatisfierPropertyKind::Value v) +: v_ (v) +{ +} - // SatisfierProperty - // - - SatisfierProperty:: - SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, - ::CIAO::Config_Handlers::Any const& value__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (kind__)), - value_ (new ::CIAO::Config_Handlers::Any (value__)), - regulator__ () - { - name_->container (this); - kind_->container (this); - value_->container (this); - } +// SatisfierProperty +// + +SatisfierProperty:: +SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, +::XMLSchema::boolean const& dynamic__, +::CIAO::Config_Handlers::Any const& value__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (kind__)), +dynamic_ (new ::XMLSchema::boolean (dynamic__)), +value_ (new ::CIAO::Config_Handlers::Any (value__)), +regulator__ () +{ +name_->container (this); +kind_->container (this); +dynamic_->container (this); +value_->container (this); +} - SatisfierProperty:: - SatisfierProperty (::CIAO::Config_Handlers::SatisfierProperty const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (*s.kind_)), - value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), - regulator__ () - { - name_->container (this); - kind_->container (this); - value_->container (this); - } +SatisfierProperty:: +SatisfierProperty (::CIAO::Config_Handlers::SatisfierProperty const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (*s.kind_)), +dynamic_ (new ::XMLSchema::boolean (*s.dynamic_)), +value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), +regulator__ () +{ +name_->container (this); +kind_->container (this); +dynamic_->container (this); +value_->container (this); +} - ::CIAO::Config_Handlers::SatisfierProperty& SatisfierProperty:: - operator= (::CIAO::Config_Handlers::SatisfierProperty const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::SatisfierProperty& SatisfierProperty:: +operator= (::CIAO::Config_Handlers::SatisfierProperty const& s) +{ +name (s.name ()); - kind (s.kind ()); +kind (s.kind ()); - value (s.value ()); +dynamic (s.dynamic ()); - return *this; - } +value (s.value ()); +return *this; +} - // SatisfierProperty - // - ::XMLSchema::string< ACE_TCHAR > const& SatisfierProperty:: - name () const - { - return *name_; - } - void SatisfierProperty:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +// SatisfierProperty +// +::XMLSchema::string< ACE_TCHAR > const& SatisfierProperty:: +name () const +{ +return *name_; +} - // SatisfierProperty - // - ::CIAO::Config_Handlers::SatisfierPropertyKind const& SatisfierProperty:: - kind () const - { - return *kind_; - } +void SatisfierProperty:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - void SatisfierProperty:: - kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& e) - { - *kind_ = e; - } +// SatisfierProperty +// +::CIAO::Config_Handlers::SatisfierPropertyKind const& SatisfierProperty:: +kind () const +{ +return *kind_; +} - // SatisfierProperty - // - ::CIAO::Config_Handlers::Any const& SatisfierProperty:: - value () const - { - return *value_; - } +void SatisfierProperty:: +kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& e) +{ +*kind_ = e; +} - void SatisfierProperty:: - value (::CIAO::Config_Handlers::Any const& e) - { - *value_ = e; - } +// SatisfierProperty +// +::XMLSchema::boolean const& SatisfierProperty:: +dynamic () const +{ +return *dynamic_; +} +void SatisfierProperty:: +dynamic (::XMLSchema::boolean const& e) +{ +*dynamic_ = e; +} - // Resource - // +// SatisfierProperty +// +::CIAO::Config_Handlers::Any const& SatisfierProperty:: +value () const +{ +return *value_; +} - Resource:: - Resource (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } +void SatisfierProperty:: +value (::CIAO::Config_Handlers::Any const& e) +{ +*value_ = e; +} - Resource:: - Resource (::CIAO::Config_Handlers::Resource const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - regulator__ () - { - name_->container (this); - { - for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); - } - { - for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); - } - } +// Resource +// - ::CIAO::Config_Handlers::Resource& Resource:: - operator= (::CIAO::Config_Handlers::Resource const& s) - { - name (s.name ()); +Resource:: +Resource (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - resourceType_.clear (); - { - for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); - } +Resource:: +Resource (::CIAO::Config_Handlers::Resource const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +regulator__ () +{ +name_->container (this); +{ +for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); +} - property_.clear (); - { - for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); - } +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - return *this; - } +::CIAO::Config_Handlers::Resource& Resource:: +operator= (::CIAO::Config_Handlers::Resource const& s) +{ +name (s.name ()); +resourceType_.clear (); +{ +for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); +} - // Resource - // - ::XMLSchema::string< ACE_TCHAR > const& Resource:: - name () const - { - return *name_; - } +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - void Resource:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +return *this; +} - // Resource - // - Resource::resourceType_iterator Resource:: - begin_resourceType () - { - return resourceType_.begin (); - } - Resource::resourceType_iterator Resource:: - end_resourceType () - { - return resourceType_.end (); - } +// Resource +// +::XMLSchema::string< ACE_TCHAR > const& Resource:: +name () const +{ +return *name_; +} - Resource::resourceType_const_iterator Resource:: - begin_resourceType () const - { - return resourceType_.begin (); - } +void Resource:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - Resource::resourceType_const_iterator Resource:: - end_resourceType () const - { - return resourceType_.end (); - } +// Resource +// +Resource::resourceType_iterator Resource:: +begin_resourceType () +{ +return resourceType_.begin (); +} - void Resource:: - add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) - { - resourceType_.push_back (e); - } +Resource::resourceType_iterator Resource:: +end_resourceType () +{ +return resourceType_.end (); +} - size_t Resource:: - count_resourceType(void) const - { - return resourceType_.size (); - } +Resource::resourceType_const_iterator Resource:: +begin_resourceType () const +{ +return resourceType_.begin (); +} - // Resource - // - Resource::property_iterator Resource:: - begin_property () - { - return property_.begin (); - } +Resource::resourceType_const_iterator Resource:: +end_resourceType () const +{ +return resourceType_.end (); +} - Resource::property_iterator Resource:: - end_property () - { - return property_.end (); - } +void Resource:: +add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +resourceType_.push_back (e); +} - Resource::property_const_iterator Resource:: - begin_property () const - { - return property_.begin (); - } +size_t Resource:: +count_resourceType(void) const +{ +return resourceType_.size (); +} - Resource::property_const_iterator Resource:: - end_property () const - { - return property_.end (); - } +// Resource +// +Resource::property_iterator Resource:: +begin_property () +{ +return property_.begin (); +} - void Resource:: - add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) - { - property_.push_back (e); - } +Resource::property_iterator Resource:: +end_property () +{ +return property_.end (); +} - size_t Resource:: - count_property(void) const - { - return property_.size (); - } +Resource::property_const_iterator Resource:: +begin_property () const +{ +return property_.begin (); +} +Resource::property_const_iterator Resource:: +end_property () const +{ +return property_.end (); +} - // Requirement - // +void Resource:: +add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) +{ +property_.push_back (e); +} - Requirement:: - Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Property const& property__) - : - ::XSCRT::Type (), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - property_ (new ::CIAO::Config_Handlers::Property (property__)), - regulator__ () - { - resourceType_->container (this); - name_->container (this); - property_->container (this); - } +size_t Resource:: +count_property(void) const +{ +return property_.size (); +} - Requirement:: - Requirement (::CIAO::Config_Handlers::Requirement const& s) - : - ::XSCRT::Type (), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - property_ (new ::CIAO::Config_Handlers::Property (*s.property_)), - regulator__ () - { - resourceType_->container (this); - name_->container (this); - property_->container (this); - } - ::CIAO::Config_Handlers::Requirement& Requirement:: - operator= (::CIAO::Config_Handlers::Requirement const& s) - { - resourceType (s.resourceType ()); +// Requirement +// - name (s.name ()); +Requirement:: +Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +resourceType_->container (this); +name_->container (this); +} - property (s.property ()); +Requirement:: +Requirement (::CIAO::Config_Handlers::Requirement const& s) +: +::XSCRT::Type (), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +regulator__ () +{ +resourceType_->container (this); +name_->container (this); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - return *this; - } +::CIAO::Config_Handlers::Requirement& Requirement:: +operator= (::CIAO::Config_Handlers::Requirement const& s) +{ +resourceType (s.resourceType ()); +name (s.name ()); - // Requirement - // - ::XMLSchema::string< ACE_TCHAR > const& Requirement:: - resourceType () const - { - return *resourceType_; - } +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - void Requirement:: - resourceType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceType_ = e; - } +return *this; +} - // Requirement - // - ::XMLSchema::string< ACE_TCHAR > const& Requirement:: - name () const - { - return *name_; - } - void Requirement:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +// Requirement +// +::XMLSchema::string< ACE_TCHAR > const& Requirement:: +resourceType () const +{ +return *resourceType_; +} - // Requirement - // - ::CIAO::Config_Handlers::Property const& Requirement:: - property () const - { - return *property_; - } +void Requirement:: +resourceType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceType_ = e; +} - void Requirement:: - property (::CIAO::Config_Handlers::Property const& e) - { - *property_ = e; - } +// Requirement +// +::XMLSchema::string< ACE_TCHAR > const& Requirement:: +name () const +{ +return *name_; +} +void Requirement:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // ResourceDeploymentDescription - // +// Requirement +// +Requirement::property_iterator Requirement:: +begin_property () +{ +return property_.begin (); +} - ResourceDeploymentDescription:: - ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__) - : - ::XSCRT::Type (), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (resourceValue__)), - regulator__ () - { - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } +Requirement::property_iterator Requirement:: +end_property () +{ +return property_.end (); +} - ResourceDeploymentDescription:: - ResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) - : - ::XSCRT::Type (), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (*s.resourceValue_)), - regulator__ () - { - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } +Requirement::property_const_iterator Requirement:: +begin_property () const +{ +return property_.begin (); +} - ::CIAO::Config_Handlers::ResourceDeploymentDescription& ResourceDeploymentDescription:: - operator= (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) - { - requirementName (s.requirementName ()); +Requirement::property_const_iterator Requirement:: +end_property () const +{ +return property_.end (); +} - resourceName (s.resourceName ()); +void Requirement:: +add_property (::CIAO::Config_Handlers::Property const& e) +{ +property_.push_back (e); +} - resourceValue (s.resourceValue ()); +size_t Requirement:: +count_property(void) const +{ +return property_.size (); +} - return *this; - } +// ResourceDeploymentDescription +// - // ResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: - requirementName () const - { - return *requirementName_; - } +ResourceDeploymentDescription:: +ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__) +: +::XSCRT::Type (), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), +regulator__ () +{ +requirementName_->container (this); +resourceName_->container (this); +} - void ResourceDeploymentDescription:: - requirementName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requirementName_ = e; - } +ResourceDeploymentDescription:: +ResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) +: +::XSCRT::Type (), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), +regulator__ () +{ +requirementName_->container (this); +resourceName_->container (this); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - // ResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: - resourceName () const - { - return *resourceName_; - } +::CIAO::Config_Handlers::ResourceDeploymentDescription& ResourceDeploymentDescription:: +operator= (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) +{ +requirementName (s.requirementName ()); - void ResourceDeploymentDescription:: - resourceName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceName_ = e; - } +resourceName (s.resourceName ()); - // ResourceDeploymentDescription - // - ::CIAO::Config_Handlers::Any const& ResourceDeploymentDescription:: - resourceValue () const - { - return *resourceValue_; - } +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - void ResourceDeploymentDescription:: - resourceValue (::CIAO::Config_Handlers::Any const& e) - { - *resourceValue_ = e; - } +return *this; +} - // ArtifactDeploymentDescription - // +// ResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: +requirementName () const +{ +return *requirementName_; +} - ArtifactDeploymentDescription:: - ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& node__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), - regulator__ () - { - name_->container (this); - node_->container (this); - } +void ResourceDeploymentDescription:: +requirementName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*requirementName_ = e; +} - ArtifactDeploymentDescription:: - ArtifactDeploymentDescription (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), - id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), - regulator__ () - { - name_->container (this); - { - for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); - } +// ResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: +resourceName () const +{ +return *resourceName_; +} - node_->container (this); - { - for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); - } +void ResourceDeploymentDescription:: +resourceName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceName_ = e; +} - { - for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); - } +// ResourceDeploymentDescription +// +ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: +begin_property () +{ +return property_.begin (); +} - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: +end_property () +{ +return property_.end (); +} - { - for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); - } +ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: +begin_property () const +{ +return property_.begin (); +} - if (id_.get ()) id_->container (this); - } +ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: +end_property () const +{ +return property_.end (); +} - ::CIAO::Config_Handlers::ArtifactDeploymentDescription& ArtifactDeploymentDescription:: - operator= (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) - { - name (s.name ()); +void ResourceDeploymentDescription:: +add_property (::CIAO::Config_Handlers::Property const& e) +{ +property_.push_back (e); +} - source_.clear (); - { - for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); - } +size_t ResourceDeploymentDescription:: +count_property(void) const +{ +return property_.size (); +} - node (s.node ()); - location_.clear (); - { - for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); - } +// ArtifactDeploymentDescription +// - execParameter_.clear (); - { - for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); - } +ArtifactDeploymentDescription:: +ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& node__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), +regulator__ () +{ +name_->container (this); +node_->container (this); +} - deployRequirement_.clear (); - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +ArtifactDeploymentDescription:: +ArtifactDeploymentDescription (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), +id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), +regulator__ () +{ +name_->container (this); +{ +for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); +} - deployedResource_.clear (); - { - for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); - } +node_->container (this); +{ +for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); +} - if (s.id_.get ()) id (*(s.id_)); - else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} - return *this; - } +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} +{ +for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); +} - // ArtifactDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: - name () const - { - return *name_; - } +if (id_.get ()) id_->container (this); +} - void ArtifactDeploymentDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +::CIAO::Config_Handlers::ArtifactDeploymentDescription& ArtifactDeploymentDescription:: +operator= (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) +{ +name (s.name ()); - // ArtifactDeploymentDescription - // - ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: - begin_source () - { - return source_.begin (); - } +source_.clear (); +{ +for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); +} - ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: - end_source () - { - return source_.end (); - } +node (s.node ()); - ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: - begin_source () const - { - return source_.begin (); - } +location_.clear (); +{ +for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); +} - ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: - end_source () const - { - return source_.end (); - } +execParameter_.clear (); +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} - void ArtifactDeploymentDescription:: - add_source (::XMLSchema::string< ACE_TCHAR > const& e) - { - source_.push_back (e); - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - size_t ArtifactDeploymentDescription:: - count_source(void) const - { - return source_.size (); - } +deployedResource_.clear (); +{ +for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); +} - // ArtifactDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: - node () const - { - return *node_; - } +if (s.id_.get ()) id (*(s.id_)); +else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); - void ArtifactDeploymentDescription:: - node (::XMLSchema::string< ACE_TCHAR > const& e) - { - *node_ = e; - } +return *this; +} - // ArtifactDeploymentDescription - // - ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: - begin_location () - { - return location_.begin (); - } - ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: - end_location () - { - return location_.end (); - } +// ArtifactDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: +name () const +{ +return *name_; +} - ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: - begin_location () const - { - return location_.begin (); - } +void ArtifactDeploymentDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: - end_location () const - { - return location_.end (); - } +// ArtifactDeploymentDescription +// +ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: +begin_source () +{ +return source_.begin (); +} - void ArtifactDeploymentDescription:: - add_location (::XMLSchema::string< ACE_TCHAR > const& e) - { - location_.push_back (e); - } +ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: +end_source () +{ +return source_.end (); +} - size_t ArtifactDeploymentDescription:: - count_location(void) const - { - return location_.size (); - } +ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: +begin_source () const +{ +return source_.begin (); +} - // ArtifactDeploymentDescription - // - ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: - begin_execParameter () - { - return execParameter_.begin (); - } +ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: +end_source () const +{ +return source_.end (); +} - ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: - end_execParameter () - { - return execParameter_.end (); - } +void ArtifactDeploymentDescription:: +add_source (::XMLSchema::string< ACE_TCHAR > const& e) +{ +source_.push_back (e); +} - ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: - begin_execParameter () const - { - return execParameter_.begin (); - } +size_t ArtifactDeploymentDescription:: +count_source(void) const +{ +return source_.size (); +} - ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: - end_execParameter () const - { - return execParameter_.end (); - } +// ArtifactDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: +node () const +{ +return *node_; +} - void ArtifactDeploymentDescription:: - add_execParameter (::CIAO::Config_Handlers::Property const& e) - { - execParameter_.push_back (e); - } +void ArtifactDeploymentDescription:: +node (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*node_ = e; +} - size_t ArtifactDeploymentDescription:: - count_execParameter(void) const - { - return execParameter_.size (); - } +// ArtifactDeploymentDescription +// +ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: +begin_location () +{ +return location_.begin (); +} - // ArtifactDeploymentDescription - // - ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: - begin_deployRequirement () - { - return deployRequirement_.begin (); - } +ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: +end_location () +{ +return location_.end (); +} - ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: - end_deployRequirement () - { - return deployRequirement_.end (); - } +ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: +begin_location () const +{ +return location_.begin (); +} - ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: - begin_deployRequirement () const - { - return deployRequirement_.begin (); - } +ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: +end_location () const +{ +return location_.end (); +} - ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: - end_deployRequirement () const - { - return deployRequirement_.end (); - } +void ArtifactDeploymentDescription:: +add_location (::XMLSchema::string< ACE_TCHAR > const& e) +{ +location_.push_back (e); +} - void ArtifactDeploymentDescription:: - add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) - { - deployRequirement_.push_back (e); - } +size_t ArtifactDeploymentDescription:: +count_location(void) const +{ +return location_.size (); +} - size_t ArtifactDeploymentDescription:: - count_deployRequirement(void) const - { - return deployRequirement_.size (); - } +// ArtifactDeploymentDescription +// +ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: +begin_execParameter () +{ +return execParameter_.begin (); +} - // ArtifactDeploymentDescription - // - ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: - begin_deployedResource () - { - return deployedResource_.begin (); - } +ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: +end_execParameter () +{ +return execParameter_.end (); +} - ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: - end_deployedResource () - { - return deployedResource_.end (); - } +ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: +begin_execParameter () const +{ +return execParameter_.begin (); +} - ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: - begin_deployedResource () const - { - return deployedResource_.begin (); - } +ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: +end_execParameter () const +{ +return execParameter_.end (); +} - ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: - end_deployedResource () const - { - return deployedResource_.end (); - } +void ArtifactDeploymentDescription:: +add_execParameter (::CIAO::Config_Handlers::Property const& e) +{ +execParameter_.push_back (e); +} - void ArtifactDeploymentDescription:: - add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& e) - { - deployedResource_.push_back (e); - } +size_t ArtifactDeploymentDescription:: +count_execParameter(void) const +{ +return execParameter_.size (); +} - size_t ArtifactDeploymentDescription:: - count_deployedResource(void) const - { - return deployedResource_.size (); - } +// ArtifactDeploymentDescription +// +ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} - // ArtifactDeploymentDescription - // - bool ArtifactDeploymentDescription:: - id_p () const - { - return id_.get () != 0; - } +ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} - ::XMLSchema::ID< ACE_TCHAR > const& ArtifactDeploymentDescription:: - id () const - { - return *id_; - } +ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} - ::XMLSchema::ID< ACE_TCHAR >& ArtifactDeploymentDescription:: - id () - { - return *id_; - } +ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} - void ArtifactDeploymentDescription:: - id (::XMLSchema::ID< ACE_TCHAR > const& e) - { - if (id_.get ()) - { - *id_ = e; - } +void ArtifactDeploymentDescription:: +add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) +{ +deployRequirement_.push_back (e); +} - else - { - id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); - id_->container (this); - } - } +size_t ArtifactDeploymentDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} +// ArtifactDeploymentDescription +// +ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: +begin_deployedResource () +{ +return deployedResource_.begin (); +} - // MonolithicDeploymentDescription - // +ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: +end_deployedResource () +{ +return deployedResource_.end (); +} - MonolithicDeploymentDescription:: - MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } +ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: +begin_deployedResource () const +{ +return deployedResource_.begin (); +} - MonolithicDeploymentDescription:: - MonolithicDeploymentDescription (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), - regulator__ () - { - name_->container (this); - { - for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); - } +ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: +end_deployedResource () const +{ +return deployedResource_.end (); +} - { - for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); - } +void ArtifactDeploymentDescription:: +add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& e) +{ +deployedResource_.push_back (e); +} - { - for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); - } +size_t ArtifactDeploymentDescription:: +count_deployedResource(void) const +{ +return deployedResource_.size (); +} - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +// ArtifactDeploymentDescription +// +bool ArtifactDeploymentDescription:: +id_p () const +{ +return id_.get () != 0; +} - if (id_.get ()) id_->container (this); - } +::XMLSchema::ID< ACE_TCHAR > const& ArtifactDeploymentDescription:: +id () const +{ +return *id_; +} - ::CIAO::Config_Handlers::MonolithicDeploymentDescription& MonolithicDeploymentDescription:: - operator= (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) - { - name (s.name ()); +::XMLSchema::ID< ACE_TCHAR >& ArtifactDeploymentDescription:: +id () +{ +return *id_; +} - source_.clear (); - { - for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); - } +void ArtifactDeploymentDescription:: +id (::XMLSchema::ID< ACE_TCHAR > const& e) +{ +if (id_.get ()) +{ +*id_ = e; +} - artifact_.clear (); - { - for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); - } +else +{ +id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); +id_->container (this); +} +} - execParameter_.clear (); - { - for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); - } - deployRequirement_.clear (); - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +// MonolithicDeploymentDescription +// - if (s.id_.get ()) id (*(s.id_)); - else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); +MonolithicDeploymentDescription:: +MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - return *this; - } +MonolithicDeploymentDescription:: +MonolithicDeploymentDescription (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), +regulator__ () +{ +name_->container (this); +{ +for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); +} +{ +for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); +} - // MonolithicDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& MonolithicDeploymentDescription:: - name () const - { - return *name_; - } +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} - void MonolithicDeploymentDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - // MonolithicDeploymentDescription - // - MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: - begin_source () - { - return source_.begin (); - } +if (id_.get ()) id_->container (this); +} - MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: - end_source () - { - return source_.end (); - } +::CIAO::Config_Handlers::MonolithicDeploymentDescription& MonolithicDeploymentDescription:: +operator= (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) +{ +name (s.name ()); - MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: - begin_source () const - { - return source_.begin (); - } +source_.clear (); +{ +for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); +} - MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: - end_source () const - { - return source_.end (); - } +artifact_.clear (); +{ +for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); +} - void MonolithicDeploymentDescription:: - add_source (::XMLSchema::string< ACE_TCHAR > const& e) - { - source_.push_back (e); - } +execParameter_.clear (); +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} - size_t MonolithicDeploymentDescription:: - count_source(void) const - { - return source_.size (); - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - // MonolithicDeploymentDescription - // - MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: - begin_artifact () - { - return artifact_.begin (); - } +if (s.id_.get ()) id (*(s.id_)); +else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); - MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: - end_artifact () - { - return artifact_.end (); - } +return *this; +} - MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: - begin_artifact () const - { - return artifact_.begin (); - } - MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: - end_artifact () const - { - return artifact_.end (); - } +// MonolithicDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& MonolithicDeploymentDescription:: +name () const +{ +return *name_; +} - void MonolithicDeploymentDescription:: - add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& e) - { - artifact_.push_back (e); - } +void MonolithicDeploymentDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - size_t MonolithicDeploymentDescription:: - count_artifact(void) const - { - return artifact_.size (); - } +// MonolithicDeploymentDescription +// +MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: +begin_source () +{ +return source_.begin (); +} - // MonolithicDeploymentDescription - // - MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: - begin_execParameter () - { - return execParameter_.begin (); - } +MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: +end_source () +{ +return source_.end (); +} - MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: - end_execParameter () - { - return execParameter_.end (); - } +MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: +begin_source () const +{ +return source_.begin (); +} - MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: - begin_execParameter () const - { - return execParameter_.begin (); - } +MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: +end_source () const +{ +return source_.end (); +} - MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: - end_execParameter () const - { - return execParameter_.end (); - } +void MonolithicDeploymentDescription:: +add_source (::XMLSchema::string< ACE_TCHAR > const& e) +{ +source_.push_back (e); +} - void MonolithicDeploymentDescription:: - add_execParameter (::CIAO::Config_Handlers::Property const& e) - { - execParameter_.push_back (e); - } +size_t MonolithicDeploymentDescription:: +count_source(void) const +{ +return source_.size (); +} - size_t MonolithicDeploymentDescription:: - count_execParameter(void) const - { - return execParameter_.size (); - } +// MonolithicDeploymentDescription +// +MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: +begin_artifact () +{ +return artifact_.begin (); +} - // MonolithicDeploymentDescription - // - MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: - begin_deployRequirement () - { - return deployRequirement_.begin (); - } +MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: +end_artifact () +{ +return artifact_.end (); +} - MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: - end_deployRequirement () - { - return deployRequirement_.end (); - } +MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: +begin_artifact () const +{ +return artifact_.begin (); +} - MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: - begin_deployRequirement () const - { - return deployRequirement_.begin (); - } +MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: +end_artifact () const +{ +return artifact_.end (); +} - MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: - end_deployRequirement () const - { - return deployRequirement_.end (); - } +void MonolithicDeploymentDescription:: +add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& e) +{ +artifact_.push_back (e); +} - void MonolithicDeploymentDescription:: - add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) - { - deployRequirement_.push_back (e); - } +size_t MonolithicDeploymentDescription:: +count_artifact(void) const +{ +return artifact_.size (); +} - size_t MonolithicDeploymentDescription:: - count_deployRequirement(void) const - { - return deployRequirement_.size (); - } +// MonolithicDeploymentDescription +// +MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: +begin_execParameter () +{ +return execParameter_.begin (); +} - // MonolithicDeploymentDescription - // - bool MonolithicDeploymentDescription:: - id_p () const - { - return id_.get () != 0; - } +MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: +end_execParameter () +{ +return execParameter_.end (); +} - ::XMLSchema::ID< ACE_TCHAR > const& MonolithicDeploymentDescription:: - id () const - { - return *id_; - } +MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: +begin_execParameter () const +{ +return execParameter_.begin (); +} - ::XMLSchema::ID< ACE_TCHAR >& MonolithicDeploymentDescription:: - id () - { - return *id_; - } +MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: +end_execParameter () const +{ +return execParameter_.end (); +} - void MonolithicDeploymentDescription:: - id (::XMLSchema::ID< ACE_TCHAR > const& e) - { - if (id_.get ()) - { - *id_ = e; - } +void MonolithicDeploymentDescription:: +add_execParameter (::CIAO::Config_Handlers::Property const& e) +{ +execParameter_.push_back (e); +} - else - { - id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); - id_->container (this); - } - } +size_t MonolithicDeploymentDescription:: +count_execParameter(void) const +{ +return execParameter_.size (); +} +// MonolithicDeploymentDescription +// +MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} - // ResourceUsageKind - // +MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} - ResourceUsageKind::Value ResourceUsageKind:: - integral () const - { - return v_; - } +MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} - bool - operator== (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) - { - return a.v_ == b.v_; - } +MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} - bool - operator!= (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) - { - return a.v_ != b.v_; - } +void MonolithicDeploymentDescription:: +add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) +{ +deployRequirement_.push_back (e); +} - ResourceUsageKind:: - ResourceUsageKind (ResourceUsageKind::Value v) - : v_ (v) - { - } +size_t MonolithicDeploymentDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} - // InstanceResourceDeploymentDescription - // - - InstanceResourceDeploymentDescription:: - InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, - ::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__) - : - ::XSCRT::Type (), - resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (resourceUsage__)), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (resourceValue__)), - regulator__ () - { - resourceUsage_->container (this); - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } +// MonolithicDeploymentDescription +// +bool MonolithicDeploymentDescription:: +id_p () const +{ +return id_.get () != 0; +} - InstanceResourceDeploymentDescription:: - InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) - : - ::XSCRT::Type (), - resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_)), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (*s.resourceValue_)), - regulator__ () - { - resourceUsage_->container (this); - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } +::XMLSchema::ID< ACE_TCHAR > const& MonolithicDeploymentDescription:: +id () const +{ +return *id_; +} - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription& InstanceResourceDeploymentDescription:: - operator= (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) - { - resourceUsage (s.resourceUsage ()); +::XMLSchema::ID< ACE_TCHAR >& MonolithicDeploymentDescription:: +id () +{ +return *id_; +} - requirementName (s.requirementName ()); +void MonolithicDeploymentDescription:: +id (::XMLSchema::ID< ACE_TCHAR > const& e) +{ +if (id_.get ()) +{ +*id_ = e; +} - resourceName (s.resourceName ()); +else +{ +id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); +id_->container (this); +} +} - resourceValue (s.resourceValue ()); - return *this; - } +// ResourceUsageKind +// +ResourceUsageKind::Value ResourceUsageKind:: +integral () const +{ +return v_; +} - // InstanceResourceDeploymentDescription - // - ::CIAO::Config_Handlers::ResourceUsageKind const& InstanceResourceDeploymentDescription:: - resourceUsage () const - { - return *resourceUsage_; - } +bool +operator== (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) +{ +return a.v_ == b.v_; +} - void InstanceResourceDeploymentDescription:: - resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) - { - *resourceUsage_ = e; - } +bool +operator!= (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) +{ +return a.v_ != b.v_; +} - // InstanceResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: - requirementName () const - { - return *requirementName_; - } +ResourceUsageKind:: +ResourceUsageKind (ResourceUsageKind::Value v) +: v_ (v) +{ +} - void InstanceResourceDeploymentDescription:: - requirementName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requirementName_ = e; - } +// InstanceResourceDeploymentDescription +// + +InstanceResourceDeploymentDescription:: +InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, +::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__) +: +::XSCRT::Type (), +resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (resourceUsage__)), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), +regulator__ () +{ +resourceUsage_->container (this); +requirementName_->container (this); +resourceName_->container (this); +} - // InstanceResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: - resourceName () const - { - return *resourceName_; - } +InstanceResourceDeploymentDescription:: +InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) +: +::XSCRT::Type (), +resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_)), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), +regulator__ () +{ +resourceUsage_->container (this); +requirementName_->container (this); +resourceName_->container (this); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - void InstanceResourceDeploymentDescription:: - resourceName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceName_ = e; - } +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription& InstanceResourceDeploymentDescription:: +operator= (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) +{ +resourceUsage (s.resourceUsage ()); - // InstanceResourceDeploymentDescription - // - ::CIAO::Config_Handlers::Any const& InstanceResourceDeploymentDescription:: - resourceValue () const - { - return *resourceValue_; - } +requirementName (s.requirementName ()); - void InstanceResourceDeploymentDescription:: - resourceValue (::CIAO::Config_Handlers::Any const& e) - { - *resourceValue_ = e; - } +resourceName (s.resourceName ()); +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - // InstanceDeploymentDescription - // - - InstanceDeploymentDescription:: - InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& node__, - ::XMLSchema::string< ACE_TCHAR > const& source__, - ::XMLSchema::IDREF< ACE_TCHAR > const& implementation__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), - source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)), - implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (implementation__)), - regulator__ () - { - name_->container (this); - node_->container (this); - source_->container (this); - implementation_->container (this); - } +return *this; +} - InstanceDeploymentDescription:: - InstanceDeploymentDescription (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), - source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)), - implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.implementation_)), - deployedResource_ (s.deployedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedResource_) : 0), - deployedSharedResource_ (s.deployedSharedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedSharedResource_) : 0), - id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), - regulator__ () - { - name_->container (this); - node_->container (this); - source_->container (this); - implementation_->container (this); - { - for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); - } - if (deployedResource_.get ()) deployedResource_->container (this); - if (deployedSharedResource_.get ()) deployedSharedResource_->container (this); - if (id_.get ()) id_->container (this); - } +// InstanceResourceDeploymentDescription +// +::CIAO::Config_Handlers::ResourceUsageKind const& InstanceResourceDeploymentDescription:: +resourceUsage () const +{ +return *resourceUsage_; +} - ::CIAO::Config_Handlers::InstanceDeploymentDescription& InstanceDeploymentDescription:: - operator= (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) - { - name (s.name ()); +void InstanceResourceDeploymentDescription:: +resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) +{ +*resourceUsage_ = e; +} - node (s.node ()); +// InstanceResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: +requirementName () const +{ +return *requirementName_; +} - source (s.source ()); +void InstanceResourceDeploymentDescription:: +requirementName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*requirementName_ = e; +} - implementation (s.implementation ()); +// InstanceResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: +resourceName () const +{ +return *resourceName_; +} - configProperty_.clear (); - { - for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); - } +void InstanceResourceDeploymentDescription:: +resourceName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceName_ = e; +} - if (s.deployedResource_.get ()) deployedResource (*(s.deployedResource_)); - else deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); +// InstanceResourceDeploymentDescription +// +InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: +begin_property () +{ +return property_.begin (); +} - if (s.deployedSharedResource_.get ()) deployedSharedResource (*(s.deployedSharedResource_)); - else deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); +InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: +end_property () +{ +return property_.end (); +} - if (s.id_.get ()) id (*(s.id_)); - else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); +InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: +begin_property () const +{ +return property_.begin (); +} - return *this; - } +InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: +end_property () const +{ +return property_.end (); +} +void InstanceResourceDeploymentDescription:: +add_property (::CIAO::Config_Handlers::Property const& e) +{ +property_.push_back (e); +} - // InstanceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: - name () const - { - return *name_; - } +size_t InstanceResourceDeploymentDescription:: +count_property(void) const +{ +return property_.size (); +} - void InstanceDeploymentDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } - // InstanceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: - node () const - { - return *node_; - } +// InstanceDeploymentDescription +// + +InstanceDeploymentDescription:: +InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& node__, +::XMLSchema::string< ACE_TCHAR > const& source__, +::XMLSchema::IDREF< ACE_TCHAR > const& implementation__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), +source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)), +implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (implementation__)), +regulator__ () +{ +name_->container (this); +node_->container (this); +source_->container (this); +implementation_->container (this); +} - void InstanceDeploymentDescription:: - node (::XMLSchema::string< ACE_TCHAR > const& e) - { - *node_ = e; - } +InstanceDeploymentDescription:: +InstanceDeploymentDescription (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), +source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)), +implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.implementation_)), +deployedResource_ (s.deployedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedResource_) : 0), +deployedSharedResource_ (s.deployedSharedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedSharedResource_) : 0), +id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), +regulator__ () +{ +name_->container (this); +node_->container (this); +source_->container (this); +implementation_->container (this); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - // InstanceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: - source () const - { - return *source_; - } +if (deployedResource_.get ()) deployedResource_->container (this); +if (deployedSharedResource_.get ()) deployedSharedResource_->container (this); +if (id_.get ()) id_->container (this); +} - void InstanceDeploymentDescription:: - source (::XMLSchema::string< ACE_TCHAR > const& e) - { - *source_ = e; - } +::CIAO::Config_Handlers::InstanceDeploymentDescription& InstanceDeploymentDescription:: +operator= (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) +{ +name (s.name ()); - // InstanceDeploymentDescription - // - ::XMLSchema::IDREF< ACE_TCHAR > const& InstanceDeploymentDescription:: - implementation () const - { - return *implementation_; - } +node (s.node ()); - void InstanceDeploymentDescription:: - implementation (::XMLSchema::IDREF< ACE_TCHAR > const& e) - { - *implementation_ = e; - } +source (s.source ()); - // InstanceDeploymentDescription - // - InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: - begin_configProperty () - { - return configProperty_.begin (); - } +implementation (s.implementation ()); - InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: - end_configProperty () - { - return configProperty_.end (); - } +configProperty_.clear (); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: - begin_configProperty () const - { - return configProperty_.begin (); - } +if (s.deployedResource_.get ()) deployedResource (*(s.deployedResource_)); +else deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); - InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: - end_configProperty () const - { - return configProperty_.end (); - } +if (s.deployedSharedResource_.get ()) deployedSharedResource (*(s.deployedSharedResource_)); +else deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); - void InstanceDeploymentDescription:: - add_configProperty (::CIAO::Config_Handlers::Property const& e) - { - configProperty_.push_back (e); - } +if (s.id_.get ()) id (*(s.id_)); +else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); - size_t InstanceDeploymentDescription:: - count_configProperty(void) const - { - return configProperty_.size (); - } +return *this; +} - // InstanceDeploymentDescription - // - bool InstanceDeploymentDescription:: - deployedResource_p () const - { - return deployedResource_.get () != 0; - } - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: - deployedResource () const - { - return *deployedResource_; - } +// InstanceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: +name () const +{ +return *name_; +} - void InstanceDeploymentDescription:: - deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) - { - if (deployedResource_.get ()) - { - *deployedResource_ = e; - } +void InstanceDeploymentDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - else - { - deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); - deployedResource_->container (this); - } - } +// InstanceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: +node () const +{ +return *node_; +} - // InstanceDeploymentDescription - // - bool InstanceDeploymentDescription:: - deployedSharedResource_p () const - { - return deployedSharedResource_.get () != 0; - } +void InstanceDeploymentDescription:: +node (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*node_ = e; +} - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: - deployedSharedResource () const - { - return *deployedSharedResource_; - } +// InstanceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: +source () const +{ +return *source_; +} - void InstanceDeploymentDescription:: - deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) - { - if (deployedSharedResource_.get ()) - { - *deployedSharedResource_ = e; - } +void InstanceDeploymentDescription:: +source (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*source_ = e; +} - else - { - deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); - deployedSharedResource_->container (this); - } - } +// InstanceDeploymentDescription +// +::XMLSchema::IDREF< ACE_TCHAR > const& InstanceDeploymentDescription:: +implementation () const +{ +return *implementation_; +} - // InstanceDeploymentDescription - // - bool InstanceDeploymentDescription:: - id_p () const - { - return id_.get () != 0; - } +void InstanceDeploymentDescription:: +implementation (::XMLSchema::IDREF< ACE_TCHAR > const& e) +{ +*implementation_ = e; +} - ::XMLSchema::ID< ACE_TCHAR > const& InstanceDeploymentDescription:: - id () const - { - return *id_; - } +// InstanceDeploymentDescription +// +InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: +begin_configProperty () +{ +return configProperty_.begin (); +} - ::XMLSchema::ID< ACE_TCHAR >& InstanceDeploymentDescription:: - id () - { - return *id_; - } +InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: +end_configProperty () +{ +return configProperty_.end (); +} - void InstanceDeploymentDescription:: - id (::XMLSchema::ID< ACE_TCHAR > const& e) - { - if (id_.get ()) - { - *id_ = e; - } +InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: +begin_configProperty () const +{ +return configProperty_.begin (); +} - else - { - id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); - id_->container (this); - } - } +InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: +end_configProperty () const +{ +return configProperty_.end (); +} +void InstanceDeploymentDescription:: +add_configProperty (::CIAO::Config_Handlers::Property const& e) +{ +configProperty_.push_back (e); +} - // CCMComponentPortKind - // +size_t InstanceDeploymentDescription:: +count_configProperty(void) const +{ +return configProperty_.size (); +} - CCMComponentPortKind::Value CCMComponentPortKind:: - integral () const - { - return v_; - } +// InstanceDeploymentDescription +// +bool InstanceDeploymentDescription:: +deployedResource_p () const +{ +return deployedResource_.get () != 0; +} - bool - operator== (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) - { - return a.v_ == b.v_; - } +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: +deployedResource () const +{ +return *deployedResource_; +} - bool - operator!= (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) - { - return a.v_ != b.v_; - } +void InstanceDeploymentDescription:: +deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) +{ +if (deployedResource_.get ()) +{ +*deployedResource_ = e; +} - CCMComponentPortKind:: - CCMComponentPortKind (CCMComponentPortKind::Value v) - : v_ (v) - { - } +else +{ +deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); +deployedResource_->container (this); +} +} - // ComponentPortDescription - // - - ComponentPortDescription:: - ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& specificType__, - ::XMLSchema::string< ACE_TCHAR > const& supportedType__, - ::XMLSchema::string< ACE_TCHAR > const& provider__, - ::XMLSchema::string< ACE_TCHAR > const& exclusiveProvider__, - ::XMLSchema::string< ACE_TCHAR > const& exclusiveUser__, - ::XMLSchema::string< ACE_TCHAR > const& optional__, - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - specificType_ (new ::XMLSchema::string< ACE_TCHAR > (specificType__)), - supportedType_ (new ::XMLSchema::string< ACE_TCHAR > (supportedType__)), - provider_ (new ::XMLSchema::string< ACE_TCHAR > (provider__)), - exclusiveProvider_ (new ::XMLSchema::string< ACE_TCHAR > (exclusiveProvider__)), - exclusiveUser_ (new ::XMLSchema::string< ACE_TCHAR > (exclusiveUser__)), - optional_ (new ::XMLSchema::string< ACE_TCHAR > (optional__)), - kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), - regulator__ () - { - name_->container (this); - specificType_->container (this); - supportedType_->container (this); - provider_->container (this); - exclusiveProvider_->container (this); - exclusiveUser_->container (this); - optional_->container (this); - kind_->container (this); - } +// InstanceDeploymentDescription +// +bool InstanceDeploymentDescription:: +deployedSharedResource_p () const +{ +return deployedSharedResource_.get () != 0; +} - ComponentPortDescription:: - ComponentPortDescription (::CIAO::Config_Handlers::ComponentPortDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - specificType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_)), - supportedType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.supportedType_)), - provider_ (new ::XMLSchema::string< ACE_TCHAR > (*s.provider_)), - exclusiveProvider_ (new ::XMLSchema::string< ACE_TCHAR > (*s.exclusiveProvider_)), - exclusiveUser_ (new ::XMLSchema::string< ACE_TCHAR > (*s.exclusiveUser_)), - optional_ (new ::XMLSchema::string< ACE_TCHAR > (*s.optional_)), - kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), - regulator__ () - { - name_->container (this); - specificType_->container (this); - supportedType_->container (this); - provider_->container (this); - exclusiveProvider_->container (this); - exclusiveUser_->container (this); - optional_->container (this); - kind_->container (this); - } +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: +deployedSharedResource () const +{ +return *deployedSharedResource_; +} - ::CIAO::Config_Handlers::ComponentPortDescription& ComponentPortDescription:: - operator= (::CIAO::Config_Handlers::ComponentPortDescription const& s) - { - name (s.name ()); +void InstanceDeploymentDescription:: +deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) +{ +if (deployedSharedResource_.get ()) +{ +*deployedSharedResource_ = e; +} - specificType (s.specificType ()); +else +{ +deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); +deployedSharedResource_->container (this); +} +} - supportedType (s.supportedType ()); +// InstanceDeploymentDescription +// +bool InstanceDeploymentDescription:: +id_p () const +{ +return id_.get () != 0; +} - provider (s.provider ()); +::XMLSchema::ID< ACE_TCHAR > const& InstanceDeploymentDescription:: +id () const +{ +return *id_; +} - exclusiveProvider (s.exclusiveProvider ()); +::XMLSchema::ID< ACE_TCHAR >& InstanceDeploymentDescription:: +id () +{ +return *id_; +} - exclusiveUser (s.exclusiveUser ()); +void InstanceDeploymentDescription:: +id (::XMLSchema::ID< ACE_TCHAR > const& e) +{ +if (id_.get ()) +{ +*id_ = e; +} - optional (s.optional ()); +else +{ +id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); +id_->container (this); +} +} - kind (s.kind ()); - return *this; - } +// CCMComponentPortKind +// +CCMComponentPortKind::Value CCMComponentPortKind:: +integral () const +{ +return v_; +} - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - name () const - { - return *name_; - } +bool +operator== (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) +{ +return a.v_ == b.v_; +} - void ComponentPortDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +bool +operator!= (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) +{ +return a.v_ != b.v_; +} - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - specificType () const - { - return *specificType_; - } +CCMComponentPortKind:: +CCMComponentPortKind (CCMComponentPortKind::Value v) +: v_ (v) +{ +} - void ComponentPortDescription:: - specificType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *specificType_ = e; - } +// ComponentPortDescription +// + +ComponentPortDescription:: +ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::boolean const& provider__, +::XMLSchema::boolean const& exclusiveProvider__, +::XMLSchema::boolean const& exclusiveUser__, +::XMLSchema::boolean const& optional__, +::CIAO::Config_Handlers::CCMComponentPortKind const& kind__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +provider_ (new ::XMLSchema::boolean (provider__)), +exclusiveProvider_ (new ::XMLSchema::boolean (exclusiveProvider__)), +exclusiveUser_ (new ::XMLSchema::boolean (exclusiveUser__)), +optional_ (new ::XMLSchema::boolean (optional__)), +kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), +regulator__ () +{ +name_->container (this); +provider_->container (this); +exclusiveProvider_->container (this); +exclusiveUser_->container (this); +optional_->container (this); +kind_->container (this); +} - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - supportedType () const - { - return *supportedType_; - } +ComponentPortDescription:: +ComponentPortDescription (::CIAO::Config_Handlers::ComponentPortDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), +provider_ (new ::XMLSchema::boolean (*s.provider_)), +exclusiveProvider_ (new ::XMLSchema::boolean (*s.exclusiveProvider_)), +exclusiveUser_ (new ::XMLSchema::boolean (*s.exclusiveUser_)), +optional_ (new ::XMLSchema::boolean (*s.optional_)), +kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), +regulator__ () +{ +name_->container (this); +if (specificType_.get ()) specificType_->container (this); +{ +for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); +} - void ComponentPortDescription:: - supportedType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *supportedType_ = e; - } +provider_->container (this); +exclusiveProvider_->container (this); +exclusiveUser_->container (this); +optional_->container (this); +kind_->container (this); +} - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - provider () const - { - return *provider_; - } +::CIAO::Config_Handlers::ComponentPortDescription& ComponentPortDescription:: +operator= (::CIAO::Config_Handlers::ComponentPortDescription const& s) +{ +name (s.name ()); - void ComponentPortDescription:: - provider (::XMLSchema::string< ACE_TCHAR > const& e) - { - *provider_ = e; - } +if (s.specificType_.get ()) specificType (*(s.specificType_)); +else specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - exclusiveProvider () const - { - return *exclusiveProvider_; - } +supportedType_.clear (); +{ +for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); +} - void ComponentPortDescription:: - exclusiveProvider (::XMLSchema::string< ACE_TCHAR > const& e) - { - *exclusiveProvider_ = e; - } +provider (s.provider ()); - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - exclusiveUser () const - { - return *exclusiveUser_; - } +exclusiveProvider (s.exclusiveProvider ()); - void ComponentPortDescription:: - exclusiveUser (::XMLSchema::string< ACE_TCHAR > const& e) - { - *exclusiveUser_ = e; - } +exclusiveUser (s.exclusiveUser ()); - // ComponentPortDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: - optional () const - { - return *optional_; - } +optional (s.optional ()); - void ComponentPortDescription:: - optional (::XMLSchema::string< ACE_TCHAR > const& e) - { - *optional_ = e; - } +kind (s.kind ()); - // ComponentPortDescription - // - ::CIAO::Config_Handlers::CCMComponentPortKind const& ComponentPortDescription:: - kind () const - { - return *kind_; - } +return *this; +} - void ComponentPortDescription:: - kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) - { - *kind_ = e; - } +// ComponentPortDescription +// +::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: +name () const +{ +return *name_; +} - // ComponentPropertyDescription - // +void ComponentPortDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - ComponentPropertyDescription:: - ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::DataType const& type__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - type_ (new ::CIAO::Config_Handlers::DataType (type__)), - regulator__ () - { - name_->container (this); - type_->container (this); - } +// ComponentPortDescription +// +bool ComponentPortDescription:: +specificType_p () const +{ +return specificType_.get () != 0; +} - ComponentPropertyDescription:: - ComponentPropertyDescription (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), - regulator__ () - { - name_->container (this); - type_->container (this); - } +::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: +specificType () const +{ +return *specificType_; +} - ::CIAO::Config_Handlers::ComponentPropertyDescription& ComponentPropertyDescription:: - operator= (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) - { - name (s.name ()); +void ComponentPortDescription:: +specificType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (specificType_.get ()) +{ +*specificType_ = e; +} - type (s.type ()); +else +{ +specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +specificType_->container (this); +} +} - return *this; - } +// ComponentPortDescription +// +ComponentPortDescription::supportedType_iterator ComponentPortDescription:: +begin_supportedType () +{ +return supportedType_.begin (); +} +ComponentPortDescription::supportedType_iterator ComponentPortDescription:: +end_supportedType () +{ +return supportedType_.end (); +} - // ComponentPropertyDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPropertyDescription:: - name () const - { - return *name_; - } +ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: +begin_supportedType () const +{ +return supportedType_.begin (); +} - void ComponentPropertyDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: +end_supportedType () const +{ +return supportedType_.end (); +} - // ComponentPropertyDescription - // - ::CIAO::Config_Handlers::DataType const& ComponentPropertyDescription:: - type () const - { - return *type_; - } +void ComponentPortDescription:: +add_supportedType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +supportedType_.push_back (e); +} - void ComponentPropertyDescription:: - type (::CIAO::Config_Handlers::DataType const& e) - { - *type_ = e; - } +size_t ComponentPortDescription:: +count_supportedType(void) const +{ +return supportedType_.size (); +} +// ComponentPortDescription +// +::XMLSchema::boolean const& ComponentPortDescription:: +provider () const +{ +return *provider_; +} - // ComponentExternalPortEndpoint - // +void ComponentPortDescription:: +provider (::XMLSchema::boolean const& e) +{ +*provider_ = e; +} - ComponentExternalPortEndpoint:: - ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), - regulator__ () - { - portName_->container (this); - } +// ComponentPortDescription +// +::XMLSchema::boolean const& ComponentPortDescription:: +exclusiveProvider () const +{ +return *exclusiveProvider_; +} - ComponentExternalPortEndpoint:: - ComponentExternalPortEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), - regulator__ () - { - portName_->container (this); - } +void ComponentPortDescription:: +exclusiveProvider (::XMLSchema::boolean const& e) +{ +*exclusiveProvider_ = e; +} - ::CIAO::Config_Handlers::ComponentExternalPortEndpoint& ComponentExternalPortEndpoint:: - operator= (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) - { - portName (s.portName ()); +// ComponentPortDescription +// +::XMLSchema::boolean const& ComponentPortDescription:: +exclusiveUser () const +{ +return *exclusiveUser_; +} - return *this; - } +void ComponentPortDescription:: +exclusiveUser (::XMLSchema::boolean const& e) +{ +*exclusiveUser_ = e; +} +// ComponentPortDescription +// +::XMLSchema::boolean const& ComponentPortDescription:: +optional () const +{ +return *optional_; +} - // ComponentExternalPortEndpoint - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentExternalPortEndpoint:: - portName () const - { - return *portName_; - } +void ComponentPortDescription:: +optional (::XMLSchema::boolean const& e) +{ +*optional_ = e; +} - void ComponentExternalPortEndpoint:: - portName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *portName_ = e; - } +// ComponentPortDescription +// +::CIAO::Config_Handlers::CCMComponentPortKind const& ComponentPortDescription:: +kind () const +{ +return *kind_; +} +void ComponentPortDescription:: +kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) +{ +*kind_ = e; +} - // PlanSubcomponentPortEndpoint - // - PlanSubcomponentPortEndpoint:: - PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, - ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), - kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), - instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), - regulator__ () - { - portName_->container (this); - kind_->container (this); - instance_->container (this); - } +// ComponentPropertyDescription +// - PlanSubcomponentPortEndpoint:: - PlanSubcomponentPortEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), - provider_ (s.provider_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.provider_) : 0), - kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), - instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), - regulator__ () - { - portName_->container (this); - if (provider_.get ()) provider_->container (this); - kind_->container (this); - instance_->container (this); - } +ComponentPropertyDescription:: +ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::DataType const& type__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +type_ (new ::CIAO::Config_Handlers::DataType (type__)), +regulator__ () +{ +name_->container (this); +type_->container (this); +} - ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint& PlanSubcomponentPortEndpoint:: - operator= (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) - { - portName (s.portName ()); +ComponentPropertyDescription:: +ComponentPropertyDescription (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), +regulator__ () +{ +name_->container (this); +type_->container (this); +} - if (s.provider_.get ()) provider (*(s.provider_)); - else provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +::CIAO::Config_Handlers::ComponentPropertyDescription& ComponentPropertyDescription:: +operator= (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) +{ +name (s.name ()); - kind (s.kind ()); +type (s.type ()); - instance (s.instance ()); +return *this; +} - return *this; - } +// ComponentPropertyDescription +// +::XMLSchema::string< ACE_TCHAR > const& ComponentPropertyDescription:: +name () const +{ +return *name_; +} - // PlanSubcomponentPortEndpoint - // - ::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: - portName () const - { - return *portName_; - } +void ComponentPropertyDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - void PlanSubcomponentPortEndpoint:: - portName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *portName_ = e; - } +// ComponentPropertyDescription +// +::CIAO::Config_Handlers::DataType const& ComponentPropertyDescription:: +type () const +{ +return *type_; +} - // PlanSubcomponentPortEndpoint - // - bool PlanSubcomponentPortEndpoint:: - provider_p () const - { - return provider_.get () != 0; - } +void ComponentPropertyDescription:: +type (::CIAO::Config_Handlers::DataType const& e) +{ +*type_ = e; +} - ::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: - provider () const - { - return *provider_; - } - void PlanSubcomponentPortEndpoint:: - provider (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (provider_.get ()) - { - *provider_ = e; - } +// ComponentExternalPortEndpoint +// - else - { - provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - provider_->container (this); - } - } +ComponentExternalPortEndpoint:: +ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), +regulator__ () +{ +portName_->container (this); +} - // PlanSubcomponentPortEndpoint - // - ::CIAO::Config_Handlers::CCMComponentPortKind const& PlanSubcomponentPortEndpoint:: - kind () const - { - return *kind_; - } +ComponentExternalPortEndpoint:: +ComponentExternalPortEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), +regulator__ () +{ +portName_->container (this); +} - void PlanSubcomponentPortEndpoint:: - kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) - { - *kind_ = e; - } +::CIAO::Config_Handlers::ComponentExternalPortEndpoint& ComponentExternalPortEndpoint:: +operator= (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) +{ +portName (s.portName ()); - // PlanSubcomponentPortEndpoint - // - ::XMLSchema::IDREF< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: - instance () const - { - return *instance_; - } +return *this; +} - void PlanSubcomponentPortEndpoint:: - instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) - { - *instance_ = e; - } +// ComponentExternalPortEndpoint +// +::XMLSchema::string< ACE_TCHAR > const& ComponentExternalPortEndpoint:: +portName () const +{ +return *portName_; +} - // ExternalReferenceEndpoint - // +void ComponentExternalPortEndpoint:: +portName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*portName_ = e; +} - ExternalReferenceEndpoint:: - ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__) - : - ::XSCRT::Type (), - location_ (new ::XMLSchema::string< ACE_TCHAR > (location__)), - regulator__ () - { - location_->container (this); - } - ExternalReferenceEndpoint:: - ExternalReferenceEndpoint (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) - : - ::XSCRT::Type (), - location_ (new ::XMLSchema::string< ACE_TCHAR > (*s.location_)), - regulator__ () - { - location_->container (this); - } +// PlanSubcomponentPortEndpoint +// - ::CIAO::Config_Handlers::ExternalReferenceEndpoint& ExternalReferenceEndpoint:: - operator= (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) - { - location (s.location ()); +PlanSubcomponentPortEndpoint:: +PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, +::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, +::XMLSchema::IDREF< ACE_TCHAR > const& instance__) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), +kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), +regulator__ () +{ +portName_->container (this); +kind_->container (this); +instance_->container (this); +} - return *this; - } +PlanSubcomponentPortEndpoint:: +PlanSubcomponentPortEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), +provider_ (s.provider_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.provider_) : 0), +kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), +regulator__ () +{ +portName_->container (this); +if (provider_.get ()) provider_->container (this); +kind_->container (this); +instance_->container (this); +} +::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint& PlanSubcomponentPortEndpoint:: +operator= (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) +{ +portName (s.portName ()); - // ExternalReferenceEndpoint - // - ::XMLSchema::string< ACE_TCHAR > const& ExternalReferenceEndpoint:: - location () const - { - return *location_; - } +if (s.provider_.get ()) provider (*(s.provider_)); +else provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - void ExternalReferenceEndpoint:: - location (::XMLSchema::string< ACE_TCHAR > const& e) - { - *location_ = e; - } +kind (s.kind ()); +instance (s.instance ()); - // ConnectionResourceDeploymentDescription - // - - ConnectionResourceDeploymentDescription:: - ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, - ::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__) - : - ::XSCRT::Type (), - targetName_ (new ::XMLSchema::string< ACE_TCHAR > (targetName__)), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (resourceValue__)), - regulator__ () - { - targetName_->container (this); - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } +return *this; +} - ConnectionResourceDeploymentDescription:: - ConnectionResourceDeploymentDescription (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) - : - ::XSCRT::Type (), - targetName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.targetName_)), - requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), - resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), - resourceValue_ (new ::CIAO::Config_Handlers::Any (*s.resourceValue_)), - regulator__ () - { - targetName_->container (this); - requirementName_->container (this); - resourceName_->container (this); - resourceValue_->container (this); - } - ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription& ConnectionResourceDeploymentDescription:: - operator= (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) - { - targetName (s.targetName ()); +// PlanSubcomponentPortEndpoint +// +::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: +portName () const +{ +return *portName_; +} - requirementName (s.requirementName ()); +void PlanSubcomponentPortEndpoint:: +portName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*portName_ = e; +} - resourceName (s.resourceName ()); +// PlanSubcomponentPortEndpoint +// +bool PlanSubcomponentPortEndpoint:: +provider_p () const +{ +return provider_.get () != 0; +} - resourceValue (s.resourceValue ()); +::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: +provider () const +{ +return *provider_; +} - return *this; - } +void PlanSubcomponentPortEndpoint:: +provider (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (provider_.get ()) +{ +*provider_ = e; +} +else +{ +provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +provider_->container (this); +} +} - // ConnectionResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: - targetName () const - { - return *targetName_; - } +// PlanSubcomponentPortEndpoint +// +::CIAO::Config_Handlers::CCMComponentPortKind const& PlanSubcomponentPortEndpoint:: +kind () const +{ +return *kind_; +} - void ConnectionResourceDeploymentDescription:: - targetName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *targetName_ = e; - } +void PlanSubcomponentPortEndpoint:: +kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) +{ +*kind_ = e; +} - // ConnectionResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: - requirementName () const - { - return *requirementName_; - } +// PlanSubcomponentPortEndpoint +// +::XMLSchema::IDREF< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: +instance () const +{ +return *instance_; +} - void ConnectionResourceDeploymentDescription:: - requirementName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requirementName_ = e; - } +void PlanSubcomponentPortEndpoint:: +instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) +{ +*instance_ = e; +} - // ConnectionResourceDeploymentDescription - // - ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: - resourceName () const - { - return *resourceName_; - } - void ConnectionResourceDeploymentDescription:: - resourceName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceName_ = e; - } +// ExternalReferenceEndpoint +// - // ConnectionResourceDeploymentDescription - // - ::CIAO::Config_Handlers::Any const& ConnectionResourceDeploymentDescription:: - resourceValue () const - { - return *resourceValue_; - } +ExternalReferenceEndpoint:: +ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__) +: +::XSCRT::Type (), +location_ (new ::XMLSchema::string< ACE_TCHAR > (location__)), +regulator__ () +{ +location_->container (this); +} - void ConnectionResourceDeploymentDescription:: - resourceValue (::CIAO::Config_Handlers::Any const& e) - { - *resourceValue_ = e; - } +ExternalReferenceEndpoint:: +ExternalReferenceEndpoint (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) +: +::XSCRT::Type (), +location_ (new ::XMLSchema::string< ACE_TCHAR > (*s.location_)), +regulator__ () +{ +location_->container (this); +} +::CIAO::Config_Handlers::ExternalReferenceEndpoint& ExternalReferenceEndpoint:: +operator= (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) +{ +location (s.location ()); - // PlanConnectionDescription - // +return *this; +} - PlanConnectionDescription:: - PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } - PlanConnectionDescription:: - PlanConnectionDescription (::CIAO::Config_Handlers::PlanConnectionDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - source_ (s.source_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.source_) : 0), - regulator__ () - { - name_->container (this); - if (source_.get ()) source_->container (this); - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +// ExternalReferenceEndpoint +// +::XMLSchema::string< ACE_TCHAR > const& ExternalReferenceEndpoint:: +location () const +{ +return *location_; +} - { - for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); - } +void ExternalReferenceEndpoint:: +location (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*location_ = e; +} - { - for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); - } - { - for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); - } +// ConnectionResourceDeploymentDescription +// - { - for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); - } - } +ConnectionResourceDeploymentDescription:: +ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, +::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__) +: +::XSCRT::Type (), +targetName_ (new ::XMLSchema::string< ACE_TCHAR > (targetName__)), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), +regulator__ () +{ +targetName_->container (this); +requirementName_->container (this); +resourceName_->container (this); +} - ::CIAO::Config_Handlers::PlanConnectionDescription& PlanConnectionDescription:: - operator= (::CIAO::Config_Handlers::PlanConnectionDescription const& s) - { - name (s.name ()); +ConnectionResourceDeploymentDescription:: +ConnectionResourceDeploymentDescription (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) +: +::XSCRT::Type (), +targetName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.targetName_)), +requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), +resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), +regulator__ () +{ +targetName_->container (this); +requirementName_->container (this); +resourceName_->container (this); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - if (s.source_.get ()) source (*(s.source_)); - else source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription& ConnectionResourceDeploymentDescription:: +operator= (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) +{ +targetName (s.targetName ()); - deployRequirement_.clear (); - { - for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); - } +requirementName (s.requirementName ()); - externalEndpoint_.clear (); - { - for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); - } +resourceName (s.resourceName ()); - internalEndpoint_.clear (); - { - for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); - } +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - externalReference_.clear (); - { - for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); - } +return *this; +} - deployedResource_.clear (); - { - for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); - } - return *this; - } +// ConnectionResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: +targetName () const +{ +return *targetName_; +} +void ConnectionResourceDeploymentDescription:: +targetName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*targetName_ = e; +} - // PlanConnectionDescription - // - ::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: - name () const - { - return *name_; - } +// ConnectionResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: +requirementName () const +{ +return *requirementName_; +} - void PlanConnectionDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void ConnectionResourceDeploymentDescription:: +requirementName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*requirementName_ = e; +} - // PlanConnectionDescription - // - bool PlanConnectionDescription:: - source_p () const - { - return source_.get () != 0; - } +// ConnectionResourceDeploymentDescription +// +::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: +resourceName () const +{ +return *resourceName_; +} - ::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: - source () const - { - return *source_; - } +void ConnectionResourceDeploymentDescription:: +resourceName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceName_ = e; +} - void PlanConnectionDescription:: - source (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (source_.get ()) - { - *source_ = e; - } +// ConnectionResourceDeploymentDescription +// +ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: +begin_property () +{ +return property_.begin (); +} - else - { - source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - source_->container (this); - } - } +ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: +end_property () +{ +return property_.end (); +} - // PlanConnectionDescription - // - PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: - begin_deployRequirement () - { - return deployRequirement_.begin (); - } +ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: +begin_property () const +{ +return property_.begin (); +} - PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: - end_deployRequirement () - { - return deployRequirement_.end (); - } +ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: +end_property () const +{ +return property_.end (); +} - PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: - begin_deployRequirement () const - { - return deployRequirement_.begin (); - } +void ConnectionResourceDeploymentDescription:: +add_property (::CIAO::Config_Handlers::Property const& e) +{ +property_.push_back (e); +} - PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: - end_deployRequirement () const - { - return deployRequirement_.end (); - } +size_t ConnectionResourceDeploymentDescription:: +count_property(void) const +{ +return property_.size (); +} - void PlanConnectionDescription:: - add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) - { - deployRequirement_.push_back (e); - } - size_t PlanConnectionDescription:: - count_deployRequirement(void) const - { - return deployRequirement_.size (); - } +// PlanConnectionDescription +// - // PlanConnectionDescription - // - PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: - begin_externalEndpoint () - { - return externalEndpoint_.begin (); - } +PlanConnectionDescription:: +PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: - end_externalEndpoint () - { - return externalEndpoint_.end (); - } +PlanConnectionDescription:: +PlanConnectionDescription (::CIAO::Config_Handlers::PlanConnectionDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +source_ (s.source_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.source_) : 0), +regulator__ () +{ +name_->container (this); +if (source_.get ()) source_->container (this); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: - begin_externalEndpoint () const - { - return externalEndpoint_.begin (); - } +{ +for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); +} - PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: - end_externalEndpoint () const - { - return externalEndpoint_.end (); - } +{ +for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); +} - void PlanConnectionDescription:: - add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) - { - externalEndpoint_.push_back (e); - } +{ +for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); +} - size_t PlanConnectionDescription:: - count_externalEndpoint(void) const - { - return externalEndpoint_.size (); - } +{ +for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); +} +} - // PlanConnectionDescription - // - PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: - begin_internalEndpoint () - { - return internalEndpoint_.begin (); - } +::CIAO::Config_Handlers::PlanConnectionDescription& PlanConnectionDescription:: +operator= (::CIAO::Config_Handlers::PlanConnectionDescription const& s) +{ +name (s.name ()); - PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: - end_internalEndpoint () - { - return internalEndpoint_.end (); - } +if (s.source_.get ()) source (*(s.source_)); +else source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: - begin_internalEndpoint () const - { - return internalEndpoint_.begin (); - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: - end_internalEndpoint () const - { - return internalEndpoint_.end (); - } +externalEndpoint_.clear (); +{ +for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); +} - void PlanConnectionDescription:: - add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& e) - { - internalEndpoint_.push_back (e); - } +internalEndpoint_.clear (); +{ +for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); +} - size_t PlanConnectionDescription:: - count_internalEndpoint(void) const - { - return internalEndpoint_.size (); - } +externalReference_.clear (); +{ +for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); +} - // PlanConnectionDescription - // - PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: - begin_externalReference () - { - return externalReference_.begin (); - } +deployedResource_.clear (); +{ +for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); +} - PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: - end_externalReference () - { - return externalReference_.end (); - } +return *this; +} - PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: - begin_externalReference () const - { - return externalReference_.begin (); - } - PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: - end_externalReference () const - { - return externalReference_.end (); - } +// PlanConnectionDescription +// +::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: +name () const +{ +return *name_; +} - void PlanConnectionDescription:: - add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) - { - externalReference_.push_back (e); - } +void PlanConnectionDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - size_t PlanConnectionDescription:: - count_externalReference(void) const - { - return externalReference_.size (); - } +// PlanConnectionDescription +// +bool PlanConnectionDescription:: +source_p () const +{ +return source_.get () != 0; +} - // PlanConnectionDescription - // - PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: - begin_deployedResource () - { - return deployedResource_.begin (); - } +::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: +source () const +{ +return *source_; +} - PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: - end_deployedResource () - { - return deployedResource_.end (); - } +void PlanConnectionDescription:: +source (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (source_.get ()) +{ +*source_ = e; +} - PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: - begin_deployedResource () const - { - return deployedResource_.begin (); - } +else +{ +source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +source_->container (this); +} +} - PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: - end_deployedResource () const - { - return deployedResource_.end (); - } +// PlanConnectionDescription +// +PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} - void PlanConnectionDescription:: - add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& e) - { - deployedResource_.push_back (e); - } +PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} - size_t PlanConnectionDescription:: - count_deployedResource(void) const - { - return deployedResource_.size (); - } +PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} +PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} - // ImplementationDependency - // +void PlanConnectionDescription:: +add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) +{ +deployRequirement_.push_back (e); +} - ImplementationDependency:: - ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__) - : - ::XSCRT::Type (), - requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), - regulator__ () - { - requiredType_->container (this); - } +size_t PlanConnectionDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} - ImplementationDependency:: - ImplementationDependency (::CIAO::Config_Handlers::ImplementationDependency const& s) - : - ::XSCRT::Type (), - requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), - regulator__ () - { - requiredType_->container (this); - } +// PlanConnectionDescription +// +PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: +begin_externalEndpoint () +{ +return externalEndpoint_.begin (); +} - ::CIAO::Config_Handlers::ImplementationDependency& ImplementationDependency:: - operator= (::CIAO::Config_Handlers::ImplementationDependency const& s) - { - requiredType (s.requiredType ()); +PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: +end_externalEndpoint () +{ +return externalEndpoint_.end (); +} - return *this; - } +PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: +begin_externalEndpoint () const +{ +return externalEndpoint_.begin (); +} +PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: +end_externalEndpoint () const +{ +return externalEndpoint_.end (); +} - // ImplementationDependency - // - ::XMLSchema::string< ACE_TCHAR > const& ImplementationDependency:: - requiredType () const - { - return *requiredType_; - } +void PlanConnectionDescription:: +add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) +{ +externalEndpoint_.push_back (e); +} - void ImplementationDependency:: - requiredType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requiredType_ = e; - } +size_t PlanConnectionDescription:: +count_externalEndpoint(void) const +{ +return externalEndpoint_.size (); +} +// PlanConnectionDescription +// +PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: +begin_internalEndpoint () +{ +return internalEndpoint_.begin (); +} - // Capability - // +PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: +end_internalEndpoint () +{ +return internalEndpoint_.end (); +} - Capability:: - Capability (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::CIAO::Config_Handlers::SatisfierProperty const& property__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), - property_ (new ::CIAO::Config_Handlers::SatisfierProperty (property__)), - regulator__ () - { - name_->container (this); - resourceType_->container (this); - property_->container (this); - } +PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: +begin_internalEndpoint () const +{ +return internalEndpoint_.begin (); +} - Capability:: - Capability (::CIAO::Config_Handlers::Capability const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), - property_ (new ::CIAO::Config_Handlers::SatisfierProperty (*s.property_)), - regulator__ () - { - name_->container (this); - resourceType_->container (this); - property_->container (this); - } +PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: +end_internalEndpoint () const +{ +return internalEndpoint_.end (); +} - ::CIAO::Config_Handlers::Capability& Capability:: - operator= (::CIAO::Config_Handlers::Capability const& s) - { - name (s.name ()); +void PlanConnectionDescription:: +add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& e) +{ +internalEndpoint_.push_back (e); +} - resourceType (s.resourceType ()); +size_t PlanConnectionDescription:: +count_internalEndpoint(void) const +{ +return internalEndpoint_.size (); +} - property (s.property ()); +// PlanConnectionDescription +// +PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: +begin_externalReference () +{ +return externalReference_.begin (); +} - return *this; - } +PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: +end_externalReference () +{ +return externalReference_.end (); +} +PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: +begin_externalReference () const +{ +return externalReference_.begin (); +} - // Capability - // - ::XMLSchema::string< ACE_TCHAR > const& Capability:: - name () const - { - return *name_; - } +PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: +end_externalReference () const +{ +return externalReference_.end (); +} - void Capability:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void PlanConnectionDescription:: +add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) +{ +externalReference_.push_back (e); +} - // Capability - // - ::XMLSchema::string< ACE_TCHAR > const& Capability:: - resourceType () const - { - return *resourceType_; - } +size_t PlanConnectionDescription:: +count_externalReference(void) const +{ +return externalReference_.size (); +} - void Capability:: - resourceType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceType_ = e; - } +// PlanConnectionDescription +// +PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: +begin_deployedResource () +{ +return deployedResource_.begin (); +} - // Capability - // - ::CIAO::Config_Handlers::SatisfierProperty const& Capability:: - property () const - { - return *property_; - } +PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: +end_deployedResource () +{ +return deployedResource_.end (); +} - void Capability:: - property (::CIAO::Config_Handlers::SatisfierProperty const& e) - { - *property_ = e; - } +PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: +begin_deployedResource () const +{ +return deployedResource_.begin (); +} +PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: +end_deployedResource () const +{ +return deployedResource_.end (); +} - // ImplementationRequirement - // - - ImplementationRequirement:: - ImplementationRequirement (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, - ::XMLSchema::string< ACE_TCHAR > const& resourcePort__, - ::XMLSchema::string< ACE_TCHAR > const& componentPort__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Property const& property__) - : - ::XSCRT::Type (), - resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (resourceUsage__)), - resourcePort_ (new ::XMLSchema::string< ACE_TCHAR > (resourcePort__)), - componentPort_ (new ::XMLSchema::string< ACE_TCHAR > (componentPort__)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - property_ (new ::CIAO::Config_Handlers::Property (property__)), - regulator__ () - { - resourceUsage_->container (this); - resourcePort_->container (this); - componentPort_->container (this); - resourceType_->container (this); - name_->container (this); - property_->container (this); - } +void PlanConnectionDescription:: +add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& e) +{ +deployedResource_.push_back (e); +} - ImplementationRequirement:: - ImplementationRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& s) - : - ::XSCRT::Type (), - resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_)), - resourcePort_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourcePort_)), - componentPort_ (new ::XMLSchema::string< ACE_TCHAR > (*s.componentPort_)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - property_ (new ::CIAO::Config_Handlers::Property (*s.property_)), - regulator__ () - { - resourceUsage_->container (this); - resourcePort_->container (this); - componentPort_->container (this); - resourceType_->container (this); - name_->container (this); - property_->container (this); - } +size_t PlanConnectionDescription:: +count_deployedResource(void) const +{ +return deployedResource_.size (); +} - ::CIAO::Config_Handlers::ImplementationRequirement& ImplementationRequirement:: - operator= (::CIAO::Config_Handlers::ImplementationRequirement const& s) - { - resourceUsage (s.resourceUsage ()); - resourcePort (s.resourcePort ()); +// ImplementationDependency +// - componentPort (s.componentPort ()); +ImplementationDependency:: +ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__) +: +::XSCRT::Type (), +requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), +regulator__ () +{ +requiredType_->container (this); +} - resourceType (s.resourceType ()); +ImplementationDependency:: +ImplementationDependency (::CIAO::Config_Handlers::ImplementationDependency const& s) +: +::XSCRT::Type (), +requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), +regulator__ () +{ +requiredType_->container (this); +} - name (s.name ()); +::CIAO::Config_Handlers::ImplementationDependency& ImplementationDependency:: +operator= (::CIAO::Config_Handlers::ImplementationDependency const& s) +{ +requiredType (s.requiredType ()); - property (s.property ()); +return *this; +} - return *this; - } +// ImplementationDependency +// +::XMLSchema::string< ACE_TCHAR > const& ImplementationDependency:: +requiredType () const +{ +return *requiredType_; +} - // ImplementationRequirement - // - ::CIAO::Config_Handlers::ResourceUsageKind const& ImplementationRequirement:: - resourceUsage () const - { - return *resourceUsage_; - } +void ImplementationDependency:: +requiredType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*requiredType_ = e; +} - void ImplementationRequirement:: - resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) - { - *resourceUsage_ = e; - } - // ImplementationRequirement - // - ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: - resourcePort () const - { - return *resourcePort_; - } +// Capability +// - void ImplementationRequirement:: - resourcePort (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourcePort_ = e; - } +Capability:: +Capability (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - // ImplementationRequirement - // - ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: - componentPort () const - { - return *componentPort_; - } +Capability:: +Capability (::CIAO::Config_Handlers::Capability const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +regulator__ () +{ +name_->container (this); +{ +for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); +} - void ImplementationRequirement:: - componentPort (::XMLSchema::string< ACE_TCHAR > const& e) - { - *componentPort_ = e; - } +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - // ImplementationRequirement - // - ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: - resourceType () const - { - return *resourceType_; - } +::CIAO::Config_Handlers::Capability& Capability:: +operator= (::CIAO::Config_Handlers::Capability const& s) +{ +name (s.name ()); - void ImplementationRequirement:: - resourceType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceType_ = e; - } +resourceType_.clear (); +{ +for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); +} - // ImplementationRequirement - // - ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: - name () const - { - return *name_; - } +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - void ImplementationRequirement:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +return *this; +} - // ImplementationRequirement - // - ::CIAO::Config_Handlers::Property const& ImplementationRequirement:: - property () const - { - return *property_; - } - void ImplementationRequirement:: - property (::CIAO::Config_Handlers::Property const& e) - { - *property_ = e; - } +// Capability +// +::XMLSchema::string< ACE_TCHAR > const& Capability:: +name () const +{ +return *name_; +} +void Capability:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // ComponentPackageReference - // +// Capability +// +Capability::resourceType_iterator Capability:: +begin_resourceType () +{ +return resourceType_.begin (); +} - ComponentPackageReference:: - ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredUUID__, - ::XMLSchema::string< ACE_TCHAR > const& requiredName__, - ::XMLSchema::string< ACE_TCHAR > const& requiredType__) - : - ::XSCRT::Type (), - requiredUUID_ (new ::XMLSchema::string< ACE_TCHAR > (requiredUUID__)), - requiredName_ (new ::XMLSchema::string< ACE_TCHAR > (requiredName__)), - requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), - regulator__ () - { - requiredUUID_->container (this); - requiredName_->container (this); - requiredType_->container (this); - } +Capability::resourceType_iterator Capability:: +end_resourceType () +{ +return resourceType_.end (); +} - ComponentPackageReference:: - ComponentPackageReference (::CIAO::Config_Handlers::ComponentPackageReference const& s) - : - ::XSCRT::Type (), - requiredUUID_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredUUID_)), - requiredName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredName_)), - requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), - regulator__ () - { - requiredUUID_->container (this); - requiredName_->container (this); - requiredType_->container (this); - } +Capability::resourceType_const_iterator Capability:: +begin_resourceType () const +{ +return resourceType_.begin (); +} - ::CIAO::Config_Handlers::ComponentPackageReference& ComponentPackageReference:: - operator= (::CIAO::Config_Handlers::ComponentPackageReference const& s) - { - requiredUUID (s.requiredUUID ()); +Capability::resourceType_const_iterator Capability:: +end_resourceType () const +{ +return resourceType_.end (); +} - requiredName (s.requiredName ()); +void Capability:: +add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +resourceType_.push_back (e); +} - requiredType (s.requiredType ()); +size_t Capability:: +count_resourceType(void) const +{ +return resourceType_.size (); +} - return *this; - } +// Capability +// +Capability::property_iterator Capability:: +begin_property () +{ +return property_.begin (); +} +Capability::property_iterator Capability:: +end_property () +{ +return property_.end (); +} - // ComponentPackageReference - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: - requiredUUID () const - { - return *requiredUUID_; - } +Capability::property_const_iterator Capability:: +begin_property () const +{ +return property_.begin (); +} - void ComponentPackageReference:: - requiredUUID (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requiredUUID_ = e; - } +Capability::property_const_iterator Capability:: +end_property () const +{ +return property_.end (); +} - // ComponentPackageReference - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: - requiredName () const - { - return *requiredName_; - } +void Capability:: +add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) +{ +property_.push_back (e); +} - void ComponentPackageReference:: - requiredName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requiredName_ = e; - } +size_t Capability:: +count_property(void) const +{ +return property_.size (); +} - // ComponentPackageReference - // - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: - requiredType () const - { - return *requiredType_; - } - void ComponentPackageReference:: - requiredType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *requiredType_ = e; - } +// ImplementationRequirement +// +ImplementationRequirement:: +ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +resourceType_->container (this); +name_->container (this); +} - // SubcomponentPortEndpoint - // +ImplementationRequirement:: +ImplementationRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& s) +: +::XSCRT::Type (), +resourceUsage_ (s.resourceUsage_.get () ? new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_) : 0), +resourcePort_ (s.resourcePort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.resourcePort_) : 0), +componentPort_ (s.componentPort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.componentPort_) : 0), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +regulator__ () +{ +if (resourceUsage_.get ()) resourceUsage_->container (this); +if (resourcePort_.get ()) resourcePort_->container (this); +if (componentPort_.get ()) componentPort_->container (this); +resourceType_->container (this); +name_->container (this); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} +} - SubcomponentPortEndpoint:: - SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, - ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), - instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), - regulator__ () - { - portName_->container (this); - instance_->container (this); - } +::CIAO::Config_Handlers::ImplementationRequirement& ImplementationRequirement:: +operator= (::CIAO::Config_Handlers::ImplementationRequirement const& s) +{ +if (s.resourceUsage_.get ()) resourceUsage (*(s.resourceUsage_)); +else resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (0); - SubcomponentPortEndpoint:: - SubcomponentPortEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) - : - ::XSCRT::Type (), - portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), - instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), - regulator__ () - { - portName_->container (this); - instance_->container (this); - } +if (s.resourcePort_.get ()) resourcePort (*(s.resourcePort_)); +else resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - ::CIAO::Config_Handlers::SubcomponentPortEndpoint& SubcomponentPortEndpoint:: - operator= (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) - { - portName (s.portName ()); +if (s.componentPort_.get ()) componentPort (*(s.componentPort_)); +else componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - instance (s.instance ()); +resourceType (s.resourceType ()); - return *this; - } +name (s.name ()); +property_.clear (); +{ +for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); +} - // SubcomponentPortEndpoint - // - ::XMLSchema::string< ACE_TCHAR > const& SubcomponentPortEndpoint:: - portName () const - { - return *portName_; - } +return *this; +} - void SubcomponentPortEndpoint:: - portName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *portName_ = e; - } - // SubcomponentPortEndpoint - // - ::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPortEndpoint:: - instance () const - { - return *instance_; - } +// ImplementationRequirement +// +bool ImplementationRequirement:: +resourceUsage_p () const +{ +return resourceUsage_.get () != 0; +} - void SubcomponentPortEndpoint:: - instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) - { - *instance_ = e; - } +::CIAO::Config_Handlers::ResourceUsageKind const& ImplementationRequirement:: +resourceUsage () const +{ +return *resourceUsage_; +} +void ImplementationRequirement:: +resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) +{ +if (resourceUsage_.get ()) +{ +*resourceUsage_ = e; +} - // AssemblyConnectionDescription - // +else +{ +resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); +resourceUsage_->container (this); +} +} - AssemblyConnectionDescription:: - AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } +// ImplementationRequirement +// +bool ImplementationRequirement:: +resourcePort_p () const +{ +return resourcePort_.get () != 0; +} - AssemblyConnectionDescription:: - AssemblyConnectionDescription (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - deployRequirement_ (s.deployRequirement_.get () ? new ::CIAO::Config_Handlers::Requirement (*s.deployRequirement_) : 0), - regulator__ () - { - name_->container (this); - if (deployRequirement_.get ()) deployRequirement_->container (this); - { - for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); - } +::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: +resourcePort () const +{ +return *resourcePort_; +} - { - for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); - } +void ImplementationRequirement:: +resourcePort (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (resourcePort_.get ()) +{ +*resourcePort_ = e; +} - { - for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); - } - } +else +{ +resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourcePort_->container (this); +} +} - ::CIAO::Config_Handlers::AssemblyConnectionDescription& AssemblyConnectionDescription:: - operator= (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) - { - name (s.name ()); +// ImplementationRequirement +// +bool ImplementationRequirement:: +componentPort_p () const +{ +return componentPort_.get () != 0; +} - if (s.deployRequirement_.get ()) deployRequirement (*(s.deployRequirement_)); - else deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (0); +::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: +componentPort () const +{ +return *componentPort_; +} - externalEndpoint_.clear (); - { - for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); - } +void ImplementationRequirement:: +componentPort (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (componentPort_.get ()) +{ +*componentPort_ = e; +} - internalEndpoint_.clear (); - { - for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); - } +else +{ +componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +componentPort_->container (this); +} +} - externalReference_.clear (); - { - for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); - } +// ImplementationRequirement +// +::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: +resourceType () const +{ +return *resourceType_; +} - return *this; - } +void ImplementationRequirement:: +resourceType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceType_ = e; +} +// ImplementationRequirement +// +::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: +name () const +{ +return *name_; +} - // AssemblyConnectionDescription - // - ::XMLSchema::string< ACE_TCHAR > const& AssemblyConnectionDescription:: - name () const - { - return *name_; - } +void ImplementationRequirement:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - void AssemblyConnectionDescription:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +// ImplementationRequirement +// +ImplementationRequirement::property_iterator ImplementationRequirement:: +begin_property () +{ +return property_.begin (); +} - // AssemblyConnectionDescription - // - bool AssemblyConnectionDescription:: - deployRequirement_p () const - { - return deployRequirement_.get () != 0; - } +ImplementationRequirement::property_iterator ImplementationRequirement:: +end_property () +{ +return property_.end (); +} - ::CIAO::Config_Handlers::Requirement const& AssemblyConnectionDescription:: - deployRequirement () const - { - return *deployRequirement_; - } +ImplementationRequirement::property_const_iterator ImplementationRequirement:: +begin_property () const +{ +return property_.begin (); +} - void AssemblyConnectionDescription:: - deployRequirement (::CIAO::Config_Handlers::Requirement const& e) - { - if (deployRequirement_.get ()) - { - *deployRequirement_ = e; - } +ImplementationRequirement::property_const_iterator ImplementationRequirement:: +end_property () const +{ +return property_.end (); +} - else - { - deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (new ::CIAO::Config_Handlers::Requirement (e)); - deployRequirement_->container (this); - } - } +void ImplementationRequirement:: +add_property (::CIAO::Config_Handlers::Property const& e) +{ +property_.push_back (e); +} - // AssemblyConnectionDescription - // - AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: - begin_externalEndpoint () - { - return externalEndpoint_.begin (); - } +size_t ImplementationRequirement:: +count_property(void) const +{ +return property_.size (); +} - AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: - end_externalEndpoint () - { - return externalEndpoint_.end (); - } - AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: - begin_externalEndpoint () const - { - return externalEndpoint_.begin (); - } +// ComponentPackageReference +// - AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: - end_externalEndpoint () const - { - return externalEndpoint_.end (); - } +ComponentPackageReference:: +ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__) +: +::XSCRT::Type (), +requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), +regulator__ () +{ +requiredType_->container (this); +} - void AssemblyConnectionDescription:: - add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) - { - externalEndpoint_.push_back (e); - } +ComponentPackageReference:: +ComponentPackageReference (::CIAO::Config_Handlers::ComponentPackageReference const& s) +: +::XSCRT::Type (), +requiredUUID_ (s.requiredUUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredUUID_) : 0), +requiredName_ (s.requiredName_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredName_) : 0), +requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), +regulator__ () +{ +if (requiredUUID_.get ()) requiredUUID_->container (this); +if (requiredName_.get ()) requiredName_->container (this); +requiredType_->container (this); +} - size_t AssemblyConnectionDescription:: - count_externalEndpoint(void) const - { - return externalEndpoint_.size (); - } +::CIAO::Config_Handlers::ComponentPackageReference& ComponentPackageReference:: +operator= (::CIAO::Config_Handlers::ComponentPackageReference const& s) +{ +if (s.requiredUUID_.get ()) requiredUUID (*(s.requiredUUID_)); +else requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // AssemblyConnectionDescription - // - AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: - begin_internalEndpoint () - { - return internalEndpoint_.begin (); - } +if (s.requiredName_.get ()) requiredName (*(s.requiredName_)); +else requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: - end_internalEndpoint () - { - return internalEndpoint_.end (); - } +requiredType (s.requiredType ()); - AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: - begin_internalEndpoint () const - { - return internalEndpoint_.begin (); - } +return *this; +} - AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: - end_internalEndpoint () const - { - return internalEndpoint_.end (); - } - void AssemblyConnectionDescription:: - add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& e) - { - internalEndpoint_.push_back (e); - } +// ComponentPackageReference +// +bool ComponentPackageReference:: +requiredUUID_p () const +{ +return requiredUUID_.get () != 0; +} - size_t AssemblyConnectionDescription:: - count_internalEndpoint(void) const - { - return internalEndpoint_.size (); - } +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: +requiredUUID () const +{ +return *requiredUUID_; +} - // AssemblyConnectionDescription - // - AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: - begin_externalReference () - { - return externalReference_.begin (); - } +void ComponentPackageReference:: +requiredUUID (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (requiredUUID_.get ()) +{ +*requiredUUID_ = e; +} - AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: - end_externalReference () - { - return externalReference_.end (); - } +else +{ +requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requiredUUID_->container (this); +} +} - AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: - begin_externalReference () const - { - return externalReference_.begin (); - } +// ComponentPackageReference +// +bool ComponentPackageReference:: +requiredName_p () const +{ +return requiredName_.get () != 0; +} - AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: - end_externalReference () const - { - return externalReference_.end (); - } +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: +requiredName () const +{ +return *requiredName_; +} - void AssemblyConnectionDescription:: - add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) - { - externalReference_.push_back (e); - } +void ComponentPackageReference:: +requiredName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (requiredName_.get ()) +{ +*requiredName_ = e; +} - size_t AssemblyConnectionDescription:: - count_externalReference(void) const - { - return externalReference_.size (); - } - } +else +{ +requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requiredName_->container (this); +} } -namespace CIAO +// ComponentPackageReference +// +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: +requiredType () const { - namespace Config_Handlers - { - // TCKind - // +return *requiredType_; +} - TCKind:: - TCKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) - : ::XSCRT::Type (e) - { - ::std::basic_string< ACE_TCHAR > v (e.value ()); - - if (v == "tk_null") v_ = tk_null_l; - else if (v == "tk_void") v_ = tk_void_l; - else if (v == "tk_short") v_ = tk_short_l; - else if (v == "tk_long") v_ = tk_long_l; - else if (v == "tk_ushort") v_ = tk_ushort_l; - else if (v == "tk_ulong") v_ = tk_ulong_l; - else if (v == "tk_float") v_ = tk_float_l; - else if (v == "tk_double") v_ = tk_double_l; - else if (v == "tk_boolean") v_ = tk_boolean_l; - else if (v == "tk_char") v_ = tk_char_l; - else if (v == "tk_octet") v_ = tk_octet_l; - else if (v == "tk_any") v_ = tk_any_l; - else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; - else if (v == "tk_Principal") v_ = tk_Principal_l; - else if (v == "tk_objref") v_ = tk_objref_l; - else if (v == "tk_struct") v_ = tk_struct_l; - else if (v == "tk_union") v_ = tk_union_l; - else if (v == "tk_enum") v_ = tk_enum_l; - else if (v == "tk_string") v_ = tk_string_l; - else if (v == "tk_sequence") v_ = tk_sequence_l; - else if (v == "tk_array") v_ = tk_array_l; - else if (v == "tk_alias") v_ = tk_alias_l; - else if (v == "tk_except") v_ = tk_except_l; - else if (v == "tk_longlong") v_ = tk_longlong_l; - else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; - else if (v == "tk_longdouble") v_ = tk_longdouble_l; - else if (v == "tk_wchar") v_ = tk_wchar_l; - else if (v == "tk_wstring") v_ = tk_wstring_l; - else if (v == "tk_wfixed") v_ = tk_wfixed_l; - else if (v == "tk_value") v_ = tk_value_l; - else if (v == "tk_value_box") v_ = tk_value_box_l; - else if (v == "tk_native") v_ = tk_native_l; - else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; - else if (v == "tk_local_interface") v_ = tk_local_interface_l; - else if (v == "tk_component") v_ = tk_component_l; - else if (v == "tk_home") v_ = tk_home_l; - else if (v == "tk_event") v_ = tk_event_l; - else - { - } - } +void ComponentPackageReference:: +requiredType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*requiredType_ = e; +} - TCKind:: - TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) - : ::XSCRT::Type (a) - { - ::std::basic_string< ACE_TCHAR > v (a.value ()); - - if (v == "tk_null") v_ = tk_null_l; - else if (v == "tk_void") v_ = tk_void_l; - else if (v == "tk_short") v_ = tk_short_l; - else if (v == "tk_long") v_ = tk_long_l; - else if (v == "tk_ushort") v_ = tk_ushort_l; - else if (v == "tk_ulong") v_ = tk_ulong_l; - else if (v == "tk_float") v_ = tk_float_l; - else if (v == "tk_double") v_ = tk_double_l; - else if (v == "tk_boolean") v_ = tk_boolean_l; - else if (v == "tk_char") v_ = tk_char_l; - else if (v == "tk_octet") v_ = tk_octet_l; - else if (v == "tk_any") v_ = tk_any_l; - else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; - else if (v == "tk_Principal") v_ = tk_Principal_l; - else if (v == "tk_objref") v_ = tk_objref_l; - else if (v == "tk_struct") v_ = tk_struct_l; - else if (v == "tk_union") v_ = tk_union_l; - else if (v == "tk_enum") v_ = tk_enum_l; - else if (v == "tk_string") v_ = tk_string_l; - else if (v == "tk_sequence") v_ = tk_sequence_l; - else if (v == "tk_array") v_ = tk_array_l; - else if (v == "tk_alias") v_ = tk_alias_l; - else if (v == "tk_except") v_ = tk_except_l; - else if (v == "tk_longlong") v_ = tk_longlong_l; - else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; - else if (v == "tk_longdouble") v_ = tk_longdouble_l; - else if (v == "tk_wchar") v_ = tk_wchar_l; - else if (v == "tk_wstring") v_ = tk_wstring_l; - else if (v == "tk_wfixed") v_ = tk_wfixed_l; - else if (v == "tk_value") v_ = tk_value_l; - else if (v == "tk_value_box") v_ = tk_value_box_l; - else if (v == "tk_native") v_ = tk_native_l; - else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; - else if (v == "tk_local_interface") v_ = tk_local_interface_l; - else if (v == "tk_component") v_ = tk_component_l; - else if (v == "tk_home") v_ = tk_home_l; - else if (v == "tk_event") v_ = tk_event_l; - else - { - } - } - TCKind const TCKind::tk_null (TCKind::tk_null_l); - TCKind const TCKind::tk_void (TCKind::tk_void_l); - TCKind const TCKind::tk_short (TCKind::tk_short_l); - TCKind const TCKind::tk_long (TCKind::tk_long_l); - TCKind const TCKind::tk_ushort (TCKind::tk_ushort_l); - TCKind const TCKind::tk_ulong (TCKind::tk_ulong_l); - TCKind const TCKind::tk_float (TCKind::tk_float_l); - TCKind const TCKind::tk_double (TCKind::tk_double_l); - TCKind const TCKind::tk_boolean (TCKind::tk_boolean_l); - TCKind const TCKind::tk_char (TCKind::tk_char_l); - TCKind const TCKind::tk_octet (TCKind::tk_octet_l); - TCKind const TCKind::tk_any (TCKind::tk_any_l); - TCKind const TCKind::tk_TypeCode (TCKind::tk_TypeCode_l); - TCKind const TCKind::tk_Principal (TCKind::tk_Principal_l); - TCKind const TCKind::tk_objref (TCKind::tk_objref_l); - TCKind const TCKind::tk_struct (TCKind::tk_struct_l); - TCKind const TCKind::tk_union (TCKind::tk_union_l); - TCKind const TCKind::tk_enum (TCKind::tk_enum_l); - TCKind const TCKind::tk_string (TCKind::tk_string_l); - TCKind const TCKind::tk_sequence (TCKind::tk_sequence_l); - TCKind const TCKind::tk_array (TCKind::tk_array_l); - TCKind const TCKind::tk_alias (TCKind::tk_alias_l); - TCKind const TCKind::tk_except (TCKind::tk_except_l); - TCKind const TCKind::tk_longlong (TCKind::tk_longlong_l); - TCKind const TCKind::tk_ulonglong (TCKind::tk_ulonglong_l); - TCKind const TCKind::tk_longdouble (TCKind::tk_longdouble_l); - TCKind const TCKind::tk_wchar (TCKind::tk_wchar_l); - TCKind const TCKind::tk_wstring (TCKind::tk_wstring_l); - TCKind const TCKind::tk_wfixed (TCKind::tk_wfixed_l); - TCKind const TCKind::tk_value (TCKind::tk_value_l); - TCKind const TCKind::tk_value_box (TCKind::tk_value_box_l); - TCKind const TCKind::tk_native (TCKind::tk_native_l); - TCKind const TCKind::tk_abstract_interface (TCKind::tk_abstract_interface_l); - TCKind const TCKind::tk_local_interface (TCKind::tk_local_interface_l); - TCKind const TCKind::tk_component (TCKind::tk_component_l); - TCKind const TCKind::tk_home (TCKind::tk_home_l); - TCKind const TCKind::tk_event (TCKind::tk_event_l); +// SubcomponentPortEndpoint +// - // DataType - // +SubcomponentPortEndpoint:: +SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, +::XMLSchema::IDREF< ACE_TCHAR > const& instance__) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), +regulator__ () +{ +portName_->container (this); +instance_->container (this); +} - DataType:: - DataType (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +SubcomponentPortEndpoint:: +SubcomponentPortEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) +: +::XSCRT::Type (), +portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), +regulator__ () +{ +portName_->container (this); +instance_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +::CIAO::Config_Handlers::SubcomponentPortEndpoint& SubcomponentPortEndpoint:: +operator= (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) +{ +portName (s.portName ()); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +instance (s.instance ()); - if (n == "kind") - { - kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > (new ::CIAO::Config_Handlers::TCKind (e)); - kind_->container (this); - } +return *this; +} - else if (n == "enum") - { - ::CIAO::Config_Handlers::EnumType t (e); - enum_ (t); - } - else - { - } - } - } +// SubcomponentPortEndpoint +// +::XMLSchema::string< ACE_TCHAR > const& SubcomponentPortEndpoint:: +portName () const +{ +return *portName_; +} - // DataValue - // +void SubcomponentPortEndpoint:: +portName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*portName_ = e; +} - DataValue:: - DataValue (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +// SubcomponentPortEndpoint +// +::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPortEndpoint:: +instance () const +{ +return *instance_; +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +void SubcomponentPortEndpoint:: +instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) +{ +*instance_ = e; +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "short") - { - ::XMLSchema::short_ t (e); - add_short (t); - } +// AssemblyConnectionDescription +// - else if (n == "long") - { - ::XMLSchema::int_ t (e); - add_long (t); - } +AssemblyConnectionDescription:: +AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - else if (n == "ushort") - { - ::XMLSchema::unsignedShort t (e); - add_ushort (t); - } +AssemblyConnectionDescription:: +AssemblyConnectionDescription (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +regulator__ () +{ +name_->container (this); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - else if (n == "ulong") - { - ::XMLSchema::unsignedInt t (e); - add_ulong (t); - } +{ +for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); +} - else if (n == "float") - { - ::XMLSchema::float_ t (e); - add_float (t); - } +{ +for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); +} - else if (n == "double") - { - ::XMLSchema::double_ t (e); - add_double (t); - } +{ +for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); +} +} - else if (n == "boolean") - { - ::XMLSchema::boolean t (e); - add_boolean (t); - } +::CIAO::Config_Handlers::AssemblyConnectionDescription& AssemblyConnectionDescription:: +operator= (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) +{ +name (s.name ()); - else if (n == "octet") - { - ::XMLSchema::unsignedByte t (e); - add_octet (t); - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - else if (n == "enum") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_enum (t); - } +internalEndpoint_.clear (); +{ +for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); +} - else if (n == "string") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_string (t); - } +externalEndpoint_.clear (); +{ +for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); +} - else if (n == "longlong") - { - ::XMLSchema::long_ t (e); - add_longlong (t); - } +externalReference_.clear (); +{ +for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); +} - else if (n == "ulonglong") - { - ::XMLSchema::unsignedLong t (e); - add_ulonglong (t); - } +return *this; +} - else if (n == "longdouble") - { - ::XMLSchema::double_ t (e); - add_longdouble (t); - } - else - { - } - } - } +// AssemblyConnectionDescription +// +::XMLSchema::string< ACE_TCHAR > const& AssemblyConnectionDescription:: +name () const +{ +return *name_; +} - // EnumType - // +void AssemblyConnectionDescription:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - EnumType:: - EnumType (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +// AssemblyConnectionDescription +// +AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} - else if (n == "typeId") - { - typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - typeId_->container (this); - } +void AssemblyConnectionDescription:: +add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) +{ +deployRequirement_.push_back (e); +} - else if (n == "member") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_member (t); - } +size_t AssemblyConnectionDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} - else - { - } - } - } +// AssemblyConnectionDescription +// +AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: +begin_internalEndpoint () +{ +return internalEndpoint_.begin (); +} - // Any - // +AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: +end_internalEndpoint () +{ +return internalEndpoint_.end (); +} - Any:: - Any (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: +begin_internalEndpoint () const +{ +return internalEndpoint_.begin (); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: +end_internalEndpoint () const +{ +return internalEndpoint_.end (); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +void AssemblyConnectionDescription:: +add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& e) +{ +internalEndpoint_.push_back (e); +} - if (n == "type") - { - type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); - type_->container (this); - } +size_t AssemblyConnectionDescription:: +count_internalEndpoint(void) const +{ +return internalEndpoint_.size (); +} - else if (n == "value") - { - value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > (new ::CIAO::Config_Handlers::DataValue (e)); - value_->container (this); - } +// AssemblyConnectionDescription +// +AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: +begin_externalEndpoint () +{ +return externalEndpoint_.begin (); +} - else - { - } - } - } +AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: +end_externalEndpoint () +{ +return externalEndpoint_.end (); +} - // Property - // +AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: +begin_externalEndpoint () const +{ +return externalEndpoint_.begin (); +} - Property:: - Property (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: +end_externalEndpoint () const +{ +return externalEndpoint_.end (); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +void AssemblyConnectionDescription:: +add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) +{ +externalEndpoint_.push_back (e); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +size_t AssemblyConnectionDescription:: +count_externalEndpoint(void) const +{ +return externalEndpoint_.size (); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +// AssemblyConnectionDescription +// +AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: +begin_externalReference () +{ +return externalReference_.begin (); +} - else if (n == "value") - { - value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); - value_->container (this); - } +AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: +end_externalReference () +{ +return externalReference_.end (); +} - else - { - } - } - } +AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: +begin_externalReference () const +{ +return externalReference_.begin (); +} - // SatisfierPropertyKind - // +AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: +end_externalReference () const +{ +return externalReference_.end (); +} - SatisfierPropertyKind:: - SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) - : ::XSCRT::Type (e) - { - ::std::basic_string< ACE_TCHAR > v (e.value ()); - - if (v == "Quantity") v_ = Quantity_l; - else if (v == "Capacity") v_ = Capacity_l; - else if (v == "Minimum") v_ = Minimum_l; - else if (v == "Maximum") v_ = Maximum_l; - else if (v == "Attribute") v_ = Attribute_l; - else if (v == "Selection") v_ = Selection_l; - else - { - } - } +void AssemblyConnectionDescription:: +add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) +{ +externalReference_.push_back (e); +} - SatisfierPropertyKind:: - SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) - : ::XSCRT::Type (a) - { - ::std::basic_string< ACE_TCHAR > v (a.value ()); - - if (v == "Quantity") v_ = Quantity_l; - else if (v == "Capacity") v_ = Capacity_l; - else if (v == "Minimum") v_ = Minimum_l; - else if (v == "Maximum") v_ = Maximum_l; - else if (v == "Attribute") v_ = Attribute_l; - else if (v == "Selection") v_ = Selection_l; - else - { - } - } +size_t AssemblyConnectionDescription:: +count_externalReference(void) const +{ +return externalReference_.size (); +} +} +} - SatisfierPropertyKind const SatisfierPropertyKind::Quantity (SatisfierPropertyKind::Quantity_l); - SatisfierPropertyKind const SatisfierPropertyKind::Capacity (SatisfierPropertyKind::Capacity_l); - SatisfierPropertyKind const SatisfierPropertyKind::Minimum (SatisfierPropertyKind::Minimum_l); - SatisfierPropertyKind const SatisfierPropertyKind::Maximum (SatisfierPropertyKind::Maximum_l); - SatisfierPropertyKind const SatisfierPropertyKind::Attribute (SatisfierPropertyKind::Attribute_l); - SatisfierPropertyKind const SatisfierPropertyKind::Selection (SatisfierPropertyKind::Selection_l); +namespace CIAO +{ +namespace Config_Handlers +{ +// TCKind +// - // SatisfierProperty - // +TCKind:: +TCKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) +: ::XSCRT::Type (e) +{ +::std::basic_string< ACE_TCHAR > v (e.value ()); + +if (v == "tk_null") v_ = tk_null_l; +else if (v == "tk_void") v_ = tk_void_l; +else if (v == "tk_short") v_ = tk_short_l; +else if (v == "tk_long") v_ = tk_long_l; +else if (v == "tk_ushort") v_ = tk_ushort_l; +else if (v == "tk_ulong") v_ = tk_ulong_l; +else if (v == "tk_float") v_ = tk_float_l; +else if (v == "tk_double") v_ = tk_double_l; +else if (v == "tk_boolean") v_ = tk_boolean_l; +else if (v == "tk_char") v_ = tk_char_l; +else if (v == "tk_octet") v_ = tk_octet_l; +else if (v == "tk_any") v_ = tk_any_l; +else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; +else if (v == "tk_Principal") v_ = tk_Principal_l; +else if (v == "tk_objref") v_ = tk_objref_l; +else if (v == "tk_struct") v_ = tk_struct_l; +else if (v == "tk_union") v_ = tk_union_l; +else if (v == "tk_enum") v_ = tk_enum_l; +else if (v == "tk_string") v_ = tk_string_l; +else if (v == "tk_sequence") v_ = tk_sequence_l; +else if (v == "tk_array") v_ = tk_array_l; +else if (v == "tk_alias") v_ = tk_alias_l; +else if (v == "tk_except") v_ = tk_except_l; +else if (v == "tk_longlong") v_ = tk_longlong_l; +else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; +else if (v == "tk_longdouble") v_ = tk_longdouble_l; +else if (v == "tk_wchar") v_ = tk_wchar_l; +else if (v == "tk_wstring") v_ = tk_wstring_l; +else if (v == "tk_wfixed") v_ = tk_wfixed_l; +else if (v == "tk_value") v_ = tk_value_l; +else if (v == "tk_value_box") v_ = tk_value_box_l; +else if (v == "tk_native") v_ = tk_native_l; +else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; +else if (v == "tk_local_interface") v_ = tk_local_interface_l; +else if (v == "tk_component") v_ = tk_component_l; +else if (v == "tk_home") v_ = tk_home_l; +else if (v == "tk_event") v_ = tk_event_l; +else +{ +} +} - SatisfierProperty:: - SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +TCKind:: +TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) +: ::XSCRT::Type (a) +{ +::std::basic_string< ACE_TCHAR > v (a.value ()); + +if (v == "tk_null") v_ = tk_null_l; +else if (v == "tk_void") v_ = tk_void_l; +else if (v == "tk_short") v_ = tk_short_l; +else if (v == "tk_long") v_ = tk_long_l; +else if (v == "tk_ushort") v_ = tk_ushort_l; +else if (v == "tk_ulong") v_ = tk_ulong_l; +else if (v == "tk_float") v_ = tk_float_l; +else if (v == "tk_double") v_ = tk_double_l; +else if (v == "tk_boolean") v_ = tk_boolean_l; +else if (v == "tk_char") v_ = tk_char_l; +else if (v == "tk_octet") v_ = tk_octet_l; +else if (v == "tk_any") v_ = tk_any_l; +else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; +else if (v == "tk_Principal") v_ = tk_Principal_l; +else if (v == "tk_objref") v_ = tk_objref_l; +else if (v == "tk_struct") v_ = tk_struct_l; +else if (v == "tk_union") v_ = tk_union_l; +else if (v == "tk_enum") v_ = tk_enum_l; +else if (v == "tk_string") v_ = tk_string_l; +else if (v == "tk_sequence") v_ = tk_sequence_l; +else if (v == "tk_array") v_ = tk_array_l; +else if (v == "tk_alias") v_ = tk_alias_l; +else if (v == "tk_except") v_ = tk_except_l; +else if (v == "tk_longlong") v_ = tk_longlong_l; +else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; +else if (v == "tk_longdouble") v_ = tk_longdouble_l; +else if (v == "tk_wchar") v_ = tk_wchar_l; +else if (v == "tk_wstring") v_ = tk_wstring_l; +else if (v == "tk_wfixed") v_ = tk_wfixed_l; +else if (v == "tk_value") v_ = tk_value_l; +else if (v == "tk_value_box") v_ = tk_value_box_l; +else if (v == "tk_native") v_ = tk_native_l; +else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; +else if (v == "tk_local_interface") v_ = tk_local_interface_l; +else if (v == "tk_component") v_ = tk_component_l; +else if (v == "tk_home") v_ = tk_home_l; +else if (v == "tk_event") v_ = tk_event_l; +else +{ +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +TCKind const TCKind::tk_null (TCKind::tk_null_l); +TCKind const TCKind::tk_void (TCKind::tk_void_l); +TCKind const TCKind::tk_short (TCKind::tk_short_l); +TCKind const TCKind::tk_long (TCKind::tk_long_l); +TCKind const TCKind::tk_ushort (TCKind::tk_ushort_l); +TCKind const TCKind::tk_ulong (TCKind::tk_ulong_l); +TCKind const TCKind::tk_float (TCKind::tk_float_l); +TCKind const TCKind::tk_double (TCKind::tk_double_l); +TCKind const TCKind::tk_boolean (TCKind::tk_boolean_l); +TCKind const TCKind::tk_char (TCKind::tk_char_l); +TCKind const TCKind::tk_octet (TCKind::tk_octet_l); +TCKind const TCKind::tk_any (TCKind::tk_any_l); +TCKind const TCKind::tk_TypeCode (TCKind::tk_TypeCode_l); +TCKind const TCKind::tk_Principal (TCKind::tk_Principal_l); +TCKind const TCKind::tk_objref (TCKind::tk_objref_l); +TCKind const TCKind::tk_struct (TCKind::tk_struct_l); +TCKind const TCKind::tk_union (TCKind::tk_union_l); +TCKind const TCKind::tk_enum (TCKind::tk_enum_l); +TCKind const TCKind::tk_string (TCKind::tk_string_l); +TCKind const TCKind::tk_sequence (TCKind::tk_sequence_l); +TCKind const TCKind::tk_array (TCKind::tk_array_l); +TCKind const TCKind::tk_alias (TCKind::tk_alias_l); +TCKind const TCKind::tk_except (TCKind::tk_except_l); +TCKind const TCKind::tk_longlong (TCKind::tk_longlong_l); +TCKind const TCKind::tk_ulonglong (TCKind::tk_ulonglong_l); +TCKind const TCKind::tk_longdouble (TCKind::tk_longdouble_l); +TCKind const TCKind::tk_wchar (TCKind::tk_wchar_l); +TCKind const TCKind::tk_wstring (TCKind::tk_wstring_l); +TCKind const TCKind::tk_wfixed (TCKind::tk_wfixed_l); +TCKind const TCKind::tk_value (TCKind::tk_value_l); +TCKind const TCKind::tk_value_box (TCKind::tk_value_box_l); +TCKind const TCKind::tk_native (TCKind::tk_native_l); +TCKind const TCKind::tk_abstract_interface (TCKind::tk_abstract_interface_l); +TCKind const TCKind::tk_local_interface (TCKind::tk_local_interface_l); +TCKind const TCKind::tk_component (TCKind::tk_component_l); +TCKind const TCKind::tk_home (TCKind::tk_home_l); +TCKind const TCKind::tk_event (TCKind::tk_event_l); + +// DataType +// + +DataType:: +DataType (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +::XSCRT::Parser< ACE_TCHAR > p (e); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "kind") - { - kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > (new ::CIAO::Config_Handlers::SatisfierPropertyKind (e)); - kind_->container (this); - } +if (n == "kind") +{ +kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > (new ::CIAO::Config_Handlers::TCKind (e)); +kind_->container (this); +} - else if (n == "value") - { - value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); - value_->container (this); - } +else if (n == "enum") +{ +::CIAO::Config_Handlers::EnumType t (e); +enum_ (t); +} - else - { - } - } - } +else +{ +} +} +} - // Resource - // +// DataValue +// - Resource:: - Resource (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +DataValue:: +DataValue (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "short") +{ +::XMLSchema::short_ t (e); +add_short (t); +} - else if (n == "resourceType") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_resourceType (t); - } +else if (n == "long") +{ +::XMLSchema::int_ t (e); +add_long (t); +} - else if (n == "property") - { - ::CIAO::Config_Handlers::SatisfierProperty t (e); - add_property (t); - } +else if (n == "ushort") +{ +::XMLSchema::unsignedShort t (e); +add_ushort (t); +} - else - { - } - } - } +else if (n == "ulong") +{ +::XMLSchema::unsignedInt t (e); +add_ulong (t); +} - // Requirement - // +else if (n == "float") +{ +::XMLSchema::float_ t (e); +add_float (t); +} - Requirement:: - Requirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else if (n == "double") +{ +::XMLSchema::double_ t (e); +add_double (t); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else if (n == "boolean") +{ +::XMLSchema::boolean t (e); +add_boolean (t); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "octet") +{ +::XMLSchema::unsignedByte t (e); +add_octet (t); +} - if (n == "resourceType") - { - resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceType_->container (this); - } +else if (n == "enum") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_enum (t); +} - else if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else if (n == "string") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_string (t); +} - else if (n == "property") - { - property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - property_->container (this); - } +else if (n == "longlong") +{ +::XMLSchema::long_ t (e); +add_longlong (t); +} - else - { - } - } - } +else if (n == "ulonglong") +{ +::XMLSchema::unsignedLong t (e); +add_ulonglong (t); +} - // ResourceDeploymentDescription - // +else if (n == "longdouble") +{ +::XMLSchema::double_ t (e); +add_longdouble (t); +} - ResourceDeploymentDescription:: - ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// EnumType +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +EnumType:: +EnumType (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "requirementName") - { - requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requirementName_->container (this); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "resourceName") - { - resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceName_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "resourceValue") - { - resourceValue_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); - resourceValue_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else - { - } - } - } +else if (n == "typeId") +{ +typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +typeId_->container (this); +} - // ArtifactDeploymentDescription - // +else if (n == "member") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_member (t); +} - ArtifactDeploymentDescription:: - ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// Any +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +Any:: +Any (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "source") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_source (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "node") - { - node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - node_->container (this); - } +if (n == "type") +{ +type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); +type_->container (this); +} - else if (n == "location") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_location (t); - } +else if (n == "value") +{ +value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > (new ::CIAO::Config_Handlers::DataValue (e)); +value_->container (this); +} - else if (n == "execParameter") - { - ::CIAO::Config_Handlers::Property t (e); - add_execParameter (t); - } +else +{ +} +} +} - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - add_deployRequirement (t); - } +// Property +// - else if (n == "deployedResource") - { - ::CIAO::Config_Handlers::ResourceDeploymentDescription t (e); - add_deployedResource (t); - } +Property:: +Property (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else - { - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "id") - { - ::XMLSchema::ID< ACE_TCHAR > t (a); - id (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else - { - } - } - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - // MonolithicDeploymentDescription - // +else if (n == "value") +{ +value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); +value_->container (this); +} - MonolithicDeploymentDescription:: - MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// SatisfierPropertyKind +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +SatisfierPropertyKind:: +SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) +: ::XSCRT::Type (e) +{ +::std::basic_string< ACE_TCHAR > v (e.value ()); + +if (v == "Quantity") v_ = Quantity_l; +else if (v == "Capacity") v_ = Capacity_l; +else if (v == "Minimum") v_ = Minimum_l; +else if (v == "Maximum") v_ = Maximum_l; +else if (v == "Attribute") v_ = Attribute_l; +else if (v == "Selection") v_ = Selection_l; +else +{ +} +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +SatisfierPropertyKind:: +SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) +: ::XSCRT::Type (a) +{ +::std::basic_string< ACE_TCHAR > v (a.value ()); + +if (v == "Quantity") v_ = Quantity_l; +else if (v == "Capacity") v_ = Capacity_l; +else if (v == "Minimum") v_ = Minimum_l; +else if (v == "Maximum") v_ = Maximum_l; +else if (v == "Attribute") v_ = Attribute_l; +else if (v == "Selection") v_ = Selection_l; +else +{ +} +} - else if (n == "source") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_source (t); - } +SatisfierPropertyKind const SatisfierPropertyKind::Quantity (SatisfierPropertyKind::Quantity_l); +SatisfierPropertyKind const SatisfierPropertyKind::Capacity (SatisfierPropertyKind::Capacity_l); +SatisfierPropertyKind const SatisfierPropertyKind::Minimum (SatisfierPropertyKind::Minimum_l); +SatisfierPropertyKind const SatisfierPropertyKind::Maximum (SatisfierPropertyKind::Maximum_l); +SatisfierPropertyKind const SatisfierPropertyKind::Attribute (SatisfierPropertyKind::Attribute_l); +SatisfierPropertyKind const SatisfierPropertyKind::Selection (SatisfierPropertyKind::Selection_l); - else if (n == "artifact") - { - ::XMLSchema::IDREF< ACE_TCHAR > t (e); - add_artifact (t); - } +// SatisfierProperty +// - else if (n == "execParameter") - { - ::CIAO::Config_Handlers::Property t (e); - add_execParameter (t); - } +SatisfierProperty:: +SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - add_deployRequirement (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else - { - } - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "id") - { - ::XMLSchema::ID< ACE_TCHAR > t (a); - id (t); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else - { - } - } - } +else if (n == "kind") +{ +kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > (new ::CIAO::Config_Handlers::SatisfierPropertyKind (e)); +kind_->container (this); +} - // ResourceUsageKind - // +else if (n == "dynamic") +{ +dynamic_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); +dynamic_->container (this); +} - ResourceUsageKind:: - ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) - : ::XSCRT::Type (e) - { - ::std::basic_string< ACE_TCHAR > v (e.value ()); - - if (v == "None") v_ = None_l; - else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; - else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; - else if (v == "PortUsesResource") v_ = PortUsesResource_l; - else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; - else - { - } - } +else if (n == "value") +{ +value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); +value_->container (this); +} - ResourceUsageKind:: - ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) - : ::XSCRT::Type (a) - { - ::std::basic_string< ACE_TCHAR > v (a.value ()); - - if (v == "None") v_ = None_l; - else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; - else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; - else if (v == "PortUsesResource") v_ = PortUsesResource_l; - else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; - else - { - } - } +else +{ +} +} +} - ResourceUsageKind const ResourceUsageKind::None (ResourceUsageKind::None_l); - ResourceUsageKind const ResourceUsageKind::InstanceUsesResource (ResourceUsageKind::InstanceUsesResource_l); - ResourceUsageKind const ResourceUsageKind::ResourceUsesInstance (ResourceUsageKind::ResourceUsesInstance_l); - ResourceUsageKind const ResourceUsageKind::PortUsesResource (ResourceUsageKind::PortUsesResource_l); - ResourceUsageKind const ResourceUsageKind::ResourceUsesPort (ResourceUsageKind::ResourceUsesPort_l); +// Resource +// - // InstanceResourceDeploymentDescription - // +Resource:: +Resource (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - InstanceResourceDeploymentDescription:: - InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +::XSCRT::Parser< ACE_TCHAR > p (e); - ::XSCRT::Parser< ACE_TCHAR > p (e); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - if (n == "resourceUsage") - { - resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); - resourceUsage_->container (this); - } +else if (n == "resourceType") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_resourceType (t); +} - else if (n == "requirementName") - { - requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requirementName_->container (this); - } +else if (n == "property") +{ +::CIAO::Config_Handlers::SatisfierProperty t (e); +add_property (t); +} - else if (n == "resourceName") - { - resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceName_->container (this); - } +else +{ +} +} +} - else if (n == "resourceValue") - { - resourceValue_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); - resourceValue_->container (this); - } +// Requirement +// - else - { - } - } - } +Requirement:: +Requirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - // InstanceDeploymentDescription - // +::XSCRT::Parser< ACE_TCHAR > p (e); - InstanceDeploymentDescription:: - InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ::XSCRT::Parser< ACE_TCHAR > p (e); +if (n == "resourceType") +{ +resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceType_->container (this); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else if (n == "property") +{ +::CIAO::Config_Handlers::Property t (e); +add_property (t); +} - else if (n == "node") - { - node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - node_->container (this); - } +else +{ +} +} +} - else if (n == "source") - { - source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - source_->container (this); - } +// ResourceDeploymentDescription +// - else if (n == "implementation") - { - implementation_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); - implementation_->container (this); - } +ResourceDeploymentDescription:: +ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_configProperty (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "deployedResource") - { - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); - deployedResource (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "deployedSharedResource") - { - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); - deployedSharedResource (t); - } +if (n == "requirementName") +{ +requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requirementName_->container (this); +} - else - { - } - } +else if (n == "resourceName") +{ +resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceName_->container (this); +} - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "id") - { - ::XMLSchema::ID< ACE_TCHAR > t (a); - id (t); - } +else if (n == "property") +{ +::CIAO::Config_Handlers::Property t (e); +add_property (t); +} - else - { - } - } - } +else +{ +} +} +} - // CCMComponentPortKind - // +// ArtifactDeploymentDescription +// - CCMComponentPortKind:: - CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) - : ::XSCRT::Type (e) - { - ::std::basic_string< ACE_TCHAR > v (e.value ()); - - if (v == "Facet") v_ = Facet_l; - else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; - else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; - else if (v == "EventEmitter") v_ = EventEmitter_l; - else if (v == "EventPublisher") v_ = EventPublisher_l; - else if (v == "EventConsumer") v_ = EventConsumer_l; - else - { - } - } +ArtifactDeploymentDescription:: +ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - CCMComponentPortKind:: - CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) - : ::XSCRT::Type (a) - { - ::std::basic_string< ACE_TCHAR > v (a.value ()); - - if (v == "Facet") v_ = Facet_l; - else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; - else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; - else if (v == "EventEmitter") v_ = EventEmitter_l; - else if (v == "EventPublisher") v_ = EventPublisher_l; - else if (v == "EventConsumer") v_ = EventConsumer_l; - else - { - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - CCMComponentPortKind const CCMComponentPortKind::Facet (CCMComponentPortKind::Facet_l); - CCMComponentPortKind const CCMComponentPortKind::SimplexReceptacle (CCMComponentPortKind::SimplexReceptacle_l); - CCMComponentPortKind const CCMComponentPortKind::MultiplexReceptacle (CCMComponentPortKind::MultiplexReceptacle_l); - CCMComponentPortKind const CCMComponentPortKind::EventEmitter (CCMComponentPortKind::EventEmitter_l); - CCMComponentPortKind const CCMComponentPortKind::EventPublisher (CCMComponentPortKind::EventPublisher_l); - CCMComponentPortKind const CCMComponentPortKind::EventConsumer (CCMComponentPortKind::EventConsumer_l); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - // ComponentPortDescription - // +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - ComponentPortDescription:: - ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else if (n == "source") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_source (t); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else if (n == "node") +{ +node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +node_->container (this); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "location") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_location (t); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else if (n == "execParameter") +{ +::CIAO::Config_Handlers::Property t (e); +add_execParameter (t); +} - else if (n == "specificType") - { - specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - specificType_->container (this); - } +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_deployRequirement (t); +} - else if (n == "supportedType") - { - supportedType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - supportedType_->container (this); - } +else if (n == "deployedResource") +{ +::CIAO::Config_Handlers::ResourceDeploymentDescription t (e); +add_deployedResource (t); +} - else if (n == "provider") - { - provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - provider_->container (this); - } +else +{ +} +} - else if (n == "exclusiveProvider") - { - exclusiveProvider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - exclusiveProvider_->container (this); - } +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "id") +{ +::XMLSchema::ID< ACE_TCHAR > t (a); +id (t); +} - else if (n == "exclusiveUser") - { - exclusiveUser_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - exclusiveUser_->container (this); - } +else +{ +} +} +} - else if (n == "optional") - { - optional_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - optional_->container (this); - } +// MonolithicDeploymentDescription +// - else if (n == "kind") - { - kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); - kind_->container (this); - } +MonolithicDeploymentDescription:: +MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else - { - } - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - // ComponentPropertyDescription - // +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ComponentPropertyDescription:: - ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else if (n == "source") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_source (t); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "artifact") +{ +::XMLSchema::IDREF< ACE_TCHAR > t (e); +add_artifact (t); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else if (n == "execParameter") +{ +::CIAO::Config_Handlers::Property t (e); +add_execParameter (t); +} - else if (n == "type") - { - type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); - type_->container (this); - } +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_deployRequirement (t); +} - else - { - } - } - } +else +{ +} +} - // ComponentExternalPortEndpoint - // +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "id") +{ +::XMLSchema::ID< ACE_TCHAR > t (a); +id (t); +} - ComponentExternalPortEndpoint:: - ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// ResourceUsageKind +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +ResourceUsageKind:: +ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) +: ::XSCRT::Type (e) +{ +::std::basic_string< ACE_TCHAR > v (e.value ()); + +if (v == "None") v_ = None_l; +else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; +else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; +else if (v == "PortUsesResource") v_ = PortUsesResource_l; +else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; +else +{ +} +} - if (n == "portName") - { - portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - portName_->container (this); - } +ResourceUsageKind:: +ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) +: ::XSCRT::Type (a) +{ +::std::basic_string< ACE_TCHAR > v (a.value ()); + +if (v == "None") v_ = None_l; +else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; +else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; +else if (v == "PortUsesResource") v_ = PortUsesResource_l; +else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; +else +{ +} +} - else - { - } - } - } +ResourceUsageKind const ResourceUsageKind::None (ResourceUsageKind::None_l); +ResourceUsageKind const ResourceUsageKind::InstanceUsesResource (ResourceUsageKind::InstanceUsesResource_l); +ResourceUsageKind const ResourceUsageKind::ResourceUsesInstance (ResourceUsageKind::ResourceUsesInstance_l); +ResourceUsageKind const ResourceUsageKind::PortUsesResource (ResourceUsageKind::PortUsesResource_l); +ResourceUsageKind const ResourceUsageKind::ResourceUsesPort (ResourceUsageKind::ResourceUsesPort_l); - // PlanSubcomponentPortEndpoint - // +// InstanceResourceDeploymentDescription +// - PlanSubcomponentPortEndpoint:: - PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +InstanceResourceDeploymentDescription:: +InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "portName") - { - portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - portName_->container (this); - } +if (n == "resourceUsage") +{ +resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); +resourceUsage_->container (this); +} - else if (n == "provider") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - provider (t); - } +else if (n == "requirementName") +{ +requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requirementName_->container (this); +} - else if (n == "kind") - { - kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); - kind_->container (this); - } +else if (n == "resourceName") +{ +resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceName_->container (this); +} - else if (n == "instance") - { - instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); - instance_->container (this); - } +else if (n == "property") +{ +::CIAO::Config_Handlers::Property t (e); +add_property (t); +} - else - { - } - } - } +else +{ +} +} +} - // ExternalReferenceEndpoint - // +// InstanceDeploymentDescription +// - ExternalReferenceEndpoint:: - ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +InstanceDeploymentDescription:: +InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "location") - { - location_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - location_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else - { - } - } - } +else if (n == "node") +{ +node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +node_->container (this); +} - // ConnectionResourceDeploymentDescription - // +else if (n == "source") +{ +source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +source_->container (this); +} - ConnectionResourceDeploymentDescription:: - ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else if (n == "implementation") +{ +implementation_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); +implementation_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else if (n == "configProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_configProperty (t); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "deployedResource") +{ +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); +deployedResource (t); +} - if (n == "targetName") - { - targetName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - targetName_->container (this); - } +else if (n == "deployedSharedResource") +{ +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); +deployedSharedResource (t); +} - else if (n == "requirementName") - { - requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requirementName_->container (this); - } +else +{ +} +} - else if (n == "resourceName") - { - resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceName_->container (this); - } +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "id") +{ +::XMLSchema::ID< ACE_TCHAR > t (a); +id (t); +} - else if (n == "resourceValue") - { - resourceValue_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); - resourceValue_->container (this); - } +else +{ +} +} +} - else - { - } - } - } +// CCMComponentPortKind +// - // PlanConnectionDescription - // +CCMComponentPortKind:: +CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) +: ::XSCRT::Type (e) +{ +::std::basic_string< ACE_TCHAR > v (e.value ()); + +if (v == "Facet") v_ = Facet_l; +else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; +else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; +else if (v == "EventEmitter") v_ = EventEmitter_l; +else if (v == "EventPublisher") v_ = EventPublisher_l; +else if (v == "EventConsumer") v_ = EventConsumer_l; +else +{ +} +} - PlanConnectionDescription:: - PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +CCMComponentPortKind:: +CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) +: ::XSCRT::Type (a) +{ +::std::basic_string< ACE_TCHAR > v (a.value ()); + +if (v == "Facet") v_ = Facet_l; +else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; +else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; +else if (v == "EventEmitter") v_ = EventEmitter_l; +else if (v == "EventPublisher") v_ = EventPublisher_l; +else if (v == "EventConsumer") v_ = EventConsumer_l; +else +{ +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +CCMComponentPortKind const CCMComponentPortKind::Facet (CCMComponentPortKind::Facet_l); +CCMComponentPortKind const CCMComponentPortKind::SimplexReceptacle (CCMComponentPortKind::SimplexReceptacle_l); +CCMComponentPortKind const CCMComponentPortKind::MultiplexReceptacle (CCMComponentPortKind::MultiplexReceptacle_l); +CCMComponentPortKind const CCMComponentPortKind::EventEmitter (CCMComponentPortKind::EventEmitter_l); +CCMComponentPortKind const CCMComponentPortKind::EventPublisher (CCMComponentPortKind::EventPublisher_l); +CCMComponentPortKind const CCMComponentPortKind::EventConsumer (CCMComponentPortKind::EventConsumer_l); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +// ComponentPortDescription +// - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +ComponentPortDescription:: +ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else if (n == "source") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - source (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - add_deployRequirement (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "externalEndpoint") - { - ::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); - add_externalEndpoint (t); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "internalEndpoint") - { - ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint t (e); - add_internalEndpoint (t); - } +else if (n == "specificType") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +specificType (t); +} - else if (n == "externalReference") - { - ::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); - add_externalReference (t); - } +else if (n == "supportedType") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_supportedType (t); +} - else if (n == "deployedResource") - { - ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription t (e); - add_deployedResource (t); - } +else if (n == "provider") +{ +provider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); +provider_->container (this); +} - else - { - } - } - } +else if (n == "exclusiveProvider") +{ +exclusiveProvider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); +exclusiveProvider_->container (this); +} - // ImplementationDependency - // +else if (n == "exclusiveUser") +{ +exclusiveUser_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); +exclusiveUser_->container (this); +} - ImplementationDependency:: - ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else if (n == "optional") +{ +optional_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); +optional_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else if (n == "kind") +{ +kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); +kind_->container (this); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else +{ +} +} +} - if (n == "requiredType") - { - requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requiredType_->container (this); - } +// ComponentPropertyDescription +// - else - { - } - } - } +ComponentPropertyDescription:: +ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - // Capability - // +::XSCRT::Parser< ACE_TCHAR > p (e); - Capability:: - Capability (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ::XSCRT::Parser< ACE_TCHAR > p (e); +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +else if (n == "type") +{ +type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); +type_->container (this); +} - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else +{ +} +} +} - else if (n == "resourceType") - { - resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceType_->container (this); - } +// ComponentExternalPortEndpoint +// - else if (n == "property") - { - property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > (new ::CIAO::Config_Handlers::SatisfierProperty (e)); - property_->container (this); - } +ComponentExternalPortEndpoint:: +ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else - { - } - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - // ImplementationRequirement - // +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ImplementationRequirement:: - ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +if (n == "portName") +{ +portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +portName_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else +{ +} +} +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +// PlanSubcomponentPortEndpoint +// - if (n == "resourceUsage") - { - resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); - resourceUsage_->container (this); - } +PlanSubcomponentPortEndpoint:: +PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else if (n == "resourcePort") - { - resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourcePort_->container (this); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "componentPort") - { - componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - componentPort_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "resourceType") - { - resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceType_->container (this); - } +if (n == "portName") +{ +portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +portName_->container (this); +} - else if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +else if (n == "provider") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +provider (t); +} - else if (n == "property") - { - property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - property_->container (this); - } +else if (n == "kind") +{ +kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); +kind_->container (this); +} - else - { - } - } - } +else if (n == "instance") +{ +instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); +instance_->container (this); +} - // ComponentPackageReference - // +else +{ +} +} +} - ComponentPackageReference:: - ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +// ExternalReferenceEndpoint +// - ::XSCRT::Parser< ACE_TCHAR > p (e); +ExternalReferenceEndpoint:: +ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +::XSCRT::Parser< ACE_TCHAR > p (e); - if (n == "requiredUUID") - { - requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requiredUUID_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "requiredName") - { - requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requiredName_->container (this); - } +if (n == "location") +{ +location_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +location_->container (this); +} - else if (n == "requiredType") - { - requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - requiredType_->container (this); - } +else +{ +} +} +} - else - { - } - } - } +// ConnectionResourceDeploymentDescription +// - // SubcomponentPortEndpoint - // +ConnectionResourceDeploymentDescription:: +ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - SubcomponentPortEndpoint:: - SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +::XSCRT::Parser< ACE_TCHAR > p (e); - ::XSCRT::Parser< ACE_TCHAR > p (e); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +if (n == "targetName") +{ +targetName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +targetName_->container (this); +} - if (n == "portName") - { - portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - portName_->container (this); - } +else if (n == "requirementName") +{ +requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requirementName_->container (this); +} - else if (n == "instance") - { - instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); - instance_->container (this); - } +else if (n == "resourceName") +{ +resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceName_->container (this); +} - else - { - } - } - } +else if (n == "property") +{ +::CIAO::Config_Handlers::Property t (e); +add_property (t); +} - // AssemblyConnectionDescription - // +else +{ +} +} +} - AssemblyConnectionDescription:: - AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +// PlanConnectionDescription +// - ::XSCRT::Parser< ACE_TCHAR > p (e); +PlanConnectionDescription:: +PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +::XSCRT::Parser< ACE_TCHAR > p (e); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - deployRequirement (t); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "externalEndpoint") - { - ::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); - add_externalEndpoint (t); - } +else if (n == "source") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +source (t); +} - else if (n == "internalEndpoint") - { - ::CIAO::Config_Handlers::SubcomponentPortEndpoint t (e); - add_internalEndpoint (t); - } +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_deployRequirement (t); +} - else if (n == "externalReference") - { - ::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); - add_externalReference (t); - } +else if (n == "externalEndpoint") +{ +::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); +add_externalEndpoint (t); +} - else - { - } - } - } - } +else if (n == "internalEndpoint") +{ +::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint t (e); +add_internalEndpoint (t); +} + +else if (n == "externalReference") +{ +::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); +add_externalReference (t); +} + +else if (n == "deployedResource") +{ +::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription t (e); +add_deployedResource (t); +} + +else +{ +} +} +} + +// ImplementationDependency +// + +ImplementationDependency:: +ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "requiredType") +{ +requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requiredType_->container (this); +} + +else +{ +} +} +} + +// Capability +// + +Capability:: +Capability (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} + +else if (n == "resourceType") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_resourceType (t); +} + +else if (n == "property") +{ +::CIAO::Config_Handlers::SatisfierProperty t (e); +add_property (t); +} + +else +{ +} +} +} + +// ImplementationRequirement +// + +ImplementationRequirement:: +ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "resourceUsage") +{ +::CIAO::Config_Handlers::ResourceUsageKind t (e); +resourceUsage (t); +} + +else if (n == "resourcePort") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +resourcePort (t); +} + +else if (n == "componentPort") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +componentPort (t); +} + +else if (n == "resourceType") +{ +resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceType_->container (this); +} + +else if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} + +else if (n == "property") +{ +::CIAO::Config_Handlers::Property t (e); +add_property (t); +} + +else +{ +} +} +} + +// ComponentPackageReference +// + +ComponentPackageReference:: +ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "requiredUUID") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +requiredUUID (t); +} + +else if (n == "requiredName") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +requiredName (t); +} + +else if (n == "requiredType") +{ +requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +requiredType_->container (this); +} + +else +{ +} +} +} + +// SubcomponentPortEndpoint +// + +SubcomponentPortEndpoint:: +SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "portName") +{ +portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +portName_->container (this); +} + +else if (n == "instance") +{ +instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); +instance_->container (this); +} + +else +{ +} +} +} + +// AssemblyConnectionDescription +// + +AssemblyConnectionDescription:: +AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} + +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_deployRequirement (t); +} + +else if (n == "internalEndpoint") +{ +::CIAO::Config_Handlers::SubcomponentPortEndpoint t (e); +add_internalEndpoint (t); +} + +else if (n == "externalEndpoint") +{ +::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); +add_externalEndpoint (t); +} + +else if (n == "externalReference") +{ +::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); +add_externalReference (t); +} + +else +{ +} +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/TypeInfo.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace - { - ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); +namespace Config_Handlers +{ +namespace +{ +::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - struct TCKindTypeInfoInitializer - { - TCKindTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (TCKind)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct TCKindTypeInfoInitializer +{ +TCKindTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (TCKind)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - TCKindTypeInfoInitializer TCKindTypeInfoInitializer_; +TCKindTypeInfoInitializer TCKindTypeInfoInitializer_; - struct DataTypeTypeInfoInitializer - { - DataTypeTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (DataType)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct DataTypeTypeInfoInitializer +{ +DataTypeTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (DataType)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - DataTypeTypeInfoInitializer DataTypeTypeInfoInitializer_; +DataTypeTypeInfoInitializer DataTypeTypeInfoInitializer_; - struct DataValueTypeInfoInitializer - { - DataValueTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (DataValue)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct DataValueTypeInfoInitializer +{ +DataValueTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (DataValue)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - DataValueTypeInfoInitializer DataValueTypeInfoInitializer_; +DataValueTypeInfoInitializer DataValueTypeInfoInitializer_; - struct EnumTypeTypeInfoInitializer - { - EnumTypeTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (EnumType)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct EnumTypeTypeInfoInitializer +{ +EnumTypeTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (EnumType)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - EnumTypeTypeInfoInitializer EnumTypeTypeInfoInitializer_; +EnumTypeTypeInfoInitializer EnumTypeTypeInfoInitializer_; - struct AnyTypeInfoInitializer - { - AnyTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Any)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct AnyTypeInfoInitializer +{ +AnyTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Any)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - AnyTypeInfoInitializer AnyTypeInfoInitializer_; +AnyTypeInfoInitializer AnyTypeInfoInitializer_; - struct PropertyTypeInfoInitializer - { - PropertyTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Property)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct PropertyTypeInfoInitializer +{ +PropertyTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Property)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - PropertyTypeInfoInitializer PropertyTypeInfoInitializer_; +PropertyTypeInfoInitializer PropertyTypeInfoInitializer_; - struct SatisfierPropertyKindTypeInfoInitializer - { - SatisfierPropertyKindTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SatisfierPropertyKind)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SatisfierPropertyKindTypeInfoInitializer +{ +SatisfierPropertyKindTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SatisfierPropertyKind)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SatisfierPropertyKindTypeInfoInitializer SatisfierPropertyKindTypeInfoInitializer_; +SatisfierPropertyKindTypeInfoInitializer SatisfierPropertyKindTypeInfoInitializer_; - struct SatisfierPropertyTypeInfoInitializer - { - SatisfierPropertyTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SatisfierProperty)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SatisfierPropertyTypeInfoInitializer +{ +SatisfierPropertyTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SatisfierProperty)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SatisfierPropertyTypeInfoInitializer SatisfierPropertyTypeInfoInitializer_; +SatisfierPropertyTypeInfoInitializer SatisfierPropertyTypeInfoInitializer_; - struct ResourceTypeInfoInitializer - { - ResourceTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Resource)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ResourceTypeInfoInitializer +{ +ResourceTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Resource)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ResourceTypeInfoInitializer ResourceTypeInfoInitializer_; +ResourceTypeInfoInitializer ResourceTypeInfoInitializer_; - struct RequirementTypeInfoInitializer - { - RequirementTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Requirement)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct RequirementTypeInfoInitializer +{ +RequirementTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Requirement)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - RequirementTypeInfoInitializer RequirementTypeInfoInitializer_; +RequirementTypeInfoInitializer RequirementTypeInfoInitializer_; - struct ResourceDeploymentDescriptionTypeInfoInitializer - { - ResourceDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ResourceDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ResourceDeploymentDescriptionTypeInfoInitializer +{ +ResourceDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ResourceDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ResourceDeploymentDescriptionTypeInfoInitializer ResourceDeploymentDescriptionTypeInfoInitializer_; +ResourceDeploymentDescriptionTypeInfoInitializer ResourceDeploymentDescriptionTypeInfoInitializer_; - struct ArtifactDeploymentDescriptionTypeInfoInitializer - { - ArtifactDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ArtifactDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ArtifactDeploymentDescriptionTypeInfoInitializer +{ +ArtifactDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ArtifactDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ArtifactDeploymentDescriptionTypeInfoInitializer ArtifactDeploymentDescriptionTypeInfoInitializer_; +ArtifactDeploymentDescriptionTypeInfoInitializer ArtifactDeploymentDescriptionTypeInfoInitializer_; - struct MonolithicDeploymentDescriptionTypeInfoInitializer - { - MonolithicDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (MonolithicDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct MonolithicDeploymentDescriptionTypeInfoInitializer +{ +MonolithicDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (MonolithicDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - MonolithicDeploymentDescriptionTypeInfoInitializer MonolithicDeploymentDescriptionTypeInfoInitializer_; +MonolithicDeploymentDescriptionTypeInfoInitializer MonolithicDeploymentDescriptionTypeInfoInitializer_; - struct ResourceUsageKindTypeInfoInitializer - { - ResourceUsageKindTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ResourceUsageKind)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ResourceUsageKindTypeInfoInitializer +{ +ResourceUsageKindTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ResourceUsageKind)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ResourceUsageKindTypeInfoInitializer ResourceUsageKindTypeInfoInitializer_; +ResourceUsageKindTypeInfoInitializer ResourceUsageKindTypeInfoInitializer_; - struct InstanceResourceDeploymentDescriptionTypeInfoInitializer - { - InstanceResourceDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (InstanceResourceDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct InstanceResourceDeploymentDescriptionTypeInfoInitializer +{ +InstanceResourceDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (InstanceResourceDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - InstanceResourceDeploymentDescriptionTypeInfoInitializer InstanceResourceDeploymentDescriptionTypeInfoInitializer_; +InstanceResourceDeploymentDescriptionTypeInfoInitializer InstanceResourceDeploymentDescriptionTypeInfoInitializer_; - struct InstanceDeploymentDescriptionTypeInfoInitializer - { - InstanceDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (InstanceDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct InstanceDeploymentDescriptionTypeInfoInitializer +{ +InstanceDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (InstanceDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - InstanceDeploymentDescriptionTypeInfoInitializer InstanceDeploymentDescriptionTypeInfoInitializer_; +InstanceDeploymentDescriptionTypeInfoInitializer InstanceDeploymentDescriptionTypeInfoInitializer_; - struct CCMComponentPortKindTypeInfoInitializer - { - CCMComponentPortKindTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (CCMComponentPortKind)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct CCMComponentPortKindTypeInfoInitializer +{ +CCMComponentPortKindTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (CCMComponentPortKind)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - CCMComponentPortKindTypeInfoInitializer CCMComponentPortKindTypeInfoInitializer_; +CCMComponentPortKindTypeInfoInitializer CCMComponentPortKindTypeInfoInitializer_; - struct ComponentPortDescriptionTypeInfoInitializer - { - ComponentPortDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentPortDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentPortDescriptionTypeInfoInitializer +{ +ComponentPortDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentPortDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentPortDescriptionTypeInfoInitializer ComponentPortDescriptionTypeInfoInitializer_; +ComponentPortDescriptionTypeInfoInitializer ComponentPortDescriptionTypeInfoInitializer_; - struct ComponentPropertyDescriptionTypeInfoInitializer - { - ComponentPropertyDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentPropertyDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentPropertyDescriptionTypeInfoInitializer +{ +ComponentPropertyDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentPropertyDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentPropertyDescriptionTypeInfoInitializer ComponentPropertyDescriptionTypeInfoInitializer_; +ComponentPropertyDescriptionTypeInfoInitializer ComponentPropertyDescriptionTypeInfoInitializer_; - struct ComponentExternalPortEndpointTypeInfoInitializer - { - ComponentExternalPortEndpointTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentExternalPortEndpoint)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentExternalPortEndpointTypeInfoInitializer +{ +ComponentExternalPortEndpointTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentExternalPortEndpoint)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentExternalPortEndpointTypeInfoInitializer ComponentExternalPortEndpointTypeInfoInitializer_; +ComponentExternalPortEndpointTypeInfoInitializer ComponentExternalPortEndpointTypeInfoInitializer_; - struct PlanSubcomponentPortEndpointTypeInfoInitializer - { - PlanSubcomponentPortEndpointTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (PlanSubcomponentPortEndpoint)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct PlanSubcomponentPortEndpointTypeInfoInitializer +{ +PlanSubcomponentPortEndpointTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (PlanSubcomponentPortEndpoint)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - PlanSubcomponentPortEndpointTypeInfoInitializer PlanSubcomponentPortEndpointTypeInfoInitializer_; +PlanSubcomponentPortEndpointTypeInfoInitializer PlanSubcomponentPortEndpointTypeInfoInitializer_; - struct ExternalReferenceEndpointTypeInfoInitializer - { - ExternalReferenceEndpointTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ExternalReferenceEndpoint)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ExternalReferenceEndpointTypeInfoInitializer +{ +ExternalReferenceEndpointTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ExternalReferenceEndpoint)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ExternalReferenceEndpointTypeInfoInitializer ExternalReferenceEndpointTypeInfoInitializer_; +ExternalReferenceEndpointTypeInfoInitializer ExternalReferenceEndpointTypeInfoInitializer_; - struct ConnectionResourceDeploymentDescriptionTypeInfoInitializer - { - ConnectionResourceDeploymentDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ConnectionResourceDeploymentDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ConnectionResourceDeploymentDescriptionTypeInfoInitializer +{ +ConnectionResourceDeploymentDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ConnectionResourceDeploymentDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ConnectionResourceDeploymentDescriptionTypeInfoInitializer ConnectionResourceDeploymentDescriptionTypeInfoInitializer_; +ConnectionResourceDeploymentDescriptionTypeInfoInitializer ConnectionResourceDeploymentDescriptionTypeInfoInitializer_; - struct PlanConnectionDescriptionTypeInfoInitializer - { - PlanConnectionDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (PlanConnectionDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct PlanConnectionDescriptionTypeInfoInitializer +{ +PlanConnectionDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (PlanConnectionDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - PlanConnectionDescriptionTypeInfoInitializer PlanConnectionDescriptionTypeInfoInitializer_; +PlanConnectionDescriptionTypeInfoInitializer PlanConnectionDescriptionTypeInfoInitializer_; - struct ImplementationDependencyTypeInfoInitializer - { - ImplementationDependencyTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ImplementationDependency)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ImplementationDependencyTypeInfoInitializer +{ +ImplementationDependencyTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ImplementationDependency)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ImplementationDependencyTypeInfoInitializer ImplementationDependencyTypeInfoInitializer_; +ImplementationDependencyTypeInfoInitializer ImplementationDependencyTypeInfoInitializer_; - struct CapabilityTypeInfoInitializer - { - CapabilityTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Capability)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct CapabilityTypeInfoInitializer +{ +CapabilityTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Capability)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - CapabilityTypeInfoInitializer CapabilityTypeInfoInitializer_; +CapabilityTypeInfoInitializer CapabilityTypeInfoInitializer_; - struct ImplementationRequirementTypeInfoInitializer - { - ImplementationRequirementTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ImplementationRequirement)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ImplementationRequirementTypeInfoInitializer +{ +ImplementationRequirementTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ImplementationRequirement)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ImplementationRequirementTypeInfoInitializer ImplementationRequirementTypeInfoInitializer_; +ImplementationRequirementTypeInfoInitializer ImplementationRequirementTypeInfoInitializer_; - struct ComponentPackageReferenceTypeInfoInitializer - { - ComponentPackageReferenceTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentPackageReference)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentPackageReferenceTypeInfoInitializer +{ +ComponentPackageReferenceTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentPackageReference)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentPackageReferenceTypeInfoInitializer ComponentPackageReferenceTypeInfoInitializer_; +ComponentPackageReferenceTypeInfoInitializer ComponentPackageReferenceTypeInfoInitializer_; - struct SubcomponentPortEndpointTypeInfoInitializer - { - SubcomponentPortEndpointTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SubcomponentPortEndpoint)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SubcomponentPortEndpointTypeInfoInitializer +{ +SubcomponentPortEndpointTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SubcomponentPortEndpoint)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SubcomponentPortEndpointTypeInfoInitializer SubcomponentPortEndpointTypeInfoInitializer_; +SubcomponentPortEndpointTypeInfoInitializer SubcomponentPortEndpointTypeInfoInitializer_; - struct AssemblyConnectionDescriptionTypeInfoInitializer - { - AssemblyConnectionDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (AssemblyConnectionDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct AssemblyConnectionDescriptionTypeInfoInitializer +{ +AssemblyConnectionDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (AssemblyConnectionDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - AssemblyConnectionDescriptionTypeInfoInitializer AssemblyConnectionDescriptionTypeInfoInitializer_; - } - } +AssemblyConnectionDescriptionTypeInfoInitializer AssemblyConnectionDescriptionTypeInfoInitializer_; +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - // DataType - // - // +namespace Config_Handlers +{ +namespace Traversal +{ +// DataType +// +// - void DataType:: - traverse (Type& o) - { - pre (o); - kind (o); - if (o.enum_p ()) enum_ (o); - else enum_none (o); - post (o); - } +void DataType:: +traverse (Type& o) +{ +pre (o); +kind (o); +if (o.enum_p ()) enum_ (o); +else enum_none (o); +post (o); +} - void DataType:: - traverse (Type const& o) - { - pre (o); - kind (o); - if (o.enum_p ()) enum_ (o); - else enum_none (o); - post (o); - } +void DataType:: +traverse (Type const& o) +{ +pre (o); +kind (o); +if (o.enum_p ()) enum_ (o); +else enum_none (o); +post (o); +} - void DataType:: - pre (Type&) - { - } +void DataType:: +pre (Type&) +{ +} - void DataType:: - pre (Type const&) - { - } +void DataType:: +pre (Type const&) +{ +} - void DataType:: - kind (Type& o) - { - dispatch (o.kind ()); - } +void DataType:: +kind (Type& o) +{ +dispatch (o.kind ()); +} - void DataType:: - kind (Type const& o) - { - dispatch (o.kind ()); - } +void DataType:: +kind (Type const& o) +{ +dispatch (o.kind ()); +} - void DataType:: - enum_ (Type& o) - { - dispatch (o.enum_ ()); - } +void DataType:: +enum_ (Type& o) +{ +dispatch (o.enum_ ()); +} - void DataType:: - enum_ (Type const& o) - { - dispatch (o.enum_ ()); - } +void DataType:: +enum_ (Type const& o) +{ +dispatch (o.enum_ ()); +} - void DataType:: - enum_none (Type&) - { - } +void DataType:: +enum_none (Type&) +{ +} - void DataType:: - enum_none (Type const&) - { - } +void DataType:: +enum_none (Type const&) +{ +} - void DataType:: - post (Type&) - { - } +void DataType:: +post (Type&) +{ +} - void DataType:: - post (Type const&) - { - } +void DataType:: +post (Type const&) +{ +} - // DataValue - // - // +// DataValue +// +// - void DataValue:: - traverse (Type& o) - { - pre (o); - short_ (o); - long_ (o); - ushort (o); - ulong (o); - float_ (o); - double_ (o); - boolean (o); - octet (o); - enum_ (o); - string (o); - longlong (o); - ulonglong (o); - longdouble (o); - post (o); - } +void DataValue:: +traverse (Type& o) +{ +pre (o); +short_ (o); +long_ (o); +ushort (o); +ulong (o); +float_ (o); +double_ (o); +boolean (o); +octet (o); +enum_ (o); +string (o); +longlong (o); +ulonglong (o); +longdouble (o); +post (o); +} - void DataValue:: - traverse (Type const& o) - { - pre (o); - short_ (o); - long_ (o); - ushort (o); - ulong (o); - float_ (o); - double_ (o); - boolean (o); - octet (o); - enum_ (o); - string (o); - longlong (o); - ulonglong (o); - longdouble (o); - post (o); - } +void DataValue:: +traverse (Type const& o) +{ +pre (o); +short_ (o); +long_ (o); +ushort (o); +ulong (o); +float_ (o); +double_ (o); +boolean (o); +octet (o); +enum_ (o); +string (o); +longlong (o); +ulonglong (o); +longdouble (o); +post (o); +} - void DataValue:: - pre (Type&) - { - } +void DataValue:: +pre (Type&) +{ +} - void DataValue:: - pre (Type const&) - { - } +void DataValue:: +pre (Type const&) +{ +} - void DataValue:: - short_ (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::short_iterator b (o.begin_short()), e (o.end_short()); +void DataValue:: +short_ (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::short_iterator b (o.begin_short()), e (o.end_short()); - if (b != e) - { - short_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) short_next (o); - } - - short_post (o); - } +if (b != e) +{ +short_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) short_next (o); +} - else short_none (o); - } +short_post (o); +} - void DataValue:: - short_ (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::short_const_iterator b (o.begin_short()), e (o.end_short()); +else short_none (o); +} - if (b != e) - { - short_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) short_next (o); - } - - short_post (o); - } +void DataValue:: +short_ (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::short_const_iterator b (o.begin_short()), e (o.end_short()); - else short_none (o); - } +if (b != e) +{ +short_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) short_next (o); +} - void DataValue:: - short_pre (Type&) - { - } +short_post (o); +} - void DataValue:: - short_pre (Type const&) - { - } +else short_none (o); +} - void DataValue:: - short_next (Type&) - { - } +void DataValue:: +short_pre (Type&) +{ +} - void DataValue:: - short_next (Type const&) - { - } +void DataValue:: +short_pre (Type const&) +{ +} - void DataValue:: - short_post (Type&) - { - } +void DataValue:: +short_next (Type&) +{ +} - void DataValue:: - short_post (Type const&) - { - } +void DataValue:: +short_next (Type const&) +{ +} - void DataValue:: - short_none (Type&) - { - } +void DataValue:: +short_post (Type&) +{ +} - void DataValue:: - short_none (Type const&) - { - } +void DataValue:: +short_post (Type const&) +{ +} - void DataValue:: - long_ (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::long_iterator b (o.begin_long()), e (o.end_long()); +void DataValue:: +short_none (Type&) +{ +} - if (b != e) - { - long_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) long_next (o); - } - - long_post (o); - } +void DataValue:: +short_none (Type const&) +{ +} - else long_none (o); - } +void DataValue:: +long_ (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::long_iterator b (o.begin_long()), e (o.end_long()); - void DataValue:: - long_ (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::long_const_iterator b (o.begin_long()), e (o.end_long()); +if (b != e) +{ +long_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) long_next (o); +} - if (b != e) - { - long_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) long_next (o); - } - - long_post (o); - } +long_post (o); +} - else long_none (o); - } +else long_none (o); +} - void DataValue:: - long_pre (Type&) - { - } +void DataValue:: +long_ (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::long_const_iterator b (o.begin_long()), e (o.end_long()); - void DataValue:: - long_pre (Type const&) - { - } +if (b != e) +{ +long_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) long_next (o); +} - void DataValue:: - long_next (Type&) - { - } +long_post (o); +} - void DataValue:: - long_next (Type const&) - { - } +else long_none (o); +} - void DataValue:: - long_post (Type&) - { - } +void DataValue:: +long_pre (Type&) +{ +} - void DataValue:: - long_post (Type const&) - { - } +void DataValue:: +long_pre (Type const&) +{ +} - void DataValue:: - long_none (Type&) - { - } +void DataValue:: +long_next (Type&) +{ +} - void DataValue:: - long_none (Type const&) - { - } +void DataValue:: +long_next (Type const&) +{ +} - void DataValue:: - ushort (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ushort_iterator b (o.begin_ushort()), e (o.end_ushort()); +void DataValue:: +long_post (Type&) +{ +} - if (b != e) - { - ushort_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ushort_next (o); - } - - ushort_post (o); - } +void DataValue:: +long_post (Type const&) +{ +} - else ushort_none (o); - } +void DataValue:: +long_none (Type&) +{ +} - void DataValue:: - ushort (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ushort_const_iterator b (o.begin_ushort()), e (o.end_ushort()); +void DataValue:: +long_none (Type const&) +{ +} - if (b != e) - { - ushort_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ushort_next (o); - } - - ushort_post (o); - } +void DataValue:: +ushort (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ushort_iterator b (o.begin_ushort()), e (o.end_ushort()); - else ushort_none (o); - } +if (b != e) +{ +ushort_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ushort_next (o); +} - void DataValue:: - ushort_pre (Type&) - { - } +ushort_post (o); +} - void DataValue:: - ushort_pre (Type const&) - { - } +else ushort_none (o); +} - void DataValue:: - ushort_next (Type&) - { - } +void DataValue:: +ushort (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ushort_const_iterator b (o.begin_ushort()), e (o.end_ushort()); - void DataValue:: - ushort_next (Type const&) - { - } +if (b != e) +{ +ushort_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ushort_next (o); +} - void DataValue:: - ushort_post (Type&) - { - } +ushort_post (o); +} - void DataValue:: - ushort_post (Type const&) - { - } +else ushort_none (o); +} - void DataValue:: - ushort_none (Type&) - { - } +void DataValue:: +ushort_pre (Type&) +{ +} - void DataValue:: - ushort_none (Type const&) - { - } +void DataValue:: +ushort_pre (Type const&) +{ +} - void DataValue:: - ulong (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ulong_iterator b (o.begin_ulong()), e (o.end_ulong()); +void DataValue:: +ushort_next (Type&) +{ +} - if (b != e) - { - ulong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ulong_next (o); - } - - ulong_post (o); - } +void DataValue:: +ushort_next (Type const&) +{ +} - else ulong_none (o); - } +void DataValue:: +ushort_post (Type&) +{ +} - void DataValue:: - ulong (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ulong_const_iterator b (o.begin_ulong()), e (o.end_ulong()); +void DataValue:: +ushort_post (Type const&) +{ +} - if (b != e) - { - ulong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ulong_next (o); - } - - ulong_post (o); - } +void DataValue:: +ushort_none (Type&) +{ +} - else ulong_none (o); - } +void DataValue:: +ushort_none (Type const&) +{ +} - void DataValue:: - ulong_pre (Type&) - { - } +void DataValue:: +ulong (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ulong_iterator b (o.begin_ulong()), e (o.end_ulong()); - void DataValue:: - ulong_pre (Type const&) - { - } +if (b != e) +{ +ulong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ulong_next (o); +} - void DataValue:: - ulong_next (Type&) - { - } +ulong_post (o); +} - void DataValue:: - ulong_next (Type const&) - { - } +else ulong_none (o); +} - void DataValue:: - ulong_post (Type&) - { - } +void DataValue:: +ulong (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ulong_const_iterator b (o.begin_ulong()), e (o.end_ulong()); - void DataValue:: - ulong_post (Type const&) - { - } +if (b != e) +{ +ulong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ulong_next (o); +} - void DataValue:: - ulong_none (Type&) - { - } +ulong_post (o); +} - void DataValue:: - ulong_none (Type const&) - { - } +else ulong_none (o); +} - void DataValue:: - float_ (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::float_iterator b (o.begin_float()), e (o.end_float()); +void DataValue:: +ulong_pre (Type&) +{ +} - if (b != e) - { - float_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) float_next (o); - } - - float_post (o); - } +void DataValue:: +ulong_pre (Type const&) +{ +} - else float_none (o); - } +void DataValue:: +ulong_next (Type&) +{ +} - void DataValue:: - float_ (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::float_const_iterator b (o.begin_float()), e (o.end_float()); +void DataValue:: +ulong_next (Type const&) +{ +} - if (b != e) - { - float_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) float_next (o); - } - - float_post (o); - } +void DataValue:: +ulong_post (Type&) +{ +} - else float_none (o); - } +void DataValue:: +ulong_post (Type const&) +{ +} - void DataValue:: - float_pre (Type&) - { - } +void DataValue:: +ulong_none (Type&) +{ +} - void DataValue:: - float_pre (Type const&) - { - } +void DataValue:: +ulong_none (Type const&) +{ +} - void DataValue:: - float_next (Type&) - { - } +void DataValue:: +float_ (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::float_iterator b (o.begin_float()), e (o.end_float()); - void DataValue:: - float_next (Type const&) - { - } +if (b != e) +{ +float_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) float_next (o); +} - void DataValue:: - float_post (Type&) - { - } +float_post (o); +} - void DataValue:: - float_post (Type const&) - { - } +else float_none (o); +} - void DataValue:: - float_none (Type&) - { - } +void DataValue:: +float_ (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::float_const_iterator b (o.begin_float()), e (o.end_float()); - void DataValue:: - float_none (Type const&) - { - } +if (b != e) +{ +float_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) float_next (o); +} - void DataValue:: - double_ (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::double_iterator b (o.begin_double()), e (o.end_double()); +float_post (o); +} - if (b != e) - { - double_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) double_next (o); - } - - double_post (o); - } +else float_none (o); +} - else double_none (o); - } +void DataValue:: +float_pre (Type&) +{ +} - void DataValue:: - double_ (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::double_const_iterator b (o.begin_double()), e (o.end_double()); +void DataValue:: +float_pre (Type const&) +{ +} - if (b != e) - { - double_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) double_next (o); - } - - double_post (o); - } +void DataValue:: +float_next (Type&) +{ +} - else double_none (o); - } +void DataValue:: +float_next (Type const&) +{ +} - void DataValue:: - double_pre (Type&) - { - } +void DataValue:: +float_post (Type&) +{ +} - void DataValue:: - double_pre (Type const&) - { - } +void DataValue:: +float_post (Type const&) +{ +} - void DataValue:: - double_next (Type&) - { - } +void DataValue:: +float_none (Type&) +{ +} - void DataValue:: - double_next (Type const&) - { - } +void DataValue:: +float_none (Type const&) +{ +} - void DataValue:: - double_post (Type&) - { - } +void DataValue:: +double_ (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::double_iterator b (o.begin_double()), e (o.end_double()); - void DataValue:: - double_post (Type const&) - { - } +if (b != e) +{ +double_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) double_next (o); +} - void DataValue:: - double_none (Type&) - { - } +double_post (o); +} - void DataValue:: - double_none (Type const&) - { - } +else double_none (o); +} - void DataValue:: - boolean (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::boolean_iterator b (o.begin_boolean()), e (o.end_boolean()); +void DataValue:: +double_ (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::double_const_iterator b (o.begin_double()), e (o.end_double()); - if (b != e) - { - boolean_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) boolean_next (o); - } - - boolean_post (o); - } +if (b != e) +{ +double_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) double_next (o); +} - else boolean_none (o); - } +double_post (o); +} - void DataValue:: - boolean (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::boolean_const_iterator b (o.begin_boolean()), e (o.end_boolean()); +else double_none (o); +} - if (b != e) - { - boolean_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) boolean_next (o); - } - - boolean_post (o); - } +void DataValue:: +double_pre (Type&) +{ +} - else boolean_none (o); - } +void DataValue:: +double_pre (Type const&) +{ +} - void DataValue:: - boolean_pre (Type&) - { - } +void DataValue:: +double_next (Type&) +{ +} - void DataValue:: - boolean_pre (Type const&) - { - } +void DataValue:: +double_next (Type const&) +{ +} - void DataValue:: - boolean_next (Type&) - { - } +void DataValue:: +double_post (Type&) +{ +} - void DataValue:: - boolean_next (Type const&) - { - } +void DataValue:: +double_post (Type const&) +{ +} - void DataValue:: - boolean_post (Type&) - { - } +void DataValue:: +double_none (Type&) +{ +} - void DataValue:: - boolean_post (Type const&) - { - } +void DataValue:: +double_none (Type const&) +{ +} - void DataValue:: - boolean_none (Type&) - { - } +void DataValue:: +boolean (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::boolean_iterator b (o.begin_boolean()), e (o.end_boolean()); - void DataValue:: - boolean_none (Type const&) - { - } +if (b != e) +{ +boolean_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) boolean_next (o); +} - void DataValue:: - octet (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::octet_iterator b (o.begin_octet()), e (o.end_octet()); +boolean_post (o); +} - if (b != e) - { - octet_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) octet_next (o); - } - - octet_post (o); - } +else boolean_none (o); +} - else octet_none (o); - } +void DataValue:: +boolean (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::boolean_const_iterator b (o.begin_boolean()), e (o.end_boolean()); - void DataValue:: - octet (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::octet_const_iterator b (o.begin_octet()), e (o.end_octet()); +if (b != e) +{ +boolean_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) boolean_next (o); +} - if (b != e) - { - octet_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) octet_next (o); - } - - octet_post (o); - } +boolean_post (o); +} - else octet_none (o); - } +else boolean_none (o); +} - void DataValue:: - octet_pre (Type&) - { - } +void DataValue:: +boolean_pre (Type&) +{ +} - void DataValue:: - octet_pre (Type const&) - { - } +void DataValue:: +boolean_pre (Type const&) +{ +} - void DataValue:: - octet_next (Type&) - { - } +void DataValue:: +boolean_next (Type&) +{ +} - void DataValue:: - octet_next (Type const&) - { - } +void DataValue:: +boolean_next (Type const&) +{ +} - void DataValue:: - octet_post (Type&) - { - } +void DataValue:: +boolean_post (Type&) +{ +} - void DataValue:: - octet_post (Type const&) - { - } +void DataValue:: +boolean_post (Type const&) +{ +} - void DataValue:: - octet_none (Type&) - { - } +void DataValue:: +boolean_none (Type&) +{ +} - void DataValue:: - octet_none (Type const&) - { - } +void DataValue:: +boolean_none (Type const&) +{ +} - void DataValue:: - enum_ (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::enum_iterator b (o.begin_enum()), e (o.end_enum()); +void DataValue:: +octet (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::octet_iterator b (o.begin_octet()), e (o.end_octet()); - if (b != e) - { - enum_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) enum_next (o); - } - - enum_post (o); - } +if (b != e) +{ +octet_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) octet_next (o); +} - else enum_none (o); - } +octet_post (o); +} - void DataValue:: - enum_ (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::enum_const_iterator b (o.begin_enum()), e (o.end_enum()); +else octet_none (o); +} - if (b != e) - { - enum_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) enum_next (o); - } - - enum_post (o); - } +void DataValue:: +octet (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::octet_const_iterator b (o.begin_octet()), e (o.end_octet()); - else enum_none (o); - } +if (b != e) +{ +octet_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) octet_next (o); +} - void DataValue:: - enum_pre (Type&) - { - } +octet_post (o); +} - void DataValue:: - enum_pre (Type const&) - { - } +else octet_none (o); +} - void DataValue:: - enum_next (Type&) - { - } +void DataValue:: +octet_pre (Type&) +{ +} - void DataValue:: - enum_next (Type const&) - { - } +void DataValue:: +octet_pre (Type const&) +{ +} - void DataValue:: - enum_post (Type&) - { - } +void DataValue:: +octet_next (Type&) +{ +} - void DataValue:: - enum_post (Type const&) - { - } +void DataValue:: +octet_next (Type const&) +{ +} - void DataValue:: - enum_none (Type&) - { - } +void DataValue:: +octet_post (Type&) +{ +} - void DataValue:: - enum_none (Type const&) - { - } +void DataValue:: +octet_post (Type const&) +{ +} - void DataValue:: - string (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::string_iterator b (o.begin_string()), e (o.end_string()); +void DataValue:: +octet_none (Type&) +{ +} - if (b != e) - { - string_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) string_next (o); - } - - string_post (o); - } +void DataValue:: +octet_none (Type const&) +{ +} - else string_none (o); - } +void DataValue:: +enum_ (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::enum_iterator b (o.begin_enum()), e (o.end_enum()); - void DataValue:: - string (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::string_const_iterator b (o.begin_string()), e (o.end_string()); +if (b != e) +{ +enum_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) enum_next (o); +} - if (b != e) - { - string_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) string_next (o); - } - - string_post (o); - } +enum_post (o); +} - else string_none (o); - } +else enum_none (o); +} - void DataValue:: - string_pre (Type&) - { - } +void DataValue:: +enum_ (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::enum_const_iterator b (o.begin_enum()), e (o.end_enum()); - void DataValue:: - string_pre (Type const&) - { - } +if (b != e) +{ +enum_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) enum_next (o); +} - void DataValue:: - string_next (Type&) - { - } +enum_post (o); +} - void DataValue:: - string_next (Type const&) - { - } +else enum_none (o); +} - void DataValue:: - string_post (Type&) - { - } +void DataValue:: +enum_pre (Type&) +{ +} - void DataValue:: - string_post (Type const&) - { - } +void DataValue:: +enum_pre (Type const&) +{ +} - void DataValue:: - string_none (Type&) - { - } +void DataValue:: +enum_next (Type&) +{ +} - void DataValue:: - string_none (Type const&) - { - } +void DataValue:: +enum_next (Type const&) +{ +} - void DataValue:: - longlong (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::longlong_iterator b (o.begin_longlong()), e (o.end_longlong()); +void DataValue:: +enum_post (Type&) +{ +} - if (b != e) - { - longlong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) longlong_next (o); - } - - longlong_post (o); - } +void DataValue:: +enum_post (Type const&) +{ +} - else longlong_none (o); - } +void DataValue:: +enum_none (Type&) +{ +} - void DataValue:: - longlong (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::longlong_const_iterator b (o.begin_longlong()), e (o.end_longlong()); +void DataValue:: +enum_none (Type const&) +{ +} - if (b != e) - { - longlong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) longlong_next (o); - } - - longlong_post (o); - } +void DataValue:: +string (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::string_iterator b (o.begin_string()), e (o.end_string()); - else longlong_none (o); - } +if (b != e) +{ +string_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) string_next (o); +} - void DataValue:: - longlong_pre (Type&) - { - } +string_post (o); +} - void DataValue:: - longlong_pre (Type const&) - { - } +else string_none (o); +} - void DataValue:: - longlong_next (Type&) - { - } +void DataValue:: +string (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::string_const_iterator b (o.begin_string()), e (o.end_string()); - void DataValue:: - longlong_next (Type const&) - { - } +if (b != e) +{ +string_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) string_next (o); +} - void DataValue:: - longlong_post (Type&) - { - } +string_post (o); +} - void DataValue:: - longlong_post (Type const&) - { - } +else string_none (o); +} - void DataValue:: - longlong_none (Type&) - { - } +void DataValue:: +string_pre (Type&) +{ +} - void DataValue:: - longlong_none (Type const&) - { - } +void DataValue:: +string_pre (Type const&) +{ +} - void DataValue:: - ulonglong (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ulonglong_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); +void DataValue:: +string_next (Type&) +{ +} - if (b != e) - { - ulonglong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ulonglong_next (o); - } - - ulonglong_post (o); - } +void DataValue:: +string_next (Type const&) +{ +} - else ulonglong_none (o); - } +void DataValue:: +string_post (Type&) +{ +} - void DataValue:: - ulonglong (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::ulonglong_const_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); +void DataValue:: +string_post (Type const&) +{ +} - if (b != e) - { - ulonglong_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) ulonglong_next (o); - } - - ulonglong_post (o); - } +void DataValue:: +string_none (Type&) +{ +} - else ulonglong_none (o); - } +void DataValue:: +string_none (Type const&) +{ +} - void DataValue:: - ulonglong_pre (Type&) - { - } +void DataValue:: +longlong (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::longlong_iterator b (o.begin_longlong()), e (o.end_longlong()); - void DataValue:: - ulonglong_pre (Type const&) - { - } +if (b != e) +{ +longlong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) longlong_next (o); +} - void DataValue:: - ulonglong_next (Type&) - { - } +longlong_post (o); +} - void DataValue:: - ulonglong_next (Type const&) - { - } +else longlong_none (o); +} - void DataValue:: - ulonglong_post (Type&) - { - } +void DataValue:: +longlong (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::longlong_const_iterator b (o.begin_longlong()), e (o.end_longlong()); - void DataValue:: - ulonglong_post (Type const&) - { - } +if (b != e) +{ +longlong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) longlong_next (o); +} - void DataValue:: - ulonglong_none (Type&) - { - } +longlong_post (o); +} - void DataValue:: - ulonglong_none (Type const&) - { - } +else longlong_none (o); +} - void DataValue:: - longdouble (Type& o) - { - // VC6 anathema strikes again - // - DataValue::Type::longdouble_iterator b (o.begin_longdouble()), e (o.end_longdouble()); +void DataValue:: +longlong_pre (Type&) +{ +} - if (b != e) - { - longdouble_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) longdouble_next (o); - } - - longdouble_post (o); - } +void DataValue:: +longlong_pre (Type const&) +{ +} - else longdouble_none (o); - } +void DataValue:: +longlong_next (Type&) +{ +} - void DataValue:: - longdouble (Type const& o) - { - // VC6 anathema strikes again - // - DataValue::Type::longdouble_const_iterator b (o.begin_longdouble()), e (o.end_longdouble()); +void DataValue:: +longlong_next (Type const&) +{ +} - if (b != e) - { - longdouble_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) longdouble_next (o); - } - - longdouble_post (o); - } +void DataValue:: +longlong_post (Type&) +{ +} - else longdouble_none (o); - } +void DataValue:: +longlong_post (Type const&) +{ +} - void DataValue:: - longdouble_pre (Type&) - { - } +void DataValue:: +longlong_none (Type&) +{ +} - void DataValue:: - longdouble_pre (Type const&) - { - } +void DataValue:: +longlong_none (Type const&) +{ +} - void DataValue:: - longdouble_next (Type&) - { - } +void DataValue:: +ulonglong (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ulonglong_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); - void DataValue:: - longdouble_next (Type const&) - { - } +if (b != e) +{ +ulonglong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ulonglong_next (o); +} - void DataValue:: - longdouble_post (Type&) - { - } +ulonglong_post (o); +} - void DataValue:: - longdouble_post (Type const&) - { - } +else ulonglong_none (o); +} - void DataValue:: - longdouble_none (Type&) - { - } +void DataValue:: +ulonglong (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::ulonglong_const_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); - void DataValue:: - longdouble_none (Type const&) - { - } +if (b != e) +{ +ulonglong_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) ulonglong_next (o); +} - void DataValue:: - post (Type&) - { - } +ulonglong_post (o); +} - void DataValue:: - post (Type const&) - { - } +else ulonglong_none (o); +} - // EnumType - // - // +void DataValue:: +ulonglong_pre (Type&) +{ +} - void EnumType:: - traverse (Type& o) - { - pre (o); - name (o); - typeId (o); - member (o); - post (o); - } +void DataValue:: +ulonglong_pre (Type const&) +{ +} - void EnumType:: - traverse (Type const& o) - { - pre (o); - name (o); - typeId (o); - member (o); - post (o); - } +void DataValue:: +ulonglong_next (Type&) +{ +} - void EnumType:: - pre (Type&) - { - } +void DataValue:: +ulonglong_next (Type const&) +{ +} - void EnumType:: - pre (Type const&) - { - } +void DataValue:: +ulonglong_post (Type&) +{ +} - void EnumType:: - name (Type& o) - { - dispatch (o.name ()); - } +void DataValue:: +ulonglong_post (Type const&) +{ +} - void EnumType:: - name (Type const& o) - { - dispatch (o.name ()); - } +void DataValue:: +ulonglong_none (Type&) +{ +} - void EnumType:: - typeId (Type& o) - { - dispatch (o.typeId ()); - } +void DataValue:: +ulonglong_none (Type const&) +{ +} - void EnumType:: - typeId (Type const& o) - { - dispatch (o.typeId ()); - } +void DataValue:: +longdouble (Type& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::longdouble_iterator b (o.begin_longdouble()), e (o.end_longdouble()); - void EnumType:: - member (Type& o) - { - // VC6 anathema strikes again - // - EnumType::Type::member_iterator b (o.begin_member()), e (o.end_member()); +if (b != e) +{ +longdouble_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) longdouble_next (o); +} - if (b != e) - { - member_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) member_next (o); - } - - member_post (o); - } - } +longdouble_post (o); +} - void EnumType:: - member (Type const& o) - { - // VC6 anathema strikes again - // - EnumType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); +else longdouble_none (o); +} - if (b != e) - { - member_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) member_next (o); - } - - member_post (o); - } - } +void DataValue:: +longdouble (Type const& o) +{ +// VC6 anathema strikes again +// +DataValue::Type::longdouble_const_iterator b (o.begin_longdouble()), e (o.end_longdouble()); - void EnumType:: - member_pre (Type&) - { - } +if (b != e) +{ +longdouble_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) longdouble_next (o); +} - void EnumType:: - member_pre (Type const&) - { - } +longdouble_post (o); +} - void EnumType:: - member_next (Type&) - { - } +else longdouble_none (o); +} - void EnumType:: - member_next (Type const&) - { - } +void DataValue:: +longdouble_pre (Type&) +{ +} - void EnumType:: - member_post (Type&) - { - } +void DataValue:: +longdouble_pre (Type const&) +{ +} - void EnumType:: - member_post (Type const&) - { - } +void DataValue:: +longdouble_next (Type&) +{ +} - void EnumType:: - post (Type&) - { - } +void DataValue:: +longdouble_next (Type const&) +{ +} - void EnumType:: - post (Type const&) - { - } +void DataValue:: +longdouble_post (Type&) +{ +} - // Any - // - // +void DataValue:: +longdouble_post (Type const&) +{ +} - void Any:: - traverse (Type& o) - { - pre (o); - type (o); - value (o); - post (o); - } +void DataValue:: +longdouble_none (Type&) +{ +} - void Any:: - traverse (Type const& o) - { - pre (o); - type (o); - value (o); - post (o); - } +void DataValue:: +longdouble_none (Type const&) +{ +} - void Any:: - pre (Type&) - { - } +void DataValue:: +post (Type&) +{ +} - void Any:: - pre (Type const&) - { - } +void DataValue:: +post (Type const&) +{ +} - void Any:: - type (Type& o) - { - dispatch (o.type ()); - } +// EnumType +// +// - void Any:: - type (Type const& o) - { - dispatch (o.type ()); - } +void EnumType:: +traverse (Type& o) +{ +pre (o); +name (o); +typeId (o); +member (o); +post (o); +} - void Any:: - value (Type& o) - { - dispatch (o.value ()); - } +void EnumType:: +traverse (Type const& o) +{ +pre (o); +name (o); +typeId (o); +member (o); +post (o); +} - void Any:: - value (Type const& o) - { - dispatch (o.value ()); - } +void EnumType:: +pre (Type&) +{ +} - void Any:: - post (Type&) - { - } +void EnumType:: +pre (Type const&) +{ +} - void Any:: - post (Type const&) - { - } +void EnumType:: +name (Type& o) +{ +dispatch (o.name ()); +} - // Property - // - // +void EnumType:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void Property:: - traverse (Type& o) - { - pre (o); - name (o); - value (o); - post (o); - } +void EnumType:: +typeId (Type& o) +{ +dispatch (o.typeId ()); +} - void Property:: - traverse (Type const& o) - { - pre (o); - name (o); - value (o); - post (o); - } +void EnumType:: +typeId (Type const& o) +{ +dispatch (o.typeId ()); +} - void Property:: - pre (Type&) - { - } +void EnumType:: +member (Type& o) +{ +// VC6 anathema strikes again +// +EnumType::Type::member_iterator b (o.begin_member()), e (o.end_member()); - void Property:: - pre (Type const&) - { - } +if (b != e) +{ +member_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) member_next (o); +} - void Property:: - name (Type& o) - { - dispatch (o.name ()); - } +member_post (o); +} +} - void Property:: - name (Type const& o) - { - dispatch (o.name ()); - } +void EnumType:: +member (Type const& o) +{ +// VC6 anathema strikes again +// +EnumType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); - void Property:: - value (Type& o) - { - dispatch (o.value ()); - } +if (b != e) +{ +member_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) member_next (o); +} - void Property:: - value (Type const& o) - { - dispatch (o.value ()); - } +member_post (o); +} +} - void Property:: - post (Type&) - { - } +void EnumType:: +member_pre (Type&) +{ +} - void Property:: - post (Type const&) - { - } +void EnumType:: +member_pre (Type const&) +{ +} - // SatisfierProperty - // - // +void EnumType:: +member_next (Type&) +{ +} - void SatisfierProperty:: - traverse (Type& o) - { - pre (o); - name (o); - kind (o); - value (o); - post (o); - } +void EnumType:: +member_next (Type const&) +{ +} - void SatisfierProperty:: - traverse (Type const& o) - { - pre (o); - name (o); - kind (o); - value (o); - post (o); - } +void EnumType:: +member_post (Type&) +{ +} - void SatisfierProperty:: - pre (Type&) - { - } +void EnumType:: +member_post (Type const&) +{ +} - void SatisfierProperty:: - pre (Type const&) - { - } +void EnumType:: +post (Type&) +{ +} - void SatisfierProperty:: - name (Type& o) - { - dispatch (o.name ()); - } +void EnumType:: +post (Type const&) +{ +} - void SatisfierProperty:: - name (Type const& o) - { - dispatch (o.name ()); - } +// Any +// +// - void SatisfierProperty:: - kind (Type& o) - { - dispatch (o.kind ()); - } +void Any:: +traverse (Type& o) +{ +pre (o); +type (o); +value (o); +post (o); +} - void SatisfierProperty:: - kind (Type const& o) - { - dispatch (o.kind ()); - } +void Any:: +traverse (Type const& o) +{ +pre (o); +type (o); +value (o); +post (o); +} - void SatisfierProperty:: - value (Type& o) - { - dispatch (o.value ()); - } +void Any:: +pre (Type&) +{ +} - void SatisfierProperty:: - value (Type const& o) - { - dispatch (o.value ()); - } +void Any:: +pre (Type const&) +{ +} - void SatisfierProperty:: - post (Type&) - { - } +void Any:: +type (Type& o) +{ +dispatch (o.type ()); +} - void SatisfierProperty:: - post (Type const&) - { - } +void Any:: +type (Type const& o) +{ +dispatch (o.type ()); +} - // Resource - // - // +void Any:: +value (Type& o) +{ +dispatch (o.value ()); +} - void Resource:: - traverse (Type& o) - { - pre (o); - name (o); - resourceType (o); - property (o); - post (o); - } +void Any:: +value (Type const& o) +{ +dispatch (o.value ()); +} - void Resource:: - traverse (Type const& o) - { - pre (o); - name (o); - resourceType (o); - property (o); - post (o); - } +void Any:: +post (Type&) +{ +} - void Resource:: - pre (Type&) - { - } +void Any:: +post (Type const&) +{ +} - void Resource:: - pre (Type const&) - { - } +// Property +// +// - void Resource:: - name (Type& o) - { - dispatch (o.name ()); - } +void Property:: +traverse (Type& o) +{ +pre (o); +name (o); +value (o); +post (o); +} - void Resource:: - name (Type const& o) - { - dispatch (o.name ()); - } +void Property:: +traverse (Type const& o) +{ +pre (o); +name (o); +value (o); +post (o); +} - void Resource:: - resourceType (Type& o) - { - // VC6 anathema strikes again - // - Resource::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); +void Property:: +pre (Type&) +{ +} - if (b != e) - { - resourceType_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resourceType_next (o); - } - - resourceType_post (o); - } - } +void Property:: +pre (Type const&) +{ +} - void Resource:: - resourceType (Type const& o) - { - // VC6 anathema strikes again - // - Resource::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); +void Property:: +name (Type& o) +{ +dispatch (o.name ()); +} - if (b != e) - { - resourceType_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resourceType_next (o); - } - - resourceType_post (o); - } - } +void Property:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void Resource:: - resourceType_pre (Type&) - { - } +void Property:: +value (Type& o) +{ +dispatch (o.value ()); +} - void Resource:: - resourceType_pre (Type const&) - { - } +void Property:: +value (Type const& o) +{ +dispatch (o.value ()); +} - void Resource:: - resourceType_next (Type&) - { - } +void Property:: +post (Type&) +{ +} - void Resource:: - resourceType_next (Type const&) - { - } +void Property:: +post (Type const&) +{ +} - void Resource:: - resourceType_post (Type&) - { - } +// SatisfierProperty +// +// - void Resource:: - resourceType_post (Type const&) - { - } +void SatisfierProperty:: +traverse (Type& o) +{ +pre (o); +name (o); +kind (o); +dynamic (o); +value (o); +post (o); +} - void Resource:: - property (Type& o) - { - // VC6 anathema strikes again - // - Resource::Type::property_iterator b (o.begin_property()), e (o.end_property()); +void SatisfierProperty:: +traverse (Type const& o) +{ +pre (o); +name (o); +kind (o); +dynamic (o); +value (o); +post (o); +} - if (b != e) - { - property_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) property_next (o); - } - - property_post (o); - } +void SatisfierProperty:: +pre (Type&) +{ +} - else property_none (o); - } +void SatisfierProperty:: +pre (Type const&) +{ +} - void Resource:: - property (Type const& o) - { - // VC6 anathema strikes again - // - Resource::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); +void SatisfierProperty:: +name (Type& o) +{ +dispatch (o.name ()); +} - if (b != e) - { - property_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) property_next (o); - } - - property_post (o); - } +void SatisfierProperty:: +name (Type const& o) +{ +dispatch (o.name ()); +} - else property_none (o); - } +void SatisfierProperty:: +kind (Type& o) +{ +dispatch (o.kind ()); +} - void Resource:: - property_pre (Type&) - { - } +void SatisfierProperty:: +kind (Type const& o) +{ +dispatch (o.kind ()); +} - void Resource:: - property_pre (Type const&) - { - } +void SatisfierProperty:: +dynamic (Type& o) +{ +dispatch (o.dynamic ()); +} - void Resource:: - property_next (Type&) - { - } +void SatisfierProperty:: +dynamic (Type const& o) +{ +dispatch (o.dynamic ()); +} - void Resource:: - property_next (Type const&) - { - } +void SatisfierProperty:: +value (Type& o) +{ +dispatch (o.value ()); +} - void Resource:: - property_post (Type&) - { - } +void SatisfierProperty:: +value (Type const& o) +{ +dispatch (o.value ()); +} - void Resource:: - property_post (Type const&) - { - } +void SatisfierProperty:: +post (Type&) +{ +} - void Resource:: - property_none (Type&) - { - } +void SatisfierProperty:: +post (Type const&) +{ +} - void Resource:: - property_none (Type const&) - { - } +// Resource +// +// - void Resource:: - post (Type&) - { - } +void Resource:: +traverse (Type& o) +{ +pre (o); +name (o); +resourceType (o); +property (o); +post (o); +} - void Resource:: - post (Type const&) - { - } +void Resource:: +traverse (Type const& o) +{ +pre (o); +name (o); +resourceType (o); +property (o); +post (o); +} - // Requirement - // - // +void Resource:: +pre (Type&) +{ +} - void Requirement:: - traverse (Type& o) - { - pre (o); - resourceType (o); - name (o); - property (o); - post (o); - } +void Resource:: +pre (Type const&) +{ +} - void Requirement:: - traverse (Type const& o) - { - pre (o); - resourceType (o); - name (o); - property (o); - post (o); - } +void Resource:: +name (Type& o) +{ +dispatch (o.name ()); +} - void Requirement:: - pre (Type&) - { - } +void Resource:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void Requirement:: - pre (Type const&) - { - } +void Resource:: +resourceType (Type& o) +{ +// VC6 anathema strikes again +// +Resource::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); - void Requirement:: - resourceType (Type& o) - { - dispatch (o.resourceType ()); - } +if (b != e) +{ +resourceType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resourceType_next (o); +} - void Requirement:: - resourceType (Type const& o) - { - dispatch (o.resourceType ()); - } +resourceType_post (o); +} +} - void Requirement:: - name (Type& o) - { - dispatch (o.name ()); - } +void Resource:: +resourceType (Type const& o) +{ +// VC6 anathema strikes again +// +Resource::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); - void Requirement:: - name (Type const& o) - { - dispatch (o.name ()); - } +if (b != e) +{ +resourceType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resourceType_next (o); +} - void Requirement:: - property (Type& o) - { - dispatch (o.property ()); - } +resourceType_post (o); +} +} - void Requirement:: - property (Type const& o) - { - dispatch (o.property ()); - } +void Resource:: +resourceType_pre (Type&) +{ +} - void Requirement:: - post (Type&) - { - } +void Resource:: +resourceType_pre (Type const&) +{ +} - void Requirement:: - post (Type const&) - { - } +void Resource:: +resourceType_next (Type&) +{ +} - // ResourceDeploymentDescription - // - // +void Resource:: +resourceType_next (Type const&) +{ +} - void ResourceDeploymentDescription:: - traverse (Type& o) - { - pre (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +void Resource:: +resourceType_post (Type&) +{ +} - void ResourceDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +void Resource:: +resourceType_post (Type const&) +{ +} - void ResourceDeploymentDescription:: - pre (Type&) - { - } +void Resource:: +property (Type& o) +{ +// VC6 anathema strikes again +// +Resource::Type::property_iterator b (o.begin_property()), e (o.end_property()); - void ResourceDeploymentDescription:: - pre (Type const&) - { - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ResourceDeploymentDescription:: - requirementName (Type& o) - { - dispatch (o.requirementName ()); - } +property_post (o); +} - void ResourceDeploymentDescription:: - requirementName (Type const& o) - { - dispatch (o.requirementName ()); - } +else property_none (o); +} - void ResourceDeploymentDescription:: - resourceName (Type& o) - { - dispatch (o.resourceName ()); - } +void Resource:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +Resource::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); - void ResourceDeploymentDescription:: - resourceName (Type const& o) - { - dispatch (o.resourceName ()); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ResourceDeploymentDescription:: - resourceValue (Type& o) - { - dispatch (o.resourceValue ()); - } +property_post (o); +} - void ResourceDeploymentDescription:: - resourceValue (Type const& o) - { - dispatch (o.resourceValue ()); - } +else property_none (o); +} - void ResourceDeploymentDescription:: - post (Type&) - { - } +void Resource:: +property_pre (Type&) +{ +} - void ResourceDeploymentDescription:: - post (Type const&) - { - } +void Resource:: +property_pre (Type const&) +{ +} - // ArtifactDeploymentDescription - // - // +void Resource:: +property_next (Type&) +{ +} - void ArtifactDeploymentDescription:: - traverse (Type& o) - { - pre (o); - name (o); - source (o); - node (o); - location (o); - execParameter (o); - deployRequirement (o); - deployedResource (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void Resource:: +property_next (Type const&) +{ +} - void ArtifactDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - source (o); - node (o); - location (o); - execParameter (o); - deployRequirement (o); - deployedResource (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void Resource:: +property_post (Type&) +{ +} - void ArtifactDeploymentDescription:: - pre (Type&) - { - } +void Resource:: +property_post (Type const&) +{ +} - void ArtifactDeploymentDescription:: - pre (Type const&) - { - } +void Resource:: +property_none (Type&) +{ +} - void ArtifactDeploymentDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void Resource:: +property_none (Type const&) +{ +} - void ArtifactDeploymentDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void Resource:: +post (Type&) +{ +} - void ArtifactDeploymentDescription:: - source (Type& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); +void Resource:: +post (Type const&) +{ +} - if (b != e) - { - source_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) source_next (o); - } - - source_post (o); - } - } +// Requirement +// +// - void ArtifactDeploymentDescription:: - source (Type const& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); +void Requirement:: +traverse (Type& o) +{ +pre (o); +resourceType (o); +name (o); +property (o); +post (o); +} - if (b != e) - { - source_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) source_next (o); - } - - source_post (o); - } - } +void Requirement:: +traverse (Type const& o) +{ +pre (o); +resourceType (o); +name (o); +property (o); +post (o); +} - void ArtifactDeploymentDescription:: - source_pre (Type&) - { - } +void Requirement:: +pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - source_pre (Type const&) - { - } +void Requirement:: +pre (Type const&) +{ +} - void ArtifactDeploymentDescription:: - source_next (Type&) - { - } +void Requirement:: +resourceType (Type& o) +{ +dispatch (o.resourceType ()); +} - void ArtifactDeploymentDescription:: - source_next (Type const&) - { - } +void Requirement:: +resourceType (Type const& o) +{ +dispatch (o.resourceType ()); +} - void ArtifactDeploymentDescription:: - source_post (Type&) - { - } +void Requirement:: +name (Type& o) +{ +dispatch (o.name ()); +} - void ArtifactDeploymentDescription:: - source_post (Type const&) - { - } +void Requirement:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void ArtifactDeploymentDescription:: - node (Type& o) - { - dispatch (o.node ()); - } +void Requirement:: +property (Type& o) +{ +// VC6 anathema strikes again +// +Requirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); - void ArtifactDeploymentDescription:: - node (Type const& o) - { - dispatch (o.node ()); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ArtifactDeploymentDescription:: - location (Type& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); +property_post (o); +} - if (b != e) - { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); - } - } +else property_none (o); +} - void ArtifactDeploymentDescription:: - location (Type const& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); +void Requirement:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +Requirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); - if (b != e) - { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); - } - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ArtifactDeploymentDescription:: - location_pre (Type&) - { - } +property_post (o); +} - void ArtifactDeploymentDescription:: - location_pre (Type const&) - { - } +else property_none (o); +} - void ArtifactDeploymentDescription:: - location_next (Type&) - { - } +void Requirement:: +property_pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - location_next (Type const&) - { - } +void Requirement:: +property_pre (Type const&) +{ +} - void ArtifactDeploymentDescription:: - location_post (Type&) - { - } +void Requirement:: +property_next (Type&) +{ +} - void ArtifactDeploymentDescription:: - location_post (Type const&) - { - } +void Requirement:: +property_next (Type const&) +{ +} - void ArtifactDeploymentDescription:: - execParameter (Type& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); +void Requirement:: +property_post (Type&) +{ +} - if (b != e) - { - execParameter_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) execParameter_next (o); - } - - execParameter_post (o); - } +void Requirement:: +property_post (Type const&) +{ +} - else execParameter_none (o); - } +void Requirement:: +property_none (Type&) +{ +} - void ArtifactDeploymentDescription:: - execParameter (Type const& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); +void Requirement:: +property_none (Type const&) +{ +} - if (b != e) - { - execParameter_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) execParameter_next (o); - } - - execParameter_post (o); - } +void Requirement:: +post (Type&) +{ +} - else execParameter_none (o); - } +void Requirement:: +post (Type const&) +{ +} - void ArtifactDeploymentDescription:: - execParameter_pre (Type&) - { - } +// ResourceDeploymentDescription +// +// - void ArtifactDeploymentDescription:: - execParameter_pre (Type const&) - { - } +void ResourceDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void ArtifactDeploymentDescription:: - execParameter_next (Type&) - { - } +void ResourceDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void ArtifactDeploymentDescription:: - execParameter_next (Type const&) - { - } +void ResourceDeploymentDescription:: +pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - execParameter_post (Type&) - { - } +void ResourceDeploymentDescription:: +pre (Type const&) +{ +} - void ArtifactDeploymentDescription:: - execParameter_post (Type const&) - { - } +void ResourceDeploymentDescription:: +requirementName (Type& o) +{ +dispatch (o.requirementName ()); +} - void ArtifactDeploymentDescription:: - execParameter_none (Type&) - { - } +void ResourceDeploymentDescription:: +requirementName (Type const& o) +{ +dispatch (o.requirementName ()); +} - void ArtifactDeploymentDescription:: - execParameter_none (Type const&) - { - } +void ResourceDeploymentDescription:: +resourceName (Type& o) +{ +dispatch (o.resourceName ()); +} - void ArtifactDeploymentDescription:: - deployRequirement (Type& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +void ResourceDeploymentDescription:: +resourceName (Type const& o) +{ +dispatch (o.resourceName ()); +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +void ResourceDeploymentDescription:: +property (Type& o) +{ +// VC6 anathema strikes again +// +ResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); - else deployRequirement_none (o); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ArtifactDeploymentDescription:: - deployRequirement (Type const& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +property_post (o); +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +else property_none (o); +} - else deployRequirement_none (o); - } +void ResourceDeploymentDescription:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +ResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); - void ArtifactDeploymentDescription:: - deployRequirement_pre (Type&) - { - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ArtifactDeploymentDescription:: - deployRequirement_pre (Type const&) - { - } +property_post (o); +} - void ArtifactDeploymentDescription:: - deployRequirement_next (Type&) - { - } +else property_none (o); +} - void ArtifactDeploymentDescription:: - deployRequirement_next (Type const&) - { - } +void ResourceDeploymentDescription:: +property_pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - deployRequirement_post (Type&) - { - } +void ResourceDeploymentDescription:: +property_pre (Type const&) +{ +} - void ArtifactDeploymentDescription:: - deployRequirement_post (Type const&) - { - } +void ResourceDeploymentDescription:: +property_next (Type&) +{ +} - void ArtifactDeploymentDescription:: - deployRequirement_none (Type&) - { - } +void ResourceDeploymentDescription:: +property_next (Type const&) +{ +} - void ArtifactDeploymentDescription:: - deployRequirement_none (Type const&) - { - } +void ResourceDeploymentDescription:: +property_post (Type&) +{ +} - void ArtifactDeploymentDescription:: - deployedResource (Type& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); +void ResourceDeploymentDescription:: +property_post (Type const&) +{ +} - if (b != e) - { - deployedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployedResource_next (o); - } - - deployedResource_post (o); - } +void ResourceDeploymentDescription:: +property_none (Type&) +{ +} - else deployedResource_none (o); - } +void ResourceDeploymentDescription:: +property_none (Type const&) +{ +} - void ArtifactDeploymentDescription:: - deployedResource (Type const& o) - { - // VC6 anathema strikes again - // - ArtifactDeploymentDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); +void ResourceDeploymentDescription:: +post (Type&) +{ +} - if (b != e) - { - deployedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployedResource_next (o); - } - - deployedResource_post (o); - } +void ResourceDeploymentDescription:: +post (Type const&) +{ +} - else deployedResource_none (o); - } +// ArtifactDeploymentDescription +// +// - void ArtifactDeploymentDescription:: - deployedResource_pre (Type&) - { - } +void ArtifactDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +source (o); +node (o); +location (o); +execParameter (o); +deployRequirement (o); +deployedResource (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void ArtifactDeploymentDescription:: - deployedResource_pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +source (o); +node (o); +location (o); +execParameter (o); +deployRequirement (o); +deployedResource (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void ArtifactDeploymentDescription:: - deployedResource_next (Type&) - { - } +void ArtifactDeploymentDescription:: +pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - deployedResource_next (Type const&) - { - } +void ArtifactDeploymentDescription:: +pre (Type const&) +{ +} - void ArtifactDeploymentDescription:: - deployedResource_post (Type&) - { - } +void ArtifactDeploymentDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void ArtifactDeploymentDescription:: - deployedResource_post (Type const&) - { - } +void ArtifactDeploymentDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void ArtifactDeploymentDescription:: - deployedResource_none (Type&) - { - } +void ArtifactDeploymentDescription:: +source (Type& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); - void ArtifactDeploymentDescription:: - deployedResource_none (Type const&) - { - } +if (b != e) +{ +source_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) source_next (o); +} - void ArtifactDeploymentDescription:: - id (Type& o) - { - dispatch (o.id ()); - } +source_post (o); +} +} - void ArtifactDeploymentDescription:: - id (Type const& o) - { - dispatch (o.id ()); - } +void ArtifactDeploymentDescription:: +source (Type const& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); - void ArtifactDeploymentDescription:: - id_none (Type&) - { - } +if (b != e) +{ +source_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) source_next (o); +} - void ArtifactDeploymentDescription:: - id_none (Type const&) - { - } +source_post (o); +} +} - void ArtifactDeploymentDescription:: - post (Type&) - { - } +void ArtifactDeploymentDescription:: +source_pre (Type&) +{ +} - void ArtifactDeploymentDescription:: - post (Type const&) - { - } +void ArtifactDeploymentDescription:: +source_pre (Type const&) +{ +} - // MonolithicDeploymentDescription - // - // +void ArtifactDeploymentDescription:: +source_next (Type&) +{ +} - void MonolithicDeploymentDescription:: - traverse (Type& o) - { - pre (o); - name (o); - source (o); - artifact (o); - execParameter (o); - deployRequirement (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void ArtifactDeploymentDescription:: +source_next (Type const&) +{ +} - void MonolithicDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - source (o); - artifact (o); - execParameter (o); - deployRequirement (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void ArtifactDeploymentDescription:: +source_post (Type&) +{ +} - void MonolithicDeploymentDescription:: - pre (Type&) - { - } +void ArtifactDeploymentDescription:: +source_post (Type const&) +{ +} - void MonolithicDeploymentDescription:: - pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +node (Type& o) +{ +dispatch (o.node ()); +} - void MonolithicDeploymentDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void ArtifactDeploymentDescription:: +node (Type const& o) +{ +dispatch (o.node ()); +} - void MonolithicDeploymentDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void ArtifactDeploymentDescription:: +location (Type& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); - void MonolithicDeploymentDescription:: - source (Type& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); +if (b != e) +{ +location_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) location_next (o); +} - if (b != e) - { - source_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) source_next (o); - } - - source_post (o); - } - } +location_post (o); +} +} - void MonolithicDeploymentDescription:: - source (Type const& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); +void ArtifactDeploymentDescription:: +location (Type const& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); - if (b != e) - { - source_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) source_next (o); - } - - source_post (o); - } - } +if (b != e) +{ +location_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) location_next (o); +} - void MonolithicDeploymentDescription:: - source_pre (Type&) - { - } +location_post (o); +} +} - void MonolithicDeploymentDescription:: - source_pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +location_pre (Type&) +{ +} - void MonolithicDeploymentDescription:: - source_next (Type&) - { - } +void ArtifactDeploymentDescription:: +location_pre (Type const&) +{ +} - void MonolithicDeploymentDescription:: - source_next (Type const&) - { - } +void ArtifactDeploymentDescription:: +location_next (Type&) +{ +} - void MonolithicDeploymentDescription:: - source_post (Type&) - { - } +void ArtifactDeploymentDescription:: +location_next (Type const&) +{ +} - void MonolithicDeploymentDescription:: - source_post (Type const&) - { - } +void ArtifactDeploymentDescription:: +location_post (Type&) +{ +} - void MonolithicDeploymentDescription:: - artifact (Type& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); +void ArtifactDeploymentDescription:: +location_post (Type const&) +{ +} - if (b != e) - { - artifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) artifact_next (o); - } - - artifact_post (o); - } - } +void ArtifactDeploymentDescription:: +execParameter (Type& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - void MonolithicDeploymentDescription:: - artifact (Type const& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} - if (b != e) - { - artifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) artifact_next (o); - } - - artifact_post (o); - } - } +execParameter_post (o); +} - void MonolithicDeploymentDescription:: - artifact_pre (Type&) - { - } +else execParameter_none (o); +} - void MonolithicDeploymentDescription:: - artifact_pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +execParameter (Type const& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - void MonolithicDeploymentDescription:: - artifact_next (Type&) - { - } +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} - void MonolithicDeploymentDescription:: - artifact_next (Type const&) - { - } +execParameter_post (o); +} - void MonolithicDeploymentDescription:: - artifact_post (Type&) - { - } +else execParameter_none (o); +} - void MonolithicDeploymentDescription:: - artifact_post (Type const&) - { - } +void ArtifactDeploymentDescription:: +execParameter_pre (Type&) +{ +} - void MonolithicDeploymentDescription:: - execParameter (Type& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); +void ArtifactDeploymentDescription:: +execParameter_pre (Type const&) +{ +} - if (b != e) - { - execParameter_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) execParameter_next (o); - } - - execParameter_post (o); - } +void ArtifactDeploymentDescription:: +execParameter_next (Type&) +{ +} - else execParameter_none (o); - } +void ArtifactDeploymentDescription:: +execParameter_next (Type const&) +{ +} - void MonolithicDeploymentDescription:: - execParameter (Type const& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); +void ArtifactDeploymentDescription:: +execParameter_post (Type&) +{ +} - if (b != e) - { - execParameter_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) execParameter_next (o); - } - - execParameter_post (o); - } +void ArtifactDeploymentDescription:: +execParameter_post (Type const&) +{ +} - else execParameter_none (o); - } +void ArtifactDeploymentDescription:: +execParameter_none (Type&) +{ +} - void MonolithicDeploymentDescription:: - execParameter_pre (Type&) - { - } +void ArtifactDeploymentDescription:: +execParameter_none (Type const&) +{ +} - void MonolithicDeploymentDescription:: - execParameter_pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void MonolithicDeploymentDescription:: - execParameter_next (Type&) - { - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void MonolithicDeploymentDescription:: - execParameter_next (Type const&) - { - } +deployRequirement_post (o); +} - void MonolithicDeploymentDescription:: - execParameter_post (Type&) - { - } +else deployRequirement_none (o); +} - void MonolithicDeploymentDescription:: - execParameter_post (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void MonolithicDeploymentDescription:: - execParameter_none (Type&) - { - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void MonolithicDeploymentDescription:: - execParameter_none (Type const&) - { - } +deployRequirement_post (o); +} - void MonolithicDeploymentDescription:: - deployRequirement (Type& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +else deployRequirement_none (o); +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +void ArtifactDeploymentDescription:: +deployRequirement_pre (Type&) +{ +} - else deployRequirement_none (o); - } +void ArtifactDeploymentDescription:: +deployRequirement_pre (Type const&) +{ +} - void MonolithicDeploymentDescription:: - deployRequirement (Type const& o) - { - // VC6 anathema strikes again - // - MonolithicDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +void ArtifactDeploymentDescription:: +deployRequirement_next (Type&) +{ +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +void ArtifactDeploymentDescription:: +deployRequirement_next (Type const&) +{ +} - else deployRequirement_none (o); - } +void ArtifactDeploymentDescription:: +deployRequirement_post (Type&) +{ +} - void MonolithicDeploymentDescription:: - deployRequirement_pre (Type&) - { - } +void ArtifactDeploymentDescription:: +deployRequirement_post (Type const&) +{ +} - void MonolithicDeploymentDescription:: - deployRequirement_pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployRequirement_none (Type&) +{ +} - void MonolithicDeploymentDescription:: - deployRequirement_next (Type&) - { - } +void ArtifactDeploymentDescription:: +deployRequirement_none (Type const&) +{ +} - void MonolithicDeploymentDescription:: - deployRequirement_next (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployedResource (Type& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); - void MonolithicDeploymentDescription:: - deployRequirement_post (Type&) - { - } +if (b != e) +{ +deployedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployedResource_next (o); +} - void MonolithicDeploymentDescription:: - deployRequirement_post (Type const&) - { - } +deployedResource_post (o); +} - void MonolithicDeploymentDescription:: - deployRequirement_none (Type&) - { - } +else deployedResource_none (o); +} - void MonolithicDeploymentDescription:: - deployRequirement_none (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployedResource (Type const& o) +{ +// VC6 anathema strikes again +// +ArtifactDeploymentDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); - void MonolithicDeploymentDescription:: - id (Type& o) - { - dispatch (o.id ()); - } +if (b != e) +{ +deployedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployedResource_next (o); +} - void MonolithicDeploymentDescription:: - id (Type const& o) - { - dispatch (o.id ()); - } +deployedResource_post (o); +} - void MonolithicDeploymentDescription:: - id_none (Type&) - { - } +else deployedResource_none (o); +} - void MonolithicDeploymentDescription:: - id_none (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployedResource_pre (Type&) +{ +} - void MonolithicDeploymentDescription:: - post (Type&) - { - } +void ArtifactDeploymentDescription:: +deployedResource_pre (Type const&) +{ +} - void MonolithicDeploymentDescription:: - post (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployedResource_next (Type&) +{ +} - // InstanceResourceDeploymentDescription - // - // +void ArtifactDeploymentDescription:: +deployedResource_next (Type const&) +{ +} - void InstanceResourceDeploymentDescription:: - traverse (Type& o) - { - pre (o); - resourceUsage (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +void ArtifactDeploymentDescription:: +deployedResource_post (Type&) +{ +} - void InstanceResourceDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - resourceUsage (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +void ArtifactDeploymentDescription:: +deployedResource_post (Type const&) +{ +} - void InstanceResourceDeploymentDescription:: - pre (Type&) - { - } +void ArtifactDeploymentDescription:: +deployedResource_none (Type&) +{ +} - void InstanceResourceDeploymentDescription:: - pre (Type const&) - { - } +void ArtifactDeploymentDescription:: +deployedResource_none (Type const&) +{ +} - void InstanceResourceDeploymentDescription:: - resourceUsage (Type& o) - { - dispatch (o.resourceUsage ()); - } +void ArtifactDeploymentDescription:: +id (Type& o) +{ +dispatch (o.id ()); +} - void InstanceResourceDeploymentDescription:: - resourceUsage (Type const& o) - { - dispatch (o.resourceUsage ()); - } +void ArtifactDeploymentDescription:: +id (Type const& o) +{ +dispatch (o.id ()); +} - void InstanceResourceDeploymentDescription:: - requirementName (Type& o) - { - dispatch (o.requirementName ()); - } +void ArtifactDeploymentDescription:: +id_none (Type&) +{ +} - void InstanceResourceDeploymentDescription:: - requirementName (Type const& o) - { - dispatch (o.requirementName ()); - } +void ArtifactDeploymentDescription:: +id_none (Type const&) +{ +} - void InstanceResourceDeploymentDescription:: - resourceName (Type& o) - { - dispatch (o.resourceName ()); - } +void ArtifactDeploymentDescription:: +post (Type&) +{ +} - void InstanceResourceDeploymentDescription:: - resourceName (Type const& o) - { - dispatch (o.resourceName ()); - } +void ArtifactDeploymentDescription:: +post (Type const&) +{ +} - void InstanceResourceDeploymentDescription:: - resourceValue (Type& o) - { - dispatch (o.resourceValue ()); - } +// MonolithicDeploymentDescription +// +// - void InstanceResourceDeploymentDescription:: - resourceValue (Type const& o) - { - dispatch (o.resourceValue ()); - } +void MonolithicDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +source (o); +artifact (o); +execParameter (o); +deployRequirement (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void InstanceResourceDeploymentDescription:: - post (Type&) - { - } +void MonolithicDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +source (o); +artifact (o); +execParameter (o); +deployRequirement (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void InstanceResourceDeploymentDescription:: - post (Type const&) - { - } +void MonolithicDeploymentDescription:: +pre (Type&) +{ +} - // InstanceDeploymentDescription - // - // +void MonolithicDeploymentDescription:: +pre (Type const&) +{ +} - void InstanceDeploymentDescription:: - traverse (Type& o) - { - pre (o); - name (o); - node (o); - source (o); - implementation (o); - configProperty (o); - if (o.deployedResource_p ()) deployedResource (o); - else deployedResource_none (o); - if (o.deployedSharedResource_p ()) deployedSharedResource (o); - else deployedSharedResource_none (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void MonolithicDeploymentDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void InstanceDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - node (o); - source (o); - implementation (o); - configProperty (o); - if (o.deployedResource_p ()) deployedResource (o); - else deployedResource_none (o); - if (o.deployedSharedResource_p ()) deployedSharedResource (o); - else deployedSharedResource_none (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void MonolithicDeploymentDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void InstanceDeploymentDescription:: - pre (Type&) - { - } +void MonolithicDeploymentDescription:: +source (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); - void InstanceDeploymentDescription:: - pre (Type const&) - { - } +if (b != e) +{ +source_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) source_next (o); +} - void InstanceDeploymentDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +source_post (o); +} +} - void InstanceDeploymentDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void MonolithicDeploymentDescription:: +source (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); - void InstanceDeploymentDescription:: - node (Type& o) - { - dispatch (o.node ()); - } +if (b != e) +{ +source_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) source_next (o); +} - void InstanceDeploymentDescription:: - node (Type const& o) - { - dispatch (o.node ()); - } +source_post (o); +} +} - void InstanceDeploymentDescription:: - source (Type& o) - { - dispatch (o.source ()); - } +void MonolithicDeploymentDescription:: +source_pre (Type&) +{ +} - void InstanceDeploymentDescription:: - source (Type const& o) - { - dispatch (o.source ()); - } +void MonolithicDeploymentDescription:: +source_pre (Type const&) +{ +} - void InstanceDeploymentDescription:: - implementation (Type& o) - { - dispatch (o.implementation ()); - } +void MonolithicDeploymentDescription:: +source_next (Type&) +{ +} - void InstanceDeploymentDescription:: - implementation (Type const& o) - { - dispatch (o.implementation ()); - } +void MonolithicDeploymentDescription:: +source_next (Type const&) +{ +} - void InstanceDeploymentDescription:: - configProperty (Type& o) - { - // VC6 anathema strikes again - // - InstanceDeploymentDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); +void MonolithicDeploymentDescription:: +source_post (Type&) +{ +} - if (b != e) - { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); - } +void MonolithicDeploymentDescription:: +source_post (Type const&) +{ +} - else configProperty_none (o); - } +void MonolithicDeploymentDescription:: +artifact (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); - void InstanceDeploymentDescription:: - configProperty (Type const& o) - { - // VC6 anathema strikes again - // - InstanceDeploymentDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); +if (b != e) +{ +artifact_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) artifact_next (o); +} - if (b != e) - { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); - } +artifact_post (o); +} +} - else configProperty_none (o); - } +void MonolithicDeploymentDescription:: +artifact (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); - void InstanceDeploymentDescription:: - configProperty_pre (Type&) - { - } +if (b != e) +{ +artifact_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) artifact_next (o); +} - void InstanceDeploymentDescription:: - configProperty_pre (Type const&) - { - } +artifact_post (o); +} +} - void InstanceDeploymentDescription:: - configProperty_next (Type&) - { - } +void MonolithicDeploymentDescription:: +artifact_pre (Type&) +{ +} - void InstanceDeploymentDescription:: - configProperty_next (Type const&) - { - } +void MonolithicDeploymentDescription:: +artifact_pre (Type const&) +{ +} - void InstanceDeploymentDescription:: - configProperty_post (Type&) - { - } +void MonolithicDeploymentDescription:: +artifact_next (Type&) +{ +} - void InstanceDeploymentDescription:: - configProperty_post (Type const&) - { - } +void MonolithicDeploymentDescription:: +artifact_next (Type const&) +{ +} - void InstanceDeploymentDescription:: - configProperty_none (Type&) - { - } +void MonolithicDeploymentDescription:: +artifact_post (Type&) +{ +} - void InstanceDeploymentDescription:: - configProperty_none (Type const&) - { - } +void MonolithicDeploymentDescription:: +artifact_post (Type const&) +{ +} - void InstanceDeploymentDescription:: - deployedResource (Type& o) - { - dispatch (o.deployedResource ()); - } +void MonolithicDeploymentDescription:: +execParameter (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - void InstanceDeploymentDescription:: - deployedResource (Type const& o) - { - dispatch (o.deployedResource ()); - } +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} - void InstanceDeploymentDescription:: - deployedResource_none (Type&) - { - } +execParameter_post (o); +} - void InstanceDeploymentDescription:: - deployedResource_none (Type const&) - { - } +else execParameter_none (o); +} - void InstanceDeploymentDescription:: - deployedSharedResource (Type& o) - { - dispatch (o.deployedSharedResource ()); - } +void MonolithicDeploymentDescription:: +execParameter (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - void InstanceDeploymentDescription:: - deployedSharedResource (Type const& o) - { - dispatch (o.deployedSharedResource ()); - } +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} - void InstanceDeploymentDescription:: - deployedSharedResource_none (Type&) - { - } +execParameter_post (o); +} - void InstanceDeploymentDescription:: - deployedSharedResource_none (Type const&) - { - } +else execParameter_none (o); +} - void InstanceDeploymentDescription:: - id (Type& o) - { - dispatch (o.id ()); - } +void MonolithicDeploymentDescription:: +execParameter_pre (Type&) +{ +} - void InstanceDeploymentDescription:: - id (Type const& o) - { - dispatch (o.id ()); - } +void MonolithicDeploymentDescription:: +execParameter_pre (Type const&) +{ +} - void InstanceDeploymentDescription:: - id_none (Type&) - { - } +void MonolithicDeploymentDescription:: +execParameter_next (Type&) +{ +} - void InstanceDeploymentDescription:: - id_none (Type const&) - { - } +void MonolithicDeploymentDescription:: +execParameter_next (Type const&) +{ +} - void InstanceDeploymentDescription:: - post (Type&) - { - } +void MonolithicDeploymentDescription:: +execParameter_post (Type&) +{ +} - void InstanceDeploymentDescription:: - post (Type const&) - { - } +void MonolithicDeploymentDescription:: +execParameter_post (Type const&) +{ +} - // ComponentPortDescription - // - // +void MonolithicDeploymentDescription:: +execParameter_none (Type&) +{ +} - void ComponentPortDescription:: - traverse (Type& o) - { - pre (o); - name (o); - specificType (o); - supportedType (o); - provider (o); - exclusiveProvider (o); - exclusiveUser (o); - optional (o); - kind (o); - post (o); - } +void MonolithicDeploymentDescription:: +execParameter_none (Type const&) +{ +} - void ComponentPortDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - specificType (o); - supportedType (o); - provider (o); - exclusiveProvider (o); - exclusiveUser (o); - optional (o); - kind (o); - post (o); - } +void MonolithicDeploymentDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void ComponentPortDescription:: - pre (Type&) - { - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void ComponentPortDescription:: - pre (Type const&) - { - } +deployRequirement_post (o); +} - void ComponentPortDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +else deployRequirement_none (o); +} - void ComponentPortDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void MonolithicDeploymentDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void ComponentPortDescription:: - specificType (Type& o) - { - dispatch (o.specificType ()); - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void ComponentPortDescription:: - specificType (Type const& o) - { - dispatch (o.specificType ()); - } +deployRequirement_post (o); +} - void ComponentPortDescription:: - supportedType (Type& o) - { - dispatch (o.supportedType ()); - } +else deployRequirement_none (o); +} - void ComponentPortDescription:: - supportedType (Type const& o) - { - dispatch (o.supportedType ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_pre (Type&) +{ +} - void ComponentPortDescription:: - provider (Type& o) - { - dispatch (o.provider ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_pre (Type const&) +{ +} - void ComponentPortDescription:: - provider (Type const& o) - { - dispatch (o.provider ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_next (Type&) +{ +} - void ComponentPortDescription:: - exclusiveProvider (Type& o) - { - dispatch (o.exclusiveProvider ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_next (Type const&) +{ +} - void ComponentPortDescription:: - exclusiveProvider (Type const& o) - { - dispatch (o.exclusiveProvider ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_post (Type&) +{ +} - void ComponentPortDescription:: - exclusiveUser (Type& o) - { - dispatch (o.exclusiveUser ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_post (Type const&) +{ +} - void ComponentPortDescription:: - exclusiveUser (Type const& o) - { - dispatch (o.exclusiveUser ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_none (Type&) +{ +} - void ComponentPortDescription:: - optional (Type& o) - { - dispatch (o.optional ()); - } +void MonolithicDeploymentDescription:: +deployRequirement_none (Type const&) +{ +} - void ComponentPortDescription:: - optional (Type const& o) - { - dispatch (o.optional ()); - } +void MonolithicDeploymentDescription:: +id (Type& o) +{ +dispatch (o.id ()); +} - void ComponentPortDescription:: - kind (Type& o) - { - dispatch (o.kind ()); - } +void MonolithicDeploymentDescription:: +id (Type const& o) +{ +dispatch (o.id ()); +} - void ComponentPortDescription:: - kind (Type const& o) - { - dispatch (o.kind ()); - } +void MonolithicDeploymentDescription:: +id_none (Type&) +{ +} - void ComponentPortDescription:: - post (Type&) - { - } +void MonolithicDeploymentDescription:: +id_none (Type const&) +{ +} - void ComponentPortDescription:: - post (Type const&) - { - } +void MonolithicDeploymentDescription:: +post (Type&) +{ +} - // ComponentPropertyDescription - // - // +void MonolithicDeploymentDescription:: +post (Type const&) +{ +} - void ComponentPropertyDescription:: - traverse (Type& o) - { - pre (o); - name (o); - type (o); - post (o); - } +// InstanceResourceDeploymentDescription +// +// - void ComponentPropertyDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - type (o); - post (o); - } +void InstanceResourceDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +resourceUsage (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void ComponentPropertyDescription:: - pre (Type&) - { - } +void InstanceResourceDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +resourceUsage (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void ComponentPropertyDescription:: - pre (Type const&) - { - } +void InstanceResourceDeploymentDescription:: +pre (Type&) +{ +} - void ComponentPropertyDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void InstanceResourceDeploymentDescription:: +pre (Type const&) +{ +} - void ComponentPropertyDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void InstanceResourceDeploymentDescription:: +resourceUsage (Type& o) +{ +dispatch (o.resourceUsage ()); +} - void ComponentPropertyDescription:: - type (Type& o) - { - dispatch (o.type ()); - } +void InstanceResourceDeploymentDescription:: +resourceUsage (Type const& o) +{ +dispatch (o.resourceUsage ()); +} - void ComponentPropertyDescription:: - type (Type const& o) - { - dispatch (o.type ()); - } +void InstanceResourceDeploymentDescription:: +requirementName (Type& o) +{ +dispatch (o.requirementName ()); +} - void ComponentPropertyDescription:: - post (Type&) - { - } +void InstanceResourceDeploymentDescription:: +requirementName (Type const& o) +{ +dispatch (o.requirementName ()); +} - void ComponentPropertyDescription:: - post (Type const&) - { - } +void InstanceResourceDeploymentDescription:: +resourceName (Type& o) +{ +dispatch (o.resourceName ()); +} - // ComponentExternalPortEndpoint - // - // +void InstanceResourceDeploymentDescription:: +resourceName (Type const& o) +{ +dispatch (o.resourceName ()); +} - void ComponentExternalPortEndpoint:: - traverse (Type& o) - { - pre (o); - portName (o); - post (o); - } +void InstanceResourceDeploymentDescription:: +property (Type& o) +{ +// VC6 anathema strikes again +// +InstanceResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); - void ComponentExternalPortEndpoint:: - traverse (Type const& o) - { - pre (o); - portName (o); - post (o); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ComponentExternalPortEndpoint:: - pre (Type&) - { - } +property_post (o); +} - void ComponentExternalPortEndpoint:: - pre (Type const&) - { - } +else property_none (o); +} - void ComponentExternalPortEndpoint:: - portName (Type& o) - { - dispatch (o.portName ()); - } +void InstanceResourceDeploymentDescription:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +InstanceResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); - void ComponentExternalPortEndpoint:: - portName (Type const& o) - { - dispatch (o.portName ()); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ComponentExternalPortEndpoint:: - post (Type&) - { - } +property_post (o); +} - void ComponentExternalPortEndpoint:: - post (Type const&) - { - } +else property_none (o); +} - // PlanSubcomponentPortEndpoint - // - // +void InstanceResourceDeploymentDescription:: +property_pre (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - traverse (Type& o) - { - pre (o); - portName (o); - if (o.provider_p ()) provider (o); - else provider_none (o); - kind (o); - instance (o); - post (o); - } +void InstanceResourceDeploymentDescription:: +property_pre (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - traverse (Type const& o) - { - pre (o); - portName (o); - if (o.provider_p ()) provider (o); - else provider_none (o); - kind (o); - instance (o); - post (o); - } +void InstanceResourceDeploymentDescription:: +property_next (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - pre (Type&) - { - } +void InstanceResourceDeploymentDescription:: +property_next (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - pre (Type const&) - { - } +void InstanceResourceDeploymentDescription:: +property_post (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - portName (Type& o) - { - dispatch (o.portName ()); - } +void InstanceResourceDeploymentDescription:: +property_post (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - portName (Type const& o) - { - dispatch (o.portName ()); - } +void InstanceResourceDeploymentDescription:: +property_none (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - provider (Type& o) - { - dispatch (o.provider ()); - } +void InstanceResourceDeploymentDescription:: +property_none (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - provider (Type const& o) - { - dispatch (o.provider ()); - } +void InstanceResourceDeploymentDescription:: +post (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - provider_none (Type&) - { - } +void InstanceResourceDeploymentDescription:: +post (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - provider_none (Type const&) - { - } +// InstanceDeploymentDescription +// +// - void PlanSubcomponentPortEndpoint:: - kind (Type& o) - { - dispatch (o.kind ()); - } +void InstanceDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +node (o); +source (o); +implementation (o); +configProperty (o); +if (o.deployedResource_p ()) deployedResource (o); +else deployedResource_none (o); +if (o.deployedSharedResource_p ()) deployedSharedResource (o); +else deployedSharedResource_none (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void PlanSubcomponentPortEndpoint:: - kind (Type const& o) - { - dispatch (o.kind ()); - } +void InstanceDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +node (o); +source (o); +implementation (o); +configProperty (o); +if (o.deployedResource_p ()) deployedResource (o); +else deployedResource_none (o); +if (o.deployedSharedResource_p ()) deployedSharedResource (o); +else deployedSharedResource_none (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void PlanSubcomponentPortEndpoint:: - instance (Type& o) - { - dispatch (o.instance ()); - } +void InstanceDeploymentDescription:: +pre (Type&) +{ +} - void PlanSubcomponentPortEndpoint:: - instance (Type const& o) - { - dispatch (o.instance ()); - } +void InstanceDeploymentDescription:: +pre (Type const&) +{ +} - void PlanSubcomponentPortEndpoint:: - post (Type&) - { - } +void InstanceDeploymentDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void PlanSubcomponentPortEndpoint:: - post (Type const&) - { - } +void InstanceDeploymentDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - // ExternalReferenceEndpoint - // - // +void InstanceDeploymentDescription:: +node (Type& o) +{ +dispatch (o.node ()); +} - void ExternalReferenceEndpoint:: - traverse (Type& o) - { - pre (o); - location (o); - post (o); - } +void InstanceDeploymentDescription:: +node (Type const& o) +{ +dispatch (o.node ()); +} - void ExternalReferenceEndpoint:: - traverse (Type const& o) - { - pre (o); - location (o); - post (o); - } +void InstanceDeploymentDescription:: +source (Type& o) +{ +dispatch (o.source ()); +} - void ExternalReferenceEndpoint:: - pre (Type&) - { - } +void InstanceDeploymentDescription:: +source (Type const& o) +{ +dispatch (o.source ()); +} - void ExternalReferenceEndpoint:: - pre (Type const&) - { - } +void InstanceDeploymentDescription:: +implementation (Type& o) +{ +dispatch (o.implementation ()); +} - void ExternalReferenceEndpoint:: - location (Type& o) - { - dispatch (o.location ()); - } +void InstanceDeploymentDescription:: +implementation (Type const& o) +{ +dispatch (o.implementation ()); +} - void ExternalReferenceEndpoint:: - location (Type const& o) - { - dispatch (o.location ()); - } +void InstanceDeploymentDescription:: +configProperty (Type& o) +{ +// VC6 anathema strikes again +// +InstanceDeploymentDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - void ExternalReferenceEndpoint:: - post (Type&) - { - } +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} - void ExternalReferenceEndpoint:: - post (Type const&) - { - } +configProperty_post (o); +} - // ConnectionResourceDeploymentDescription - // - // +else configProperty_none (o); +} - void ConnectionResourceDeploymentDescription:: - traverse (Type& o) - { - pre (o); - targetName (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +void InstanceDeploymentDescription:: +configProperty (Type const& o) +{ +// VC6 anathema strikes again +// +InstanceDeploymentDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - void ConnectionResourceDeploymentDescription:: - traverse (Type const& o) - { - pre (o); - targetName (o); - requirementName (o); - resourceName (o); - resourceValue (o); - post (o); - } +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} - void ConnectionResourceDeploymentDescription:: - pre (Type&) - { - } +configProperty_post (o); +} - void ConnectionResourceDeploymentDescription:: - pre (Type const&) - { - } +else configProperty_none (o); +} - void ConnectionResourceDeploymentDescription:: - targetName (Type& o) - { - dispatch (o.targetName ()); - } +void InstanceDeploymentDescription:: +configProperty_pre (Type&) +{ +} - void ConnectionResourceDeploymentDescription:: - targetName (Type const& o) - { - dispatch (o.targetName ()); - } +void InstanceDeploymentDescription:: +configProperty_pre (Type const&) +{ +} - void ConnectionResourceDeploymentDescription:: - requirementName (Type& o) - { - dispatch (o.requirementName ()); - } +void InstanceDeploymentDescription:: +configProperty_next (Type&) +{ +} - void ConnectionResourceDeploymentDescription:: - requirementName (Type const& o) - { - dispatch (o.requirementName ()); - } +void InstanceDeploymentDescription:: +configProperty_next (Type const&) +{ +} - void ConnectionResourceDeploymentDescription:: - resourceName (Type& o) - { - dispatch (o.resourceName ()); - } +void InstanceDeploymentDescription:: +configProperty_post (Type&) +{ +} - void ConnectionResourceDeploymentDescription:: - resourceName (Type const& o) - { - dispatch (o.resourceName ()); - } +void InstanceDeploymentDescription:: +configProperty_post (Type const&) +{ +} - void ConnectionResourceDeploymentDescription:: - resourceValue (Type& o) - { - dispatch (o.resourceValue ()); - } +void InstanceDeploymentDescription:: +configProperty_none (Type&) +{ +} - void ConnectionResourceDeploymentDescription:: - resourceValue (Type const& o) - { - dispatch (o.resourceValue ()); - } +void InstanceDeploymentDescription:: +configProperty_none (Type const&) +{ +} - void ConnectionResourceDeploymentDescription:: - post (Type&) - { - } +void InstanceDeploymentDescription:: +deployedResource (Type& o) +{ +dispatch (o.deployedResource ()); +} - void ConnectionResourceDeploymentDescription:: - post (Type const&) - { - } +void InstanceDeploymentDescription:: +deployedResource (Type const& o) +{ +dispatch (o.deployedResource ()); +} - // PlanConnectionDescription - // - // +void InstanceDeploymentDescription:: +deployedResource_none (Type&) +{ +} - void PlanConnectionDescription:: - traverse (Type& o) - { - pre (o); - name (o); - if (o.source_p ()) source (o); - else source_none (o); - deployRequirement (o); - externalEndpoint (o); - internalEndpoint (o); - externalReference (o); - deployedResource (o); - post (o); - } +void InstanceDeploymentDescription:: +deployedResource_none (Type const&) +{ +} - void PlanConnectionDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - if (o.source_p ()) source (o); - else source_none (o); - deployRequirement (o); - externalEndpoint (o); - internalEndpoint (o); - externalReference (o); - deployedResource (o); - post (o); - } +void InstanceDeploymentDescription:: +deployedSharedResource (Type& o) +{ +dispatch (o.deployedSharedResource ()); +} - void PlanConnectionDescription:: - pre (Type&) - { - } +void InstanceDeploymentDescription:: +deployedSharedResource (Type const& o) +{ +dispatch (o.deployedSharedResource ()); +} - void PlanConnectionDescription:: - pre (Type const&) - { - } +void InstanceDeploymentDescription:: +deployedSharedResource_none (Type&) +{ +} - void PlanConnectionDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void InstanceDeploymentDescription:: +deployedSharedResource_none (Type const&) +{ +} - void PlanConnectionDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void InstanceDeploymentDescription:: +id (Type& o) +{ +dispatch (o.id ()); +} - void PlanConnectionDescription:: - source (Type& o) - { - dispatch (o.source ()); - } +void InstanceDeploymentDescription:: +id (Type const& o) +{ +dispatch (o.id ()); +} - void PlanConnectionDescription:: - source (Type const& o) - { - dispatch (o.source ()); - } +void InstanceDeploymentDescription:: +id_none (Type&) +{ +} - void PlanConnectionDescription:: - source_none (Type&) - { - } +void InstanceDeploymentDescription:: +id_none (Type const&) +{ +} - void PlanConnectionDescription:: - source_none (Type const&) - { - } +void InstanceDeploymentDescription:: +post (Type&) +{ +} - void PlanConnectionDescription:: - deployRequirement (Type& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +void InstanceDeploymentDescription:: +post (Type const&) +{ +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +// ComponentPortDescription +// +// - else deployRequirement_none (o); - } +void ComponentPortDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.specificType_p ()) specificType (o); +else specificType_none (o); +supportedType (o); +provider (o); +exclusiveProvider (o); +exclusiveUser (o); +optional (o); +kind (o); +post (o); +} - void PlanConnectionDescription:: - deployRequirement (Type const& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); +void ComponentPortDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.specificType_p ()) specificType (o); +else specificType_none (o); +supportedType (o); +provider (o); +exclusiveProvider (o); +exclusiveUser (o); +optional (o); +kind (o); +post (o); +} - if (b != e) - { - deployRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployRequirement_next (o); - } - - deployRequirement_post (o); - } +void ComponentPortDescription:: +pre (Type&) +{ +} - else deployRequirement_none (o); - } +void ComponentPortDescription:: +pre (Type const&) +{ +} - void PlanConnectionDescription:: - deployRequirement_pre (Type&) - { - } +void ComponentPortDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void PlanConnectionDescription:: - deployRequirement_pre (Type const&) - { - } +void ComponentPortDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void PlanConnectionDescription:: - deployRequirement_next (Type&) - { - } +void ComponentPortDescription:: +specificType (Type& o) +{ +dispatch (o.specificType ()); +} - void PlanConnectionDescription:: - deployRequirement_next (Type const&) - { - } +void ComponentPortDescription:: +specificType (Type const& o) +{ +dispatch (o.specificType ()); +} - void PlanConnectionDescription:: - deployRequirement_post (Type&) - { - } +void ComponentPortDescription:: +specificType_none (Type&) +{ +} - void PlanConnectionDescription:: - deployRequirement_post (Type const&) - { - } +void ComponentPortDescription:: +specificType_none (Type const&) +{ +} - void PlanConnectionDescription:: - deployRequirement_none (Type&) - { - } +void ComponentPortDescription:: +supportedType (Type& o) +{ +// VC6 anathema strikes again +// +ComponentPortDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); - void PlanConnectionDescription:: - deployRequirement_none (Type const&) - { - } +if (b != e) +{ +supportedType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) supportedType_next (o); +} - void PlanConnectionDescription:: - externalEndpoint (Type& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); +supportedType_post (o); +} - if (b != e) - { - externalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalEndpoint_next (o); - } - - externalEndpoint_post (o); - } +else supportedType_none (o); +} - else externalEndpoint_none (o); - } +void ComponentPortDescription:: +supportedType (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentPortDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); - void PlanConnectionDescription:: - externalEndpoint (Type const& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); +if (b != e) +{ +supportedType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) supportedType_next (o); +} - if (b != e) - { - externalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalEndpoint_next (o); - } - - externalEndpoint_post (o); - } +supportedType_post (o); +} - else externalEndpoint_none (o); - } +else supportedType_none (o); +} - void PlanConnectionDescription:: - externalEndpoint_pre (Type&) - { - } +void ComponentPortDescription:: +supportedType_pre (Type&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_pre (Type const&) - { - } +void ComponentPortDescription:: +supportedType_pre (Type const&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_next (Type&) - { - } +void ComponentPortDescription:: +supportedType_next (Type&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_next (Type const&) - { - } +void ComponentPortDescription:: +supportedType_next (Type const&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_post (Type&) - { - } +void ComponentPortDescription:: +supportedType_post (Type&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_post (Type const&) - { - } +void ComponentPortDescription:: +supportedType_post (Type const&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_none (Type&) - { - } +void ComponentPortDescription:: +supportedType_none (Type&) +{ +} - void PlanConnectionDescription:: - externalEndpoint_none (Type const&) - { - } +void ComponentPortDescription:: +supportedType_none (Type const&) +{ +} - void PlanConnectionDescription:: - internalEndpoint (Type& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); +void ComponentPortDescription:: +provider (Type& o) +{ +dispatch (o.provider ()); +} - if (b != e) - { - internalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) internalEndpoint_next (o); - } - - internalEndpoint_post (o); - } +void ComponentPortDescription:: +provider (Type const& o) +{ +dispatch (o.provider ()); +} - else internalEndpoint_none (o); - } +void ComponentPortDescription:: +exclusiveProvider (Type& o) +{ +dispatch (o.exclusiveProvider ()); +} - void PlanConnectionDescription:: - internalEndpoint (Type const& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); +void ComponentPortDescription:: +exclusiveProvider (Type const& o) +{ +dispatch (o.exclusiveProvider ()); +} - if (b != e) - { - internalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) internalEndpoint_next (o); - } - - internalEndpoint_post (o); - } +void ComponentPortDescription:: +exclusiveUser (Type& o) +{ +dispatch (o.exclusiveUser ()); +} - else internalEndpoint_none (o); - } +void ComponentPortDescription:: +exclusiveUser (Type const& o) +{ +dispatch (o.exclusiveUser ()); +} - void PlanConnectionDescription:: - internalEndpoint_pre (Type&) - { - } +void ComponentPortDescription:: +optional (Type& o) +{ +dispatch (o.optional ()); +} - void PlanConnectionDescription:: - internalEndpoint_pre (Type const&) - { - } +void ComponentPortDescription:: +optional (Type const& o) +{ +dispatch (o.optional ()); +} - void PlanConnectionDescription:: - internalEndpoint_next (Type&) - { - } +void ComponentPortDescription:: +kind (Type& o) +{ +dispatch (o.kind ()); +} - void PlanConnectionDescription:: - internalEndpoint_next (Type const&) - { - } +void ComponentPortDescription:: +kind (Type const& o) +{ +dispatch (o.kind ()); +} - void PlanConnectionDescription:: - internalEndpoint_post (Type&) - { - } +void ComponentPortDescription:: +post (Type&) +{ +} - void PlanConnectionDescription:: - internalEndpoint_post (Type const&) - { - } +void ComponentPortDescription:: +post (Type const&) +{ +} - void PlanConnectionDescription:: - internalEndpoint_none (Type&) - { - } +// ComponentPropertyDescription +// +// - void PlanConnectionDescription:: - internalEndpoint_none (Type const&) - { - } +void ComponentPropertyDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +type (o); +post (o); +} - void PlanConnectionDescription:: - externalReference (Type& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); +void ComponentPropertyDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +type (o); +post (o); +} - if (b != e) - { - externalReference_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalReference_next (o); - } - - externalReference_post (o); - } +void ComponentPropertyDescription:: +pre (Type&) +{ +} - else externalReference_none (o); - } +void ComponentPropertyDescription:: +pre (Type const&) +{ +} - void PlanConnectionDescription:: - externalReference (Type const& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); +void ComponentPropertyDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - if (b != e) - { - externalReference_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalReference_next (o); - } - - externalReference_post (o); - } +void ComponentPropertyDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - else externalReference_none (o); - } +void ComponentPropertyDescription:: +type (Type& o) +{ +dispatch (o.type ()); +} - void PlanConnectionDescription:: - externalReference_pre (Type&) - { - } +void ComponentPropertyDescription:: +type (Type const& o) +{ +dispatch (o.type ()); +} - void PlanConnectionDescription:: - externalReference_pre (Type const&) - { - } +void ComponentPropertyDescription:: +post (Type&) +{ +} - void PlanConnectionDescription:: - externalReference_next (Type&) - { - } +void ComponentPropertyDescription:: +post (Type const&) +{ +} - void PlanConnectionDescription:: - externalReference_next (Type const&) - { - } +// ComponentExternalPortEndpoint +// +// - void PlanConnectionDescription:: - externalReference_post (Type&) - { - } +void ComponentExternalPortEndpoint:: +traverse (Type& o) +{ +pre (o); +portName (o); +post (o); +} - void PlanConnectionDescription:: - externalReference_post (Type const&) - { - } +void ComponentExternalPortEndpoint:: +traverse (Type const& o) +{ +pre (o); +portName (o); +post (o); +} - void PlanConnectionDescription:: - externalReference_none (Type&) - { - } +void ComponentExternalPortEndpoint:: +pre (Type&) +{ +} - void PlanConnectionDescription:: - externalReference_none (Type const&) - { - } +void ComponentExternalPortEndpoint:: +pre (Type const&) +{ +} - void PlanConnectionDescription:: - deployedResource (Type& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); +void ComponentExternalPortEndpoint:: +portName (Type& o) +{ +dispatch (o.portName ()); +} - if (b != e) - { - deployedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployedResource_next (o); - } - - deployedResource_post (o); - } +void ComponentExternalPortEndpoint:: +portName (Type const& o) +{ +dispatch (o.portName ()); +} - else deployedResource_none (o); - } +void ComponentExternalPortEndpoint:: +post (Type&) +{ +} - void PlanConnectionDescription:: - deployedResource (Type const& o) - { - // VC6 anathema strikes again - // - PlanConnectionDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); +void ComponentExternalPortEndpoint:: +post (Type const&) +{ +} - if (b != e) - { - deployedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) deployedResource_next (o); - } - - deployedResource_post (o); - } +// PlanSubcomponentPortEndpoint +// +// - else deployedResource_none (o); - } +void PlanSubcomponentPortEndpoint:: +traverse (Type& o) +{ +pre (o); +portName (o); +if (o.provider_p ()) provider (o); +else provider_none (o); +kind (o); +instance (o); +post (o); +} - void PlanConnectionDescription:: - deployedResource_pre (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +traverse (Type const& o) +{ +pre (o); +portName (o); +if (o.provider_p ()) provider (o); +else provider_none (o); +kind (o); +instance (o); +post (o); +} - void PlanConnectionDescription:: - deployedResource_pre (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +pre (Type&) +{ +} - void PlanConnectionDescription:: - deployedResource_next (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +pre (Type const&) +{ +} - void PlanConnectionDescription:: - deployedResource_next (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +portName (Type& o) +{ +dispatch (o.portName ()); +} - void PlanConnectionDescription:: - deployedResource_post (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +portName (Type const& o) +{ +dispatch (o.portName ()); +} - void PlanConnectionDescription:: - deployedResource_post (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +provider (Type& o) +{ +dispatch (o.provider ()); +} - void PlanConnectionDescription:: - deployedResource_none (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +provider (Type const& o) +{ +dispatch (o.provider ()); +} - void PlanConnectionDescription:: - deployedResource_none (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +provider_none (Type&) +{ +} - void PlanConnectionDescription:: - post (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +provider_none (Type const&) +{ +} - void PlanConnectionDescription:: - post (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +kind (Type& o) +{ +dispatch (o.kind ()); +} - // ImplementationDependency - // - // +void PlanSubcomponentPortEndpoint:: +kind (Type const& o) +{ +dispatch (o.kind ()); +} - void ImplementationDependency:: - traverse (Type& o) - { - pre (o); - requiredType (o); - post (o); - } +void PlanSubcomponentPortEndpoint:: +instance (Type& o) +{ +dispatch (o.instance ()); +} - void ImplementationDependency:: - traverse (Type const& o) - { - pre (o); - requiredType (o); - post (o); - } +void PlanSubcomponentPortEndpoint:: +instance (Type const& o) +{ +dispatch (o.instance ()); +} - void ImplementationDependency:: - pre (Type&) - { - } +void PlanSubcomponentPortEndpoint:: +post (Type&) +{ +} - void ImplementationDependency:: - pre (Type const&) - { - } +void PlanSubcomponentPortEndpoint:: +post (Type const&) +{ +} - void ImplementationDependency:: - requiredType (Type& o) - { - dispatch (o.requiredType ()); - } +// ExternalReferenceEndpoint +// +// - void ImplementationDependency:: - requiredType (Type const& o) - { - dispatch (o.requiredType ()); - } +void ExternalReferenceEndpoint:: +traverse (Type& o) +{ +pre (o); +location (o); +post (o); +} - void ImplementationDependency:: - post (Type&) - { - } +void ExternalReferenceEndpoint:: +traverse (Type const& o) +{ +pre (o); +location (o); +post (o); +} - void ImplementationDependency:: - post (Type const&) - { - } +void ExternalReferenceEndpoint:: +pre (Type&) +{ +} - // Capability - // - // +void ExternalReferenceEndpoint:: +pre (Type const&) +{ +} - void Capability:: - traverse (Type& o) - { - pre (o); - name (o); - resourceType (o); - property (o); - post (o); - } +void ExternalReferenceEndpoint:: +location (Type& o) +{ +dispatch (o.location ()); +} - void Capability:: - traverse (Type const& o) - { - pre (o); - name (o); - resourceType (o); - property (o); - post (o); - } +void ExternalReferenceEndpoint:: +location (Type const& o) +{ +dispatch (o.location ()); +} - void Capability:: - pre (Type&) - { - } +void ExternalReferenceEndpoint:: +post (Type&) +{ +} - void Capability:: - pre (Type const&) - { - } +void ExternalReferenceEndpoint:: +post (Type const&) +{ +} - void Capability:: - name (Type& o) - { - dispatch (o.name ()); - } +// ConnectionResourceDeploymentDescription +// +// - void Capability:: - name (Type const& o) - { - dispatch (o.name ()); - } +void ConnectionResourceDeploymentDescription:: +traverse (Type& o) +{ +pre (o); +targetName (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void Capability:: - resourceType (Type& o) - { - dispatch (o.resourceType ()); - } +void ConnectionResourceDeploymentDescription:: +traverse (Type const& o) +{ +pre (o); +targetName (o); +requirementName (o); +resourceName (o); +property (o); +post (o); +} - void Capability:: - resourceType (Type const& o) - { - dispatch (o.resourceType ()); - } +void ConnectionResourceDeploymentDescription:: +pre (Type&) +{ +} - void Capability:: - property (Type& o) - { - dispatch (o.property ()); - } +void ConnectionResourceDeploymentDescription:: +pre (Type const&) +{ +} - void Capability:: - property (Type const& o) - { - dispatch (o.property ()); - } +void ConnectionResourceDeploymentDescription:: +targetName (Type& o) +{ +dispatch (o.targetName ()); +} - void Capability:: - post (Type&) - { - } +void ConnectionResourceDeploymentDescription:: +targetName (Type const& o) +{ +dispatch (o.targetName ()); +} - void Capability:: - post (Type const&) - { - } +void ConnectionResourceDeploymentDescription:: +requirementName (Type& o) +{ +dispatch (o.requirementName ()); +} - // ImplementationRequirement - // - // +void ConnectionResourceDeploymentDescription:: +requirementName (Type const& o) +{ +dispatch (o.requirementName ()); +} - void ImplementationRequirement:: - traverse (Type& o) - { - pre (o); - resourceUsage (o); - resourcePort (o); - componentPort (o); - resourceType (o); - name (o); - property (o); - post (o); - } +void ConnectionResourceDeploymentDescription:: +resourceName (Type& o) +{ +dispatch (o.resourceName ()); +} - void ImplementationRequirement:: - traverse (Type const& o) - { - pre (o); - resourceUsage (o); - resourcePort (o); - componentPort (o); - resourceType (o); - name (o); - property (o); - post (o); - } +void ConnectionResourceDeploymentDescription:: +resourceName (Type const& o) +{ +dispatch (o.resourceName ()); +} - void ImplementationRequirement:: - pre (Type&) - { - } +void ConnectionResourceDeploymentDescription:: +property (Type& o) +{ +// VC6 anathema strikes again +// +ConnectionResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); - void ImplementationRequirement:: - pre (Type const&) - { - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ImplementationRequirement:: - resourceUsage (Type& o) - { - dispatch (o.resourceUsage ()); - } +property_post (o); +} - void ImplementationRequirement:: - resourceUsage (Type const& o) - { - dispatch (o.resourceUsage ()); - } +else property_none (o); +} - void ImplementationRequirement:: - resourcePort (Type& o) - { - dispatch (o.resourcePort ()); - } +void ConnectionResourceDeploymentDescription:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +ConnectionResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); - void ImplementationRequirement:: - resourcePort (Type const& o) - { - dispatch (o.resourcePort ()); - } +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} - void ImplementationRequirement:: - componentPort (Type& o) - { - dispatch (o.componentPort ()); - } +property_post (o); +} - void ImplementationRequirement:: - componentPort (Type const& o) - { - dispatch (o.componentPort ()); - } +else property_none (o); +} - void ImplementationRequirement:: - resourceType (Type& o) - { - dispatch (o.resourceType ()); - } +void ConnectionResourceDeploymentDescription:: +property_pre (Type&) +{ +} - void ImplementationRequirement:: - resourceType (Type const& o) - { - dispatch (o.resourceType ()); - } +void ConnectionResourceDeploymentDescription:: +property_pre (Type const&) +{ +} - void ImplementationRequirement:: - name (Type& o) - { - dispatch (o.name ()); - } +void ConnectionResourceDeploymentDescription:: +property_next (Type&) +{ +} - void ImplementationRequirement:: - name (Type const& o) - { - dispatch (o.name ()); - } +void ConnectionResourceDeploymentDescription:: +property_next (Type const&) +{ +} - void ImplementationRequirement:: - property (Type& o) - { - dispatch (o.property ()); - } +void ConnectionResourceDeploymentDescription:: +property_post (Type&) +{ +} - void ImplementationRequirement:: - property (Type const& o) - { - dispatch (o.property ()); - } +void ConnectionResourceDeploymentDescription:: +property_post (Type const&) +{ +} - void ImplementationRequirement:: - post (Type&) - { - } +void ConnectionResourceDeploymentDescription:: +property_none (Type&) +{ +} - void ImplementationRequirement:: - post (Type const&) - { - } +void ConnectionResourceDeploymentDescription:: +property_none (Type const&) +{ +} - // ComponentPackageReference - // - // +void ConnectionResourceDeploymentDescription:: +post (Type&) +{ +} - void ComponentPackageReference:: - traverse (Type& o) - { - pre (o); - requiredUUID (o); - requiredName (o); - requiredType (o); - post (o); - } +void ConnectionResourceDeploymentDescription:: +post (Type const&) +{ +} - void ComponentPackageReference:: - traverse (Type const& o) - { - pre (o); - requiredUUID (o); - requiredName (o); - requiredType (o); - post (o); - } +// PlanConnectionDescription +// +// - void ComponentPackageReference:: - pre (Type&) - { - } +void PlanConnectionDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.source_p ()) source (o); +else source_none (o); +deployRequirement (o); +externalEndpoint (o); +internalEndpoint (o); +externalReference (o); +deployedResource (o); +post (o); +} - void ComponentPackageReference:: - pre (Type const&) - { - } +void PlanConnectionDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.source_p ()) source (o); +else source_none (o); +deployRequirement (o); +externalEndpoint (o); +internalEndpoint (o); +externalReference (o); +deployedResource (o); +post (o); +} - void ComponentPackageReference:: - requiredUUID (Type& o) - { - dispatch (o.requiredUUID ()); - } +void PlanConnectionDescription:: +pre (Type&) +{ +} - void ComponentPackageReference:: - requiredUUID (Type const& o) - { - dispatch (o.requiredUUID ()); - } +void PlanConnectionDescription:: +pre (Type const&) +{ +} - void ComponentPackageReference:: - requiredName (Type& o) - { - dispatch (o.requiredName ()); - } +void PlanConnectionDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void ComponentPackageReference:: - requiredName (Type const& o) - { - dispatch (o.requiredName ()); - } +void PlanConnectionDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void ComponentPackageReference:: - requiredType (Type& o) - { - dispatch (o.requiredType ()); - } +void PlanConnectionDescription:: +source (Type& o) +{ +dispatch (o.source ()); +} - void ComponentPackageReference:: - requiredType (Type const& o) - { - dispatch (o.requiredType ()); - } +void PlanConnectionDescription:: +source (Type const& o) +{ +dispatch (o.source ()); +} - void ComponentPackageReference:: - post (Type&) - { - } +void PlanConnectionDescription:: +source_none (Type&) +{ +} - void ComponentPackageReference:: - post (Type const&) - { - } +void PlanConnectionDescription:: +source_none (Type const&) +{ +} - // SubcomponentPortEndpoint - // - // +void PlanConnectionDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void SubcomponentPortEndpoint:: - traverse (Type& o) - { - pre (o); - portName (o); - instance (o); - post (o); - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void SubcomponentPortEndpoint:: - traverse (Type const& o) - { - pre (o); - portName (o); - instance (o); - post (o); - } +deployRequirement_post (o); +} - void SubcomponentPortEndpoint:: - pre (Type&) - { - } +else deployRequirement_none (o); +} - void SubcomponentPortEndpoint:: - pre (Type const&) - { - } +void PlanConnectionDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - void SubcomponentPortEndpoint:: - portName (Type& o) - { - dispatch (o.portName ()); - } +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} - void SubcomponentPortEndpoint:: - portName (Type const& o) - { - dispatch (o.portName ()); - } +deployRequirement_post (o); +} - void SubcomponentPortEndpoint:: - instance (Type& o) - { - dispatch (o.instance ()); - } +else deployRequirement_none (o); +} - void SubcomponentPortEndpoint:: - instance (Type const& o) - { - dispatch (o.instance ()); - } +void PlanConnectionDescription:: +deployRequirement_pre (Type&) +{ +} - void SubcomponentPortEndpoint:: - post (Type&) - { - } +void PlanConnectionDescription:: +deployRequirement_pre (Type const&) +{ +} - void SubcomponentPortEndpoint:: - post (Type const&) - { - } +void PlanConnectionDescription:: +deployRequirement_next (Type&) +{ +} - // AssemblyConnectionDescription - // - // +void PlanConnectionDescription:: +deployRequirement_next (Type const&) +{ +} - void AssemblyConnectionDescription:: - traverse (Type& o) - { - pre (o); - name (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - externalEndpoint (o); - internalEndpoint (o); - externalReference (o); - post (o); - } +void PlanConnectionDescription:: +deployRequirement_post (Type&) +{ +} - void AssemblyConnectionDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - externalEndpoint (o); - internalEndpoint (o); - externalReference (o); - post (o); - } +void PlanConnectionDescription:: +deployRequirement_post (Type const&) +{ +} - void AssemblyConnectionDescription:: - pre (Type&) - { - } +void PlanConnectionDescription:: +deployRequirement_none (Type&) +{ +} - void AssemblyConnectionDescription:: - pre (Type const&) - { - } +void PlanConnectionDescription:: +deployRequirement_none (Type const&) +{ +} - void AssemblyConnectionDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void PlanConnectionDescription:: +externalEndpoint (Type& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); - void AssemblyConnectionDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +if (b != e) +{ +externalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalEndpoint_next (o); +} - void AssemblyConnectionDescription:: - deployRequirement (Type& o) - { - dispatch (o.deployRequirement ()); - } +externalEndpoint_post (o); +} - void AssemblyConnectionDescription:: - deployRequirement (Type const& o) - { - dispatch (o.deployRequirement ()); - } +else externalEndpoint_none (o); +} - void AssemblyConnectionDescription:: - deployRequirement_none (Type&) - { - } +void PlanConnectionDescription:: +externalEndpoint (Type const& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); - void AssemblyConnectionDescription:: - deployRequirement_none (Type const&) - { - } +if (b != e) +{ +externalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalEndpoint_next (o); +} - void AssemblyConnectionDescription:: - externalEndpoint (Type& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); +externalEndpoint_post (o); +} - if (b != e) - { - externalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalEndpoint_next (o); - } - - externalEndpoint_post (o); - } +else externalEndpoint_none (o); +} - else externalEndpoint_none (o); - } +void PlanConnectionDescription:: +externalEndpoint_pre (Type&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint (Type const& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); +void PlanConnectionDescription:: +externalEndpoint_pre (Type const&) +{ +} - if (b != e) - { - externalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalEndpoint_next (o); - } - - externalEndpoint_post (o); - } +void PlanConnectionDescription:: +externalEndpoint_next (Type&) +{ +} - else externalEndpoint_none (o); - } +void PlanConnectionDescription:: +externalEndpoint_next (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_pre (Type&) - { - } +void PlanConnectionDescription:: +externalEndpoint_post (Type&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_pre (Type const&) - { - } +void PlanConnectionDescription:: +externalEndpoint_post (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_next (Type&) - { - } +void PlanConnectionDescription:: +externalEndpoint_none (Type&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_next (Type const&) - { - } +void PlanConnectionDescription:: +externalEndpoint_none (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_post (Type&) - { - } +void PlanConnectionDescription:: +internalEndpoint (Type& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); - void AssemblyConnectionDescription:: - externalEndpoint_post (Type const&) - { - } +if (b != e) +{ +internalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) internalEndpoint_next (o); +} - void AssemblyConnectionDescription:: - externalEndpoint_none (Type&) - { - } +internalEndpoint_post (o); +} - void AssemblyConnectionDescription:: - externalEndpoint_none (Type const&) - { - } +else internalEndpoint_none (o); +} - void AssemblyConnectionDescription:: - internalEndpoint (Type& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); +void PlanConnectionDescription:: +internalEndpoint (Type const& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); - if (b != e) - { - internalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) internalEndpoint_next (o); - } - - internalEndpoint_post (o); - } +if (b != e) +{ +internalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) internalEndpoint_next (o); +} - else internalEndpoint_none (o); - } +internalEndpoint_post (o); +} - void AssemblyConnectionDescription:: - internalEndpoint (Type const& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); +else internalEndpoint_none (o); +} - if (b != e) - { - internalEndpoint_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) internalEndpoint_next (o); - } - - internalEndpoint_post (o); - } +void PlanConnectionDescription:: +internalEndpoint_pre (Type&) +{ +} - else internalEndpoint_none (o); - } +void PlanConnectionDescription:: +internalEndpoint_pre (Type const&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_pre (Type&) - { - } +void PlanConnectionDescription:: +internalEndpoint_next (Type&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_pre (Type const&) - { - } +void PlanConnectionDescription:: +internalEndpoint_next (Type const&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_next (Type&) - { - } +void PlanConnectionDescription:: +internalEndpoint_post (Type&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_next (Type const&) - { - } +void PlanConnectionDescription:: +internalEndpoint_post (Type const&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_post (Type&) - { - } +void PlanConnectionDescription:: +internalEndpoint_none (Type&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_post (Type const&) - { - } +void PlanConnectionDescription:: +internalEndpoint_none (Type const&) +{ +} - void AssemblyConnectionDescription:: - internalEndpoint_none (Type&) - { - } +void PlanConnectionDescription:: +externalReference (Type& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); - void AssemblyConnectionDescription:: - internalEndpoint_none (Type const&) - { - } +if (b != e) +{ +externalReference_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalReference_next (o); +} - void AssemblyConnectionDescription:: - externalReference (Type& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); +externalReference_post (o); +} - if (b != e) - { - externalReference_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalReference_next (o); - } - - externalReference_post (o); - } +else externalReference_none (o); +} - else externalReference_none (o); - } +void PlanConnectionDescription:: +externalReference (Type const& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); - void AssemblyConnectionDescription:: - externalReference (Type const& o) - { - // VC6 anathema strikes again - // - AssemblyConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); +if (b != e) +{ +externalReference_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalReference_next (o); +} - if (b != e) - { - externalReference_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) externalReference_next (o); - } - - externalReference_post (o); - } +externalReference_post (o); +} - else externalReference_none (o); - } +else externalReference_none (o); +} - void AssemblyConnectionDescription:: - externalReference_pre (Type&) - { - } +void PlanConnectionDescription:: +externalReference_pre (Type&) +{ +} - void AssemblyConnectionDescription:: - externalReference_pre (Type const&) - { - } +void PlanConnectionDescription:: +externalReference_pre (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalReference_next (Type&) - { - } +void PlanConnectionDescription:: +externalReference_next (Type&) +{ +} - void AssemblyConnectionDescription:: - externalReference_next (Type const&) - { - } +void PlanConnectionDescription:: +externalReference_next (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalReference_post (Type&) - { - } +void PlanConnectionDescription:: +externalReference_post (Type&) +{ +} - void AssemblyConnectionDescription:: - externalReference_post (Type const&) - { - } +void PlanConnectionDescription:: +externalReference_post (Type const&) +{ +} - void AssemblyConnectionDescription:: - externalReference_none (Type&) - { - } +void PlanConnectionDescription:: +externalReference_none (Type&) +{ +} - void AssemblyConnectionDescription:: - externalReference_none (Type const&) - { - } +void PlanConnectionDescription:: +externalReference_none (Type const&) +{ +} - void AssemblyConnectionDescription:: - post (Type&) - { - } +void PlanConnectionDescription:: +deployedResource (Type& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); - void AssemblyConnectionDescription:: - post (Type const&) - { - } - } - } +if (b != e) +{ +deployedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployedResource_next (o); +} + +deployedResource_post (o); +} + +else deployedResource_none (o); +} + +void PlanConnectionDescription:: +deployedResource (Type const& o) +{ +// VC6 anathema strikes again +// +PlanConnectionDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + +if (b != e) +{ +deployedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployedResource_next (o); +} + +deployedResource_post (o); +} + +else deployedResource_none (o); +} + +void PlanConnectionDescription:: +deployedResource_pre (Type&) +{ +} + +void PlanConnectionDescription:: +deployedResource_pre (Type const&) +{ +} + +void PlanConnectionDescription:: +deployedResource_next (Type&) +{ +} + +void PlanConnectionDescription:: +deployedResource_next (Type const&) +{ +} + +void PlanConnectionDescription:: +deployedResource_post (Type&) +{ +} + +void PlanConnectionDescription:: +deployedResource_post (Type const&) +{ +} + +void PlanConnectionDescription:: +deployedResource_none (Type&) +{ +} + +void PlanConnectionDescription:: +deployedResource_none (Type const&) +{ +} + +void PlanConnectionDescription:: +post (Type&) +{ +} + +void PlanConnectionDescription:: +post (Type const&) +{ +} + +// ImplementationDependency +// +// + +void ImplementationDependency:: +traverse (Type& o) +{ +pre (o); +requiredType (o); +post (o); +} + +void ImplementationDependency:: +traverse (Type const& o) +{ +pre (o); +requiredType (o); +post (o); +} + +void ImplementationDependency:: +pre (Type&) +{ +} + +void ImplementationDependency:: +pre (Type const&) +{ +} + +void ImplementationDependency:: +requiredType (Type& o) +{ +dispatch (o.requiredType ()); +} + +void ImplementationDependency:: +requiredType (Type const& o) +{ +dispatch (o.requiredType ()); +} + +void ImplementationDependency:: +post (Type&) +{ +} + +void ImplementationDependency:: +post (Type const&) +{ +} + +// Capability +// +// + +void Capability:: +traverse (Type& o) +{ +pre (o); +name (o); +resourceType (o); +property (o); +post (o); +} + +void Capability:: +traverse (Type const& o) +{ +pre (o); +name (o); +resourceType (o); +property (o); +post (o); +} + +void Capability:: +pre (Type&) +{ +} + +void Capability:: +pre (Type const&) +{ +} + +void Capability:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void Capability:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void Capability:: +resourceType (Type& o) +{ +// VC6 anathema strikes again +// +Capability::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + +if (b != e) +{ +resourceType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resourceType_next (o); +} + +resourceType_post (o); +} +} + +void Capability:: +resourceType (Type const& o) +{ +// VC6 anathema strikes again +// +Capability::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + +if (b != e) +{ +resourceType_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resourceType_next (o); +} + +resourceType_post (o); +} +} + +void Capability:: +resourceType_pre (Type&) +{ +} + +void Capability:: +resourceType_pre (Type const&) +{ +} + +void Capability:: +resourceType_next (Type&) +{ +} + +void Capability:: +resourceType_next (Type const&) +{ +} + +void Capability:: +resourceType_post (Type&) +{ +} + +void Capability:: +resourceType_post (Type const&) +{ +} + +void Capability:: +property (Type& o) +{ +// VC6 anathema strikes again +// +Capability::Type::property_iterator b (o.begin_property()), e (o.end_property()); + +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} + +property_post (o); +} + +else property_none (o); +} + +void Capability:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +Capability::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} + +property_post (o); +} + +else property_none (o); +} + +void Capability:: +property_pre (Type&) +{ +} + +void Capability:: +property_pre (Type const&) +{ +} + +void Capability:: +property_next (Type&) +{ +} + +void Capability:: +property_next (Type const&) +{ +} + +void Capability:: +property_post (Type&) +{ +} + +void Capability:: +property_post (Type const&) +{ +} + +void Capability:: +property_none (Type&) +{ +} + +void Capability:: +property_none (Type const&) +{ +} + +void Capability:: +post (Type&) +{ +} + +void Capability:: +post (Type const&) +{ +} + +// ImplementationRequirement +// +// + +void ImplementationRequirement:: +traverse (Type& o) +{ +pre (o); +if (o.resourceUsage_p ()) resourceUsage (o); +else resourceUsage_none (o); +if (o.resourcePort_p ()) resourcePort (o); +else resourcePort_none (o); +if (o.componentPort_p ()) componentPort (o); +else componentPort_none (o); +resourceType (o); +name (o); +property (o); +post (o); +} + +void ImplementationRequirement:: +traverse (Type const& o) +{ +pre (o); +if (o.resourceUsage_p ()) resourceUsage (o); +else resourceUsage_none (o); +if (o.resourcePort_p ()) resourcePort (o); +else resourcePort_none (o); +if (o.componentPort_p ()) componentPort (o); +else componentPort_none (o); +resourceType (o); +name (o); +property (o); +post (o); +} + +void ImplementationRequirement:: +pre (Type&) +{ +} + +void ImplementationRequirement:: +pre (Type const&) +{ +} + +void ImplementationRequirement:: +resourceUsage (Type& o) +{ +dispatch (o.resourceUsage ()); +} + +void ImplementationRequirement:: +resourceUsage (Type const& o) +{ +dispatch (o.resourceUsage ()); +} + +void ImplementationRequirement:: +resourceUsage_none (Type&) +{ +} + +void ImplementationRequirement:: +resourceUsage_none (Type const&) +{ +} + +void ImplementationRequirement:: +resourcePort (Type& o) +{ +dispatch (o.resourcePort ()); +} + +void ImplementationRequirement:: +resourcePort (Type const& o) +{ +dispatch (o.resourcePort ()); +} + +void ImplementationRequirement:: +resourcePort_none (Type&) +{ +} + +void ImplementationRequirement:: +resourcePort_none (Type const&) +{ +} + +void ImplementationRequirement:: +componentPort (Type& o) +{ +dispatch (o.componentPort ()); +} + +void ImplementationRequirement:: +componentPort (Type const& o) +{ +dispatch (o.componentPort ()); +} + +void ImplementationRequirement:: +componentPort_none (Type&) +{ +} + +void ImplementationRequirement:: +componentPort_none (Type const&) +{ +} + +void ImplementationRequirement:: +resourceType (Type& o) +{ +dispatch (o.resourceType ()); +} + +void ImplementationRequirement:: +resourceType (Type const& o) +{ +dispatch (o.resourceType ()); +} + +void ImplementationRequirement:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void ImplementationRequirement:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void ImplementationRequirement:: +property (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationRequirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); + +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} + +property_post (o); +} + +else property_none (o); +} + +void ImplementationRequirement:: +property (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationRequirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + +if (b != e) +{ +property_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) property_next (o); +} + +property_post (o); +} + +else property_none (o); +} + +void ImplementationRequirement:: +property_pre (Type&) +{ +} + +void ImplementationRequirement:: +property_pre (Type const&) +{ +} + +void ImplementationRequirement:: +property_next (Type&) +{ +} + +void ImplementationRequirement:: +property_next (Type const&) +{ +} + +void ImplementationRequirement:: +property_post (Type&) +{ +} + +void ImplementationRequirement:: +property_post (Type const&) +{ +} + +void ImplementationRequirement:: +property_none (Type&) +{ +} + +void ImplementationRequirement:: +property_none (Type const&) +{ +} + +void ImplementationRequirement:: +post (Type&) +{ +} + +void ImplementationRequirement:: +post (Type const&) +{ +} + +// ComponentPackageReference +// +// + +void ComponentPackageReference:: +traverse (Type& o) +{ +pre (o); +if (o.requiredUUID_p ()) requiredUUID (o); +else requiredUUID_none (o); +if (o.requiredName_p ()) requiredName (o); +else requiredName_none (o); +requiredType (o); +post (o); +} + +void ComponentPackageReference:: +traverse (Type const& o) +{ +pre (o); +if (o.requiredUUID_p ()) requiredUUID (o); +else requiredUUID_none (o); +if (o.requiredName_p ()) requiredName (o); +else requiredName_none (o); +requiredType (o); +post (o); +} + +void ComponentPackageReference:: +pre (Type&) +{ +} + +void ComponentPackageReference:: +pre (Type const&) +{ +} + +void ComponentPackageReference:: +requiredUUID (Type& o) +{ +dispatch (o.requiredUUID ()); +} + +void ComponentPackageReference:: +requiredUUID (Type const& o) +{ +dispatch (o.requiredUUID ()); +} + +void ComponentPackageReference:: +requiredUUID_none (Type&) +{ +} + +void ComponentPackageReference:: +requiredUUID_none (Type const&) +{ +} + +void ComponentPackageReference:: +requiredName (Type& o) +{ +dispatch (o.requiredName ()); +} + +void ComponentPackageReference:: +requiredName (Type const& o) +{ +dispatch (o.requiredName ()); +} + +void ComponentPackageReference:: +requiredName_none (Type&) +{ +} + +void ComponentPackageReference:: +requiredName_none (Type const&) +{ +} + +void ComponentPackageReference:: +requiredType (Type& o) +{ +dispatch (o.requiredType ()); +} + +void ComponentPackageReference:: +requiredType (Type const& o) +{ +dispatch (o.requiredType ()); +} + +void ComponentPackageReference:: +post (Type&) +{ +} + +void ComponentPackageReference:: +post (Type const&) +{ +} + +// SubcomponentPortEndpoint +// +// + +void SubcomponentPortEndpoint:: +traverse (Type& o) +{ +pre (o); +portName (o); +instance (o); +post (o); +} + +void SubcomponentPortEndpoint:: +traverse (Type const& o) +{ +pre (o); +portName (o); +instance (o); +post (o); +} + +void SubcomponentPortEndpoint:: +pre (Type&) +{ +} + +void SubcomponentPortEndpoint:: +pre (Type const&) +{ +} + +void SubcomponentPortEndpoint:: +portName (Type& o) +{ +dispatch (o.portName ()); +} + +void SubcomponentPortEndpoint:: +portName (Type const& o) +{ +dispatch (o.portName ()); +} + +void SubcomponentPortEndpoint:: +instance (Type& o) +{ +dispatch (o.instance ()); +} + +void SubcomponentPortEndpoint:: +instance (Type const& o) +{ +dispatch (o.instance ()); +} + +void SubcomponentPortEndpoint:: +post (Type&) +{ +} + +void SubcomponentPortEndpoint:: +post (Type const&) +{ +} + +// AssemblyConnectionDescription +// +// + +void AssemblyConnectionDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +deployRequirement (o); +internalEndpoint (o); +externalEndpoint (o); +externalReference (o); +post (o); +} + +void AssemblyConnectionDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +deployRequirement (o); +internalEndpoint (o); +externalEndpoint (o); +externalReference (o); +post (o); +} + +void AssemblyConnectionDescription:: +pre (Type&) +{ +} + +void AssemblyConnectionDescription:: +pre (Type const&) +{ +} + +void AssemblyConnectionDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void AssemblyConnectionDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void AssemblyConnectionDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void AssemblyConnectionDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void AssemblyConnectionDescription:: +deployRequirement_pre (Type&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_pre (Type const&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_next (Type&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_next (Type const&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_post (Type&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_post (Type const&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_none (Type&) +{ +} + +void AssemblyConnectionDescription:: +deployRequirement_none (Type const&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint (Type& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + +if (b != e) +{ +internalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) internalEndpoint_next (o); +} + +internalEndpoint_post (o); +} + +else internalEndpoint_none (o); +} + +void AssemblyConnectionDescription:: +internalEndpoint (Type const& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + +if (b != e) +{ +internalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) internalEndpoint_next (o); +} + +internalEndpoint_post (o); +} + +else internalEndpoint_none (o); +} + +void AssemblyConnectionDescription:: +internalEndpoint_pre (Type&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_pre (Type const&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_next (Type&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_next (Type const&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_post (Type&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_post (Type const&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_none (Type&) +{ +} + +void AssemblyConnectionDescription:: +internalEndpoint_none (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint (Type& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + +if (b != e) +{ +externalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalEndpoint_next (o); +} + +externalEndpoint_post (o); +} + +else externalEndpoint_none (o); +} + +void AssemblyConnectionDescription:: +externalEndpoint (Type const& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + +if (b != e) +{ +externalEndpoint_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalEndpoint_next (o); +} + +externalEndpoint_post (o); +} + +else externalEndpoint_none (o); +} + +void AssemblyConnectionDescription:: +externalEndpoint_pre (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_pre (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_next (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_next (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_post (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_post (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_none (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalEndpoint_none (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalReference (Type& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + +if (b != e) +{ +externalReference_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalReference_next (o); +} + +externalReference_post (o); +} + +else externalReference_none (o); +} + +void AssemblyConnectionDescription:: +externalReference (Type const& o) +{ +// VC6 anathema strikes again +// +AssemblyConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + +if (b != e) +{ +externalReference_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalReference_next (o); +} + +externalReference_post (o); +} + +else externalReference_none (o); +} + +void AssemblyConnectionDescription:: +externalReference_pre (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_pre (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_next (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_next (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_post (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_post (Type const&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_none (Type&) +{ +} + +void AssemblyConnectionDescription:: +externalReference_none (Type const&) +{ +} + +void AssemblyConnectionDescription:: +post (Type&) +{ +} + +void AssemblyConnectionDescription:: +post (Type const&) +{ +} +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - // TCKind - // - // +namespace Config_Handlers +{ +namespace Writer +{ +// TCKind +// +// - TCKind:: - TCKind (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +TCKind:: +TCKind (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - TCKind:: - TCKind () - { - } +TCKind:: +TCKind () +{ +} - void TCKind:: - traverse (Type const& o) - { - ::std::basic_string< ACE_TCHAR > s; - - if (o == ::CIAO::Config_Handlers::TCKind::tk_null) s = "tk_null"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_void) s = "tk_void"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_short) s = "tk_short"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_long) s = "tk_long"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_ushort) s = "tk_ushort"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulong) s = "tk_ulong"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_float) s = "tk_float"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_double) s = "tk_double"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_boolean) s = "tk_boolean"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_char) s = "tk_char"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_octet) s = "tk_octet"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_any) s = "tk_any"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_TypeCode) s = "tk_TypeCode"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_Principal) s = "tk_Principal"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_objref) s = "tk_objref"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_struct) s = "tk_struct"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_union) s = "tk_union"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_enum) s = "tk_enum"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_string) s = "tk_string"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_sequence) s = "tk_sequence"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_array) s = "tk_array"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_alias) s = "tk_alias"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_except) s = "tk_except"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_longlong) s = "tk_longlong"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulonglong) s = "tk_ulonglong"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_longdouble) s = "tk_longdouble"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_wchar) s = "tk_wchar"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_wstring) s = "tk_wstring"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_wfixed) s = "tk_wfixed"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_value) s = "tk_value"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_value_box) s = "tk_value_box"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_native) s = "tk_native"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_abstract_interface) s = "tk_abstract_interface"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_local_interface) s = "tk_local_interface"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_component) s = "tk_component"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_home) s = "tk_home"; - else if (o == ::CIAO::Config_Handlers::TCKind::tk_event) s = "tk_event"; - else - { - } +void TCKind:: +traverse (Type const& o) +{ +::std::basic_string< ACE_TCHAR > s; + +if (o == ::CIAO::Config_Handlers::TCKind::tk_null) s = "tk_null"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_void) s = "tk_void"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_short) s = "tk_short"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_long) s = "tk_long"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_ushort) s = "tk_ushort"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulong) s = "tk_ulong"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_float) s = "tk_float"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_double) s = "tk_double"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_boolean) s = "tk_boolean"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_char) s = "tk_char"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_octet) s = "tk_octet"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_any) s = "tk_any"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_TypeCode) s = "tk_TypeCode"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_Principal) s = "tk_Principal"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_objref) s = "tk_objref"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_struct) s = "tk_struct"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_union) s = "tk_union"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_enum) s = "tk_enum"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_string) s = "tk_string"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_sequence) s = "tk_sequence"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_array) s = "tk_array"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_alias) s = "tk_alias"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_except) s = "tk_except"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_longlong) s = "tk_longlong"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulonglong) s = "tk_ulonglong"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_longdouble) s = "tk_longdouble"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_wchar) s = "tk_wchar"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_wstring) s = "tk_wstring"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_wfixed) s = "tk_wfixed"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_value) s = "tk_value"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_value_box) s = "tk_value_box"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_native) s = "tk_native"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_abstract_interface) s = "tk_abstract_interface"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_local_interface) s = "tk_local_interface"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_component) s = "tk_component"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_home) s = "tk_home"; +else if (o == ::CIAO::Config_Handlers::TCKind::tk_event) s = "tk_event"; +else +{ +} - if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) - { - a->value (s); - } +if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) +{ +a->value (s); +} - else - { - top_().value (s); - } - } +else +{ +top_().value (s); +} +} - // DataType - // - // +// DataType +// +// - DataType:: - DataType (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +DataType:: +DataType (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - DataType:: - DataType () - { - } +DataType:: +DataType () +{ +} - void DataType:: - traverse (Type const& o) - { - Traversal::DataType::traverse (o); - } +void DataType:: +traverse (Type const& o) +{ +Traversal::DataType::traverse (o); +} - void DataType:: - kind (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); - Traversal::DataType::kind (o); - pop_ (); - } +void DataType:: +kind (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); +Traversal::DataType::kind (o); +pop_ (); +} - void DataType:: - enum_ (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); - Traversal::DataType::enum_ (o); - pop_ (); - } +void DataType:: +enum_ (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); +Traversal::DataType::enum_ (o); +pop_ (); +} - // DataValue - // - // +// DataValue +// +// - DataValue:: - DataValue (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +DataValue:: +DataValue (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - DataValue:: - DataValue () - { - } +DataValue:: +DataValue () +{ +} - void DataValue:: - traverse (Type const& o) - { - Traversal::DataValue::traverse (o); - } +void DataValue:: +traverse (Type const& o) +{ +Traversal::DataValue::traverse (o); +} - void DataValue:: - short_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("short", top_ ())); - } +void DataValue:: +short_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("short", top_ ())); +} - void DataValue:: - short_next (Type const& o) - { - short_post (o); - short_pre (o); - } +void DataValue:: +short_next (Type const& o) +{ +short_post (o); +short_pre (o); +} - void DataValue:: - short_post (Type const&) - { - pop_ (); - } +void DataValue:: +short_post (Type const&) +{ +pop_ (); +} - void DataValue:: - long_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("long", top_ ())); - } +void DataValue:: +long_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("long", top_ ())); +} - void DataValue:: - long_next (Type const& o) - { - long_post (o); - long_pre (o); - } +void DataValue:: +long_next (Type const& o) +{ +long_post (o); +long_pre (o); +} - void DataValue:: - long_post (Type const&) - { - pop_ (); - } +void DataValue:: +long_post (Type const&) +{ +pop_ (); +} - void DataValue:: - ushort_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ushort", top_ ())); - } +void DataValue:: +ushort_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ushort", top_ ())); +} - void DataValue:: - ushort_next (Type const& o) - { - ushort_post (o); - ushort_pre (o); - } +void DataValue:: +ushort_next (Type const& o) +{ +ushort_post (o); +ushort_pre (o); +} - void DataValue:: - ushort_post (Type const&) - { - pop_ (); - } +void DataValue:: +ushort_post (Type const&) +{ +pop_ (); +} - void DataValue:: - ulong_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulong", top_ ())); - } +void DataValue:: +ulong_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulong", top_ ())); +} - void DataValue:: - ulong_next (Type const& o) - { - ulong_post (o); - ulong_pre (o); - } +void DataValue:: +ulong_next (Type const& o) +{ +ulong_post (o); +ulong_pre (o); +} - void DataValue:: - ulong_post (Type const&) - { - pop_ (); - } +void DataValue:: +ulong_post (Type const&) +{ +pop_ (); +} - void DataValue:: - float_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("float", top_ ())); - } +void DataValue:: +float_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("float", top_ ())); +} - void DataValue:: - float_next (Type const& o) - { - float_post (o); - float_pre (o); - } +void DataValue:: +float_next (Type const& o) +{ +float_post (o); +float_pre (o); +} - void DataValue:: - float_post (Type const&) - { - pop_ (); - } +void DataValue:: +float_post (Type const&) +{ +pop_ (); +} - void DataValue:: - double_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("double", top_ ())); - } +void DataValue:: +double_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("double", top_ ())); +} - void DataValue:: - double_next (Type const& o) - { - double_post (o); - double_pre (o); - } +void DataValue:: +double_next (Type const& o) +{ +double_post (o); +double_pre (o); +} - void DataValue:: - double_post (Type const&) - { - pop_ (); - } +void DataValue:: +double_post (Type const&) +{ +pop_ (); +} - void DataValue:: - boolean_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("boolean", top_ ())); - } +void DataValue:: +boolean_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("boolean", top_ ())); +} - void DataValue:: - boolean_next (Type const& o) - { - boolean_post (o); - boolean_pre (o); - } +void DataValue:: +boolean_next (Type const& o) +{ +boolean_post (o); +boolean_pre (o); +} - void DataValue:: - boolean_post (Type const&) - { - pop_ (); - } +void DataValue:: +boolean_post (Type const&) +{ +pop_ (); +} - void DataValue:: - octet_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("octet", top_ ())); - } +void DataValue:: +octet_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("octet", top_ ())); +} - void DataValue:: - octet_next (Type const& o) - { - octet_post (o); - octet_pre (o); - } +void DataValue:: +octet_next (Type const& o) +{ +octet_post (o); +octet_pre (o); +} - void DataValue:: - octet_post (Type const&) - { - pop_ (); - } +void DataValue:: +octet_post (Type const&) +{ +pop_ (); +} - void DataValue:: - enum_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); - } +void DataValue:: +enum_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); +} - void DataValue:: - enum_next (Type const& o) - { - enum_post (o); - enum_pre (o); - } +void DataValue:: +enum_next (Type const& o) +{ +enum_post (o); +enum_pre (o); +} - void DataValue:: - enum_post (Type const&) - { - pop_ (); - } +void DataValue:: +enum_post (Type const&) +{ +pop_ (); +} - void DataValue:: - string_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("string", top_ ())); - } +void DataValue:: +string_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("string", top_ ())); +} - void DataValue:: - string_next (Type const& o) - { - string_post (o); - string_pre (o); - } +void DataValue:: +string_next (Type const& o) +{ +string_post (o); +string_pre (o); +} - void DataValue:: - string_post (Type const&) - { - pop_ (); - } +void DataValue:: +string_post (Type const&) +{ +pop_ (); +} - void DataValue:: - longlong_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longlong", top_ ())); - } +void DataValue:: +longlong_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longlong", top_ ())); +} - void DataValue:: - longlong_next (Type const& o) - { - longlong_post (o); - longlong_pre (o); - } +void DataValue:: +longlong_next (Type const& o) +{ +longlong_post (o); +longlong_pre (o); +} - void DataValue:: - longlong_post (Type const&) - { - pop_ (); - } +void DataValue:: +longlong_post (Type const&) +{ +pop_ (); +} - void DataValue:: - ulonglong_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulonglong", top_ ())); - } +void DataValue:: +ulonglong_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulonglong", top_ ())); +} - void DataValue:: - ulonglong_next (Type const& o) - { - ulonglong_post (o); - ulonglong_pre (o); - } +void DataValue:: +ulonglong_next (Type const& o) +{ +ulonglong_post (o); +ulonglong_pre (o); +} - void DataValue:: - ulonglong_post (Type const&) - { - pop_ (); - } +void DataValue:: +ulonglong_post (Type const&) +{ +pop_ (); +} - void DataValue:: - longdouble_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longdouble", top_ ())); - } +void DataValue:: +longdouble_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longdouble", top_ ())); +} - void DataValue:: - longdouble_next (Type const& o) - { - longdouble_post (o); - longdouble_pre (o); - } +void DataValue:: +longdouble_next (Type const& o) +{ +longdouble_post (o); +longdouble_pre (o); +} - void DataValue:: - longdouble_post (Type const&) - { - pop_ (); - } +void DataValue:: +longdouble_post (Type const&) +{ +pop_ (); +} - // EnumType - // - // +// EnumType +// +// - EnumType:: - EnumType (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +EnumType:: +EnumType (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - EnumType:: - EnumType () - { - } +EnumType:: +EnumType () +{ +} - void EnumType:: - traverse (Type const& o) - { - Traversal::EnumType::traverse (o); - } +void EnumType:: +traverse (Type const& o) +{ +Traversal::EnumType::traverse (o); +} - void EnumType:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::EnumType::name (o); - pop_ (); - } +void EnumType:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::EnumType::name (o); +pop_ (); +} - void EnumType:: - typeId (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); - Traversal::EnumType::typeId (o); - pop_ (); - } +void EnumType:: +typeId (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); +Traversal::EnumType::typeId (o); +pop_ (); +} - void EnumType:: - member_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); - } +void EnumType:: +member_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); +} - void EnumType:: - member_next (Type const& o) - { - member_post (o); - member_pre (o); - } +void EnumType:: +member_next (Type const& o) +{ +member_post (o); +member_pre (o); +} - void EnumType:: - member_post (Type const&) - { - pop_ (); - } +void EnumType:: +member_post (Type const&) +{ +pop_ (); +} - // Any - // - // +// Any +// +// - Any:: - Any (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +Any:: +Any (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - Any:: - Any () - { - } +Any:: +Any () +{ +} - void Any:: - traverse (Type const& o) - { - Traversal::Any::traverse (o); - } +void Any:: +traverse (Type const& o) +{ +Traversal::Any::traverse (o); +} - void Any:: - type (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); - Traversal::Any::type (o); - pop_ (); - } +void Any:: +type (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); +Traversal::Any::type (o); +pop_ (); +} - void Any:: - value (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); - Traversal::Any::value (o); - pop_ (); - } +void Any:: +value (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); +Traversal::Any::value (o); +pop_ (); +} - // Property - // - // +// Property +// +// - Property:: - Property (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +Property:: +Property (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - Property:: - Property () - { - } +Property:: +Property () +{ +} - void Property:: - traverse (Type const& o) - { - Traversal::Property::traverse (o); - } +void Property:: +traverse (Type const& o) +{ +Traversal::Property::traverse (o); +} - void Property:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Property::name (o); - pop_ (); - } +void Property:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Property::name (o); +pop_ (); +} - void Property:: - value (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); - Traversal::Property::value (o); - pop_ (); - } +void Property:: +value (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); +Traversal::Property::value (o); +pop_ (); +} - // SatisfierPropertyKind - // - // +// SatisfierPropertyKind +// +// - SatisfierPropertyKind:: - SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +SatisfierPropertyKind:: +SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - SatisfierPropertyKind:: - SatisfierPropertyKind () - { - } +SatisfierPropertyKind:: +SatisfierPropertyKind () +{ +} - void SatisfierPropertyKind:: - traverse (Type const& o) - { - ::std::basic_string< ACE_TCHAR > s; - - if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Quantity) s = "Quantity"; - else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Capacity) s = "Capacity"; - else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Minimum) s = "Minimum"; - else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Maximum) s = "Maximum"; - else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Attribute) s = "Attribute"; - else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Selection) s = "Selection"; - else - { - } +void SatisfierPropertyKind:: +traverse (Type const& o) +{ +::std::basic_string< ACE_TCHAR > s; + +if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Quantity) s = "Quantity"; +else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Capacity) s = "Capacity"; +else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Minimum) s = "Minimum"; +else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Maximum) s = "Maximum"; +else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Attribute) s = "Attribute"; +else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Selection) s = "Selection"; +else +{ +} - if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) - { - a->value (s); - } +if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) +{ +a->value (s); +} - else - { - top_().value (s); - } - } +else +{ +top_().value (s); +} +} - // SatisfierProperty - // - // +// SatisfierProperty +// +// - SatisfierProperty:: - SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +SatisfierProperty:: +SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - SatisfierProperty:: - SatisfierProperty () - { - } +SatisfierProperty:: +SatisfierProperty () +{ +} - void SatisfierProperty:: - traverse (Type const& o) - { - Traversal::SatisfierProperty::traverse (o); - } +void SatisfierProperty:: +traverse (Type const& o) +{ +Traversal::SatisfierProperty::traverse (o); +} - void SatisfierProperty:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::SatisfierProperty::name (o); - pop_ (); - } +void SatisfierProperty:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::SatisfierProperty::name (o); +pop_ (); +} - void SatisfierProperty:: - kind (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); - Traversal::SatisfierProperty::kind (o); - pop_ (); - } +void SatisfierProperty:: +kind (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); +Traversal::SatisfierProperty::kind (o); +pop_ (); +} - void SatisfierProperty:: - value (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); - Traversal::SatisfierProperty::value (o); - pop_ (); - } +void SatisfierProperty:: +dynamic (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dynamic", top_ ())); +Traversal::SatisfierProperty::dynamic (o); +pop_ (); +} - // Resource - // - // +void SatisfierProperty:: +value (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); +Traversal::SatisfierProperty::value (o); +pop_ (); +} - Resource:: - Resource (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// Resource +// +// - Resource:: - Resource () - { - } +Resource:: +Resource (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void Resource:: - traverse (Type const& o) - { - Traversal::Resource::traverse (o); - } +Resource:: +Resource () +{ +} - void Resource:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Resource::name (o); - pop_ (); - } +void Resource:: +traverse (Type const& o) +{ +Traversal::Resource::traverse (o); +} - void Resource:: - resourceType_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); - } +void Resource:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Resource::name (o); +pop_ (); +} - void Resource:: - resourceType_next (Type const& o) - { - resourceType_post (o); - resourceType_pre (o); - } +void Resource:: +resourceType_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); +} - void Resource:: - resourceType_post (Type const&) - { - pop_ (); - } +void Resource:: +resourceType_next (Type const& o) +{ +resourceType_post (o); +resourceType_pre (o); +} - void Resource:: - property_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); - } +void Resource:: +resourceType_post (Type const&) +{ +pop_ (); +} - void Resource:: - property_next (Type const& o) - { - property_post (o); - property_pre (o); - } +void Resource:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - void Resource:: - property_post (Type const&) - { - pop_ (); - } +void Resource:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - // Requirement - // - // +void Resource:: +property_post (Type const&) +{ +pop_ (); +} - Requirement:: - Requirement (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// Requirement +// +// - Requirement:: - Requirement () - { - } +Requirement:: +Requirement (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void Requirement:: - traverse (Type const& o) - { - Traversal::Requirement::traverse (o); - } +Requirement:: +Requirement () +{ +} - void Requirement:: - resourceType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); - Traversal::Requirement::resourceType (o); - pop_ (); - } +void Requirement:: +traverse (Type const& o) +{ +Traversal::Requirement::traverse (o); +} - void Requirement:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Requirement::name (o); - pop_ (); - } +void Requirement:: +resourceType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); +Traversal::Requirement::resourceType (o); +pop_ (); +} - void Requirement:: - property (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); - Traversal::Requirement::property (o); - pop_ (); - } +void Requirement:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Requirement::name (o); +pop_ (); +} - // ResourceDeploymentDescription - // - // +void Requirement:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - ResourceDeploymentDescription:: - ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Requirement:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - ResourceDeploymentDescription:: - ResourceDeploymentDescription () - { - } +void Requirement:: +property_post (Type const&) +{ +pop_ (); +} - void ResourceDeploymentDescription:: - traverse (Type const& o) - { - Traversal::ResourceDeploymentDescription::traverse (o); - } +// ResourceDeploymentDescription +// +// - void ResourceDeploymentDescription:: - requirementName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); - Traversal::ResourceDeploymentDescription::requirementName (o); - pop_ (); - } +ResourceDeploymentDescription:: +ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ResourceDeploymentDescription:: - resourceName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); - Traversal::ResourceDeploymentDescription::resourceName (o); - pop_ (); - } +ResourceDeploymentDescription:: +ResourceDeploymentDescription () +{ +} - void ResourceDeploymentDescription:: - resourceValue (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceValue", top_ ())); - Traversal::ResourceDeploymentDescription::resourceValue (o); - pop_ (); - } +void ResourceDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::ResourceDeploymentDescription::traverse (o); +} - // ArtifactDeploymentDescription - // - // +void ResourceDeploymentDescription:: +requirementName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); +Traversal::ResourceDeploymentDescription::requirementName (o); +pop_ (); +} - ArtifactDeploymentDescription:: - ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ResourceDeploymentDescription:: +resourceName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); +Traversal::ResourceDeploymentDescription::resourceName (o); +pop_ (); +} - ArtifactDeploymentDescription:: - ArtifactDeploymentDescription () - { - } +void ResourceDeploymentDescription:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - void ArtifactDeploymentDescription:: - traverse (Type const& o) - { - Traversal::ArtifactDeploymentDescription::traverse (o); - } +void ResourceDeploymentDescription:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - void ArtifactDeploymentDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::ArtifactDeploymentDescription::name (o); - pop_ (); - } +void ResourceDeploymentDescription:: +property_post (Type const&) +{ +pop_ (); +} - void ArtifactDeploymentDescription:: - source_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); - } +// ArtifactDeploymentDescription +// +// - void ArtifactDeploymentDescription:: - source_next (Type const& o) - { - source_post (o); - source_pre (o); - } +ArtifactDeploymentDescription:: +ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ArtifactDeploymentDescription:: - source_post (Type const&) - { - pop_ (); - } +ArtifactDeploymentDescription:: +ArtifactDeploymentDescription () +{ +} - void ArtifactDeploymentDescription:: - node (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); - Traversal::ArtifactDeploymentDescription::node (o); - pop_ (); - } +void ArtifactDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::ArtifactDeploymentDescription::traverse (o); +} - void ArtifactDeploymentDescription:: - location_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); - } +void ArtifactDeploymentDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::ArtifactDeploymentDescription::name (o); +pop_ (); +} - void ArtifactDeploymentDescription:: - location_next (Type const& o) - { - location_post (o); - location_pre (o); - } +void ArtifactDeploymentDescription:: +source_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); +} - void ArtifactDeploymentDescription:: - location_post (Type const&) - { - pop_ (); - } +void ArtifactDeploymentDescription:: +source_next (Type const& o) +{ +source_post (o); +source_pre (o); +} - void ArtifactDeploymentDescription:: - execParameter_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); - } +void ArtifactDeploymentDescription:: +source_post (Type const&) +{ +pop_ (); +} - void ArtifactDeploymentDescription:: - execParameter_next (Type const& o) - { - execParameter_post (o); - execParameter_pre (o); - } +void ArtifactDeploymentDescription:: +node (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); +Traversal::ArtifactDeploymentDescription::node (o); +pop_ (); +} - void ArtifactDeploymentDescription:: - execParameter_post (Type const&) - { - pop_ (); - } +void ArtifactDeploymentDescription:: +location_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); +} - void ArtifactDeploymentDescription:: - deployRequirement_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - } +void ArtifactDeploymentDescription:: +location_next (Type const& o) +{ +location_post (o); +location_pre (o); +} - void ArtifactDeploymentDescription:: - deployRequirement_next (Type const& o) - { - deployRequirement_post (o); - deployRequirement_pre (o); - } +void ArtifactDeploymentDescription:: +location_post (Type const&) +{ +pop_ (); +} - void ArtifactDeploymentDescription:: - deployRequirement_post (Type const&) - { - pop_ (); - } +void ArtifactDeploymentDescription:: +execParameter_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); +} - void ArtifactDeploymentDescription:: - deployedResource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); - } +void ArtifactDeploymentDescription:: +execParameter_next (Type const& o) +{ +execParameter_post (o); +execParameter_pre (o); +} - void ArtifactDeploymentDescription:: - deployedResource_next (Type const& o) - { - deployedResource_post (o); - deployedResource_pre (o); - } +void ArtifactDeploymentDescription:: +execParameter_post (Type const&) +{ +pop_ (); +} - void ArtifactDeploymentDescription:: - deployedResource_post (Type const&) - { - pop_ (); - } +void ArtifactDeploymentDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} - void ArtifactDeploymentDescription:: - id (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); - attr_ (&a); - Traversal::ArtifactDeploymentDescription::id (o); - attr_ (0); - } +void ArtifactDeploymentDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} - // MonolithicDeploymentDescription - // - // +void ArtifactDeploymentDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} - MonolithicDeploymentDescription:: - MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ArtifactDeploymentDescription:: +deployedResource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); +} - MonolithicDeploymentDescription:: - MonolithicDeploymentDescription () - { - } +void ArtifactDeploymentDescription:: +deployedResource_next (Type const& o) +{ +deployedResource_post (o); +deployedResource_pre (o); +} - void MonolithicDeploymentDescription:: - traverse (Type const& o) - { - Traversal::MonolithicDeploymentDescription::traverse (o); - } +void ArtifactDeploymentDescription:: +deployedResource_post (Type const&) +{ +pop_ (); +} - void MonolithicDeploymentDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::MonolithicDeploymentDescription::name (o); - pop_ (); - } +void ArtifactDeploymentDescription:: +id (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); +attr_ (&a); +Traversal::ArtifactDeploymentDescription::id (o); +attr_ (0); +} - void MonolithicDeploymentDescription:: - source_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); - } +// MonolithicDeploymentDescription +// +// - void MonolithicDeploymentDescription:: - source_next (Type const& o) - { - source_post (o); - source_pre (o); - } +MonolithicDeploymentDescription:: +MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void MonolithicDeploymentDescription:: - source_post (Type const&) - { - pop_ (); - } +MonolithicDeploymentDescription:: +MonolithicDeploymentDescription () +{ +} - void MonolithicDeploymentDescription:: - artifact_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("artifact", top_ ())); - } +void MonolithicDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::MonolithicDeploymentDescription::traverse (o); +} - void MonolithicDeploymentDescription:: - artifact_next (Type const& o) - { - artifact_post (o); - artifact_pre (o); - } +void MonolithicDeploymentDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::MonolithicDeploymentDescription::name (o); +pop_ (); +} - void MonolithicDeploymentDescription:: - artifact_post (Type const&) - { - pop_ (); - } +void MonolithicDeploymentDescription:: +source_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); +} - void MonolithicDeploymentDescription:: - execParameter_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); - } +void MonolithicDeploymentDescription:: +source_next (Type const& o) +{ +source_post (o); +source_pre (o); +} - void MonolithicDeploymentDescription:: - execParameter_next (Type const& o) - { - execParameter_post (o); - execParameter_pre (o); - } +void MonolithicDeploymentDescription:: +source_post (Type const&) +{ +pop_ (); +} - void MonolithicDeploymentDescription:: - execParameter_post (Type const&) - { - pop_ (); - } +void MonolithicDeploymentDescription:: +artifact_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("artifact", top_ ())); +} - void MonolithicDeploymentDescription:: - deployRequirement_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - } +void MonolithicDeploymentDescription:: +artifact_next (Type const& o) +{ +artifact_post (o); +artifact_pre (o); +} - void MonolithicDeploymentDescription:: - deployRequirement_next (Type const& o) - { - deployRequirement_post (o); - deployRequirement_pre (o); - } +void MonolithicDeploymentDescription:: +artifact_post (Type const&) +{ +pop_ (); +} - void MonolithicDeploymentDescription:: - deployRequirement_post (Type const&) - { - pop_ (); - } +void MonolithicDeploymentDescription:: +execParameter_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); +} - void MonolithicDeploymentDescription:: - id (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); - attr_ (&a); - Traversal::MonolithicDeploymentDescription::id (o); - attr_ (0); - } +void MonolithicDeploymentDescription:: +execParameter_next (Type const& o) +{ +execParameter_post (o); +execParameter_pre (o); +} - // ResourceUsageKind - // - // +void MonolithicDeploymentDescription:: +execParameter_post (Type const&) +{ +pop_ (); +} - ResourceUsageKind:: - ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void MonolithicDeploymentDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} - ResourceUsageKind:: - ResourceUsageKind () - { - } +void MonolithicDeploymentDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} - void ResourceUsageKind:: - traverse (Type const& o) - { - ::std::basic_string< ACE_TCHAR > s; - - if (o == ::CIAO::Config_Handlers::ResourceUsageKind::None) s = "None"; - else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::InstanceUsesResource) s = "InstanceUsesResource"; - else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesInstance) s = "ResourceUsesInstance"; - else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::PortUsesResource) s = "PortUsesResource"; - else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesPort) s = "ResourceUsesPort"; - else - { - } +void MonolithicDeploymentDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} - if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) - { - a->value (s); - } +void MonolithicDeploymentDescription:: +id (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); +attr_ (&a); +Traversal::MonolithicDeploymentDescription::id (o); +attr_ (0); +} - else - { - top_().value (s); - } - } +// ResourceUsageKind +// +// - // InstanceResourceDeploymentDescription - // - // +ResourceUsageKind:: +ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - InstanceResourceDeploymentDescription:: - InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +ResourceUsageKind:: +ResourceUsageKind () +{ +} - InstanceResourceDeploymentDescription:: - InstanceResourceDeploymentDescription () - { - } +void ResourceUsageKind:: +traverse (Type const& o) +{ +::std::basic_string< ACE_TCHAR > s; + +if (o == ::CIAO::Config_Handlers::ResourceUsageKind::None) s = "None"; +else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::InstanceUsesResource) s = "InstanceUsesResource"; +else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesInstance) s = "ResourceUsesInstance"; +else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::PortUsesResource) s = "PortUsesResource"; +else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesPort) s = "ResourceUsesPort"; +else +{ +} - void InstanceResourceDeploymentDescription:: - traverse (Type const& o) - { - Traversal::InstanceResourceDeploymentDescription::traverse (o); - } +if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) +{ +a->value (s); +} - void InstanceResourceDeploymentDescription:: - resourceUsage (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); - Traversal::InstanceResourceDeploymentDescription::resourceUsage (o); - pop_ (); - } +else +{ +top_().value (s); +} +} - void InstanceResourceDeploymentDescription:: - requirementName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); - Traversal::InstanceResourceDeploymentDescription::requirementName (o); - pop_ (); - } +// InstanceResourceDeploymentDescription +// +// - void InstanceResourceDeploymentDescription:: - resourceName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); - Traversal::InstanceResourceDeploymentDescription::resourceName (o); - pop_ (); - } +InstanceResourceDeploymentDescription:: +InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void InstanceResourceDeploymentDescription:: - resourceValue (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceValue", top_ ())); - Traversal::InstanceResourceDeploymentDescription::resourceValue (o); - pop_ (); - } +InstanceResourceDeploymentDescription:: +InstanceResourceDeploymentDescription () +{ +} - // InstanceDeploymentDescription - // - // +void InstanceResourceDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::InstanceResourceDeploymentDescription::traverse (o); +} - InstanceDeploymentDescription:: - InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void InstanceResourceDeploymentDescription:: +resourceUsage (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); +Traversal::InstanceResourceDeploymentDescription::resourceUsage (o); +pop_ (); +} - InstanceDeploymentDescription:: - InstanceDeploymentDescription () - { - } +void InstanceResourceDeploymentDescription:: +requirementName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); +Traversal::InstanceResourceDeploymentDescription::requirementName (o); +pop_ (); +} - void InstanceDeploymentDescription:: - traverse (Type const& o) - { - Traversal::InstanceDeploymentDescription::traverse (o); - } +void InstanceResourceDeploymentDescription:: +resourceName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); +Traversal::InstanceResourceDeploymentDescription::resourceName (o); +pop_ (); +} - void InstanceDeploymentDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::InstanceDeploymentDescription::name (o); - pop_ (); - } +void InstanceResourceDeploymentDescription:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - void InstanceDeploymentDescription:: - node (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); - Traversal::InstanceDeploymentDescription::node (o); - pop_ (); - } +void InstanceResourceDeploymentDescription:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - void InstanceDeploymentDescription:: - source (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); - Traversal::InstanceDeploymentDescription::source (o); - pop_ (); - } +void InstanceResourceDeploymentDescription:: +property_post (Type const&) +{ +pop_ (); +} - void InstanceDeploymentDescription:: - implementation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); - Traversal::InstanceDeploymentDescription::implementation (o); - pop_ (); - } +// InstanceDeploymentDescription +// +// - void InstanceDeploymentDescription:: - configProperty_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); - } +InstanceDeploymentDescription:: +InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void InstanceDeploymentDescription:: - configProperty_next (Type const& o) - { - configProperty_post (o); - configProperty_pre (o); - } +InstanceDeploymentDescription:: +InstanceDeploymentDescription () +{ +} - void InstanceDeploymentDescription:: - configProperty_post (Type const&) - { - pop_ (); - } +void InstanceDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::InstanceDeploymentDescription::traverse (o); +} - void InstanceDeploymentDescription:: - deployedResource (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); - Traversal::InstanceDeploymentDescription::deployedResource (o); - pop_ (); - } +void InstanceDeploymentDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::InstanceDeploymentDescription::name (o); +pop_ (); +} - void InstanceDeploymentDescription:: - deployedSharedResource (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedSharedResource", top_ ())); - Traversal::InstanceDeploymentDescription::deployedSharedResource (o); - pop_ (); - } +void InstanceDeploymentDescription:: +node (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); +Traversal::InstanceDeploymentDescription::node (o); +pop_ (); +} - void InstanceDeploymentDescription:: - id (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); - attr_ (&a); - Traversal::InstanceDeploymentDescription::id (o); - attr_ (0); - } +void InstanceDeploymentDescription:: +source (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); +Traversal::InstanceDeploymentDescription::source (o); +pop_ (); +} - // CCMComponentPortKind - // - // +void InstanceDeploymentDescription:: +implementation (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); +Traversal::InstanceDeploymentDescription::implementation (o); +pop_ (); +} - CCMComponentPortKind:: - CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void InstanceDeploymentDescription:: +configProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); +} - CCMComponentPortKind:: - CCMComponentPortKind () - { - } +void InstanceDeploymentDescription:: +configProperty_next (Type const& o) +{ +configProperty_post (o); +configProperty_pre (o); +} - void CCMComponentPortKind:: - traverse (Type const& o) - { - ::std::basic_string< ACE_TCHAR > s; - - if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::Facet) s = "Facet"; - else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::SimplexReceptacle) s = "SimplexReceptacle"; - else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::MultiplexReceptacle) s = "MultiplexReceptacle"; - else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventEmitter) s = "EventEmitter"; - else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventPublisher) s = "EventPublisher"; - else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventConsumer) s = "EventConsumer"; - else - { - } +void InstanceDeploymentDescription:: +configProperty_post (Type const&) +{ +pop_ (); +} - if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) - { - a->value (s); - } +void InstanceDeploymentDescription:: +deployedResource (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); +Traversal::InstanceDeploymentDescription::deployedResource (o); +pop_ (); +} - else - { - top_().value (s); - } - } +void InstanceDeploymentDescription:: +deployedSharedResource (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedSharedResource", top_ ())); +Traversal::InstanceDeploymentDescription::deployedSharedResource (o); +pop_ (); +} - // ComponentPortDescription - // - // +void InstanceDeploymentDescription:: +id (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); +attr_ (&a); +Traversal::InstanceDeploymentDescription::id (o); +attr_ (0); +} - ComponentPortDescription:: - ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// CCMComponentPortKind +// +// - ComponentPortDescription:: - ComponentPortDescription () - { - } +CCMComponentPortKind:: +CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ComponentPortDescription:: - traverse (Type const& o) - { - Traversal::ComponentPortDescription::traverse (o); - } +CCMComponentPortKind:: +CCMComponentPortKind () +{ +} - void ComponentPortDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::ComponentPortDescription::name (o); - pop_ (); - } +void CCMComponentPortKind:: +traverse (Type const& o) +{ +::std::basic_string< ACE_TCHAR > s; + +if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::Facet) s = "Facet"; +else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::SimplexReceptacle) s = "SimplexReceptacle"; +else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::MultiplexReceptacle) s = "MultiplexReceptacle"; +else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventEmitter) s = "EventEmitter"; +else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventPublisher) s = "EventPublisher"; +else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventConsumer) s = "EventConsumer"; +else +{ +} - void ComponentPortDescription:: - specificType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specificType", top_ ())); - Traversal::ComponentPortDescription::specificType (o); - pop_ (); - } +if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) +{ +a->value (s); +} - void ComponentPortDescription:: - supportedType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("supportedType", top_ ())); - Traversal::ComponentPortDescription::supportedType (o); - pop_ (); - } +else +{ +top_().value (s); +} +} - void ComponentPortDescription:: - provider (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); - Traversal::ComponentPortDescription::provider (o); - pop_ (); - } +// ComponentPortDescription +// +// - void ComponentPortDescription:: - exclusiveProvider (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveProvider", top_ ())); - Traversal::ComponentPortDescription::exclusiveProvider (o); - pop_ (); - } +ComponentPortDescription:: +ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ComponentPortDescription:: - exclusiveUser (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveUser", top_ ())); - Traversal::ComponentPortDescription::exclusiveUser (o); - pop_ (); - } +ComponentPortDescription:: +ComponentPortDescription () +{ +} - void ComponentPortDescription:: - optional (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("optional", top_ ())); - Traversal::ComponentPortDescription::optional (o); - pop_ (); - } +void ComponentPortDescription:: +traverse (Type const& o) +{ +Traversal::ComponentPortDescription::traverse (o); +} - void ComponentPortDescription:: - kind (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); - Traversal::ComponentPortDescription::kind (o); - pop_ (); - } +void ComponentPortDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::ComponentPortDescription::name (o); +pop_ (); +} - // ComponentPropertyDescription - // - // +void ComponentPortDescription:: +specificType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specificType", top_ ())); +Traversal::ComponentPortDescription::specificType (o); +pop_ (); +} - ComponentPropertyDescription:: - ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ComponentPortDescription:: +supportedType_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("supportedType", top_ ())); +} - ComponentPropertyDescription:: - ComponentPropertyDescription () - { - } +void ComponentPortDescription:: +supportedType_next (Type const& o) +{ +supportedType_post (o); +supportedType_pre (o); +} - void ComponentPropertyDescription:: - traverse (Type const& o) - { - Traversal::ComponentPropertyDescription::traverse (o); - } +void ComponentPortDescription:: +supportedType_post (Type const&) +{ +pop_ (); +} - void ComponentPropertyDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::ComponentPropertyDescription::name (o); - pop_ (); - } +void ComponentPortDescription:: +provider (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); +Traversal::ComponentPortDescription::provider (o); +pop_ (); +} - void ComponentPropertyDescription:: - type (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); - Traversal::ComponentPropertyDescription::type (o); - pop_ (); - } +void ComponentPortDescription:: +exclusiveProvider (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveProvider", top_ ())); +Traversal::ComponentPortDescription::exclusiveProvider (o); +pop_ (); +} - // ComponentExternalPortEndpoint - // - // +void ComponentPortDescription:: +exclusiveUser (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveUser", top_ ())); +Traversal::ComponentPortDescription::exclusiveUser (o); +pop_ (); +} - ComponentExternalPortEndpoint:: - ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ComponentPortDescription:: +optional (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("optional", top_ ())); +Traversal::ComponentPortDescription::optional (o); +pop_ (); +} - ComponentExternalPortEndpoint:: - ComponentExternalPortEndpoint () - { - } +void ComponentPortDescription:: +kind (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); +Traversal::ComponentPortDescription::kind (o); +pop_ (); +} - void ComponentExternalPortEndpoint:: - traverse (Type const& o) - { - Traversal::ComponentExternalPortEndpoint::traverse (o); - } +// ComponentPropertyDescription +// +// - void ComponentExternalPortEndpoint:: - portName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); - Traversal::ComponentExternalPortEndpoint::portName (o); - pop_ (); - } +ComponentPropertyDescription:: +ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - // PlanSubcomponentPortEndpoint - // - // +ComponentPropertyDescription:: +ComponentPropertyDescription () +{ +} - PlanSubcomponentPortEndpoint:: - PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ComponentPropertyDescription:: +traverse (Type const& o) +{ +Traversal::ComponentPropertyDescription::traverse (o); +} - PlanSubcomponentPortEndpoint:: - PlanSubcomponentPortEndpoint () - { - } +void ComponentPropertyDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::ComponentPropertyDescription::name (o); +pop_ (); +} - void PlanSubcomponentPortEndpoint:: - traverse (Type const& o) - { - Traversal::PlanSubcomponentPortEndpoint::traverse (o); - } +void ComponentPropertyDescription:: +type (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); +Traversal::ComponentPropertyDescription::type (o); +pop_ (); +} - void PlanSubcomponentPortEndpoint:: - portName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); - Traversal::PlanSubcomponentPortEndpoint::portName (o); - pop_ (); - } +// ComponentExternalPortEndpoint +// +// - void PlanSubcomponentPortEndpoint:: - provider (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); - Traversal::PlanSubcomponentPortEndpoint::provider (o); - pop_ (); - } +ComponentExternalPortEndpoint:: +ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void PlanSubcomponentPortEndpoint:: - kind (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); - Traversal::PlanSubcomponentPortEndpoint::kind (o); - pop_ (); - } +ComponentExternalPortEndpoint:: +ComponentExternalPortEndpoint () +{ +} - void PlanSubcomponentPortEndpoint:: - instance (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); - Traversal::PlanSubcomponentPortEndpoint::instance (o); - pop_ (); - } +void ComponentExternalPortEndpoint:: +traverse (Type const& o) +{ +Traversal::ComponentExternalPortEndpoint::traverse (o); +} - // ExternalReferenceEndpoint - // - // +void ComponentExternalPortEndpoint:: +portName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); +Traversal::ComponentExternalPortEndpoint::portName (o); +pop_ (); +} - ExternalReferenceEndpoint:: - ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// PlanSubcomponentPortEndpoint +// +// - ExternalReferenceEndpoint:: - ExternalReferenceEndpoint () - { - } +PlanSubcomponentPortEndpoint:: +PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ExternalReferenceEndpoint:: - traverse (Type const& o) - { - Traversal::ExternalReferenceEndpoint::traverse (o); - } +PlanSubcomponentPortEndpoint:: +PlanSubcomponentPortEndpoint () +{ +} - void ExternalReferenceEndpoint:: - location (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); - Traversal::ExternalReferenceEndpoint::location (o); - pop_ (); - } +void PlanSubcomponentPortEndpoint:: +traverse (Type const& o) +{ +Traversal::PlanSubcomponentPortEndpoint::traverse (o); +} - // ConnectionResourceDeploymentDescription - // - // +void PlanSubcomponentPortEndpoint:: +portName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); +Traversal::PlanSubcomponentPortEndpoint::portName (o); +pop_ (); +} - ConnectionResourceDeploymentDescription:: - ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void PlanSubcomponentPortEndpoint:: +provider (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); +Traversal::PlanSubcomponentPortEndpoint::provider (o); +pop_ (); +} - ConnectionResourceDeploymentDescription:: - ConnectionResourceDeploymentDescription () - { - } +void PlanSubcomponentPortEndpoint:: +kind (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); +Traversal::PlanSubcomponentPortEndpoint::kind (o); +pop_ (); +} - void ConnectionResourceDeploymentDescription:: - traverse (Type const& o) - { - Traversal::ConnectionResourceDeploymentDescription::traverse (o); - } +void PlanSubcomponentPortEndpoint:: +instance (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); +Traversal::PlanSubcomponentPortEndpoint::instance (o); +pop_ (); +} - void ConnectionResourceDeploymentDescription:: - targetName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("targetName", top_ ())); - Traversal::ConnectionResourceDeploymentDescription::targetName (o); - pop_ (); - } +// ExternalReferenceEndpoint +// +// - void ConnectionResourceDeploymentDescription:: - requirementName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); - Traversal::ConnectionResourceDeploymentDescription::requirementName (o); - pop_ (); - } +ExternalReferenceEndpoint:: +ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ConnectionResourceDeploymentDescription:: - resourceName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); - Traversal::ConnectionResourceDeploymentDescription::resourceName (o); - pop_ (); - } +ExternalReferenceEndpoint:: +ExternalReferenceEndpoint () +{ +} - void ConnectionResourceDeploymentDescription:: - resourceValue (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceValue", top_ ())); - Traversal::ConnectionResourceDeploymentDescription::resourceValue (o); - pop_ (); - } +void ExternalReferenceEndpoint:: +traverse (Type const& o) +{ +Traversal::ExternalReferenceEndpoint::traverse (o); +} - // PlanConnectionDescription - // - // +void ExternalReferenceEndpoint:: +location (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); +Traversal::ExternalReferenceEndpoint::location (o); +pop_ (); +} - PlanConnectionDescription:: - PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// ConnectionResourceDeploymentDescription +// +// - PlanConnectionDescription:: - PlanConnectionDescription () - { - } +ConnectionResourceDeploymentDescription:: +ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void PlanConnectionDescription:: - traverse (Type const& o) - { - Traversal::PlanConnectionDescription::traverse (o); - } +ConnectionResourceDeploymentDescription:: +ConnectionResourceDeploymentDescription () +{ +} - void PlanConnectionDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::PlanConnectionDescription::name (o); - pop_ (); - } +void ConnectionResourceDeploymentDescription:: +traverse (Type const& o) +{ +Traversal::ConnectionResourceDeploymentDescription::traverse (o); +} - void PlanConnectionDescription:: - source (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); - Traversal::PlanConnectionDescription::source (o); - pop_ (); - } +void ConnectionResourceDeploymentDescription:: +targetName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("targetName", top_ ())); +Traversal::ConnectionResourceDeploymentDescription::targetName (o); +pop_ (); +} - void PlanConnectionDescription:: - deployRequirement_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - } +void ConnectionResourceDeploymentDescription:: +requirementName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); +Traversal::ConnectionResourceDeploymentDescription::requirementName (o); +pop_ (); +} - void PlanConnectionDescription:: - deployRequirement_next (Type const& o) - { - deployRequirement_post (o); - deployRequirement_pre (o); - } +void ConnectionResourceDeploymentDescription:: +resourceName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); +Traversal::ConnectionResourceDeploymentDescription::resourceName (o); +pop_ (); +} - void PlanConnectionDescription:: - deployRequirement_post (Type const&) - { - pop_ (); - } +void ConnectionResourceDeploymentDescription:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - void PlanConnectionDescription:: - externalEndpoint_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); - } +void ConnectionResourceDeploymentDescription:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - void PlanConnectionDescription:: - externalEndpoint_next (Type const& o) - { - externalEndpoint_post (o); - externalEndpoint_pre (o); - } +void ConnectionResourceDeploymentDescription:: +property_post (Type const&) +{ +pop_ (); +} - void PlanConnectionDescription:: - externalEndpoint_post (Type const&) - { - pop_ (); - } +// PlanConnectionDescription +// +// - void PlanConnectionDescription:: - internalEndpoint_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); - } +PlanConnectionDescription:: +PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void PlanConnectionDescription:: - internalEndpoint_next (Type const& o) - { - internalEndpoint_post (o); - internalEndpoint_pre (o); - } +PlanConnectionDescription:: +PlanConnectionDescription () +{ +} - void PlanConnectionDescription:: - internalEndpoint_post (Type const&) - { - pop_ (); - } +void PlanConnectionDescription:: +traverse (Type const& o) +{ +Traversal::PlanConnectionDescription::traverse (o); +} - void PlanConnectionDescription:: - externalReference_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); - } +void PlanConnectionDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::PlanConnectionDescription::name (o); +pop_ (); +} - void PlanConnectionDescription:: - externalReference_next (Type const& o) - { - externalReference_post (o); - externalReference_pre (o); - } +void PlanConnectionDescription:: +source (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); +Traversal::PlanConnectionDescription::source (o); +pop_ (); +} - void PlanConnectionDescription:: - externalReference_post (Type const&) - { - pop_ (); - } +void PlanConnectionDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} - void PlanConnectionDescription:: - deployedResource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); - } +void PlanConnectionDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} - void PlanConnectionDescription:: - deployedResource_next (Type const& o) - { - deployedResource_post (o); - deployedResource_pre (o); - } +void PlanConnectionDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} - void PlanConnectionDescription:: - deployedResource_post (Type const&) - { - pop_ (); - } +void PlanConnectionDescription:: +externalEndpoint_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); +} - // ImplementationDependency - // - // +void PlanConnectionDescription:: +externalEndpoint_next (Type const& o) +{ +externalEndpoint_post (o); +externalEndpoint_pre (o); +} - ImplementationDependency:: - ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void PlanConnectionDescription:: +externalEndpoint_post (Type const&) +{ +pop_ (); +} - ImplementationDependency:: - ImplementationDependency () - { - } +void PlanConnectionDescription:: +internalEndpoint_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); +} - void ImplementationDependency:: - traverse (Type const& o) - { - Traversal::ImplementationDependency::traverse (o); - } +void PlanConnectionDescription:: +internalEndpoint_next (Type const& o) +{ +internalEndpoint_post (o); +internalEndpoint_pre (o); +} - void ImplementationDependency:: - requiredType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); - Traversal::ImplementationDependency::requiredType (o); - pop_ (); - } +void PlanConnectionDescription:: +internalEndpoint_post (Type const&) +{ +pop_ (); +} - // Capability - // - // +void PlanConnectionDescription:: +externalReference_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); +} - Capability:: - Capability (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void PlanConnectionDescription:: +externalReference_next (Type const& o) +{ +externalReference_post (o); +externalReference_pre (o); +} - Capability:: - Capability () - { - } +void PlanConnectionDescription:: +externalReference_post (Type const&) +{ +pop_ (); +} - void Capability:: - traverse (Type const& o) - { - Traversal::Capability::traverse (o); - } +void PlanConnectionDescription:: +deployedResource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); +} - void Capability:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Capability::name (o); - pop_ (); - } +void PlanConnectionDescription:: +deployedResource_next (Type const& o) +{ +deployedResource_post (o); +deployedResource_pre (o); +} - void Capability:: - resourceType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); - Traversal::Capability::resourceType (o); - pop_ (); - } +void PlanConnectionDescription:: +deployedResource_post (Type const&) +{ +pop_ (); +} - void Capability:: - property (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); - Traversal::Capability::property (o); - pop_ (); - } +// ImplementationDependency +// +// - // ImplementationRequirement - // - // +ImplementationDependency:: +ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - ImplementationRequirement:: - ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +ImplementationDependency:: +ImplementationDependency () +{ +} - ImplementationRequirement:: - ImplementationRequirement () - { - } +void ImplementationDependency:: +traverse (Type const& o) +{ +Traversal::ImplementationDependency::traverse (o); +} - void ImplementationRequirement:: - traverse (Type const& o) - { - Traversal::ImplementationRequirement::traverse (o); - } +void ImplementationDependency:: +requiredType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); +Traversal::ImplementationDependency::requiredType (o); +pop_ (); +} - void ImplementationRequirement:: - resourceUsage (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); - Traversal::ImplementationRequirement::resourceUsage (o); - pop_ (); - } +// Capability +// +// - void ImplementationRequirement:: - resourcePort (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourcePort", top_ ())); - Traversal::ImplementationRequirement::resourcePort (o); - pop_ (); - } +Capability:: +Capability (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ImplementationRequirement:: - componentPort (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentPort", top_ ())); - Traversal::ImplementationRequirement::componentPort (o); - pop_ (); - } +Capability:: +Capability () +{ +} - void ImplementationRequirement:: - resourceType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); - Traversal::ImplementationRequirement::resourceType (o); - pop_ (); - } +void Capability:: +traverse (Type const& o) +{ +Traversal::Capability::traverse (o); +} - void ImplementationRequirement:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::ImplementationRequirement::name (o); - pop_ (); - } +void Capability:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Capability::name (o); +pop_ (); +} - void ImplementationRequirement:: - property (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); - Traversal::ImplementationRequirement::property (o); - pop_ (); - } +void Capability:: +resourceType_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); +} - // ComponentPackageReference - // - // +void Capability:: +resourceType_next (Type const& o) +{ +resourceType_post (o); +resourceType_pre (o); +} - ComponentPackageReference:: - ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Capability:: +resourceType_post (Type const&) +{ +pop_ (); +} - ComponentPackageReference:: - ComponentPackageReference () - { - } +void Capability:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - void ComponentPackageReference:: - traverse (Type const& o) - { - Traversal::ComponentPackageReference::traverse (o); - } +void Capability:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - void ComponentPackageReference:: - requiredUUID (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredUUID", top_ ())); - Traversal::ComponentPackageReference::requiredUUID (o); - pop_ (); - } +void Capability:: +property_post (Type const&) +{ +pop_ (); +} - void ComponentPackageReference:: - requiredName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredName", top_ ())); - Traversal::ComponentPackageReference::requiredName (o); - pop_ (); - } +// ImplementationRequirement +// +// - void ComponentPackageReference:: - requiredType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); - Traversal::ComponentPackageReference::requiredType (o); - pop_ (); - } +ImplementationRequirement:: +ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - // SubcomponentPortEndpoint - // - // +ImplementationRequirement:: +ImplementationRequirement () +{ +} - SubcomponentPortEndpoint:: - SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ImplementationRequirement:: +traverse (Type const& o) +{ +Traversal::ImplementationRequirement::traverse (o); +} - SubcomponentPortEndpoint:: - SubcomponentPortEndpoint () - { - } +void ImplementationRequirement:: +resourceUsage (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); +Traversal::ImplementationRequirement::resourceUsage (o); +pop_ (); +} - void SubcomponentPortEndpoint:: - traverse (Type const& o) - { - Traversal::SubcomponentPortEndpoint::traverse (o); - } +void ImplementationRequirement:: +resourcePort (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourcePort", top_ ())); +Traversal::ImplementationRequirement::resourcePort (o); +pop_ (); +} - void SubcomponentPortEndpoint:: - portName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); - Traversal::SubcomponentPortEndpoint::portName (o); - pop_ (); - } +void ImplementationRequirement:: +componentPort (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentPort", top_ ())); +Traversal::ImplementationRequirement::componentPort (o); +pop_ (); +} - void SubcomponentPortEndpoint:: - instance (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); - Traversal::SubcomponentPortEndpoint::instance (o); - pop_ (); - } +void ImplementationRequirement:: +resourceType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); +Traversal::ImplementationRequirement::resourceType (o); +pop_ (); +} - // AssemblyConnectionDescription - // - // +void ImplementationRequirement:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::ImplementationRequirement::name (o); +pop_ (); +} - AssemblyConnectionDescription:: - AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ImplementationRequirement:: +property_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +} - AssemblyConnectionDescription:: - AssemblyConnectionDescription () - { - } +void ImplementationRequirement:: +property_next (Type const& o) +{ +property_post (o); +property_pre (o); +} - void AssemblyConnectionDescription:: - traverse (Type const& o) - { - Traversal::AssemblyConnectionDescription::traverse (o); - } +void ImplementationRequirement:: +property_post (Type const&) +{ +pop_ (); +} - void AssemblyConnectionDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::AssemblyConnectionDescription::name (o); - pop_ (); - } +// ComponentPackageReference +// +// - void AssemblyConnectionDescription:: - deployRequirement (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - Traversal::AssemblyConnectionDescription::deployRequirement (o); - pop_ (); - } +ComponentPackageReference:: +ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); - } +ComponentPackageReference:: +ComponentPackageReference () +{ +} - void AssemblyConnectionDescription:: - externalEndpoint_next (Type const& o) - { - externalEndpoint_post (o); - externalEndpoint_pre (o); - } +void ComponentPackageReference:: +traverse (Type const& o) +{ +Traversal::ComponentPackageReference::traverse (o); +} - void AssemblyConnectionDescription:: - externalEndpoint_post (Type const&) - { - pop_ (); - } +void ComponentPackageReference:: +requiredUUID (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredUUID", top_ ())); +Traversal::ComponentPackageReference::requiredUUID (o); +pop_ (); +} - void AssemblyConnectionDescription:: - internalEndpoint_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); - } +void ComponentPackageReference:: +requiredName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredName", top_ ())); +Traversal::ComponentPackageReference::requiredName (o); +pop_ (); +} - void AssemblyConnectionDescription:: - internalEndpoint_next (Type const& o) - { - internalEndpoint_post (o); - internalEndpoint_pre (o); - } +void ComponentPackageReference:: +requiredType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); +Traversal::ComponentPackageReference::requiredType (o); +pop_ (); +} - void AssemblyConnectionDescription:: - internalEndpoint_post (Type const&) - { - pop_ (); - } +// SubcomponentPortEndpoint +// +// - void AssemblyConnectionDescription:: - externalReference_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); - } +SubcomponentPortEndpoint:: +SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void AssemblyConnectionDescription:: - externalReference_next (Type const& o) - { - externalReference_post (o); - externalReference_pre (o); - } +SubcomponentPortEndpoint:: +SubcomponentPortEndpoint () +{ +} - void AssemblyConnectionDescription:: - externalReference_post (Type const&) - { - pop_ (); - } - } - } +void SubcomponentPortEndpoint:: +traverse (Type const& o) +{ +Traversal::SubcomponentPortEndpoint::traverse (o); +} + +void SubcomponentPortEndpoint:: +portName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); +Traversal::SubcomponentPortEndpoint::portName (o); +pop_ (); +} + +void SubcomponentPortEndpoint:: +instance (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); +Traversal::SubcomponentPortEndpoint::instance (o); +pop_ (); +} + +// AssemblyConnectionDescription +// +// + +AssemblyConnectionDescription:: +AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +AssemblyConnectionDescription:: +AssemblyConnectionDescription () +{ +} + +void AssemblyConnectionDescription:: +traverse (Type const& o) +{ +Traversal::AssemblyConnectionDescription::traverse (o); +} + +void AssemblyConnectionDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::AssemblyConnectionDescription::name (o); +pop_ (); +} + +void AssemblyConnectionDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} + +void AssemblyConnectionDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} + +void AssemblyConnectionDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} + +void AssemblyConnectionDescription:: +internalEndpoint_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); +} + +void AssemblyConnectionDescription:: +internalEndpoint_next (Type const& o) +{ +internalEndpoint_post (o); +internalEndpoint_pre (o); +} + +void AssemblyConnectionDescription:: +internalEndpoint_post (Type const&) +{ +pop_ (); +} + +void AssemblyConnectionDescription:: +externalEndpoint_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); +} + +void AssemblyConnectionDescription:: +externalEndpoint_next (Type const& o) +{ +externalEndpoint_post (o); +externalEndpoint_pre (o); +} + +void AssemblyConnectionDescription:: +externalEndpoint_post (Type const&) +{ +pop_ (); +} + +void AssemblyConnectionDescription:: +externalReference_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); +} + +void AssemblyConnectionDescription:: +externalReference_next (Type const& o) +{ +externalReference_post (o); +externalReference_pre (o); +} + +void AssemblyConnectionDescription:: +externalReference_post (Type const&) +{ +pop_ (); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } diff --git a/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp b/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp index abde5866a0d..5de9f070653 100644 --- a/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp +++ b/TAO/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,39 +27,39 @@ // namespace CIAO { - namespace Config_Handlers - { - class TCKind; - class DataType; - class DataValue; - class EnumType; - class Any; - class Property; - class SatisfierPropertyKind; - class SatisfierProperty; - class Resource; - class Requirement; - class ResourceDeploymentDescription; - class ArtifactDeploymentDescription; - class MonolithicDeploymentDescription; - class ResourceUsageKind; - class InstanceResourceDeploymentDescription; - class InstanceDeploymentDescription; - class CCMComponentPortKind; - class ComponentPortDescription; - class ComponentPropertyDescription; - class ComponentExternalPortEndpoint; - class PlanSubcomponentPortEndpoint; - class ExternalReferenceEndpoint; - class ConnectionResourceDeploymentDescription; - class PlanConnectionDescription; - class ImplementationDependency; - class Capability; - class ImplementationRequirement; - class ComponentPackageReference; - class SubcomponentPortEndpoint; - class AssemblyConnectionDescription; - } +namespace Config_Handlers +{ +class TCKind; +class DataType; +class DataValue; +class EnumType; +class Any; +class Property; +class SatisfierPropertyKind; +class SatisfierProperty; +class Resource; +class Requirement; +class ResourceDeploymentDescription; +class ArtifactDeploymentDescription; +class MonolithicDeploymentDescription; +class ResourceUsageKind; +class InstanceResourceDeploymentDescription; +class InstanceDeploymentDescription; +class CCMComponentPortKind; +class ComponentPortDescription; +class ComponentPropertyDescription; +class ComponentExternalPortEndpoint; +class PlanSubcomponentPortEndpoint; +class ExternalReferenceEndpoint; +class ConnectionResourceDeploymentDescription; +class PlanConnectionDescription; +class ImplementationDependency; +class Capability; +class ImplementationRequirement; +class ComponentPackageReference; +class SubcomponentPortEndpoint; +class AssemblyConnectionDescription; +} } #include <memory> @@ -68,6522 +68,7032 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export TCKind : public ::XSCRT::Type - { - public: - TCKind (::XSCRT::XML::Element< ACE_TCHAR > const&); - TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - - static TCKind const tk_null; - static TCKind const tk_void; - static TCKind const tk_short; - static TCKind const tk_long; - static TCKind const tk_ushort; - static TCKind const tk_ulong; - static TCKind const tk_float; - static TCKind const tk_double; - static TCKind const tk_boolean; - static TCKind const tk_char; - static TCKind const tk_octet; - static TCKind const tk_any; - static TCKind const tk_TypeCode; - static TCKind const tk_Principal; - static TCKind const tk_objref; - static TCKind const tk_struct; - static TCKind const tk_union; - static TCKind const tk_enum; - static TCKind const tk_string; - static TCKind const tk_sequence; - static TCKind const tk_array; - static TCKind const tk_alias; - static TCKind const tk_except; - static TCKind const tk_longlong; - static TCKind const tk_ulonglong; - static TCKind const tk_longdouble; - static TCKind const tk_wchar; - static TCKind const tk_wstring; - static TCKind const tk_wfixed; - static TCKind const tk_value; - static TCKind const tk_value_box; - static TCKind const tk_native; - static TCKind const tk_abstract_interface; - static TCKind const tk_local_interface; - static TCKind const tk_component; - static TCKind const tk_home; - static TCKind const tk_event; - - enum Value - { - tk_null_l,tk_void_l,tk_short_l,tk_long_l,tk_ushort_l,tk_ulong_l,tk_float_l,tk_double_l,tk_boolean_l,tk_char_l,tk_octet_l,tk_any_l,tk_TypeCode_l,tk_Principal_l,tk_objref_l,tk_struct_l,tk_union_l,tk_enum_l,tk_string_l,tk_sequence_l,tk_array_l,tk_alias_l,tk_except_l,tk_longlong_l,tk_ulonglong_l,tk_longdouble_l,tk_wchar_l,tk_wstring_l,tk_wfixed_l,tk_value_l,tk_value_box_l,tk_native_l,tk_abstract_interface_l,tk_local_interface_l,tk_component_l,tk_home_l,tk_event_l - }; - - - Value - integral () const; - - friend bool XSC_XML_Handlers_Export - operator== (TCKind const& a, TCKind const& b); - - friend bool XSC_XML_Handlers_Export - operator!= (TCKind const& a, TCKind const& b); - - private: - TCKind (Value v); - - Value v_; - }; - - bool XSC_XML_Handlers_Export operator== (TCKind const &a, TCKind const &b); - - bool XSC_XML_Handlers_Export operator!= (TCKind const &a, TCKind const &b); - - - class XSC_XML_Handlers_Export DataType : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // kind - // - public: - ::CIAO::Config_Handlers::TCKind const& kind () const; - void kind (::CIAO::Config_Handlers::TCKind const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > kind_; - - // enum - // - public: - bool enum_p () const; - ::CIAO::Config_Handlers::EnumType const& enum_ () const; - void enum_ (::CIAO::Config_Handlers::EnumType const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > enum__; - - public: - DataType (::CIAO::Config_Handlers::TCKind const& kind__); - - DataType (::XSCRT::XML::Element< ACE_TCHAR > const&); - DataType (DataType const& s); - - DataType& - operator= (DataType const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export DataValue : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // short - // - public: - typedef ::std::list< ::XMLSchema::short_ >::iterator short_iterator; - typedef ::std::list< ::XMLSchema::short_ >::const_iterator short_const_iterator; - short_iterator begin_short (); - short_iterator end_short (); - short_const_iterator begin_short () const; - short_const_iterator end_short () const; - void add_short (::XMLSchema::short_ const& ); - size_t count_short (void) const; - - protected: - ::std::list< ::XMLSchema::short_ > short_; - - // long - // - public: - typedef ::std::list< ::XMLSchema::int_ >::iterator long_iterator; - typedef ::std::list< ::XMLSchema::int_ >::const_iterator long_const_iterator; - long_iterator begin_long (); - long_iterator end_long (); - long_const_iterator begin_long () const; - long_const_iterator end_long () const; - void add_long (::XMLSchema::int_ const& ); - size_t count_long (void) const; - - protected: - ::std::list< ::XMLSchema::int_ > long_; - - // ushort - // - public: - typedef ::std::list< ::XMLSchema::unsignedShort >::iterator ushort_iterator; - typedef ::std::list< ::XMLSchema::unsignedShort >::const_iterator ushort_const_iterator; - ushort_iterator begin_ushort (); - ushort_iterator end_ushort (); - ushort_const_iterator begin_ushort () const; - ushort_const_iterator end_ushort () const; - void add_ushort (::XMLSchema::unsignedShort const& ); - size_t count_ushort (void) const; - - protected: - ::std::list< ::XMLSchema::unsignedShort > ushort_; - - // ulong - // - public: - typedef ::std::list< ::XMLSchema::unsignedInt >::iterator ulong_iterator; - typedef ::std::list< ::XMLSchema::unsignedInt >::const_iterator ulong_const_iterator; - ulong_iterator begin_ulong (); - ulong_iterator end_ulong (); - ulong_const_iterator begin_ulong () const; - ulong_const_iterator end_ulong () const; - void add_ulong (::XMLSchema::unsignedInt const& ); - size_t count_ulong (void) const; - - protected: - ::std::list< ::XMLSchema::unsignedInt > ulong_; - - // float - // - public: - typedef ::std::list< ::XMLSchema::float_ >::iterator float_iterator; - typedef ::std::list< ::XMLSchema::float_ >::const_iterator float_const_iterator; - float_iterator begin_float (); - float_iterator end_float (); - float_const_iterator begin_float () const; - float_const_iterator end_float () const; - void add_float (::XMLSchema::float_ const& ); - size_t count_float (void) const; - - protected: - ::std::list< ::XMLSchema::float_ > float_; - - // double - // - public: - typedef ::std::list< ::XMLSchema::double_ >::iterator double_iterator; - typedef ::std::list< ::XMLSchema::double_ >::const_iterator double_const_iterator; - double_iterator begin_double (); - double_iterator end_double (); - double_const_iterator begin_double () const; - double_const_iterator end_double () const; - void add_double (::XMLSchema::double_ const& ); - size_t count_double (void) const; - - protected: - ::std::list< ::XMLSchema::double_ > double_; - - // boolean - // - public: - typedef ::std::list< ::XMLSchema::boolean >::iterator boolean_iterator; - typedef ::std::list< ::XMLSchema::boolean >::const_iterator boolean_const_iterator; - boolean_iterator begin_boolean (); - boolean_iterator end_boolean (); - boolean_const_iterator begin_boolean () const; - boolean_const_iterator end_boolean () const; - void add_boolean (::XMLSchema::boolean const& ); - size_t count_boolean (void) const; - - protected: - ::std::list< ::XMLSchema::boolean > boolean_; - - // octet - // - public: - typedef ::std::list< ::XMLSchema::unsignedByte >::iterator octet_iterator; - typedef ::std::list< ::XMLSchema::unsignedByte >::const_iterator octet_const_iterator; - octet_iterator begin_octet (); - octet_iterator end_octet (); - octet_const_iterator begin_octet () const; - octet_const_iterator end_octet () const; - void add_octet (::XMLSchema::unsignedByte const& ); - size_t count_octet (void) const; - - protected: - ::std::list< ::XMLSchema::unsignedByte > octet_; - - // enum - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator enum_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator enum_const_iterator; - enum_iterator begin_enum (); - enum_iterator end_enum (); - enum_const_iterator begin_enum () const; - enum_const_iterator end_enum () const; - void add_enum (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_enum (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > enum_; - - // string - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator string_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator string_const_iterator; - string_iterator begin_string (); - string_iterator end_string (); - string_const_iterator begin_string () const; - string_const_iterator end_string () const; - void add_string (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_string (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > string_; - - // longlong - // - public: - typedef ::std::list< ::XMLSchema::long_ >::iterator longlong_iterator; - typedef ::std::list< ::XMLSchema::long_ >::const_iterator longlong_const_iterator; - longlong_iterator begin_longlong (); - longlong_iterator end_longlong (); - longlong_const_iterator begin_longlong () const; - longlong_const_iterator end_longlong () const; - void add_longlong (::XMLSchema::long_ const& ); - size_t count_longlong (void) const; - - protected: - ::std::list< ::XMLSchema::long_ > longlong_; - - // ulonglong - // - public: - typedef ::std::list< ::XMLSchema::unsignedLong >::iterator ulonglong_iterator; - typedef ::std::list< ::XMLSchema::unsignedLong >::const_iterator ulonglong_const_iterator; - ulonglong_iterator begin_ulonglong (); - ulonglong_iterator end_ulonglong (); - ulonglong_const_iterator begin_ulonglong () const; - ulonglong_const_iterator end_ulonglong () const; - void add_ulonglong (::XMLSchema::unsignedLong const& ); - size_t count_ulonglong (void) const; - - protected: - ::std::list< ::XMLSchema::unsignedLong > ulonglong_; - - // longdouble - // - public: - typedef ::std::list< ::XMLSchema::double_ >::iterator longdouble_iterator; - typedef ::std::list< ::XMLSchema::double_ >::const_iterator longdouble_const_iterator; - longdouble_iterator begin_longdouble (); - longdouble_iterator end_longdouble (); - longdouble_const_iterator begin_longdouble () const; - longdouble_const_iterator end_longdouble () const; - void add_longdouble (::XMLSchema::double_ const& ); - size_t count_longdouble (void) const; - - protected: - ::std::list< ::XMLSchema::double_ > longdouble_; - - public: - DataValue (); - - DataValue (::XSCRT::XML::Element< ACE_TCHAR > const&); - DataValue (DataValue const& s); - - DataValue& - operator= (DataValue const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export EnumType : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // typeId - // - public: - ::XMLSchema::string< ACE_TCHAR > const& typeId () const; - void typeId (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; - - // member - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator member_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator member_const_iterator; - member_iterator begin_member (); - member_iterator end_member (); - member_const_iterator begin_member () const; - member_const_iterator end_member () const; - void add_member (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_member (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > member_; - - public: - EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& typeId__); - - EnumType (::XSCRT::XML::Element< ACE_TCHAR > const&); - EnumType (EnumType const& s); - - EnumType& - operator= (EnumType const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Any : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // type - // - public: - ::CIAO::Config_Handlers::DataType const& type () const; - void type (::CIAO::Config_Handlers::DataType const& ); +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export TCKind : public ::XSCRT::Type +{ +public: +TCKind (::XSCRT::XML::Element< ACE_TCHAR > const&); +TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + +static TCKind const tk_null; +static TCKind const tk_void; +static TCKind const tk_short; +static TCKind const tk_long; +static TCKind const tk_ushort; +static TCKind const tk_ulong; +static TCKind const tk_float; +static TCKind const tk_double; +static TCKind const tk_boolean; +static TCKind const tk_char; +static TCKind const tk_octet; +static TCKind const tk_any; +static TCKind const tk_TypeCode; +static TCKind const tk_Principal; +static TCKind const tk_objref; +static TCKind const tk_struct; +static TCKind const tk_union; +static TCKind const tk_enum; +static TCKind const tk_string; +static TCKind const tk_sequence; +static TCKind const tk_array; +static TCKind const tk_alias; +static TCKind const tk_except; +static TCKind const tk_longlong; +static TCKind const tk_ulonglong; +static TCKind const tk_longdouble; +static TCKind const tk_wchar; +static TCKind const tk_wstring; +static TCKind const tk_wfixed; +static TCKind const tk_value; +static TCKind const tk_value_box; +static TCKind const tk_native; +static TCKind const tk_abstract_interface; +static TCKind const tk_local_interface; +static TCKind const tk_component; +static TCKind const tk_home; +static TCKind const tk_event; + +enum Value +{ +tk_null_l,tk_void_l,tk_short_l,tk_long_l,tk_ushort_l,tk_ulong_l,tk_float_l,tk_double_l,tk_boolean_l,tk_char_l,tk_octet_l,tk_any_l,tk_TypeCode_l,tk_Principal_l,tk_objref_l,tk_struct_l,tk_union_l,tk_enum_l,tk_string_l,tk_sequence_l,tk_array_l,tk_alias_l,tk_except_l,tk_longlong_l,tk_ulonglong_l,tk_longdouble_l,tk_wchar_l,tk_wstring_l,tk_wfixed_l,tk_value_l,tk_value_box_l,tk_native_l,tk_abstract_interface_l,tk_local_interface_l,tk_component_l,tk_home_l,tk_event_l, +}; + + +Value +integral () const; + +friend bool XSC_XML_Handlers_Export +operator== (TCKind const& a, TCKind const& b); + +friend bool XSC_XML_Handlers_Export +operator!= (TCKind const& a, TCKind const& b); + +private: +TCKind (Value v); + +Value v_; +}; + +bool XSC_XML_Handlers_Export operator== (TCKind const &a, TCKind const &b); + +bool XSC_XML_Handlers_Export operator!= (TCKind const &a, TCKind const &b); + + +class XSC_XML_Handlers_Export DataType : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// kind +// +public: +::CIAO::Config_Handlers::TCKind const& kind () const; +void kind (::CIAO::Config_Handlers::TCKind const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > kind_; + +// enum +// +public: +bool enum_p () const; +::CIAO::Config_Handlers::EnumType const& enum_ () const; +void enum_ (::CIAO::Config_Handlers::EnumType const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > enum__; + +public: +DataType (::CIAO::Config_Handlers::TCKind const& kind__); + +DataType (::XSCRT::XML::Element< ACE_TCHAR > const&); +DataType (DataType const& s); + +DataType& +operator= (DataType const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export DataValue : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// short +// +public: +typedef ::std::list< ::XMLSchema::short_ >::iterator short_iterator; +typedef ::std::list< ::XMLSchema::short_ >::const_iterator short_const_iterator; +short_iterator begin_short (); +short_iterator end_short (); +short_const_iterator begin_short () const; +short_const_iterator end_short () const; +void add_short (::XMLSchema::short_ const& ); +size_t count_short (void) const; + +protected: +::std::list< ::XMLSchema::short_ > short_; + +// long +// +public: +typedef ::std::list< ::XMLSchema::int_ >::iterator long_iterator; +typedef ::std::list< ::XMLSchema::int_ >::const_iterator long_const_iterator; +long_iterator begin_long (); +long_iterator end_long (); +long_const_iterator begin_long () const; +long_const_iterator end_long () const; +void add_long (::XMLSchema::int_ const& ); +size_t count_long (void) const; + +protected: +::std::list< ::XMLSchema::int_ > long_; + +// ushort +// +public: +typedef ::std::list< ::XMLSchema::unsignedShort >::iterator ushort_iterator; +typedef ::std::list< ::XMLSchema::unsignedShort >::const_iterator ushort_const_iterator; +ushort_iterator begin_ushort (); +ushort_iterator end_ushort (); +ushort_const_iterator begin_ushort () const; +ushort_const_iterator end_ushort () const; +void add_ushort (::XMLSchema::unsignedShort const& ); +size_t count_ushort (void) const; + +protected: +::std::list< ::XMLSchema::unsignedShort > ushort_; + +// ulong +// +public: +typedef ::std::list< ::XMLSchema::unsignedInt >::iterator ulong_iterator; +typedef ::std::list< ::XMLSchema::unsignedInt >::const_iterator ulong_const_iterator; +ulong_iterator begin_ulong (); +ulong_iterator end_ulong (); +ulong_const_iterator begin_ulong () const; +ulong_const_iterator end_ulong () const; +void add_ulong (::XMLSchema::unsignedInt const& ); +size_t count_ulong (void) const; + +protected: +::std::list< ::XMLSchema::unsignedInt > ulong_; + +// float +// +public: +typedef ::std::list< ::XMLSchema::float_ >::iterator float_iterator; +typedef ::std::list< ::XMLSchema::float_ >::const_iterator float_const_iterator; +float_iterator begin_float (); +float_iterator end_float (); +float_const_iterator begin_float () const; +float_const_iterator end_float () const; +void add_float (::XMLSchema::float_ const& ); +size_t count_float (void) const; + +protected: +::std::list< ::XMLSchema::float_ > float_; + +// double +// +public: +typedef ::std::list< ::XMLSchema::double_ >::iterator double_iterator; +typedef ::std::list< ::XMLSchema::double_ >::const_iterator double_const_iterator; +double_iterator begin_double (); +double_iterator end_double (); +double_const_iterator begin_double () const; +double_const_iterator end_double () const; +void add_double (::XMLSchema::double_ const& ); +size_t count_double (void) const; + +protected: +::std::list< ::XMLSchema::double_ > double_; + +// boolean +// +public: +typedef ::std::list< ::XMLSchema::boolean >::iterator boolean_iterator; +typedef ::std::list< ::XMLSchema::boolean >::const_iterator boolean_const_iterator; +boolean_iterator begin_boolean (); +boolean_iterator end_boolean (); +boolean_const_iterator begin_boolean () const; +boolean_const_iterator end_boolean () const; +void add_boolean (::XMLSchema::boolean const& ); +size_t count_boolean (void) const; + +protected: +::std::list< ::XMLSchema::boolean > boolean_; + +// octet +// +public: +typedef ::std::list< ::XMLSchema::unsignedByte >::iterator octet_iterator; +typedef ::std::list< ::XMLSchema::unsignedByte >::const_iterator octet_const_iterator; +octet_iterator begin_octet (); +octet_iterator end_octet (); +octet_const_iterator begin_octet () const; +octet_const_iterator end_octet () const; +void add_octet (::XMLSchema::unsignedByte const& ); +size_t count_octet (void) const; + +protected: +::std::list< ::XMLSchema::unsignedByte > octet_; + +// enum +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator enum_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator enum_const_iterator; +enum_iterator begin_enum (); +enum_iterator end_enum (); +enum_const_iterator begin_enum () const; +enum_const_iterator end_enum () const; +void add_enum (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_enum (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > enum_; + +// string +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator string_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator string_const_iterator; +string_iterator begin_string (); +string_iterator end_string (); +string_const_iterator begin_string () const; +string_const_iterator end_string () const; +void add_string (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_string (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > string_; + +// longlong +// +public: +typedef ::std::list< ::XMLSchema::long_ >::iterator longlong_iterator; +typedef ::std::list< ::XMLSchema::long_ >::const_iterator longlong_const_iterator; +longlong_iterator begin_longlong (); +longlong_iterator end_longlong (); +longlong_const_iterator begin_longlong () const; +longlong_const_iterator end_longlong () const; +void add_longlong (::XMLSchema::long_ const& ); +size_t count_longlong (void) const; + +protected: +::std::list< ::XMLSchema::long_ > longlong_; + +// ulonglong +// +public: +typedef ::std::list< ::XMLSchema::unsignedLong >::iterator ulonglong_iterator; +typedef ::std::list< ::XMLSchema::unsignedLong >::const_iterator ulonglong_const_iterator; +ulonglong_iterator begin_ulonglong (); +ulonglong_iterator end_ulonglong (); +ulonglong_const_iterator begin_ulonglong () const; +ulonglong_const_iterator end_ulonglong () const; +void add_ulonglong (::XMLSchema::unsignedLong const& ); +size_t count_ulonglong (void) const; + +protected: +::std::list< ::XMLSchema::unsignedLong > ulonglong_; + +// longdouble +// +public: +typedef ::std::list< ::XMLSchema::double_ >::iterator longdouble_iterator; +typedef ::std::list< ::XMLSchema::double_ >::const_iterator longdouble_const_iterator; +longdouble_iterator begin_longdouble (); +longdouble_iterator end_longdouble (); +longdouble_const_iterator begin_longdouble () const; +longdouble_const_iterator end_longdouble () const; +void add_longdouble (::XMLSchema::double_ const& ); +size_t count_longdouble (void) const; + +protected: +::std::list< ::XMLSchema::double_ > longdouble_; + +public: +DataValue (); + +DataValue (::XSCRT::XML::Element< ACE_TCHAR > const&); +DataValue (DataValue const& s); + +DataValue& +operator= (DataValue const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export EnumType : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// typeId +// +public: +::XMLSchema::string< ACE_TCHAR > const& typeId () const; +void typeId (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; + +// member +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator member_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator member_const_iterator; +member_iterator begin_member (); +member_iterator end_member (); +member_const_iterator begin_member () const; +member_const_iterator end_member () const; +void add_member (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_member (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > member_; + +public: +EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& typeId__); + +EnumType (::XSCRT::XML::Element< ACE_TCHAR > const&); +EnumType (EnumType const& s); + +EnumType& +operator= (EnumType const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export Any : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; +// type +// +public: +::CIAO::Config_Handlers::DataType const& type () const; +void type (::CIAO::Config_Handlers::DataType const& ); - // value - // - public: - ::CIAO::Config_Handlers::DataValue const& value () const; - void value (::CIAO::Config_Handlers::DataValue const& ); +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > value_; +// value +// +public: +::CIAO::Config_Handlers::DataValue const& value () const; +void value (::CIAO::Config_Handlers::DataValue const& ); - public: - Any (::CIAO::Config_Handlers::DataType const& type__, - ::CIAO::Config_Handlers::DataValue const& value__); +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > value_; - Any (::XSCRT::XML::Element< ACE_TCHAR > const&); - Any (Any const& s); +public: +Any (::CIAO::Config_Handlers::DataType const& type__, +::CIAO::Config_Handlers::DataValue const& value__); - Any& - operator= (Any const& s); +Any (::XSCRT::XML::Element< ACE_TCHAR > const&); +Any (Any const& s); - private: - char regulator__; - }; +Any& +operator= (Any const& s); +private: +char regulator__; +}; - class XSC_XML_Handlers_Export Property : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); +class XSC_XML_Handlers_Export Property : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - // value - // - public: - ::CIAO::Config_Handlers::Any const& value () const; - void value (::CIAO::Config_Handlers::Any const& ); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; +// value +// +public: +::CIAO::Config_Handlers::Any const& value () const; +void value (::CIAO::Config_Handlers::Any const& ); - public: - Property (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Any const& value__); +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; - Property (::XSCRT::XML::Element< ACE_TCHAR > const&); - Property (Property const& s); +public: +Property (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::Any const& value__); - Property& - operator= (Property const& s); +Property (::XSCRT::XML::Element< ACE_TCHAR > const&); +Property (Property const& s); - private: - char regulator__; - }; +Property& +operator= (Property const& s); +private: +char regulator__; +}; - class XSC_XML_Handlers_Export SatisfierPropertyKind : public ::XSCRT::Type - { - public: - SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const&); - SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - static SatisfierPropertyKind const Quantity; - static SatisfierPropertyKind const Capacity; - static SatisfierPropertyKind const Minimum; - static SatisfierPropertyKind const Maximum; - static SatisfierPropertyKind const Attribute; - static SatisfierPropertyKind const Selection; +class XSC_XML_Handlers_Export SatisfierPropertyKind : public ::XSCRT::Type +{ +public: +SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const&); +SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + +static SatisfierPropertyKind const Quantity; +static SatisfierPropertyKind const Capacity; +static SatisfierPropertyKind const Minimum; +static SatisfierPropertyKind const Maximum; +static SatisfierPropertyKind const Attribute; +static SatisfierPropertyKind const Selection; + +enum Value +{ +Quantity_l,Capacity_l,Minimum_l,Maximum_l,Attribute_l,Selection_l, +}; - enum Value - { - Quantity_l,Capacity_l,Minimum_l,Maximum_l,Attribute_l,Selection_l - }; +Value +integral () const; - Value - integral () const; +friend bool XSC_XML_Handlers_Export +operator== (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); - friend bool XSC_XML_Handlers_Export - operator== (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); - - friend bool XSC_XML_Handlers_Export - operator!= (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); +friend bool XSC_XML_Handlers_Export +operator!= (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); - private: - SatisfierPropertyKind (Value v); +private: +SatisfierPropertyKind (Value v); - Value v_; - }; +Value v_; +}; - bool XSC_XML_Handlers_Export operator== (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); +bool XSC_XML_Handlers_Export operator== (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); - bool XSC_XML_Handlers_Export operator!= (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); +bool XSC_XML_Handlers_Export operator!= (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); - class XSC_XML_Handlers_Export SatisfierProperty : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +class XSC_XML_Handlers_Export SatisfierProperty : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - // kind - // - public: - ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind () const; - void kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& ); +// kind +// +public: +::CIAO::Config_Handlers::SatisfierPropertyKind const& kind () const; +void kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& ); - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > kind_; +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > kind_; - // value - // - public: - ::CIAO::Config_Handlers::Any const& value () const; - void value (::CIAO::Config_Handlers::Any const& ); +// dynamic +// +public: +::XMLSchema::boolean const& dynamic () const; +void dynamic (::XMLSchema::boolean const& ); - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; +protected: +::std::auto_ptr< ::XMLSchema::boolean > dynamic_; - public: - SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, - ::CIAO::Config_Handlers::Any const& value__); +// value +// +public: +::CIAO::Config_Handlers::Any const& value () const; +void value (::CIAO::Config_Handlers::Any const& ); - SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const&); - SatisfierProperty (SatisfierProperty const& s); +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; - SatisfierProperty& - operator= (SatisfierProperty const& s); +public: +SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, +::XMLSchema::boolean const& dynamic__, +::CIAO::Config_Handlers::Any const& value__); - private: - char regulator__; - }; +SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const&); +SatisfierProperty (SatisfierProperty const& s); +SatisfierProperty& +operator= (SatisfierProperty const& s); - class XSC_XML_Handlers_Export Resource : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +private: +char regulator__; +}; - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // resourceType - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; - resourceType_iterator begin_resourceType (); - resourceType_iterator end_resourceType (); - resourceType_const_iterator begin_resourceType () const; - resourceType_const_iterator end_resourceType () const; - void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_resourceType (void) const; +class XSC_XML_Handlers_Export Resource : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - // property - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; - property_iterator begin_property (); - property_iterator end_property (); - property_const_iterator begin_property () const; - property_const_iterator end_property () const; - void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); - size_t count_property (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; - - public: - Resource (::XMLSchema::string< ACE_TCHAR > const& name__); - - Resource (::XSCRT::XML::Element< ACE_TCHAR > const&); - Resource (Resource const& s); - - Resource& - operator= (Resource const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Requirement : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // resourceType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; - void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // property - // - public: - ::CIAO::Config_Handlers::Property const& property () const; - void property (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > property_; - - public: - Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Property const& property__); - - Requirement (::XSCRT::XML::Element< ACE_TCHAR > const&); - Requirement (Requirement const& s); - - Requirement& - operator= (Requirement const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ResourceDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // requirementName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; - void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; - - // resourceName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; - void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; - - // resourceValue - // - public: - ::CIAO::Config_Handlers::Any const& resourceValue () const; - void resourceValue (::CIAO::Config_Handlers::Any const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Any > resourceValue_; - - public: - ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__); - - ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ResourceDeploymentDescription (ResourceDeploymentDescription const& s); - - ResourceDeploymentDescription& - operator= (ResourceDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ArtifactDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // source - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; - source_iterator begin_source (); - source_iterator end_source (); - source_const_iterator begin_source () const; - source_const_iterator end_source () const; - void add_source (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_source (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; - - // node - // - public: - ::XMLSchema::string< ACE_TCHAR > const& node () const; - void node (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; - - // location - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; - location_iterator begin_location (); - location_iterator end_location (); - location_const_iterator begin_location () const; - location_const_iterator end_location () const; - void add_location (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_location (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; - - // execParameter - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; - execParameter_iterator begin_execParameter (); - execParameter_iterator end_execParameter (); - execParameter_const_iterator begin_execParameter () const; - execParameter_const_iterator end_execParameter () const; - void add_execParameter (::CIAO::Config_Handlers::Property const& ); - size_t count_execParameter (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > execParameter_; - - // deployRequirement - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; - deployRequirement_iterator begin_deployRequirement (); - deployRequirement_iterator end_deployRequirement (); - deployRequirement_const_iterator begin_deployRequirement () const; - deployRequirement_const_iterator end_deployRequirement () const; - void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); - size_t count_deployRequirement (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - - // deployedResource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::iterator deployedResource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; - deployedResource_iterator begin_deployedResource (); - deployedResource_iterator end_deployedResource (); - deployedResource_const_iterator begin_deployedResource () const; - deployedResource_const_iterator end_deployedResource () const; - void add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& ); - size_t count_deployedResource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription > deployedResource_; - - // id - // - public: - bool id_p () const; - ::XMLSchema::ID< ACE_TCHAR > const& id () const; - ::XMLSchema::ID< ACE_TCHAR >& id (); - void id (::XMLSchema::ID< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - - public: - ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& node__); - - ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ArtifactDeploymentDescription (ArtifactDeploymentDescription const& s); - - ArtifactDeploymentDescription& - operator= (ArtifactDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export MonolithicDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // source - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; - source_iterator begin_source (); - source_iterator end_source (); - source_const_iterator begin_source () const; - source_const_iterator end_source () const; - void add_source (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_source (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; - - // artifact - // - public: - typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator artifact_iterator; - typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator artifact_const_iterator; - artifact_iterator begin_artifact (); - artifact_iterator end_artifact (); - artifact_const_iterator begin_artifact () const; - artifact_const_iterator end_artifact () const; - void add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& ); - size_t count_artifact (void) const; - - protected: - ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > artifact_; - - // execParameter - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; - execParameter_iterator begin_execParameter (); - execParameter_iterator end_execParameter (); - execParameter_const_iterator begin_execParameter () const; - execParameter_const_iterator end_execParameter () const; - void add_execParameter (::CIAO::Config_Handlers::Property const& ); - size_t count_execParameter (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > execParameter_; - - // deployRequirement - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; - deployRequirement_iterator begin_deployRequirement (); - deployRequirement_iterator end_deployRequirement (); - deployRequirement_const_iterator begin_deployRequirement () const; - deployRequirement_const_iterator end_deployRequirement () const; - void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); - size_t count_deployRequirement (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - - // id - // - public: - bool id_p () const; - ::XMLSchema::ID< ACE_TCHAR > const& id () const; - ::XMLSchema::ID< ACE_TCHAR >& id (); - void id (::XMLSchema::ID< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - - public: - MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - - MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - MonolithicDeploymentDescription (MonolithicDeploymentDescription const& s); - - MonolithicDeploymentDescription& - operator= (MonolithicDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ResourceUsageKind : public ::XSCRT::Type - { - public: - ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const&); - ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - - static ResourceUsageKind const None; - static ResourceUsageKind const InstanceUsesResource; - static ResourceUsageKind const ResourceUsesInstance; - static ResourceUsageKind const PortUsesResource; - static ResourceUsageKind const ResourceUsesPort; - - enum Value - { - None_l,InstanceUsesResource_l,ResourceUsesInstance_l,PortUsesResource_l,ResourceUsesPort_l - }; - - - Value - integral () const; - - friend bool XSC_XML_Handlers_Export - operator== (ResourceUsageKind const& a, ResourceUsageKind const& b); - - friend bool XSC_XML_Handlers_Export - operator!= (ResourceUsageKind const& a, ResourceUsageKind const& b); - - private: - ResourceUsageKind (Value v); - - Value v_; - }; - - bool XSC_XML_Handlers_Export operator== (ResourceUsageKind const &a, ResourceUsageKind const &b); - - bool XSC_XML_Handlers_Export operator!= (ResourceUsageKind const &a, ResourceUsageKind const &b); - - - class XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // resourceUsage - // - public: - ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; - void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; - - // requirementName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; - void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; - - // resourceName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; - void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; - - // resourceValue - // - public: - ::CIAO::Config_Handlers::Any const& resourceValue () const; - void resourceValue (::CIAO::Config_Handlers::Any const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Any > resourceValue_; - - public: - InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, - ::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__); - - InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - InstanceResourceDeploymentDescription (InstanceResourceDeploymentDescription const& s); - - InstanceResourceDeploymentDescription& - operator= (InstanceResourceDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export InstanceDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // node - // - public: - ::XMLSchema::string< ACE_TCHAR > const& node () const; - void node (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; - - // source - // - public: - ::XMLSchema::string< ACE_TCHAR > const& source () const; - void source (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; - - // implementation - // - public: - ::XMLSchema::IDREF< ACE_TCHAR > const& implementation () const; - void implementation (::XMLSchema::IDREF< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > implementation_; - - // configProperty - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; - configProperty_iterator begin_configProperty (); - configProperty_iterator end_configProperty (); - configProperty_const_iterator begin_configProperty () const; - configProperty_const_iterator end_configProperty () const; - void add_configProperty (::CIAO::Config_Handlers::Property const& ); - size_t count_configProperty (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - - // deployedResource - // - public: - bool deployedResource_p () const; - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedResource () const; - void deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedResource_; - - // deployedSharedResource - // - public: - bool deployedSharedResource_p () const; - ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedSharedResource () const; - void deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedSharedResource_; - - // id - // - public: - bool id_p () const; - ::XMLSchema::ID< ACE_TCHAR > const& id () const; - ::XMLSchema::ID< ACE_TCHAR >& id (); - void id (::XMLSchema::ID< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - - public: - InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& node__, - ::XMLSchema::string< ACE_TCHAR > const& source__, - ::XMLSchema::IDREF< ACE_TCHAR > const& implementation__); - - InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - InstanceDeploymentDescription (InstanceDeploymentDescription const& s); - - InstanceDeploymentDescription& - operator= (InstanceDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export CCMComponentPortKind : public ::XSCRT::Type - { - public: - CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const&); - CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - - static CCMComponentPortKind const Facet; - static CCMComponentPortKind const SimplexReceptacle; - static CCMComponentPortKind const MultiplexReceptacle; - static CCMComponentPortKind const EventEmitter; - static CCMComponentPortKind const EventPublisher; - static CCMComponentPortKind const EventConsumer; - - enum Value - { - Facet_l,SimplexReceptacle_l,MultiplexReceptacle_l,EventEmitter_l,EventPublisher_l,EventConsumer_l - }; - - - Value - integral () const; - - friend bool XSC_XML_Handlers_Export - operator== (CCMComponentPortKind const& a, CCMComponentPortKind const& b); - - friend bool XSC_XML_Handlers_Export - operator!= (CCMComponentPortKind const& a, CCMComponentPortKind const& b); - - private: - CCMComponentPortKind (Value v); - - Value v_; - }; - - bool XSC_XML_Handlers_Export operator== (CCMComponentPortKind const &a, CCMComponentPortKind const &b); - - bool XSC_XML_Handlers_Export operator!= (CCMComponentPortKind const &a, CCMComponentPortKind const &b); - - - class XSC_XML_Handlers_Export ComponentPortDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // specificType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& specificType () const; - void specificType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; - - // supportedType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& supportedType () const; - void supportedType (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > supportedType_; +// resourceType +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; +resourceType_iterator begin_resourceType (); +resourceType_iterator end_resourceType (); +resourceType_const_iterator begin_resourceType () const; +resourceType_const_iterator end_resourceType () const; +void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_resourceType (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); +size_t count_property (void) const; - // provider - // - public: - ::XMLSchema::string< ACE_TCHAR > const& provider () const; - void provider (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > provider_; +public: +Resource (::XMLSchema::string< ACE_TCHAR > const& name__); - // exclusiveProvider - // - public: - ::XMLSchema::string< ACE_TCHAR > const& exclusiveProvider () const; - void exclusiveProvider (::XMLSchema::string< ACE_TCHAR > const& ); +Resource (::XSCRT::XML::Element< ACE_TCHAR > const&); +Resource (Resource const& s); - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > exclusiveProvider_; +Resource& +operator= (Resource const& s); - // exclusiveUser - // - public: - ::XMLSchema::string< ACE_TCHAR > const& exclusiveUser () const; - void exclusiveUser (::XMLSchema::string< ACE_TCHAR > const& ); +private: +char regulator__; +}; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > exclusiveUser_; - // optional - // - public: - ::XMLSchema::string< ACE_TCHAR > const& optional () const; - void optional (::XMLSchema::string< ACE_TCHAR > const& ); +class XSC_XML_Handlers_Export Requirement : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > optional_; +// resourceType +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceType () const; +void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - // kind - // - public: - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; - void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - public: - ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& specificType__, - ::XMLSchema::string< ACE_TCHAR > const& supportedType__, - ::XMLSchema::string< ACE_TCHAR > const& provider__, - ::XMLSchema::string< ACE_TCHAR > const& exclusiveProvider__, - ::XMLSchema::string< ACE_TCHAR > const& exclusiveUser__, - ::XMLSchema::string< ACE_TCHAR > const& optional__, - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentPortDescription (ComponentPortDescription const& s); +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::Property const& ); +size_t count_property (void) const; - ComponentPortDescription& - operator= (ComponentPortDescription const& s); - - private: - char regulator__; - }; +protected: +::std::list< ::CIAO::Config_Handlers::Property > property_; +public: +Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::XMLSchema::string< ACE_TCHAR > const& name__); - class XSC_XML_Handlers_Export ComponentPropertyDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // type - // - public: - ::CIAO::Config_Handlers::DataType const& type () const; - void type (::CIAO::Config_Handlers::DataType const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; - - public: - ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::DataType const& type__); - - ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentPropertyDescription (ComponentPropertyDescription const& s); - - ComponentPropertyDescription& - operator= (ComponentPropertyDescription const& s); - - private: - char regulator__; - }; - +Requirement (::XSCRT::XML::Element< ACE_TCHAR > const&); +Requirement (Requirement const& s); - class XSC_XML_Handlers_Export ComponentExternalPortEndpoint : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +Requirement& +operator= (Requirement const& s); - // portName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& portName () const; - void portName (::XMLSchema::string< ACE_TCHAR > const& ); +private: +char regulator__; +}; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; - public: - ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__); +class XSC_XML_Handlers_Export ResourceDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentExternalPortEndpoint (ComponentExternalPortEndpoint const& s); +// requirementName +// +public: +::XMLSchema::string< ACE_TCHAR > const& requirementName () const; +void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); - ComponentExternalPortEndpoint& - operator= (ComponentExternalPortEndpoint const& s); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; - private: - char regulator__; - }; +// resourceName +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceName () const; +void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; - class XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::Property const& ); +size_t count_property (void) const; - // portName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& portName () const; - void portName (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::list< ::CIAO::Config_Handlers::Property > property_; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; +public: +ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__); - // provider - // - public: - bool provider_p () const; - ::XMLSchema::string< ACE_TCHAR > const& provider () const; - void provider (::XMLSchema::string< ACE_TCHAR > const& ); +ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ResourceDeploymentDescription (ResourceDeploymentDescription const& s); - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > provider_; +ResourceDeploymentDescription& +operator= (ResourceDeploymentDescription const& s); - // kind - // - public: - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; - void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); +private: +char regulator__; +}; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; - // instance - // - public: - ::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; - void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); +class XSC_XML_Handlers_Export ArtifactDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - protected: - ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - public: - PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, - ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, - ::XMLSchema::IDREF< ACE_TCHAR > const& instance__); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); - PlanSubcomponentPortEndpoint (PlanSubcomponentPortEndpoint const& s); +// source +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; +source_iterator begin_source (); +source_iterator end_source (); +source_const_iterator begin_source () const; +source_const_iterator end_source () const; +void add_source (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_source (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; + +// node +// +public: +::XMLSchema::string< ACE_TCHAR > const& node () const; +void node (::XMLSchema::string< ACE_TCHAR > const& ); - PlanSubcomponentPortEndpoint& - operator= (PlanSubcomponentPortEndpoint const& s); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; - private: - char regulator__; - }; +// location +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; +location_iterator begin_location (); +location_iterator end_location (); +location_const_iterator begin_location () const; +location_const_iterator end_location () const; +void add_location (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_location (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + +// execParameter +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; +execParameter_iterator begin_execParameter (); +execParameter_iterator end_execParameter (); +execParameter_const_iterator begin_execParameter () const; +execParameter_const_iterator end_execParameter () const; +void add_execParameter (::CIAO::Config_Handlers::Property const& ); +size_t count_execParameter (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + +// deployedResource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::iterator deployedResource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; +deployedResource_iterator begin_deployedResource (); +deployedResource_iterator end_deployedResource (); +deployedResource_const_iterator begin_deployedResource () const; +deployedResource_const_iterator end_deployedResource () const; +void add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& ); +size_t count_deployedResource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription > deployedResource_; + +// id +// +public: +bool id_p () const; +::XMLSchema::ID< ACE_TCHAR > const& id () const; +::XMLSchema::ID< ACE_TCHAR >& id (); +void id (::XMLSchema::ID< ACE_TCHAR > const& ); +protected: +::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - class XSC_XML_Handlers_Export ExternalReferenceEndpoint : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +public: +ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& node__); - // location - // - public: - ::XMLSchema::string< ACE_TCHAR > const& location () const; - void location (::XMLSchema::string< ACE_TCHAR > const& ); +ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ArtifactDeploymentDescription (ArtifactDeploymentDescription const& s); - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > location_; +ArtifactDeploymentDescription& +operator= (ArtifactDeploymentDescription const& s); - public: - ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__); - - ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); - ExternalReferenceEndpoint (ExternalReferenceEndpoint const& s); - - ExternalReferenceEndpoint& - operator= (ExternalReferenceEndpoint const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // targetName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& targetName () const; - void targetName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > targetName_; - - // requirementName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; - void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; - - // resourceName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; - void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; - - // resourceValue - // - public: - ::CIAO::Config_Handlers::Any const& resourceValue () const; - void resourceValue (::CIAO::Config_Handlers::Any const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Any > resourceValue_; - - public: - ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, - ::XMLSchema::string< ACE_TCHAR > const& requirementName__, - ::XMLSchema::string< ACE_TCHAR > const& resourceName__, - ::CIAO::Config_Handlers::Any const& resourceValue__); - - ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ConnectionResourceDeploymentDescription (ConnectionResourceDeploymentDescription const& s); - - ConnectionResourceDeploymentDescription& - operator= (ConnectionResourceDeploymentDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export PlanConnectionDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // source - // - public: - bool source_p () const; - ::XMLSchema::string< ACE_TCHAR > const& source () const; - void source (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; - - // deployRequirement - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; - deployRequirement_iterator begin_deployRequirement (); - deployRequirement_iterator end_deployRequirement (); - deployRequirement_const_iterator begin_deployRequirement () const; - deployRequirement_const_iterator end_deployRequirement () const; - void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); - size_t count_deployRequirement (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - - // externalEndpoint - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; - externalEndpoint_iterator begin_externalEndpoint (); - externalEndpoint_iterator end_externalEndpoint (); - externalEndpoint_const_iterator begin_externalEndpoint () const; - externalEndpoint_const_iterator end_externalEndpoint () const; - void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); - size_t count_externalEndpoint (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; - - // internalEndpoint - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::iterator internalEndpoint_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; - internalEndpoint_iterator begin_internalEndpoint (); - internalEndpoint_iterator end_internalEndpoint (); - internalEndpoint_const_iterator begin_internalEndpoint () const; - internalEndpoint_const_iterator end_internalEndpoint () const; - void add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& ); - size_t count_internalEndpoint (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > internalEndpoint_; - - // externalReference - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; - externalReference_iterator begin_externalReference (); - externalReference_iterator end_externalReference (); - externalReference_const_iterator begin_externalReference () const; - externalReference_const_iterator end_externalReference () const; - void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); - size_t count_externalReference (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; - - // deployedResource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::iterator deployedResource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; - deployedResource_iterator begin_deployedResource (); - deployedResource_iterator end_deployedResource (); - deployedResource_const_iterator begin_deployedResource () const; - deployedResource_const_iterator end_deployedResource () const; - void add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& ); - size_t count_deployedResource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > deployedResource_; - - public: - PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - - PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - PlanConnectionDescription (PlanConnectionDescription const& s); - - PlanConnectionDescription& - operator= (PlanConnectionDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ImplementationDependency : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // requiredType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requiredType () const; - void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; - - public: - ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__); - - ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const&); - ImplementationDependency (ImplementationDependency const& s); - - ImplementationDependency& - operator= (ImplementationDependency const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Capability : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // resourceType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; - void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - - // property - // - public: - ::CIAO::Config_Handlers::SatisfierProperty const& property () const; - void property (::CIAO::Config_Handlers::SatisfierProperty const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > property_; - - public: - Capability (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::CIAO::Config_Handlers::SatisfierProperty const& property__); - - Capability (::XSCRT::XML::Element< ACE_TCHAR > const&); - Capability (Capability const& s); +private: +char regulator__; +}; - Capability& - operator= (Capability const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ImplementationRequirement : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - // resourceUsage - // - public: - ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; - void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); +class XSC_XML_Handlers_Export MonolithicDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; - - // resourcePort - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourcePort () const; - void resourcePort (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourcePort_; +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// source +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; +source_iterator begin_source (); +source_iterator end_source (); +source_const_iterator begin_source () const; +source_const_iterator end_source () const; +void add_source (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_source (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; + +// artifact +// +public: +typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator artifact_iterator; +typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator artifact_const_iterator; +artifact_iterator begin_artifact (); +artifact_iterator end_artifact (); +artifact_const_iterator begin_artifact () const; +artifact_const_iterator end_artifact () const; +void add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& ); +size_t count_artifact (void) const; + +protected: +::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > artifact_; + +// execParameter +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; +execParameter_iterator begin_execParameter (); +execParameter_iterator end_execParameter (); +execParameter_const_iterator begin_execParameter () const; +execParameter_const_iterator end_execParameter () const; +void add_execParameter (::CIAO::Config_Handlers::Property const& ); +size_t count_execParameter (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + +// id +// +public: +bool id_p () const; +::XMLSchema::ID< ACE_TCHAR > const& id () const; +::XMLSchema::ID< ACE_TCHAR >& id (); +void id (::XMLSchema::ID< ACE_TCHAR > const& ); - // componentPort - // - public: - ::XMLSchema::string< ACE_TCHAR > const& componentPort () const; - void componentPort (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > componentPort_; +public: +MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - // resourceType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; - void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); +MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +MonolithicDeploymentDescription (MonolithicDeploymentDescription const& s); + +MonolithicDeploymentDescription& +operator= (MonolithicDeploymentDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ResourceUsageKind : public ::XSCRT::Type +{ +public: +ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const&); +ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + +static ResourceUsageKind const None; +static ResourceUsageKind const InstanceUsesResource; +static ResourceUsageKind const ResourceUsesInstance; +static ResourceUsageKind const PortUsesResource; +static ResourceUsageKind const ResourceUsesPort; + +enum Value +{ +None_l,InstanceUsesResource_l,ResourceUsesInstance_l,PortUsesResource_l,ResourceUsesPort_l, +}; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // property - // - public: - ::CIAO::Config_Handlers::Property const& property () const; - void property (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > property_; - - public: - ImplementationRequirement (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, - ::XMLSchema::string< ACE_TCHAR > const& resourcePort__, - ::XMLSchema::string< ACE_TCHAR > const& componentPort__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::Property const& property__); - - ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const&); - ImplementationRequirement (ImplementationRequirement const& s); - - ImplementationRequirement& - operator= (ImplementationRequirement const& s); - - private: - char regulator__; - }; +Value +integral () const; +friend bool XSC_XML_Handlers_Export +operator== (ResourceUsageKind const& a, ResourceUsageKind const& b); + +friend bool XSC_XML_Handlers_Export +operator!= (ResourceUsageKind const& a, ResourceUsageKind const& b); + +private: +ResourceUsageKind (Value v); + +Value v_; +}; + +bool XSC_XML_Handlers_Export operator== (ResourceUsageKind const &a, ResourceUsageKind const &b); + +bool XSC_XML_Handlers_Export operator!= (ResourceUsageKind const &a, ResourceUsageKind const &b); + + +class XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// resourceUsage +// +public: +::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; +void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + +// requirementName +// +public: +::XMLSchema::string< ACE_TCHAR > const& requirementName () const; +void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + +// resourceName +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceName () const; +void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); - class XSC_XML_Handlers_Export ComponentPackageReference : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // requiredUUID - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requiredUUID () const; - void requiredUUID (::XMLSchema::string< ACE_TCHAR > const& ); +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredUUID_; - - // requiredName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requiredName () const; - void requiredName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredName_; - - // requiredType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& requiredType () const; - void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; - - public: - ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredUUID__, - ::XMLSchema::string< ACE_TCHAR > const& requiredName__, - ::XMLSchema::string< ACE_TCHAR > const& requiredType__); - - ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentPackageReference (ComponentPackageReference const& s); - - ComponentPackageReference& - operator= (ComponentPackageReference const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export SubcomponentPortEndpoint : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // portName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& portName () const; - void portName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; - - // instance - // - public: - ::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; - void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; - - public: - SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, - ::XMLSchema::IDREF< ACE_TCHAR > const& instance__); - - SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); - SubcomponentPortEndpoint (SubcomponentPortEndpoint const& s); - - SubcomponentPortEndpoint& - operator= (SubcomponentPortEndpoint const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export AssemblyConnectionDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // deployRequirement - // - public: - bool deployRequirement_p () const; - ::CIAO::Config_Handlers::Requirement const& deployRequirement () const; - void deployRequirement (::CIAO::Config_Handlers::Requirement const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - - // externalEndpoint - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; - externalEndpoint_iterator begin_externalEndpoint (); - externalEndpoint_iterator end_externalEndpoint (); - externalEndpoint_const_iterator begin_externalEndpoint () const; - externalEndpoint_const_iterator end_externalEndpoint () const; - void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); - size_t count_externalEndpoint (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; - - // internalEndpoint - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::iterator internalEndpoint_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; - internalEndpoint_iterator begin_internalEndpoint (); - internalEndpoint_iterator end_internalEndpoint (); - internalEndpoint_const_iterator begin_internalEndpoint () const; - internalEndpoint_const_iterator end_internalEndpoint () const; - void add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& ); - size_t count_internalEndpoint (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > internalEndpoint_; - - // externalReference - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; - externalReference_iterator begin_externalReference (); - externalReference_iterator end_externalReference (); - externalReference_const_iterator begin_externalReference () const; - externalReference_const_iterator end_externalReference () const; - void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); - size_t count_externalReference (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; - - public: - AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - - AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - AssemblyConnectionDescription (AssemblyConnectionDescription const& s); - - AssemblyConnectionDescription& - operator= (AssemblyConnectionDescription const& s); - - private: - char regulator__; - }; - } +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::Property const& ); +size_t count_property (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > property_; + +public: +InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, +::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__); + +InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +InstanceResourceDeploymentDescription (InstanceResourceDeploymentDescription const& s); + +InstanceResourceDeploymentDescription& +operator= (InstanceResourceDeploymentDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export InstanceDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// node +// +public: +::XMLSchema::string< ACE_TCHAR > const& node () const; +void node (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; + +// source +// +public: +::XMLSchema::string< ACE_TCHAR > const& source () const; +void source (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + +// implementation +// +public: +::XMLSchema::IDREF< ACE_TCHAR > const& implementation () const; +void implementation (::XMLSchema::IDREF< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > implementation_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// deployedResource +// +public: +bool deployedResource_p () const; +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedResource () const; +void deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedResource_; + +// deployedSharedResource +// +public: +bool deployedSharedResource_p () const; +::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedSharedResource () const; +void deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedSharedResource_; + +// id +// +public: +bool id_p () const; +::XMLSchema::ID< ACE_TCHAR > const& id () const; +::XMLSchema::ID< ACE_TCHAR >& id (); +void id (::XMLSchema::ID< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + +public: +InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& node__, +::XMLSchema::string< ACE_TCHAR > const& source__, +::XMLSchema::IDREF< ACE_TCHAR > const& implementation__); + +InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +InstanceDeploymentDescription (InstanceDeploymentDescription const& s); + +InstanceDeploymentDescription& +operator= (InstanceDeploymentDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export CCMComponentPortKind : public ::XSCRT::Type +{ +public: +CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const&); +CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + +static CCMComponentPortKind const Facet; +static CCMComponentPortKind const SimplexReceptacle; +static CCMComponentPortKind const MultiplexReceptacle; +static CCMComponentPortKind const EventEmitter; +static CCMComponentPortKind const EventPublisher; +static CCMComponentPortKind const EventConsumer; + +enum Value +{ +Facet_l,SimplexReceptacle_l,MultiplexReceptacle_l,EventEmitter_l,EventPublisher_l,EventConsumer_l, +}; + + +Value +integral () const; + +friend bool XSC_XML_Handlers_Export +operator== (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + +friend bool XSC_XML_Handlers_Export +operator!= (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + +private: +CCMComponentPortKind (Value v); + +Value v_; +}; + +bool XSC_XML_Handlers_Export operator== (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + +bool XSC_XML_Handlers_Export operator!= (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + + +class XSC_XML_Handlers_Export ComponentPortDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// specificType +// +public: +bool specificType_p () const; +::XMLSchema::string< ACE_TCHAR > const& specificType () const; +void specificType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; + +// supportedType +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; +supportedType_iterator begin_supportedType (); +supportedType_iterator end_supportedType (); +supportedType_const_iterator begin_supportedType () const; +supportedType_const_iterator end_supportedType () const; +void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_supportedType (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; + +// provider +// +public: +::XMLSchema::boolean const& provider () const; +void provider (::XMLSchema::boolean const& ); + +protected: +::std::auto_ptr< ::XMLSchema::boolean > provider_; + +// exclusiveProvider +// +public: +::XMLSchema::boolean const& exclusiveProvider () const; +void exclusiveProvider (::XMLSchema::boolean const& ); + +protected: +::std::auto_ptr< ::XMLSchema::boolean > exclusiveProvider_; + +// exclusiveUser +// +public: +::XMLSchema::boolean const& exclusiveUser () const; +void exclusiveUser (::XMLSchema::boolean const& ); + +protected: +::std::auto_ptr< ::XMLSchema::boolean > exclusiveUser_; + +// optional +// +public: +::XMLSchema::boolean const& optional () const; +void optional (::XMLSchema::boolean const& ); + +protected: +::std::auto_ptr< ::XMLSchema::boolean > optional_; + +// kind +// +public: +::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; +void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; + +public: +ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::boolean const& provider__, +::XMLSchema::boolean const& exclusiveProvider__, +::XMLSchema::boolean const& exclusiveUser__, +::XMLSchema::boolean const& optional__, +::CIAO::Config_Handlers::CCMComponentPortKind const& kind__); + +ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentPortDescription (ComponentPortDescription const& s); + +ComponentPortDescription& +operator= (ComponentPortDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentPropertyDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// type +// +public: +::CIAO::Config_Handlers::DataType const& type () const; +void type (::CIAO::Config_Handlers::DataType const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + +public: +ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::DataType const& type__); + +ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentPropertyDescription (ComponentPropertyDescription const& s); + +ComponentPropertyDescription& +operator= (ComponentPropertyDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentExternalPortEndpoint : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// portName +// +public: +::XMLSchema::string< ACE_TCHAR > const& portName () const; +void portName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + +public: +ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__); + +ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentExternalPortEndpoint (ComponentExternalPortEndpoint const& s); + +ComponentExternalPortEndpoint& +operator= (ComponentExternalPortEndpoint const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// portName +// +public: +::XMLSchema::string< ACE_TCHAR > const& portName () const; +void portName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + +// provider +// +public: +bool provider_p () const; +::XMLSchema::string< ACE_TCHAR > const& provider () const; +void provider (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > provider_; + +// kind +// +public: +::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; +void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; + +// instance +// +public: +::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; +void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + +public: +PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, +::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, +::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + +PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); +PlanSubcomponentPortEndpoint (PlanSubcomponentPortEndpoint const& s); + +PlanSubcomponentPortEndpoint& +operator= (PlanSubcomponentPortEndpoint const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ExternalReferenceEndpoint : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// location +// +public: +::XMLSchema::string< ACE_TCHAR > const& location () const; +void location (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > location_; + +public: +ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__); + +ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); +ExternalReferenceEndpoint (ExternalReferenceEndpoint const& s); + +ExternalReferenceEndpoint& +operator= (ExternalReferenceEndpoint const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// targetName +// +public: +::XMLSchema::string< ACE_TCHAR > const& targetName () const; +void targetName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > targetName_; + +// requirementName +// +public: +::XMLSchema::string< ACE_TCHAR > const& requirementName () const; +void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + +// resourceName +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceName () const; +void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::Property const& ); +size_t count_property (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > property_; + +public: +ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, +::XMLSchema::string< ACE_TCHAR > const& requirementName__, +::XMLSchema::string< ACE_TCHAR > const& resourceName__); + +ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ConnectionResourceDeploymentDescription (ConnectionResourceDeploymentDescription const& s); + +ConnectionResourceDeploymentDescription& +operator= (ConnectionResourceDeploymentDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export PlanConnectionDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// source +// +public: +bool source_p () const; +::XMLSchema::string< ACE_TCHAR > const& source () const; +void source (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + +// externalEndpoint +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; +externalEndpoint_iterator begin_externalEndpoint (); +externalEndpoint_iterator end_externalEndpoint (); +externalEndpoint_const_iterator begin_externalEndpoint () const; +externalEndpoint_const_iterator end_externalEndpoint () const; +void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); +size_t count_externalEndpoint (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; + +// internalEndpoint +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::iterator internalEndpoint_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; +internalEndpoint_iterator begin_internalEndpoint (); +internalEndpoint_iterator end_internalEndpoint (); +internalEndpoint_const_iterator begin_internalEndpoint () const; +internalEndpoint_const_iterator end_internalEndpoint () const; +void add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& ); +size_t count_internalEndpoint (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > internalEndpoint_; + +// externalReference +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; +externalReference_iterator begin_externalReference (); +externalReference_iterator end_externalReference (); +externalReference_const_iterator begin_externalReference () const; +externalReference_const_iterator end_externalReference () const; +void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); +size_t count_externalReference (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; + +// deployedResource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::iterator deployedResource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; +deployedResource_iterator begin_deployedResource (); +deployedResource_iterator end_deployedResource (); +deployedResource_const_iterator begin_deployedResource () const; +deployedResource_const_iterator end_deployedResource () const; +void add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& ); +size_t count_deployedResource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > deployedResource_; + +public: +PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + +PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +PlanConnectionDescription (PlanConnectionDescription const& s); + +PlanConnectionDescription& +operator= (PlanConnectionDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ImplementationDependency : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// requiredType +// +public: +::XMLSchema::string< ACE_TCHAR > const& requiredType () const; +void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + +public: +ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + +ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const&); +ImplementationDependency (ImplementationDependency const& s); + +ImplementationDependency& +operator= (ImplementationDependency const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export Capability : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// resourceType +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; +resourceType_iterator begin_resourceType (); +resourceType_iterator end_resourceType (); +resourceType_const_iterator begin_resourceType () const; +resourceType_const_iterator end_resourceType () const; +void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_resourceType (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); +size_t count_property (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; + +public: +Capability (::XMLSchema::string< ACE_TCHAR > const& name__); + +Capability (::XSCRT::XML::Element< ACE_TCHAR > const&); +Capability (Capability const& s); + +Capability& +operator= (Capability const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ImplementationRequirement : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// resourceUsage +// +public: +bool resourceUsage_p () const; +::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; +void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + +// resourcePort +// +public: +bool resourcePort_p () const; +::XMLSchema::string< ACE_TCHAR > const& resourcePort () const; +void resourcePort (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourcePort_; + +// componentPort +// +public: +bool componentPort_p () const; +::XMLSchema::string< ACE_TCHAR > const& componentPort () const; +void componentPort (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > componentPort_; + +// resourceType +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceType () const; +void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::Property const& ); +size_t count_property (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > property_; + +public: +ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::XMLSchema::string< ACE_TCHAR > const& name__); + +ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const&); +ImplementationRequirement (ImplementationRequirement const& s); + +ImplementationRequirement& +operator= (ImplementationRequirement const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentPackageReference : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// requiredUUID +// +public: +bool requiredUUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& requiredUUID () const; +void requiredUUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredUUID_; + +// requiredName +// +public: +bool requiredName_p () const; +::XMLSchema::string< ACE_TCHAR > const& requiredName () const; +void requiredName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredName_; + +// requiredType +// +public: +::XMLSchema::string< ACE_TCHAR > const& requiredType () const; +void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + +public: +ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + +ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentPackageReference (ComponentPackageReference const& s); + +ComponentPackageReference& +operator= (ComponentPackageReference const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export SubcomponentPortEndpoint : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// portName +// +public: +::XMLSchema::string< ACE_TCHAR > const& portName () const; +void portName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + +// instance +// +public: +::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; +void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + +public: +SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, +::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + +SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); +SubcomponentPortEndpoint (SubcomponentPortEndpoint const& s); + +SubcomponentPortEndpoint& +operator= (SubcomponentPortEndpoint const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export AssemblyConnectionDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + +// internalEndpoint +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::iterator internalEndpoint_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; +internalEndpoint_iterator begin_internalEndpoint (); +internalEndpoint_iterator end_internalEndpoint (); +internalEndpoint_const_iterator begin_internalEndpoint () const; +internalEndpoint_const_iterator end_internalEndpoint () const; +void add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& ); +size_t count_internalEndpoint (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > internalEndpoint_; + +// externalEndpoint +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; +externalEndpoint_iterator begin_externalEndpoint (); +externalEndpoint_iterator end_externalEndpoint (); +externalEndpoint_const_iterator begin_externalEndpoint () const; +externalEndpoint_const_iterator end_externalEndpoint () const; +void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); +size_t count_externalEndpoint (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; + +// externalReference +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; +externalReference_iterator begin_externalReference (); +externalReference_iterator end_externalReference (); +externalReference_const_iterator begin_externalReference () const; +externalReference_const_iterator end_externalReference () const; +void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); +size_t count_externalReference (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; + +public: +AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + +AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +AssemblyConnectionDescription (AssemblyConnectionDescription const& s); + +AssemblyConnectionDescription& +operator= (AssemblyConnectionDescription const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - typedef - ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TCKind > - TCKind; +namespace Config_Handlers +{ +namespace Traversal +{ +typedef +::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TCKind > +TCKind; + +struct XSC_XML_Handlers_Export DataType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataType > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +kind (Type&); + +virtual void +kind (Type const&); + +virtual void +enum_ (Type&); + +virtual void +enum_ (Type const&); + +virtual void +enum_none (Type&); + +virtual void +enum_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export DataValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataValue > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); - struct XSC_XML_Handlers_Export DataType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataType > - { - virtual void - traverse (Type&); +virtual void +short_ (Type&); - virtual void - traverse (Type const&); +virtual void +short_ (Type const&); - virtual void - pre (Type&); +virtual void +short_pre (Type&); - virtual void - pre (Type const&); +virtual void +short_pre (Type const&); - virtual void - kind (Type&); +virtual void +short_next (Type&); - virtual void - kind (Type const&); +virtual void +short_next (Type const&); - virtual void - enum_ (Type&); +virtual void +short_post (Type&); - virtual void - enum_ (Type const&); +virtual void +short_post (Type const&); - virtual void - enum_none (Type&); +virtual void +short_none (Type&); - virtual void - enum_none (Type const&); +virtual void +short_none (Type const&); - virtual void - post (Type&); +virtual void +long_ (Type&); - virtual void - post (Type const&); - }; +virtual void +long_ (Type const&); - struct XSC_XML_Handlers_Export DataValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataValue > - { - virtual void - traverse (Type&); +virtual void +long_pre (Type&); - virtual void - traverse (Type const&); +virtual void +long_pre (Type const&); - virtual void - pre (Type&); +virtual void +long_next (Type&); - virtual void - pre (Type const&); +virtual void +long_next (Type const&); - virtual void - short_ (Type&); +virtual void +long_post (Type&); - virtual void - short_ (Type const&); +virtual void +long_post (Type const&); - virtual void - short_pre (Type&); +virtual void +long_none (Type&); - virtual void - short_pre (Type const&); +virtual void +long_none (Type const&); - virtual void - short_next (Type&); +virtual void +ushort (Type&); - virtual void - short_next (Type const&); +virtual void +ushort (Type const&); - virtual void - short_post (Type&); +virtual void +ushort_pre (Type&); - virtual void - short_post (Type const&); +virtual void +ushort_pre (Type const&); - virtual void - short_none (Type&); +virtual void +ushort_next (Type&); - virtual void - short_none (Type const&); +virtual void +ushort_next (Type const&); - virtual void - long_ (Type&); +virtual void +ushort_post (Type&); - virtual void - long_ (Type const&); +virtual void +ushort_post (Type const&); - virtual void - long_pre (Type&); +virtual void +ushort_none (Type&); - virtual void - long_pre (Type const&); +virtual void +ushort_none (Type const&); - virtual void - long_next (Type&); +virtual void +ulong (Type&); - virtual void - long_next (Type const&); +virtual void +ulong (Type const&); - virtual void - long_post (Type&); +virtual void +ulong_pre (Type&); - virtual void - long_post (Type const&); +virtual void +ulong_pre (Type const&); - virtual void - long_none (Type&); +virtual void +ulong_next (Type&); - virtual void - long_none (Type const&); +virtual void +ulong_next (Type const&); - virtual void - ushort (Type&); +virtual void +ulong_post (Type&); - virtual void - ushort (Type const&); +virtual void +ulong_post (Type const&); - virtual void - ushort_pre (Type&); +virtual void +ulong_none (Type&); - virtual void - ushort_pre (Type const&); +virtual void +ulong_none (Type const&); - virtual void - ushort_next (Type&); +virtual void +float_ (Type&); - virtual void - ushort_next (Type const&); +virtual void +float_ (Type const&); - virtual void - ushort_post (Type&); +virtual void +float_pre (Type&); - virtual void - ushort_post (Type const&); +virtual void +float_pre (Type const&); - virtual void - ushort_none (Type&); +virtual void +float_next (Type&); - virtual void - ushort_none (Type const&); +virtual void +float_next (Type const&); - virtual void - ulong (Type&); +virtual void +float_post (Type&); - virtual void - ulong (Type const&); +virtual void +float_post (Type const&); - virtual void - ulong_pre (Type&); +virtual void +float_none (Type&); - virtual void - ulong_pre (Type const&); +virtual void +float_none (Type const&); - virtual void - ulong_next (Type&); +virtual void +double_ (Type&); - virtual void - ulong_next (Type const&); +virtual void +double_ (Type const&); - virtual void - ulong_post (Type&); +virtual void +double_pre (Type&); - virtual void - ulong_post (Type const&); +virtual void +double_pre (Type const&); - virtual void - ulong_none (Type&); +virtual void +double_next (Type&); - virtual void - ulong_none (Type const&); +virtual void +double_next (Type const&); - virtual void - float_ (Type&); +virtual void +double_post (Type&); - virtual void - float_ (Type const&); +virtual void +double_post (Type const&); - virtual void - float_pre (Type&); +virtual void +double_none (Type&); - virtual void - float_pre (Type const&); +virtual void +double_none (Type const&); - virtual void - float_next (Type&); +virtual void +boolean (Type&); - virtual void - float_next (Type const&); +virtual void +boolean (Type const&); - virtual void - float_post (Type&); +virtual void +boolean_pre (Type&); - virtual void - float_post (Type const&); +virtual void +boolean_pre (Type const&); - virtual void - float_none (Type&); +virtual void +boolean_next (Type&); - virtual void - float_none (Type const&); +virtual void +boolean_next (Type const&); - virtual void - double_ (Type&); +virtual void +boolean_post (Type&); - virtual void - double_ (Type const&); +virtual void +boolean_post (Type const&); - virtual void - double_pre (Type&); +virtual void +boolean_none (Type&); - virtual void - double_pre (Type const&); +virtual void +boolean_none (Type const&); - virtual void - double_next (Type&); +virtual void +octet (Type&); - virtual void - double_next (Type const&); +virtual void +octet (Type const&); - virtual void - double_post (Type&); +virtual void +octet_pre (Type&); - virtual void - double_post (Type const&); +virtual void +octet_pre (Type const&); - virtual void - double_none (Type&); +virtual void +octet_next (Type&); - virtual void - double_none (Type const&); +virtual void +octet_next (Type const&); - virtual void - boolean (Type&); +virtual void +octet_post (Type&); - virtual void - boolean (Type const&); +virtual void +octet_post (Type const&); - virtual void - boolean_pre (Type&); +virtual void +octet_none (Type&); - virtual void - boolean_pre (Type const&); +virtual void +octet_none (Type const&); - virtual void - boolean_next (Type&); +virtual void +enum_ (Type&); - virtual void - boolean_next (Type const&); +virtual void +enum_ (Type const&); - virtual void - boolean_post (Type&); +virtual void +enum_pre (Type&); - virtual void - boolean_post (Type const&); +virtual void +enum_pre (Type const&); - virtual void - boolean_none (Type&); +virtual void +enum_next (Type&); - virtual void - boolean_none (Type const&); +virtual void +enum_next (Type const&); - virtual void - octet (Type&); +virtual void +enum_post (Type&); - virtual void - octet (Type const&); +virtual void +enum_post (Type const&); - virtual void - octet_pre (Type&); +virtual void +enum_none (Type&); - virtual void - octet_pre (Type const&); +virtual void +enum_none (Type const&); - virtual void - octet_next (Type&); +virtual void +string (Type&); - virtual void - octet_next (Type const&); +virtual void +string (Type const&); - virtual void - octet_post (Type&); +virtual void +string_pre (Type&); - virtual void - octet_post (Type const&); +virtual void +string_pre (Type const&); - virtual void - octet_none (Type&); +virtual void +string_next (Type&); - virtual void - octet_none (Type const&); +virtual void +string_next (Type const&); - virtual void - enum_ (Type&); +virtual void +string_post (Type&); - virtual void - enum_ (Type const&); +virtual void +string_post (Type const&); - virtual void - enum_pre (Type&); +virtual void +string_none (Type&); - virtual void - enum_pre (Type const&); +virtual void +string_none (Type const&); - virtual void - enum_next (Type&); +virtual void +longlong (Type&); - virtual void - enum_next (Type const&); +virtual void +longlong (Type const&); - virtual void - enum_post (Type&); +virtual void +longlong_pre (Type&); - virtual void - enum_post (Type const&); +virtual void +longlong_pre (Type const&); - virtual void - enum_none (Type&); +virtual void +longlong_next (Type&); - virtual void - enum_none (Type const&); +virtual void +longlong_next (Type const&); - virtual void - string (Type&); +virtual void +longlong_post (Type&); - virtual void - string (Type const&); +virtual void +longlong_post (Type const&); - virtual void - string_pre (Type&); +virtual void +longlong_none (Type&); - virtual void - string_pre (Type const&); +virtual void +longlong_none (Type const&); - virtual void - string_next (Type&); +virtual void +ulonglong (Type&); - virtual void - string_next (Type const&); +virtual void +ulonglong (Type const&); - virtual void - string_post (Type&); +virtual void +ulonglong_pre (Type&); - virtual void - string_post (Type const&); +virtual void +ulonglong_pre (Type const&); - virtual void - string_none (Type&); +virtual void +ulonglong_next (Type&); - virtual void - string_none (Type const&); +virtual void +ulonglong_next (Type const&); - virtual void - longlong (Type&); +virtual void +ulonglong_post (Type&); - virtual void - longlong (Type const&); +virtual void +ulonglong_post (Type const&); - virtual void - longlong_pre (Type&); +virtual void +ulonglong_none (Type&); - virtual void - longlong_pre (Type const&); +virtual void +ulonglong_none (Type const&); - virtual void - longlong_next (Type&); +virtual void +longdouble (Type&); - virtual void - longlong_next (Type const&); +virtual void +longdouble (Type const&); - virtual void - longlong_post (Type&); +virtual void +longdouble_pre (Type&); - virtual void - longlong_post (Type const&); +virtual void +longdouble_pre (Type const&); - virtual void - longlong_none (Type&); +virtual void +longdouble_next (Type&); - virtual void - longlong_none (Type const&); +virtual void +longdouble_next (Type const&); - virtual void - ulonglong (Type&); +virtual void +longdouble_post (Type&); - virtual void - ulonglong (Type const&); +virtual void +longdouble_post (Type const&); - virtual void - ulonglong_pre (Type&); +virtual void +longdouble_none (Type&); - virtual void - ulonglong_pre (Type const&); +virtual void +longdouble_none (Type const&); - virtual void - ulonglong_next (Type&); +virtual void +post (Type&); - virtual void - ulonglong_next (Type const&); +virtual void +post (Type const&); +}; - virtual void - ulonglong_post (Type&); +struct XSC_XML_Handlers_Export EnumType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EnumType > +{ +virtual void +traverse (Type&); - virtual void - ulonglong_post (Type const&); +virtual void +traverse (Type const&); - virtual void - ulonglong_none (Type&); +virtual void +pre (Type&); - virtual void - ulonglong_none (Type const&); +virtual void +pre (Type const&); - virtual void - longdouble (Type&); +virtual void +name (Type&); - virtual void - longdouble (Type const&); +virtual void +name (Type const&); - virtual void - longdouble_pre (Type&); +virtual void +typeId (Type&); - virtual void - longdouble_pre (Type const&); +virtual void +typeId (Type const&); - virtual void - longdouble_next (Type&); +virtual void +member (Type&); - virtual void - longdouble_next (Type const&); +virtual void +member (Type const&); - virtual void - longdouble_post (Type&); +virtual void +member_pre (Type&); - virtual void - longdouble_post (Type const&); +virtual void +member_pre (Type const&); - virtual void - longdouble_none (Type&); +virtual void +member_next (Type&); - virtual void - longdouble_none (Type const&); +virtual void +member_next (Type const&); - virtual void - post (Type&); +virtual void +member_post (Type&); - virtual void - post (Type const&); - }; +virtual void +member_post (Type const&); - struct XSC_XML_Handlers_Export EnumType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EnumType > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export Any : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Any > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type&); +virtual void +pre (Type&); - virtual void - name (Type const&); +virtual void +pre (Type const&); - virtual void - typeId (Type&); +virtual void +type (Type&); - virtual void - typeId (Type const&); +virtual void +type (Type const&); - virtual void - member (Type&); +virtual void +value (Type&); - virtual void - member (Type const&); +virtual void +value (Type const&); - virtual void - member_pre (Type&); +virtual void +post (Type&); - virtual void - member_pre (Type const&); +virtual void +post (Type const&); +}; - virtual void - member_next (Type&); +struct XSC_XML_Handlers_Export Property : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Property > +{ +virtual void +traverse (Type&); - virtual void - member_next (Type const&); +virtual void +traverse (Type const&); - virtual void - member_post (Type&); +virtual void +pre (Type&); - virtual void - member_post (Type const&); +virtual void +pre (Type const&); - virtual void - post (Type&); +virtual void +name (Type&); - virtual void - post (Type const&); - }; +virtual void +name (Type const&); - struct XSC_XML_Handlers_Export Any : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Any > - { - virtual void - traverse (Type&); +virtual void +value (Type&); - virtual void - traverse (Type const&); +virtual void +value (Type const&); - virtual void - pre (Type&); +virtual void +post (Type&); - virtual void - pre (Type const&); +virtual void +post (Type const&); +}; - virtual void - type (Type&); +typedef +::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierPropertyKind > +SatisfierPropertyKind; - virtual void - type (Type const&); +struct XSC_XML_Handlers_Export SatisfierProperty : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierProperty > +{ +virtual void +traverse (Type&); - virtual void - value (Type&); +virtual void +traverse (Type const&); - virtual void - value (Type const&); +virtual void +pre (Type&); - virtual void - post (Type&); +virtual void +pre (Type const&); - virtual void - post (Type const&); - }; +virtual void +name (Type&); - struct XSC_XML_Handlers_Export Property : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Property > - { - virtual void - traverse (Type&); +virtual void +name (Type const&); - virtual void - traverse (Type const&); +virtual void +kind (Type&); - virtual void - pre (Type&); +virtual void +kind (Type const&); - virtual void - pre (Type const&); +virtual void +dynamic (Type&); - virtual void - name (Type&); +virtual void +dynamic (Type const&); - virtual void - name (Type const&); +virtual void +value (Type&); - virtual void - value (Type&); +virtual void +value (Type const&); - virtual void - value (Type const&); +virtual void +post (Type&); - virtual void - post (Type&); +virtual void +post (Type const&); +}; - virtual void - post (Type const&); - }; +struct XSC_XML_Handlers_Export Resource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Resource > +{ +virtual void +traverse (Type&); - typedef - ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierPropertyKind > - SatisfierPropertyKind; +virtual void +traverse (Type const&); - struct XSC_XML_Handlers_Export SatisfierProperty : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierProperty > - { - virtual void - traverse (Type&); +virtual void +pre (Type&); - virtual void - traverse (Type const&); +virtual void +pre (Type const&); - virtual void - pre (Type&); +virtual void +name (Type&); - virtual void - pre (Type const&); +virtual void +name (Type const&); - virtual void - name (Type&); +virtual void +resourceType (Type&); - virtual void - name (Type const&); +virtual void +resourceType (Type const&); - virtual void - kind (Type&); +virtual void +resourceType_pre (Type&); - virtual void - kind (Type const&); +virtual void +resourceType_pre (Type const&); - virtual void - value (Type&); +virtual void +resourceType_next (Type&); - virtual void - value (Type const&); +virtual void +resourceType_next (Type const&); - virtual void - post (Type&); +virtual void +resourceType_post (Type&); - virtual void - post (Type const&); - }; +virtual void +resourceType_post (Type const&); - struct XSC_XML_Handlers_Export Resource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Resource > - { - virtual void - traverse (Type&); +virtual void +property (Type&); - virtual void - traverse (Type const&); +virtual void +property (Type const&); - virtual void - pre (Type&); +virtual void +property_pre (Type&); - virtual void - pre (Type const&); +virtual void +property_pre (Type const&); - virtual void - name (Type&); +virtual void +property_next (Type&); - virtual void - name (Type const&); +virtual void +property_next (Type const&); - virtual void - resourceType (Type&); +virtual void +property_post (Type&); - virtual void - resourceType (Type const&); +virtual void +property_post (Type const&); - virtual void - resourceType_pre (Type&); +virtual void +property_none (Type&); - virtual void - resourceType_pre (Type const&); +virtual void +property_none (Type const&); - virtual void - resourceType_next (Type&); +virtual void +post (Type&); - virtual void - resourceType_next (Type const&); +virtual void +post (Type const&); +}; - virtual void - resourceType_post (Type&); +struct XSC_XML_Handlers_Export Requirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Requirement > +{ +virtual void +traverse (Type&); - virtual void - resourceType_post (Type const&); +virtual void +traverse (Type const&); - virtual void - property (Type&); +virtual void +pre (Type&); - virtual void - property (Type const&); +virtual void +pre (Type const&); - virtual void - property_pre (Type&); +virtual void +resourceType (Type&); - virtual void - property_pre (Type const&); +virtual void +resourceType (Type const&); - virtual void - property_next (Type&); +virtual void +name (Type&); - virtual void - property_next (Type const&); +virtual void +name (Type const&); - virtual void - property_post (Type&); +virtual void +property (Type&); - virtual void - property_post (Type const&); +virtual void +property (Type const&); - virtual void - property_none (Type&); +virtual void +property_pre (Type&); - virtual void - property_none (Type const&); +virtual void +property_pre (Type const&); - virtual void - post (Type&); +virtual void +property_next (Type&); - virtual void - post (Type const&); - }; +virtual void +property_next (Type const&); - struct XSC_XML_Handlers_Export Requirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Requirement > - { - virtual void - traverse (Type&); +virtual void +property_post (Type&); - virtual void - traverse (Type const&); +virtual void +property_post (Type const&); - virtual void - pre (Type&); +virtual void +property_none (Type&); - virtual void - pre (Type const&); +virtual void +property_none (Type const&); - virtual void - resourceType (Type&); +virtual void +post (Type&); - virtual void - resourceType (Type const&); +virtual void +post (Type const&); +}; - virtual void - name (Type&); +struct XSC_XML_Handlers_Export ResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - name (Type const&); +virtual void +traverse (Type const&); - virtual void - property (Type&); +virtual void +pre (Type&); - virtual void - property (Type const&); +virtual void +pre (Type const&); - virtual void - post (Type&); +virtual void +requirementName (Type&); - virtual void - post (Type const&); - }; +virtual void +requirementName (Type const&); - struct XSC_XML_Handlers_Export ResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +resourceName (Type&); - virtual void - traverse (Type const&); +virtual void +resourceName (Type const&); - virtual void - pre (Type&); +virtual void +property (Type&); - virtual void - pre (Type const&); +virtual void +property (Type const&); - virtual void - requirementName (Type&); +virtual void +property_pre (Type&); - virtual void - requirementName (Type const&); +virtual void +property_pre (Type const&); - virtual void - resourceName (Type&); +virtual void +property_next (Type&); - virtual void - resourceName (Type const&); +virtual void +property_next (Type const&); - virtual void - resourceValue (Type&); +virtual void +property_post (Type&); - virtual void - resourceValue (Type const&); +virtual void +property_post (Type const&); - virtual void - post (Type&); +virtual void +property_none (Type&); - virtual void - post (Type const&); - }; +virtual void +property_none (Type const&); - struct XSC_XML_Handlers_Export ArtifactDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export ArtifactDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type&); +virtual void +pre (Type&); - virtual void - name (Type const&); +virtual void +pre (Type const&); - virtual void - source (Type&); +virtual void +name (Type&); - virtual void - source (Type const&); +virtual void +name (Type const&); - virtual void - source_pre (Type&); +virtual void +source (Type&); - virtual void - source_pre (Type const&); +virtual void +source (Type const&); - virtual void - source_next (Type&); +virtual void +source_pre (Type&); - virtual void - source_next (Type const&); +virtual void +source_pre (Type const&); - virtual void - source_post (Type&); +virtual void +source_next (Type&); - virtual void - source_post (Type const&); +virtual void +source_next (Type const&); - virtual void - node (Type&); +virtual void +source_post (Type&); - virtual void - node (Type const&); +virtual void +source_post (Type const&); - virtual void - location (Type&); +virtual void +node (Type&); - virtual void - location (Type const&); +virtual void +node (Type const&); - virtual void - location_pre (Type&); +virtual void +location (Type&); - virtual void - location_pre (Type const&); +virtual void +location (Type const&); - virtual void - location_next (Type&); +virtual void +location_pre (Type&); - virtual void - location_next (Type const&); +virtual void +location_pre (Type const&); - virtual void - location_post (Type&); +virtual void +location_next (Type&); - virtual void - location_post (Type const&); +virtual void +location_next (Type const&); - virtual void - execParameter (Type&); +virtual void +location_post (Type&); - virtual void - execParameter (Type const&); +virtual void +location_post (Type const&); - virtual void - execParameter_pre (Type&); +virtual void +execParameter (Type&); - virtual void - execParameter_pre (Type const&); +virtual void +execParameter (Type const&); - virtual void - execParameter_next (Type&); +virtual void +execParameter_pre (Type&); - virtual void - execParameter_next (Type const&); +virtual void +execParameter_pre (Type const&); - virtual void - execParameter_post (Type&); +virtual void +execParameter_next (Type&); - virtual void - execParameter_post (Type const&); +virtual void +execParameter_next (Type const&); - virtual void - execParameter_none (Type&); +virtual void +execParameter_post (Type&); - virtual void - execParameter_none (Type const&); +virtual void +execParameter_post (Type const&); - virtual void - deployRequirement (Type&); +virtual void +execParameter_none (Type&); - virtual void - deployRequirement (Type const&); +virtual void +execParameter_none (Type const&); - virtual void - deployRequirement_pre (Type&); +virtual void +deployRequirement (Type&); - virtual void - deployRequirement_pre (Type const&); +virtual void +deployRequirement (Type const&); - virtual void - deployRequirement_next (Type&); +virtual void +deployRequirement_pre (Type&); - virtual void - deployRequirement_next (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - deployRequirement_post (Type&); +virtual void +deployRequirement_next (Type&); - virtual void - deployRequirement_post (Type const&); +virtual void +deployRequirement_next (Type const&); - virtual void - deployRequirement_none (Type&); +virtual void +deployRequirement_post (Type&); - virtual void - deployRequirement_none (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - deployedResource (Type&); +virtual void +deployRequirement_none (Type&); - virtual void - deployedResource (Type const&); +virtual void +deployRequirement_none (Type const&); - virtual void - deployedResource_pre (Type&); +virtual void +deployedResource (Type&); - virtual void - deployedResource_pre (Type const&); +virtual void +deployedResource (Type const&); - virtual void - deployedResource_next (Type&); +virtual void +deployedResource_pre (Type&); - virtual void - deployedResource_next (Type const&); +virtual void +deployedResource_pre (Type const&); - virtual void - deployedResource_post (Type&); +virtual void +deployedResource_next (Type&); - virtual void - deployedResource_post (Type const&); +virtual void +deployedResource_next (Type const&); - virtual void - deployedResource_none (Type&); +virtual void +deployedResource_post (Type&); - virtual void - deployedResource_none (Type const&); +virtual void +deployedResource_post (Type const&); - virtual void - id (Type&); +virtual void +deployedResource_none (Type&); - virtual void - id (Type const&); +virtual void +deployedResource_none (Type const&); - virtual void - id_none (Type&); +virtual void +id (Type&); - virtual void - id_none (Type const&); +virtual void +id (Type const&); - virtual void - post (Type&); +virtual void +id_none (Type&); - virtual void - post (Type const&); - }; +virtual void +id_none (Type const&); - struct XSC_XML_Handlers_Export MonolithicDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export MonolithicDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type&); +virtual void +pre (Type&); - virtual void - name (Type const&); +virtual void +pre (Type const&); - virtual void - source (Type&); +virtual void +name (Type&); - virtual void - source (Type const&); +virtual void +name (Type const&); - virtual void - source_pre (Type&); +virtual void +source (Type&); - virtual void - source_pre (Type const&); +virtual void +source (Type const&); - virtual void - source_next (Type&); +virtual void +source_pre (Type&); - virtual void - source_next (Type const&); +virtual void +source_pre (Type const&); - virtual void - source_post (Type&); +virtual void +source_next (Type&); - virtual void - source_post (Type const&); +virtual void +source_next (Type const&); - virtual void - artifact (Type&); +virtual void +source_post (Type&); - virtual void - artifact (Type const&); +virtual void +source_post (Type const&); - virtual void - artifact_pre (Type&); +virtual void +artifact (Type&); - virtual void - artifact_pre (Type const&); +virtual void +artifact (Type const&); - virtual void - artifact_next (Type&); +virtual void +artifact_pre (Type&); - virtual void - artifact_next (Type const&); +virtual void +artifact_pre (Type const&); - virtual void - artifact_post (Type&); +virtual void +artifact_next (Type&); - virtual void - artifact_post (Type const&); +virtual void +artifact_next (Type const&); - virtual void - execParameter (Type&); +virtual void +artifact_post (Type&); - virtual void - execParameter (Type const&); +virtual void +artifact_post (Type const&); - virtual void - execParameter_pre (Type&); +virtual void +execParameter (Type&); - virtual void - execParameter_pre (Type const&); +virtual void +execParameter (Type const&); - virtual void - execParameter_next (Type&); +virtual void +execParameter_pre (Type&); - virtual void - execParameter_next (Type const&); +virtual void +execParameter_pre (Type const&); - virtual void - execParameter_post (Type&); +virtual void +execParameter_next (Type&); - virtual void - execParameter_post (Type const&); +virtual void +execParameter_next (Type const&); - virtual void - execParameter_none (Type&); +virtual void +execParameter_post (Type&); - virtual void - execParameter_none (Type const&); +virtual void +execParameter_post (Type const&); - virtual void - deployRequirement (Type&); +virtual void +execParameter_none (Type&); - virtual void - deployRequirement (Type const&); +virtual void +execParameter_none (Type const&); - virtual void - deployRequirement_pre (Type&); +virtual void +deployRequirement (Type&); - virtual void - deployRequirement_pre (Type const&); +virtual void +deployRequirement (Type const&); - virtual void - deployRequirement_next (Type&); +virtual void +deployRequirement_pre (Type&); - virtual void - deployRequirement_next (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - deployRequirement_post (Type&); +virtual void +deployRequirement_next (Type&); - virtual void - deployRequirement_post (Type const&); +virtual void +deployRequirement_next (Type const&); - virtual void - deployRequirement_none (Type&); +virtual void +deployRequirement_post (Type&); - virtual void - deployRequirement_none (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - id (Type&); +virtual void +deployRequirement_none (Type&); - virtual void - id (Type const&); +virtual void +deployRequirement_none (Type const&); - virtual void - id_none (Type&); +virtual void +id (Type&); - virtual void - id_none (Type const&); +virtual void +id (Type const&); - virtual void - post (Type&); +virtual void +id_none (Type&); - virtual void - post (Type const&); - }; +virtual void +id_none (Type const&); - typedef - ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceUsageKind > - ResourceUsageKind; +virtual void +post (Type&); - struct XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +post (Type const&); +}; - virtual void - traverse (Type const&); +typedef +::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceUsageKind > +ResourceUsageKind; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - resourceUsage (Type&); +virtual void +pre (Type&); - virtual void - resourceUsage (Type const&); +virtual void +pre (Type const&); - virtual void - requirementName (Type&); +virtual void +resourceUsage (Type&); - virtual void - requirementName (Type const&); +virtual void +resourceUsage (Type const&); - virtual void - resourceName (Type&); +virtual void +requirementName (Type&); - virtual void - resourceName (Type const&); +virtual void +requirementName (Type const&); - virtual void - resourceValue (Type&); +virtual void +resourceName (Type&); - virtual void - resourceValue (Type const&); +virtual void +resourceName (Type const&); - virtual void - post (Type&); +virtual void +property (Type&); - virtual void - post (Type const&); - }; +virtual void +property (Type const&); - struct XSC_XML_Handlers_Export InstanceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +property_pre (Type&); - virtual void - traverse (Type const&); +virtual void +property_pre (Type const&); - virtual void - pre (Type&); +virtual void +property_next (Type&); - virtual void - pre (Type const&); +virtual void +property_next (Type const&); - virtual void - name (Type&); +virtual void +property_post (Type&); - virtual void - name (Type const&); +virtual void +property_post (Type const&); - virtual void - node (Type&); +virtual void +property_none (Type&); - virtual void - node (Type const&); +virtual void +property_none (Type const&); - virtual void - source (Type&); +virtual void +post (Type&); - virtual void - source (Type const&); +virtual void +post (Type const&); +}; - virtual void - implementation (Type&); +struct XSC_XML_Handlers_Export InstanceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - implementation (Type const&); +virtual void +traverse (Type const&); - virtual void - configProperty (Type&); +virtual void +pre (Type&); - virtual void - configProperty (Type const&); +virtual void +pre (Type const&); - virtual void - configProperty_pre (Type&); +virtual void +name (Type&); - virtual void - configProperty_pre (Type const&); +virtual void +name (Type const&); - virtual void - configProperty_next (Type&); +virtual void +node (Type&); - virtual void - configProperty_next (Type const&); +virtual void +node (Type const&); - virtual void - configProperty_post (Type&); +virtual void +source (Type&); - virtual void - configProperty_post (Type const&); +virtual void +source (Type const&); - virtual void - configProperty_none (Type&); +virtual void +implementation (Type&); - virtual void - configProperty_none (Type const&); +virtual void +implementation (Type const&); - virtual void - deployedResource (Type&); +virtual void +configProperty (Type&); - virtual void - deployedResource (Type const&); +virtual void +configProperty (Type const&); - virtual void - deployedResource_none (Type&); +virtual void +configProperty_pre (Type&); - virtual void - deployedResource_none (Type const&); +virtual void +configProperty_pre (Type const&); - virtual void - deployedSharedResource (Type&); +virtual void +configProperty_next (Type&); - virtual void - deployedSharedResource (Type const&); +virtual void +configProperty_next (Type const&); - virtual void - deployedSharedResource_none (Type&); +virtual void +configProperty_post (Type&); - virtual void - deployedSharedResource_none (Type const&); +virtual void +configProperty_post (Type const&); - virtual void - id (Type&); +virtual void +configProperty_none (Type&); - virtual void - id (Type const&); +virtual void +configProperty_none (Type const&); - virtual void - id_none (Type&); +virtual void +deployedResource (Type&); - virtual void - id_none (Type const&); +virtual void +deployedResource (Type const&); - virtual void - post (Type&); +virtual void +deployedResource_none (Type&); - virtual void - post (Type const&); - }; +virtual void +deployedResource_none (Type const&); - typedef - ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CCMComponentPortKind > - CCMComponentPortKind; +virtual void +deployedSharedResource (Type&); - struct XSC_XML_Handlers_Export ComponentPortDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPortDescription > - { - virtual void - traverse (Type&); +virtual void +deployedSharedResource (Type const&); - virtual void - traverse (Type const&); +virtual void +deployedSharedResource_none (Type&); - virtual void - pre (Type&); +virtual void +deployedSharedResource_none (Type const&); - virtual void - pre (Type const&); +virtual void +id (Type&); - virtual void - name (Type&); +virtual void +id (Type const&); - virtual void - name (Type const&); +virtual void +id_none (Type&); - virtual void - specificType (Type&); +virtual void +id_none (Type const&); - virtual void - specificType (Type const&); +virtual void +post (Type&); - virtual void - supportedType (Type&); +virtual void +post (Type const&); +}; - virtual void - supportedType (Type const&); +typedef +::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CCMComponentPortKind > +CCMComponentPortKind; - virtual void - provider (Type&); +struct XSC_XML_Handlers_Export ComponentPortDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPortDescription > +{ +virtual void +traverse (Type&); - virtual void - provider (Type const&); +virtual void +traverse (Type const&); - virtual void - exclusiveProvider (Type&); +virtual void +pre (Type&); - virtual void - exclusiveProvider (Type const&); +virtual void +pre (Type const&); - virtual void - exclusiveUser (Type&); +virtual void +name (Type&); - virtual void - exclusiveUser (Type const&); +virtual void +name (Type const&); - virtual void - optional (Type&); +virtual void +specificType (Type&); - virtual void - optional (Type const&); +virtual void +specificType (Type const&); - virtual void - kind (Type&); +virtual void +specificType_none (Type&); - virtual void - kind (Type const&); +virtual void +specificType_none (Type const&); - virtual void - post (Type&); +virtual void +supportedType (Type&); - virtual void - post (Type const&); - }; +virtual void +supportedType (Type const&); - struct XSC_XML_Handlers_Export ComponentPropertyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPropertyDescription > - { - virtual void - traverse (Type&); +virtual void +supportedType_pre (Type&); - virtual void - traverse (Type const&); +virtual void +supportedType_pre (Type const&); - virtual void - pre (Type&); +virtual void +supportedType_next (Type&); - virtual void - pre (Type const&); +virtual void +supportedType_next (Type const&); - virtual void - name (Type&); +virtual void +supportedType_post (Type&); - virtual void - name (Type const&); +virtual void +supportedType_post (Type const&); - virtual void - type (Type&); +virtual void +supportedType_none (Type&); - virtual void - type (Type const&); +virtual void +supportedType_none (Type const&); - virtual void - post (Type&); +virtual void +provider (Type&); - virtual void - post (Type const&); - }; +virtual void +provider (Type const&); - struct XSC_XML_Handlers_Export ComponentExternalPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > - { - virtual void - traverse (Type&); +virtual void +exclusiveProvider (Type&); - virtual void - traverse (Type const&); +virtual void +exclusiveProvider (Type const&); - virtual void - pre (Type&); +virtual void +exclusiveUser (Type&); - virtual void - pre (Type const&); +virtual void +exclusiveUser (Type const&); - virtual void - portName (Type&); +virtual void +optional (Type&); - virtual void - portName (Type const&); +virtual void +optional (Type const&); - virtual void - post (Type&); +virtual void +kind (Type&); - virtual void - post (Type const&); - }; +virtual void +kind (Type const&); - struct XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export ComponentPropertyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPropertyDescription > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - portName (Type&); +virtual void +pre (Type&); - virtual void - portName (Type const&); +virtual void +pre (Type const&); - virtual void - provider (Type&); +virtual void +name (Type&); - virtual void - provider (Type const&); +virtual void +name (Type const&); - virtual void - provider_none (Type&); +virtual void +type (Type&); - virtual void - provider_none (Type const&); +virtual void +type (Type const&); - virtual void - kind (Type&); +virtual void +post (Type&); - virtual void - kind (Type const&); +virtual void +post (Type const&); +}; - virtual void - instance (Type&); +struct XSC_XML_Handlers_Export ComponentExternalPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > +{ +virtual void +traverse (Type&); - virtual void - instance (Type const&); +virtual void +traverse (Type const&); - virtual void - post (Type&); +virtual void +pre (Type&); - virtual void - post (Type const&); - }; +virtual void +pre (Type const&); - struct XSC_XML_Handlers_Export ExternalReferenceEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > - { - virtual void - traverse (Type&); +virtual void +portName (Type&); - virtual void - traverse (Type const&); +virtual void +portName (Type const&); - virtual void - pre (Type&); +virtual void +post (Type&); - virtual void - pre (Type const&); +virtual void +post (Type const&); +}; - virtual void - location (Type&); +struct XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > +{ +virtual void +traverse (Type&); - virtual void - location (Type const&); +virtual void +traverse (Type const&); - virtual void - post (Type&); +virtual void +pre (Type&); - virtual void - post (Type const&); - }; +virtual void +pre (Type const&); - struct XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > - { - virtual void - traverse (Type&); +virtual void +portName (Type&); - virtual void - traverse (Type const&); +virtual void +portName (Type const&); - virtual void - pre (Type&); +virtual void +provider (Type&); - virtual void - pre (Type const&); +virtual void +provider (Type const&); - virtual void - targetName (Type&); +virtual void +provider_none (Type&); - virtual void - targetName (Type const&); +virtual void +provider_none (Type const&); - virtual void - requirementName (Type&); +virtual void +kind (Type&); - virtual void - requirementName (Type const&); +virtual void +kind (Type const&); - virtual void - resourceName (Type&); +virtual void +instance (Type&); - virtual void - resourceName (Type const&); +virtual void +instance (Type const&); - virtual void - resourceValue (Type&); +virtual void +post (Type&); - virtual void - resourceValue (Type const&); +virtual void +post (Type const&); +}; - virtual void - post (Type&); +struct XSC_XML_Handlers_Export ExternalReferenceEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > +{ +virtual void +traverse (Type&); - virtual void - post (Type const&); - }; +virtual void +traverse (Type const&); - struct XSC_XML_Handlers_Export PlanConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanConnectionDescription > - { - virtual void - traverse (Type&); +virtual void +pre (Type&); - virtual void - traverse (Type const&); +virtual void +pre (Type const&); - virtual void - pre (Type&); +virtual void +location (Type&); - virtual void - pre (Type const&); +virtual void +location (Type const&); - virtual void - name (Type&); +virtual void +post (Type&); - virtual void - name (Type const&); +virtual void +post (Type const&); +}; - virtual void - source (Type&); +struct XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > +{ +virtual void +traverse (Type&); - virtual void - source (Type const&); +virtual void +traverse (Type const&); - virtual void - source_none (Type&); +virtual void +pre (Type&); - virtual void - source_none (Type const&); +virtual void +pre (Type const&); - virtual void - deployRequirement (Type&); +virtual void +targetName (Type&); - virtual void - deployRequirement (Type const&); +virtual void +targetName (Type const&); - virtual void - deployRequirement_pre (Type&); +virtual void +requirementName (Type&); - virtual void - deployRequirement_pre (Type const&); +virtual void +requirementName (Type const&); - virtual void - deployRequirement_next (Type&); +virtual void +resourceName (Type&); - virtual void - deployRequirement_next (Type const&); +virtual void +resourceName (Type const&); - virtual void - deployRequirement_post (Type&); +virtual void +property (Type&); - virtual void - deployRequirement_post (Type const&); +virtual void +property (Type const&); - virtual void - deployRequirement_none (Type&); +virtual void +property_pre (Type&); - virtual void - deployRequirement_none (Type const&); +virtual void +property_pre (Type const&); - virtual void - externalEndpoint (Type&); +virtual void +property_next (Type&); - virtual void - externalEndpoint (Type const&); +virtual void +property_next (Type const&); - virtual void - externalEndpoint_pre (Type&); +virtual void +property_post (Type&); - virtual void - externalEndpoint_pre (Type const&); +virtual void +property_post (Type const&); - virtual void - externalEndpoint_next (Type&); +virtual void +property_none (Type&); - virtual void - externalEndpoint_next (Type const&); +virtual void +property_none (Type const&); - virtual void - externalEndpoint_post (Type&); +virtual void +post (Type&); - virtual void - externalEndpoint_post (Type const&); +virtual void +post (Type const&); +}; - virtual void - externalEndpoint_none (Type&); +struct XSC_XML_Handlers_Export PlanConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanConnectionDescription > +{ +virtual void +traverse (Type&); - virtual void - externalEndpoint_none (Type const&); +virtual void +traverse (Type const&); - virtual void - internalEndpoint (Type&); +virtual void +pre (Type&); - virtual void - internalEndpoint (Type const&); +virtual void +pre (Type const&); - virtual void - internalEndpoint_pre (Type&); +virtual void +name (Type&); - virtual void - internalEndpoint_pre (Type const&); +virtual void +name (Type const&); - virtual void - internalEndpoint_next (Type&); +virtual void +source (Type&); - virtual void - internalEndpoint_next (Type const&); +virtual void +source (Type const&); - virtual void - internalEndpoint_post (Type&); +virtual void +source_none (Type&); - virtual void - internalEndpoint_post (Type const&); +virtual void +source_none (Type const&); - virtual void - internalEndpoint_none (Type&); +virtual void +deployRequirement (Type&); - virtual void - internalEndpoint_none (Type const&); +virtual void +deployRequirement (Type const&); - virtual void - externalReference (Type&); +virtual void +deployRequirement_pre (Type&); - virtual void - externalReference (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - externalReference_pre (Type&); +virtual void +deployRequirement_next (Type&); - virtual void - externalReference_pre (Type const&); +virtual void +deployRequirement_next (Type const&); - virtual void - externalReference_next (Type&); +virtual void +deployRequirement_post (Type&); - virtual void - externalReference_next (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - externalReference_post (Type&); +virtual void +deployRequirement_none (Type&); - virtual void - externalReference_post (Type const&); +virtual void +deployRequirement_none (Type const&); - virtual void - externalReference_none (Type&); +virtual void +externalEndpoint (Type&); - virtual void - externalReference_none (Type const&); +virtual void +externalEndpoint (Type const&); - virtual void - deployedResource (Type&); +virtual void +externalEndpoint_pre (Type&); - virtual void - deployedResource (Type const&); +virtual void +externalEndpoint_pre (Type const&); - virtual void - deployedResource_pre (Type&); +virtual void +externalEndpoint_next (Type&); - virtual void - deployedResource_pre (Type const&); +virtual void +externalEndpoint_next (Type const&); - virtual void - deployedResource_next (Type&); +virtual void +externalEndpoint_post (Type&); - virtual void - deployedResource_next (Type const&); +virtual void +externalEndpoint_post (Type const&); - virtual void - deployedResource_post (Type&); +virtual void +externalEndpoint_none (Type&); - virtual void - deployedResource_post (Type const&); +virtual void +externalEndpoint_none (Type const&); - virtual void - deployedResource_none (Type&); +virtual void +internalEndpoint (Type&); - virtual void - deployedResource_none (Type const&); +virtual void +internalEndpoint (Type const&); - virtual void - post (Type&); +virtual void +internalEndpoint_pre (Type&); - virtual void - post (Type const&); - }; +virtual void +internalEndpoint_pre (Type const&); - struct XSC_XML_Handlers_Export ImplementationDependency : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationDependency > - { - virtual void - traverse (Type&); +virtual void +internalEndpoint_next (Type&); - virtual void - traverse (Type const&); +virtual void +internalEndpoint_next (Type const&); - virtual void - pre (Type&); +virtual void +internalEndpoint_post (Type&); - virtual void - pre (Type const&); +virtual void +internalEndpoint_post (Type const&); - virtual void - requiredType (Type&); +virtual void +internalEndpoint_none (Type&); - virtual void - requiredType (Type const&); +virtual void +internalEndpoint_none (Type const&); - virtual void - post (Type&); +virtual void +externalReference (Type&); - virtual void - post (Type const&); - }; +virtual void +externalReference (Type const&); - struct XSC_XML_Handlers_Export Capability : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Capability > - { - virtual void - traverse (Type&); +virtual void +externalReference_pre (Type&); - virtual void - traverse (Type const&); +virtual void +externalReference_pre (Type const&); - virtual void - pre (Type&); +virtual void +externalReference_next (Type&); - virtual void - pre (Type const&); +virtual void +externalReference_next (Type const&); - virtual void - name (Type&); +virtual void +externalReference_post (Type&); - virtual void - name (Type const&); +virtual void +externalReference_post (Type const&); - virtual void - resourceType (Type&); +virtual void +externalReference_none (Type&); - virtual void - resourceType (Type const&); +virtual void +externalReference_none (Type const&); - virtual void - property (Type&); +virtual void +deployedResource (Type&); - virtual void - property (Type const&); +virtual void +deployedResource (Type const&); - virtual void - post (Type&); +virtual void +deployedResource_pre (Type&); - virtual void - post (Type const&); - }; +virtual void +deployedResource_pre (Type const&); - struct XSC_XML_Handlers_Export ImplementationRequirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationRequirement > - { - virtual void - traverse (Type&); +virtual void +deployedResource_next (Type&); - virtual void - traverse (Type const&); +virtual void +deployedResource_next (Type const&); - virtual void - pre (Type&); +virtual void +deployedResource_post (Type&); - virtual void - pre (Type const&); +virtual void +deployedResource_post (Type const&); - virtual void - resourceUsage (Type&); +virtual void +deployedResource_none (Type&); - virtual void - resourceUsage (Type const&); +virtual void +deployedResource_none (Type const&); - virtual void - resourcePort (Type&); +virtual void +post (Type&); - virtual void - resourcePort (Type const&); +virtual void +post (Type const&); +}; - virtual void - componentPort (Type&); +struct XSC_XML_Handlers_Export ImplementationDependency : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationDependency > +{ +virtual void +traverse (Type&); - virtual void - componentPort (Type const&); +virtual void +traverse (Type const&); - virtual void - resourceType (Type&); +virtual void +pre (Type&); - virtual void - resourceType (Type const&); +virtual void +pre (Type const&); - virtual void - name (Type&); +virtual void +requiredType (Type&); - virtual void - name (Type const&); +virtual void +requiredType (Type const&); - virtual void - property (Type&); +virtual void +post (Type&); - virtual void - property (Type const&); +virtual void +post (Type const&); +}; - virtual void - post (Type&); +struct XSC_XML_Handlers_Export Capability : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Capability > +{ +virtual void +traverse (Type&); - virtual void - post (Type const&); - }; +virtual void +traverse (Type const&); - struct XSC_XML_Handlers_Export ComponentPackageReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageReference > - { - virtual void - traverse (Type&); +virtual void +pre (Type&); - virtual void - traverse (Type const&); +virtual void +pre (Type const&); - virtual void - pre (Type&); +virtual void +name (Type&); - virtual void - pre (Type const&); +virtual void +name (Type const&); - virtual void - requiredUUID (Type&); +virtual void +resourceType (Type&); - virtual void - requiredUUID (Type const&); +virtual void +resourceType (Type const&); - virtual void - requiredName (Type&); +virtual void +resourceType_pre (Type&); - virtual void - requiredName (Type const&); +virtual void +resourceType_pre (Type const&); - virtual void - requiredType (Type&); +virtual void +resourceType_next (Type&); - virtual void - requiredType (Type const&); +virtual void +resourceType_next (Type const&); - virtual void - post (Type&); +virtual void +resourceType_post (Type&); - virtual void - post (Type const&); - }; +virtual void +resourceType_post (Type const&); - struct XSC_XML_Handlers_Export SubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > - { - virtual void - traverse (Type&); +virtual void +property (Type&); - virtual void - traverse (Type const&); +virtual void +property (Type const&); - virtual void - pre (Type&); +virtual void +property_pre (Type&); - virtual void - pre (Type const&); +virtual void +property_pre (Type const&); - virtual void - portName (Type&); +virtual void +property_next (Type&); - virtual void - portName (Type const&); +virtual void +property_next (Type const&); - virtual void - instance (Type&); +virtual void +property_post (Type&); - virtual void - instance (Type const&); +virtual void +property_post (Type const&); - virtual void - post (Type&); +virtual void +property_none (Type&); - virtual void - post (Type const&); - }; +virtual void +property_none (Type const&); - struct XSC_XML_Handlers_Export AssemblyConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyConnectionDescription > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export ImplementationRequirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationRequirement > +{ +virtual void +traverse (Type&); - virtual void - pre (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type&); +virtual void +pre (Type&); - virtual void - name (Type const&); +virtual void +pre (Type const&); - virtual void - deployRequirement (Type&); +virtual void +resourceUsage (Type&); - virtual void - deployRequirement (Type const&); +virtual void +resourceUsage (Type const&); - virtual void - deployRequirement_none (Type&); +virtual void +resourceUsage_none (Type&); - virtual void - deployRequirement_none (Type const&); +virtual void +resourceUsage_none (Type const&); - virtual void - externalEndpoint (Type&); +virtual void +resourcePort (Type&); - virtual void - externalEndpoint (Type const&); +virtual void +resourcePort (Type const&); - virtual void - externalEndpoint_pre (Type&); +virtual void +resourcePort_none (Type&); - virtual void - externalEndpoint_pre (Type const&); +virtual void +resourcePort_none (Type const&); - virtual void - externalEndpoint_next (Type&); +virtual void +componentPort (Type&); - virtual void - externalEndpoint_next (Type const&); +virtual void +componentPort (Type const&); - virtual void - externalEndpoint_post (Type&); +virtual void +componentPort_none (Type&); - virtual void - externalEndpoint_post (Type const&); +virtual void +componentPort_none (Type const&); - virtual void - externalEndpoint_none (Type&); +virtual void +resourceType (Type&); - virtual void - externalEndpoint_none (Type const&); +virtual void +resourceType (Type const&); - virtual void - internalEndpoint (Type&); +virtual void +name (Type&); - virtual void - internalEndpoint (Type const&); +virtual void +name (Type const&); - virtual void - internalEndpoint_pre (Type&); +virtual void +property (Type&); - virtual void - internalEndpoint_pre (Type const&); +virtual void +property (Type const&); - virtual void - internalEndpoint_next (Type&); +virtual void +property_pre (Type&); - virtual void - internalEndpoint_next (Type const&); +virtual void +property_pre (Type const&); - virtual void - internalEndpoint_post (Type&); +virtual void +property_next (Type&); - virtual void - internalEndpoint_post (Type const&); +virtual void +property_next (Type const&); - virtual void - internalEndpoint_none (Type&); +virtual void +property_post (Type&); - virtual void - internalEndpoint_none (Type const&); +virtual void +property_post (Type const&); - virtual void - externalReference (Type&); +virtual void +property_none (Type&); + +virtual void +property_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export ComponentPackageReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageReference > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +requiredUUID (Type&); + +virtual void +requiredUUID (Type const&); + +virtual void +requiredUUID_none (Type&); + +virtual void +requiredUUID_none (Type const&); + +virtual void +requiredName (Type&); + +virtual void +requiredName (Type const&); + +virtual void +requiredName_none (Type&); + +virtual void +requiredName_none (Type const&); + +virtual void +requiredType (Type&); + +virtual void +requiredType (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export SubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +portName (Type&); + +virtual void +portName (Type const&); + +virtual void +instance (Type&); + +virtual void +instance (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export AssemblyConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyConnectionDescription > +{ +virtual void +traverse (Type&); - virtual void - externalReference (Type const&); +virtual void +traverse (Type const&); - virtual void - externalReference_pre (Type&); +virtual void +pre (Type&); - virtual void - externalReference_pre (Type const&); +virtual void +pre (Type const&); - virtual void - externalReference_next (Type&); +virtual void +name (Type&); - virtual void - externalReference_next (Type const&); +virtual void +name (Type const&); - virtual void - externalReference_post (Type&); +virtual void +deployRequirement (Type&); - virtual void - externalReference_post (Type const&); +virtual void +deployRequirement (Type const&); - virtual void - externalReference_none (Type&); +virtual void +deployRequirement_pre (Type&); - virtual void - externalReference_none (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - post (Type&); +virtual void +deployRequirement_next (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +deployRequirement_next (Type const&); + +virtual void +deployRequirement_post (Type&); + +virtual void +deployRequirement_post (Type const&); + +virtual void +deployRequirement_none (Type&); + +virtual void +deployRequirement_none (Type const&); + +virtual void +internalEndpoint (Type&); + +virtual void +internalEndpoint (Type const&); + +virtual void +internalEndpoint_pre (Type&); + +virtual void +internalEndpoint_pre (Type const&); + +virtual void +internalEndpoint_next (Type&); + +virtual void +internalEndpoint_next (Type const&); + +virtual void +internalEndpoint_post (Type&); + +virtual void +internalEndpoint_post (Type const&); + +virtual void +internalEndpoint_none (Type&); + +virtual void +internalEndpoint_none (Type const&); + +virtual void +externalEndpoint (Type&); + +virtual void +externalEndpoint (Type const&); + +virtual void +externalEndpoint_pre (Type&); + +virtual void +externalEndpoint_pre (Type const&); + +virtual void +externalEndpoint_next (Type&); + +virtual void +externalEndpoint_next (Type const&); + +virtual void +externalEndpoint_post (Type&); + +virtual void +externalEndpoint_post (Type const&); + +virtual void +externalEndpoint_none (Type&); + +virtual void +externalEndpoint_none (Type const&); + +virtual void +externalReference (Type&); + +virtual void +externalReference (Type const&); + +virtual void +externalReference_pre (Type&); + +virtual void +externalReference_pre (Type const&); + +virtual void +externalReference_next (Type&); + +virtual void +externalReference_next (Type const&); + +virtual void +externalReference_post (Type&); + +virtual void +externalReference_post (Type const&); + +virtual void +externalReference_none (Type&); + +virtual void +externalReference_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct TCKind : Traversal::TCKind, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - TCKind (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct TCKind : Traversal::TCKind, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +TCKind (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type &o) +{ +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - protected: - TCKind (); - }; +protected: +TCKind (); +}; - struct DataType : Traversal::DataType, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::DataType Type; - DataType (::XSCRT::XML::Element< ACE_TCHAR >&); +struct DataType : Traversal::DataType, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::DataType Type; +DataType (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - kind (Type &o) - { +virtual void +kind (Type &o) +{ - this->kind (const_cast <Type const &> (o)); - } +this->kind (const_cast <Type const &> (o)); +} - virtual void - kind (Type const&); +virtual void +kind (Type const&); - virtual void - enum_ (Type &o) - { +virtual void +enum_ (Type &o) +{ - this->enum_ (const_cast <Type const &> (o)); - } +this->enum_ (const_cast <Type const &> (o)); +} - virtual void - enum_ (Type const&); +virtual void +enum_ (Type const&); - protected: - DataType (); - }; +protected: +DataType (); +}; - struct DataValue : Traversal::DataValue, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::DataValue Type; - DataValue (::XSCRT::XML::Element< ACE_TCHAR >&); +struct DataValue : Traversal::DataValue, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::DataValue Type; +DataValue (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - short_pre (Type &o) - { +virtual void +short_pre (Type &o) +{ - this->short_pre (const_cast <Type const &> (o)); - } +this->short_pre (const_cast <Type const &> (o)); +} - virtual void - short_pre (Type const&); +virtual void +short_pre (Type const&); - virtual void - short_next (Type &o) - { +virtual void +short_next (Type &o) +{ - this->short_next (const_cast <Type const &> (o)); - } +this->short_next (const_cast <Type const &> (o)); +} - virtual void - short_next (Type const&); +virtual void +short_next (Type const&); - virtual void - short_post (Type &o) - { +virtual void +short_post (Type &o) +{ - this->short_post (const_cast <Type const &> (o)); - } +this->short_post (const_cast <Type const &> (o)); +} - virtual void - short_post (Type const&); +virtual void +short_post (Type const&); - virtual void - long_pre (Type &o) - { +virtual void +long_pre (Type &o) +{ - this->long_pre (const_cast <Type const &> (o)); - } +this->long_pre (const_cast <Type const &> (o)); +} - virtual void - long_pre (Type const&); +virtual void +long_pre (Type const&); - virtual void - long_next (Type &o) - { +virtual void +long_next (Type &o) +{ - this->long_next (const_cast <Type const &> (o)); - } +this->long_next (const_cast <Type const &> (o)); +} - virtual void - long_next (Type const&); +virtual void +long_next (Type const&); - virtual void - long_post (Type &o) - { +virtual void +long_post (Type &o) +{ - this->long_post (const_cast <Type const &> (o)); - } +this->long_post (const_cast <Type const &> (o)); +} - virtual void - long_post (Type const&); +virtual void +long_post (Type const&); - virtual void - ushort_pre (Type &o) - { +virtual void +ushort_pre (Type &o) +{ - this->ushort_pre (const_cast <Type const &> (o)); - } +this->ushort_pre (const_cast <Type const &> (o)); +} + + +virtual void +ushort_pre (Type const&); + +virtual void +ushort_next (Type &o) +{ + +this->ushort_next (const_cast <Type const &> (o)); +} + + +virtual void +ushort_next (Type const&); + +virtual void +ushort_post (Type &o) +{ + +this->ushort_post (const_cast <Type const &> (o)); +} + + +virtual void +ushort_post (Type const&); + +virtual void +ulong_pre (Type &o) +{ +this->ulong_pre (const_cast <Type const &> (o)); +} - virtual void - ushort_pre (Type const&); - virtual void - ushort_next (Type &o) - { +virtual void +ulong_pre (Type const&); - this->ushort_next (const_cast <Type const &> (o)); - } +virtual void +ulong_next (Type &o) +{ +this->ulong_next (const_cast <Type const &> (o)); +} - virtual void - ushort_next (Type const&); - virtual void - ushort_post (Type &o) - { +virtual void +ulong_next (Type const&); - this->ushort_post (const_cast <Type const &> (o)); - } +virtual void +ulong_post (Type &o) +{ +this->ulong_post (const_cast <Type const &> (o)); +} - virtual void - ushort_post (Type const&); - virtual void - ulong_pre (Type &o) - { +virtual void +ulong_post (Type const&); - this->ulong_pre (const_cast <Type const &> (o)); - } +virtual void +float_pre (Type &o) +{ +this->float_pre (const_cast <Type const &> (o)); +} - virtual void - ulong_pre (Type const&); - virtual void - ulong_next (Type &o) - { +virtual void +float_pre (Type const&); - this->ulong_next (const_cast <Type const &> (o)); - } +virtual void +float_next (Type &o) +{ +this->float_next (const_cast <Type const &> (o)); +} - virtual void - ulong_next (Type const&); - virtual void - ulong_post (Type &o) - { +virtual void +float_next (Type const&); - this->ulong_post (const_cast <Type const &> (o)); - } +virtual void +float_post (Type &o) +{ +this->float_post (const_cast <Type const &> (o)); +} - virtual void - ulong_post (Type const&); - virtual void - float_pre (Type &o) - { +virtual void +float_post (Type const&); - this->float_pre (const_cast <Type const &> (o)); - } +virtual void +double_pre (Type &o) +{ +this->double_pre (const_cast <Type const &> (o)); +} - virtual void - float_pre (Type const&); - virtual void - float_next (Type &o) - { +virtual void +double_pre (Type const&); - this->float_next (const_cast <Type const &> (o)); - } +virtual void +double_next (Type &o) +{ +this->double_next (const_cast <Type const &> (o)); +} - virtual void - float_next (Type const&); - virtual void - float_post (Type &o) - { +virtual void +double_next (Type const&); - this->float_post (const_cast <Type const &> (o)); - } +virtual void +double_post (Type &o) +{ +this->double_post (const_cast <Type const &> (o)); +} - virtual void - float_post (Type const&); - virtual void - double_pre (Type &o) - { +virtual void +double_post (Type const&); - this->double_pre (const_cast <Type const &> (o)); - } +virtual void +boolean_pre (Type &o) +{ + +this->boolean_pre (const_cast <Type const &> (o)); +} + + +virtual void +boolean_pre (Type const&); + +virtual void +boolean_next (Type &o) +{ + +this->boolean_next (const_cast <Type const &> (o)); +} + + +virtual void +boolean_next (Type const&); + +virtual void +boolean_post (Type &o) +{ + +this->boolean_post (const_cast <Type const &> (o)); +} + + +virtual void +boolean_post (Type const&); + +virtual void +octet_pre (Type &o) +{ + +this->octet_pre (const_cast <Type const &> (o)); +} + + +virtual void +octet_pre (Type const&); + +virtual void +octet_next (Type &o) +{ + +this->octet_next (const_cast <Type const &> (o)); +} + + +virtual void +octet_next (Type const&); + +virtual void +octet_post (Type &o) +{ + +this->octet_post (const_cast <Type const &> (o)); +} + + +virtual void +octet_post (Type const&); + +virtual void +enum_pre (Type &o) +{ + +this->enum_pre (const_cast <Type const &> (o)); +} + + +virtual void +enum_pre (Type const&); + +virtual void +enum_next (Type &o) +{ + +this->enum_next (const_cast <Type const &> (o)); +} + + +virtual void +enum_next (Type const&); + +virtual void +enum_post (Type &o) +{ + +this->enum_post (const_cast <Type const &> (o)); +} + + +virtual void +enum_post (Type const&); + +virtual void +string_pre (Type &o) +{ + +this->string_pre (const_cast <Type const &> (o)); +} + + +virtual void +string_pre (Type const&); + +virtual void +string_next (Type &o) +{ + +this->string_next (const_cast <Type const &> (o)); +} + + +virtual void +string_next (Type const&); + +virtual void +string_post (Type &o) +{ + +this->string_post (const_cast <Type const &> (o)); +} + + +virtual void +string_post (Type const&); + +virtual void +longlong_pre (Type &o) +{ + +this->longlong_pre (const_cast <Type const &> (o)); +} + + +virtual void +longlong_pre (Type const&); + +virtual void +longlong_next (Type &o) +{ + +this->longlong_next (const_cast <Type const &> (o)); +} + + +virtual void +longlong_next (Type const&); + +virtual void +longlong_post (Type &o) +{ + +this->longlong_post (const_cast <Type const &> (o)); +} + + +virtual void +longlong_post (Type const&); + +virtual void +ulonglong_pre (Type &o) +{ + +this->ulonglong_pre (const_cast <Type const &> (o)); +} + + +virtual void +ulonglong_pre (Type const&); + +virtual void +ulonglong_next (Type &o) +{ + +this->ulonglong_next (const_cast <Type const &> (o)); +} - virtual void - double_pre (Type const&); +virtual void +ulonglong_next (Type const&); - virtual void - double_next (Type &o) - { +virtual void +ulonglong_post (Type &o) +{ - this->double_next (const_cast <Type const &> (o)); - } +this->ulonglong_post (const_cast <Type const &> (o)); +} - virtual void - double_next (Type const&); +virtual void +ulonglong_post (Type const&); - virtual void - double_post (Type &o) - { +virtual void +longdouble_pre (Type &o) +{ - this->double_post (const_cast <Type const &> (o)); - } +this->longdouble_pre (const_cast <Type const &> (o)); +} - virtual void - double_post (Type const&); +virtual void +longdouble_pre (Type const&); - virtual void - boolean_pre (Type &o) - { +virtual void +longdouble_next (Type &o) +{ - this->boolean_pre (const_cast <Type const &> (o)); - } +this->longdouble_next (const_cast <Type const &> (o)); +} - virtual void - boolean_pre (Type const&); +virtual void +longdouble_next (Type const&); - virtual void - boolean_next (Type &o) - { +virtual void +longdouble_post (Type &o) +{ - this->boolean_next (const_cast <Type const &> (o)); - } +this->longdouble_post (const_cast <Type const &> (o)); +} - virtual void - boolean_next (Type const&); +virtual void +longdouble_post (Type const&); - virtual void - boolean_post (Type &o) - { +protected: +DataValue (); +}; - this->boolean_post (const_cast <Type const &> (o)); - } +struct EnumType : Traversal::EnumType, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::EnumType Type; +EnumType (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - boolean_post (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - octet_pre (Type &o) - { - this->octet_pre (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - octet_pre (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - octet_next (Type &o) - { - this->octet_next (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +typeId (Type &o) +{ - virtual void - octet_next (Type const&); +this->typeId (const_cast <Type const &> (o)); +} - virtual void - octet_post (Type &o) - { - this->octet_post (const_cast <Type const &> (o)); - } +virtual void +typeId (Type const&); +virtual void +member_pre (Type &o) +{ - virtual void - octet_post (Type const&); +this->member_pre (const_cast <Type const &> (o)); +} - virtual void - enum_pre (Type &o) - { - this->enum_pre (const_cast <Type const &> (o)); - } +virtual void +member_pre (Type const&); +virtual void +member_next (Type &o) +{ - virtual void - enum_pre (Type const&); +this->member_next (const_cast <Type const &> (o)); +} - virtual void - enum_next (Type &o) - { - this->enum_next (const_cast <Type const &> (o)); - } +virtual void +member_next (Type const&); +virtual void +member_post (Type &o) +{ - virtual void - enum_next (Type const&); +this->member_post (const_cast <Type const &> (o)); +} - virtual void - enum_post (Type &o) - { - this->enum_post (const_cast <Type const &> (o)); - } +virtual void +member_post (Type const&); +protected: +EnumType (); +}; - virtual void - enum_post (Type const&); +struct Any : Traversal::Any, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Any Type; +Any (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - string_pre (Type &o) - { +virtual void +traverse (Type &o) +{ - this->string_pre (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - string_pre (Type const&); +virtual void +traverse (Type const&); - virtual void - string_next (Type &o) - { +virtual void +type (Type &o) +{ - this->string_next (const_cast <Type const &> (o)); - } +this->type (const_cast <Type const &> (o)); +} - virtual void - string_next (Type const&); +virtual void +type (Type const&); - virtual void - string_post (Type &o) - { +virtual void +value (Type &o) +{ - this->string_post (const_cast <Type const &> (o)); - } +this->value (const_cast <Type const &> (o)); +} - virtual void - string_post (Type const&); +virtual void +value (Type const&); - virtual void - longlong_pre (Type &o) - { +protected: +Any (); +}; - this->longlong_pre (const_cast <Type const &> (o)); - } +struct Property : Traversal::Property, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Property Type; +Property (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - longlong_pre (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - longlong_next (Type &o) - { - this->longlong_next (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - longlong_next (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - longlong_post (Type &o) - { - this->longlong_post (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +value (Type &o) +{ - virtual void - longlong_post (Type const&); +this->value (const_cast <Type const &> (o)); +} - virtual void - ulonglong_pre (Type &o) - { - this->ulonglong_pre (const_cast <Type const &> (o)); - } +virtual void +value (Type const&); +protected: +Property (); +}; - virtual void - ulonglong_pre (Type const&); +struct SatisfierPropertyKind : Traversal::SatisfierPropertyKind, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - ulonglong_next (Type &o) - { +virtual void +traverse (Type &o) +{ +this->traverse (const_cast <Type const &> (o)); +} - this->ulonglong_next (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +protected: +SatisfierPropertyKind (); +}; - virtual void - ulonglong_next (Type const&); +struct SatisfierProperty : Traversal::SatisfierProperty, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::SatisfierProperty Type; +SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - ulonglong_post (Type &o) - { +virtual void +traverse (Type &o) +{ - this->ulonglong_post (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - ulonglong_post (Type const&); +virtual void +traverse (Type const&); - virtual void - longdouble_pre (Type &o) - { +virtual void +name (Type &o) +{ - this->longdouble_pre (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - longdouble_pre (Type const&); +virtual void +name (Type const&); - virtual void - longdouble_next (Type &o) - { +virtual void +kind (Type &o) +{ - this->longdouble_next (const_cast <Type const &> (o)); - } +this->kind (const_cast <Type const &> (o)); +} - virtual void - longdouble_next (Type const&); +virtual void +kind (Type const&); - virtual void - longdouble_post (Type &o) - { +virtual void +dynamic (Type &o) +{ - this->longdouble_post (const_cast <Type const &> (o)); - } +this->dynamic (const_cast <Type const &> (o)); +} - virtual void - longdouble_post (Type const&); +virtual void +dynamic (Type const&); - protected: - DataValue (); - }; +virtual void +value (Type &o) +{ - struct EnumType : Traversal::EnumType, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::EnumType Type; - EnumType (::XSCRT::XML::Element< ACE_TCHAR >&); +this->value (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +value (Type const&); +protected: +SatisfierProperty (); +}; - virtual void - traverse (Type const&); +struct Resource : Traversal::Resource, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Resource Type; +Resource (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - name (Type &o) - { +virtual void +traverse (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +traverse (Type const&); - virtual void - typeId (Type &o) - { +virtual void +name (Type &o) +{ - this->typeId (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - typeId (Type const&); +virtual void +name (Type const&); - virtual void - member_pre (Type &o) - { +virtual void +resourceType_pre (Type &o) +{ - this->member_pre (const_cast <Type const &> (o)); - } +this->resourceType_pre (const_cast <Type const &> (o)); +} - virtual void - member_pre (Type const&); +virtual void +resourceType_pre (Type const&); - virtual void - member_next (Type &o) - { +virtual void +resourceType_next (Type &o) +{ - this->member_next (const_cast <Type const &> (o)); - } +this->resourceType_next (const_cast <Type const &> (o)); +} - virtual void - member_next (Type const&); +virtual void +resourceType_next (Type const&); - virtual void - member_post (Type &o) - { +virtual void +resourceType_post (Type &o) +{ - this->member_post (const_cast <Type const &> (o)); - } +this->resourceType_post (const_cast <Type const &> (o)); +} - virtual void - member_post (Type const&); +virtual void +resourceType_post (Type const&); - protected: - EnumType (); - }; +virtual void +property_pre (Type &o) +{ - struct Any : Traversal::Any, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Any Type; - Any (::XSCRT::XML::Element< ACE_TCHAR >&); +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +property_pre (Type const&); +virtual void +property_next (Type &o) +{ - virtual void - traverse (Type const&); +this->property_next (const_cast <Type const &> (o)); +} - virtual void - type (Type &o) - { - this->type (const_cast <Type const &> (o)); - } +virtual void +property_next (Type const&); +virtual void +property_post (Type &o) +{ - virtual void - type (Type const&); +this->property_post (const_cast <Type const &> (o)); +} - virtual void - value (Type &o) - { - this->value (const_cast <Type const &> (o)); - } +virtual void +property_post (Type const&); +protected: +Resource (); +}; - virtual void - value (Type const&); +struct Requirement : Traversal::Requirement, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Requirement Type; +Requirement (::XSCRT::XML::Element< ACE_TCHAR >&); - protected: - Any (); - }; +virtual void +traverse (Type &o) +{ - struct Property : Traversal::Property, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Property Type; - Property (::XSCRT::XML::Element< ACE_TCHAR >&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +resourceType (Type &o) +{ - virtual void - traverse (Type const&); +this->resourceType (const_cast <Type const &> (o)); +} - virtual void - name (Type &o) - { - this->name (const_cast <Type const &> (o)); - } +virtual void +resourceType (Type const&); +virtual void +name (Type &o) +{ - virtual void - name (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - value (Type &o) - { - this->value (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +property_pre (Type &o) +{ - virtual void - value (Type const&); +this->property_pre (const_cast <Type const &> (o)); +} - protected: - Property (); - }; - struct SatisfierPropertyKind : Traversal::SatisfierPropertyKind, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +property_pre (Type const&); - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +property_next (Type &o) +{ - virtual void - traverse (Type const&); +this->property_next (const_cast <Type const &> (o)); +} - protected: - SatisfierPropertyKind (); - }; - struct SatisfierProperty : Traversal::SatisfierProperty, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::SatisfierProperty Type; - SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +property_next (Type const&); - virtual void - traverse (Type &o) - { +virtual void +property_post (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->property_post (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +property_post (Type const&); - virtual void - name (Type &o) - { +protected: +Requirement (); +}; - this->name (const_cast <Type const &> (o)); - } +struct ResourceDeploymentDescription : Traversal::ResourceDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ResourceDeploymentDescription Type; +ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - name (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - kind (Type &o) - { - this->kind (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +requirementName (Type &o) +{ - virtual void - kind (Type const&); +this->requirementName (const_cast <Type const &> (o)); +} - virtual void - value (Type &o) - { - this->value (const_cast <Type const &> (o)); - } +virtual void +requirementName (Type const&); +virtual void +resourceName (Type &o) +{ - virtual void - value (Type const&); +this->resourceName (const_cast <Type const &> (o)); +} - protected: - SatisfierProperty (); - }; - struct Resource : Traversal::Resource, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Resource Type; - Resource (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +resourceName (Type const&); - virtual void - traverse (Type &o) - { +virtual void +property_pre (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +property_pre (Type const&); - virtual void - name (Type &o) - { +virtual void +property_next (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->property_next (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +property_next (Type const&); - virtual void - resourceType_pre (Type &o) - { +virtual void +property_post (Type &o) +{ - this->resourceType_pre (const_cast <Type const &> (o)); - } +this->property_post (const_cast <Type const &> (o)); +} - virtual void - resourceType_pre (Type const&); +virtual void +property_post (Type const&); - virtual void - resourceType_next (Type &o) - { +protected: +ResourceDeploymentDescription (); +}; - this->resourceType_next (const_cast <Type const &> (o)); - } +struct ArtifactDeploymentDescription : Traversal::ArtifactDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ArtifactDeploymentDescription Type; +ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - resourceType_next (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - resourceType_post (Type &o) - { - this->resourceType_post (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - resourceType_post (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - property_pre (Type &o) - { - this->property_pre (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +source_pre (Type &o) +{ - virtual void - property_pre (Type const&); +this->source_pre (const_cast <Type const &> (o)); +} - virtual void - property_next (Type &o) - { - this->property_next (const_cast <Type const &> (o)); - } +virtual void +source_pre (Type const&); +virtual void +source_next (Type &o) +{ - virtual void - property_next (Type const&); +this->source_next (const_cast <Type const &> (o)); +} - virtual void - property_post (Type &o) - { - this->property_post (const_cast <Type const &> (o)); - } +virtual void +source_next (Type const&); +virtual void +source_post (Type &o) +{ - virtual void - property_post (Type const&); +this->source_post (const_cast <Type const &> (o)); +} - protected: - Resource (); - }; - struct Requirement : Traversal::Requirement, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Requirement Type; - Requirement (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +source_post (Type const&); - virtual void - traverse (Type &o) - { +virtual void +node (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->node (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +node (Type const&); - virtual void - resourceType (Type &o) - { +virtual void +location_pre (Type &o) +{ - this->resourceType (const_cast <Type const &> (o)); - } +this->location_pre (const_cast <Type const &> (o)); +} - virtual void - resourceType (Type const&); +virtual void +location_pre (Type const&); - virtual void - name (Type &o) - { +virtual void +location_next (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->location_next (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +location_next (Type const&); - virtual void - property (Type &o) - { +virtual void +location_post (Type &o) +{ - this->property (const_cast <Type const &> (o)); - } +this->location_post (const_cast <Type const &> (o)); +} - virtual void - property (Type const&); +virtual void +location_post (Type const&); - protected: - Requirement (); - }; +virtual void +execParameter_pre (Type &o) +{ - struct ResourceDeploymentDescription : Traversal::ResourceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ResourceDeploymentDescription Type; - ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +this->execParameter_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +execParameter_pre (Type const&); +virtual void +execParameter_next (Type &o) +{ - virtual void - traverse (Type const&); +this->execParameter_next (const_cast <Type const &> (o)); +} - virtual void - requirementName (Type &o) - { - this->requirementName (const_cast <Type const &> (o)); - } +virtual void +execParameter_next (Type const&); +virtual void +execParameter_post (Type &o) +{ - virtual void - requirementName (Type const&); +this->execParameter_post (const_cast <Type const &> (o)); +} - virtual void - resourceName (Type &o) - { - this->resourceName (const_cast <Type const &> (o)); - } +virtual void +execParameter_post (Type const&); +virtual void +deployRequirement_pre (Type &o) +{ - virtual void - resourceName (Type const&); +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - resourceValue (Type &o) - { - this->resourceValue (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_pre (Type const&); +virtual void +deployRequirement_next (Type &o) +{ - virtual void - resourceValue (Type const&); +this->deployRequirement_next (const_cast <Type const &> (o)); +} - protected: - ResourceDeploymentDescription (); - }; - struct ArtifactDeploymentDescription : Traversal::ArtifactDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ArtifactDeploymentDescription Type; - ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +deployRequirement_next (Type const&); - virtual void - traverse (Type &o) - { +virtual void +deployRequirement_post (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->deployRequirement_post (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - name (Type &o) - { +virtual void +deployedResource_pre (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->deployedResource_pre (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +deployedResource_pre (Type const&); - virtual void - source_pre (Type &o) - { +virtual void +deployedResource_next (Type &o) +{ - this->source_pre (const_cast <Type const &> (o)); - } +this->deployedResource_next (const_cast <Type const &> (o)); +} - virtual void - source_pre (Type const&); +virtual void +deployedResource_next (Type const&); - virtual void - source_next (Type &o) - { +virtual void +deployedResource_post (Type &o) +{ - this->source_next (const_cast <Type const &> (o)); - } +this->deployedResource_post (const_cast <Type const &> (o)); +} - virtual void - source_next (Type const&); +virtual void +deployedResource_post (Type const&); - virtual void - source_post (Type &o) - { +virtual void +id (Type &o) +{ - this->source_post (const_cast <Type const &> (o)); - } +this->id (const_cast <Type const &> (o)); +} - virtual void - source_post (Type const&); +virtual void +id (Type const&); - virtual void - node (Type &o) - { +protected: +ArtifactDeploymentDescription (); +}; - this->node (const_cast <Type const &> (o)); - } +struct MonolithicDeploymentDescription : Traversal::MonolithicDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::MonolithicDeploymentDescription Type; +MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - node (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - location_pre (Type &o) - { - this->location_pre (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - location_pre (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - location_next (Type &o) - { - this->location_next (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +source_pre (Type &o) +{ - virtual void - location_next (Type const&); +this->source_pre (const_cast <Type const &> (o)); +} - virtual void - location_post (Type &o) - { - this->location_post (const_cast <Type const &> (o)); - } +virtual void +source_pre (Type const&); +virtual void +source_next (Type &o) +{ - virtual void - location_post (Type const&); +this->source_next (const_cast <Type const &> (o)); +} - virtual void - execParameter_pre (Type &o) - { - this->execParameter_pre (const_cast <Type const &> (o)); - } +virtual void +source_next (Type const&); +virtual void +source_post (Type &o) +{ - virtual void - execParameter_pre (Type const&); +this->source_post (const_cast <Type const &> (o)); +} - virtual void - execParameter_next (Type &o) - { - this->execParameter_next (const_cast <Type const &> (o)); - } +virtual void +source_post (Type const&); +virtual void +artifact_pre (Type &o) +{ - virtual void - execParameter_next (Type const&); +this->artifact_pre (const_cast <Type const &> (o)); +} - virtual void - execParameter_post (Type &o) - { - this->execParameter_post (const_cast <Type const &> (o)); - } +virtual void +artifact_pre (Type const&); +virtual void +artifact_next (Type &o) +{ - virtual void - execParameter_post (Type const&); +this->artifact_next (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_pre (Type &o) - { - this->deployRequirement_pre (const_cast <Type const &> (o)); - } +virtual void +artifact_next (Type const&); +virtual void +artifact_post (Type &o) +{ - virtual void - deployRequirement_pre (Type const&); +this->artifact_post (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_next (Type &o) - { - this->deployRequirement_next (const_cast <Type const &> (o)); - } +virtual void +artifact_post (Type const&); +virtual void +execParameter_pre (Type &o) +{ - virtual void - deployRequirement_next (Type const&); +this->execParameter_pre (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_post (Type &o) - { - this->deployRequirement_post (const_cast <Type const &> (o)); - } +virtual void +execParameter_pre (Type const&); +virtual void +execParameter_next (Type &o) +{ - virtual void - deployRequirement_post (Type const&); +this->execParameter_next (const_cast <Type const &> (o)); +} - virtual void - deployedResource_pre (Type &o) - { - this->deployedResource_pre (const_cast <Type const &> (o)); - } +virtual void +execParameter_next (Type const&); +virtual void +execParameter_post (Type &o) +{ - virtual void - deployedResource_pre (Type const&); +this->execParameter_post (const_cast <Type const &> (o)); +} - virtual void - deployedResource_next (Type &o) - { - this->deployedResource_next (const_cast <Type const &> (o)); - } +virtual void +execParameter_post (Type const&); +virtual void +deployRequirement_pre (Type &o) +{ - virtual void - deployedResource_next (Type const&); +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - deployedResource_post (Type &o) - { - this->deployedResource_post (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_pre (Type const&); +virtual void +deployRequirement_next (Type &o) +{ - virtual void - deployedResource_post (Type const&); +this->deployRequirement_next (const_cast <Type const &> (o)); +} - virtual void - id (Type &o) - { - this->id (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_next (Type const&); +virtual void +deployRequirement_post (Type &o) +{ - virtual void - id (Type const&); +this->deployRequirement_post (const_cast <Type const &> (o)); +} - protected: - ArtifactDeploymentDescription (); - }; - struct MonolithicDeploymentDescription : Traversal::MonolithicDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::MonolithicDeploymentDescription Type; - MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +deployRequirement_post (Type const&); - virtual void - traverse (Type &o) - { +virtual void +id (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->id (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +id (Type const&); - virtual void - name (Type &o) - { +protected: +MonolithicDeploymentDescription (); +}; - this->name (const_cast <Type const &> (o)); - } +struct ResourceUsageKind : Traversal::ResourceUsageKind, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ +this->traverse (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +traverse (Type const&); - virtual void - source_pre (Type &o) - { +protected: +ResourceUsageKind (); +}; - this->source_pre (const_cast <Type const &> (o)); - } +struct InstanceResourceDeploymentDescription : Traversal::InstanceResourceDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription Type; +InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - source_pre (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - source_next (Type &o) - { - this->source_next (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +resourceUsage (Type &o) +{ - virtual void - source_next (Type const&); +this->resourceUsage (const_cast <Type const &> (o)); +} - virtual void - source_post (Type &o) - { - this->source_post (const_cast <Type const &> (o)); - } +virtual void +resourceUsage (Type const&); +virtual void +requirementName (Type &o) +{ - virtual void - source_post (Type const&); +this->requirementName (const_cast <Type const &> (o)); +} - virtual void - artifact_pre (Type &o) - { - this->artifact_pre (const_cast <Type const &> (o)); - } +virtual void +requirementName (Type const&); +virtual void +resourceName (Type &o) +{ - virtual void - artifact_pre (Type const&); +this->resourceName (const_cast <Type const &> (o)); +} - virtual void - artifact_next (Type &o) - { - this->artifact_next (const_cast <Type const &> (o)); - } +virtual void +resourceName (Type const&); +virtual void +property_pre (Type &o) +{ - virtual void - artifact_next (Type const&); +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - artifact_post (Type &o) - { - this->artifact_post (const_cast <Type const &> (o)); - } +virtual void +property_pre (Type const&); +virtual void +property_next (Type &o) +{ - virtual void - artifact_post (Type const&); +this->property_next (const_cast <Type const &> (o)); +} - virtual void - execParameter_pre (Type &o) - { - this->execParameter_pre (const_cast <Type const &> (o)); - } +virtual void +property_next (Type const&); +virtual void +property_post (Type &o) +{ - virtual void - execParameter_pre (Type const&); +this->property_post (const_cast <Type const &> (o)); +} - virtual void - execParameter_next (Type &o) - { - this->execParameter_next (const_cast <Type const &> (o)); - } +virtual void +property_post (Type const&); +protected: +InstanceResourceDeploymentDescription (); +}; - virtual void - execParameter_next (Type const&); +struct InstanceDeploymentDescription : Traversal::InstanceDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::InstanceDeploymentDescription Type; +InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - execParameter_post (Type &o) - { +virtual void +traverse (Type &o) +{ - this->execParameter_post (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - execParameter_post (Type const&); +virtual void +traverse (Type const&); - virtual void - deployRequirement_pre (Type &o) - { +virtual void +name (Type &o) +{ - this->deployRequirement_pre (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_pre (Type const&); +virtual void +name (Type const&); - virtual void - deployRequirement_next (Type &o) - { +virtual void +node (Type &o) +{ - this->deployRequirement_next (const_cast <Type const &> (o)); - } +this->node (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_next (Type const&); +virtual void +node (Type const&); - virtual void - deployRequirement_post (Type &o) - { +virtual void +source (Type &o) +{ - this->deployRequirement_post (const_cast <Type const &> (o)); - } +this->source (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_post (Type const&); +virtual void +source (Type const&); - virtual void - id (Type &o) - { +virtual void +implementation (Type &o) +{ - this->id (const_cast <Type const &> (o)); - } +this->implementation (const_cast <Type const &> (o)); +} - virtual void - id (Type const&); +virtual void +implementation (Type const&); - protected: - MonolithicDeploymentDescription (); - }; +virtual void +configProperty_pre (Type &o) +{ - struct ResourceUsageKind : Traversal::ResourceUsageKind, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >&); +this->configProperty_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } - virtual void - traverse (Type const&); +virtual void +configProperty_pre (Type const&); - protected: - ResourceUsageKind (); - }; +virtual void +configProperty_next (Type &o) +{ - struct InstanceResourceDeploymentDescription : Traversal::InstanceResourceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription Type; - InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +this->configProperty_next (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +configProperty_next (Type const&); +virtual void +configProperty_post (Type &o) +{ - virtual void - traverse (Type const&); +this->configProperty_post (const_cast <Type const &> (o)); +} - virtual void - resourceUsage (Type &o) - { - this->resourceUsage (const_cast <Type const &> (o)); - } +virtual void +configProperty_post (Type const&); +virtual void +deployedResource (Type &o) +{ - virtual void - resourceUsage (Type const&); +this->deployedResource (const_cast <Type const &> (o)); +} - virtual void - requirementName (Type &o) - { - this->requirementName (const_cast <Type const &> (o)); - } +virtual void +deployedResource (Type const&); +virtual void +deployedSharedResource (Type &o) +{ - virtual void - requirementName (Type const&); +this->deployedSharedResource (const_cast <Type const &> (o)); +} - virtual void - resourceName (Type &o) - { - this->resourceName (const_cast <Type const &> (o)); - } +virtual void +deployedSharedResource (Type const&); +virtual void +id (Type &o) +{ - virtual void - resourceName (Type const&); +this->id (const_cast <Type const &> (o)); +} - virtual void - resourceValue (Type &o) - { - this->resourceValue (const_cast <Type const &> (o)); - } +virtual void +id (Type const&); +protected: +InstanceDeploymentDescription (); +}; - virtual void - resourceValue (Type const&); +struct CCMComponentPortKind : Traversal::CCMComponentPortKind, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >&); - protected: - InstanceResourceDeploymentDescription (); - }; +virtual void +traverse (Type &o) +{ +this->traverse (const_cast <Type const &> (o)); +} - struct InstanceDeploymentDescription : Traversal::InstanceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::InstanceDeploymentDescription Type; - InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type const&); - virtual void - traverse (Type &o) - { +protected: +CCMComponentPortKind (); +}; - this->traverse (const_cast <Type const &> (o)); - } +struct ComponentPortDescription : Traversal::ComponentPortDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentPortDescription Type; +ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - traverse (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - name (Type &o) - { - this->name (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - name (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - node (Type &o) - { - this->node (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +specificType (Type &o) +{ - virtual void - node (Type const&); +this->specificType (const_cast <Type const &> (o)); +} - virtual void - source (Type &o) - { - this->source (const_cast <Type const &> (o)); - } +virtual void +specificType (Type const&); +virtual void +supportedType_pre (Type &o) +{ - virtual void - source (Type const&); +this->supportedType_pre (const_cast <Type const &> (o)); +} - virtual void - implementation (Type &o) - { - this->implementation (const_cast <Type const &> (o)); - } +virtual void +supportedType_pre (Type const&); +virtual void +supportedType_next (Type &o) +{ - virtual void - implementation (Type const&); +this->supportedType_next (const_cast <Type const &> (o)); +} - virtual void - configProperty_pre (Type &o) - { - this->configProperty_pre (const_cast <Type const &> (o)); - } +virtual void +supportedType_next (Type const&); +virtual void +supportedType_post (Type &o) +{ - virtual void - configProperty_pre (Type const&); +this->supportedType_post (const_cast <Type const &> (o)); +} - virtual void - configProperty_next (Type &o) - { - this->configProperty_next (const_cast <Type const &> (o)); - } +virtual void +supportedType_post (Type const&); +virtual void +provider (Type &o) +{ - virtual void - configProperty_next (Type const&); +this->provider (const_cast <Type const &> (o)); +} - virtual void - configProperty_post (Type &o) - { - this->configProperty_post (const_cast <Type const &> (o)); - } +virtual void +provider (Type const&); +virtual void +exclusiveProvider (Type &o) +{ - virtual void - configProperty_post (Type const&); +this->exclusiveProvider (const_cast <Type const &> (o)); +} - virtual void - deployedResource (Type &o) - { - this->deployedResource (const_cast <Type const &> (o)); - } +virtual void +exclusiveProvider (Type const&); +virtual void +exclusiveUser (Type &o) +{ - virtual void - deployedResource (Type const&); +this->exclusiveUser (const_cast <Type const &> (o)); +} - virtual void - deployedSharedResource (Type &o) - { - this->deployedSharedResource (const_cast <Type const &> (o)); - } +virtual void +exclusiveUser (Type const&); +virtual void +optional (Type &o) +{ - virtual void - deployedSharedResource (Type const&); +this->optional (const_cast <Type const &> (o)); +} - virtual void - id (Type &o) - { - this->id (const_cast <Type const &> (o)); - } +virtual void +optional (Type const&); +virtual void +kind (Type &o) +{ - virtual void - id (Type const&); +this->kind (const_cast <Type const &> (o)); +} - protected: - InstanceDeploymentDescription (); - }; - struct CCMComponentPortKind : Traversal::CCMComponentPortKind, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +kind (Type const&); - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +protected: +ComponentPortDescription (); +}; - virtual void - traverse (Type const&); +struct ComponentPropertyDescription : Traversal::ComponentPropertyDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentPropertyDescription Type; +ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - protected: - CCMComponentPortKind (); - }; +virtual void +traverse (Type &o) +{ - struct ComponentPortDescription : Traversal::ComponentPortDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentPortDescription Type; - ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - traverse (Type const&); +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type &o) - { - this->name (const_cast <Type const &> (o)); - } +virtual void +name (Type const&); +virtual void +type (Type &o) +{ - virtual void - name (Type const&); +this->type (const_cast <Type const &> (o)); +} - virtual void - specificType (Type &o) - { - this->specificType (const_cast <Type const &> (o)); - } +virtual void +type (Type const&); +protected: +ComponentPropertyDescription (); +}; - virtual void - specificType (Type const&); +struct ComponentExternalPortEndpoint : Traversal::ComponentExternalPortEndpoint, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentExternalPortEndpoint Type; +ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - supportedType (Type &o) - { +virtual void +traverse (Type &o) +{ - this->supportedType (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - supportedType (Type const&); +virtual void +traverse (Type const&); - virtual void - provider (Type &o) - { +virtual void +portName (Type &o) +{ - this->provider (const_cast <Type const &> (o)); - } +this->portName (const_cast <Type const &> (o)); +} - virtual void - provider (Type const&); +virtual void +portName (Type const&); - virtual void - exclusiveProvider (Type &o) - { +protected: +ComponentExternalPortEndpoint (); +}; - this->exclusiveProvider (const_cast <Type const &> (o)); - } +struct PlanSubcomponentPortEndpoint : Traversal::PlanSubcomponentPortEndpoint, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint Type; +PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - exclusiveProvider (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - exclusiveUser (Type &o) - { - this->exclusiveUser (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +portName (Type &o) +{ - virtual void - exclusiveUser (Type const&); +this->portName (const_cast <Type const &> (o)); +} - virtual void - optional (Type &o) - { - this->optional (const_cast <Type const &> (o)); - } +virtual void +portName (Type const&); +virtual void +provider (Type &o) +{ - virtual void - optional (Type const&); +this->provider (const_cast <Type const &> (o)); +} - virtual void - kind (Type &o) - { - this->kind (const_cast <Type const &> (o)); - } +virtual void +provider (Type const&); +virtual void +kind (Type &o) +{ - virtual void - kind (Type const&); +this->kind (const_cast <Type const &> (o)); +} - protected: - ComponentPortDescription (); - }; - struct ComponentPropertyDescription : Traversal::ComponentPropertyDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentPropertyDescription Type; - ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +kind (Type const&); - virtual void - traverse (Type &o) - { +virtual void +instance (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->instance (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +instance (Type const&); - virtual void - name (Type &o) - { +protected: +PlanSubcomponentPortEndpoint (); +}; - this->name (const_cast <Type const &> (o)); - } +struct ExternalReferenceEndpoint : Traversal::ExternalReferenceEndpoint, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ExternalReferenceEndpoint Type; +ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - name (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - type (Type &o) - { - this->type (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +location (Type &o) +{ - virtual void - type (Type const&); +this->location (const_cast <Type const &> (o)); +} - protected: - ComponentPropertyDescription (); - }; - struct ComponentExternalPortEndpoint : Traversal::ComponentExternalPortEndpoint, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentExternalPortEndpoint Type; - ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +location (Type const&); - virtual void - traverse (Type &o) - { +protected: +ExternalReferenceEndpoint (); +}; - this->traverse (const_cast <Type const &> (o)); - } +struct ConnectionResourceDeploymentDescription : Traversal::ConnectionResourceDeploymentDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription Type; +ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - traverse (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - portName (Type &o) - { - this->portName (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +targetName (Type &o) +{ - virtual void - portName (Type const&); +this->targetName (const_cast <Type const &> (o)); +} - protected: - ComponentExternalPortEndpoint (); - }; - struct PlanSubcomponentPortEndpoint : Traversal::PlanSubcomponentPortEndpoint, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint Type; - PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +targetName (Type const&); - virtual void - traverse (Type &o) - { +virtual void +requirementName (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->requirementName (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +requirementName (Type const&); - virtual void - portName (Type &o) - { +virtual void +resourceName (Type &o) +{ - this->portName (const_cast <Type const &> (o)); - } +this->resourceName (const_cast <Type const &> (o)); +} - virtual void - portName (Type const&); +virtual void +resourceName (Type const&); - virtual void - provider (Type &o) - { +virtual void +property_pre (Type &o) +{ - this->provider (const_cast <Type const &> (o)); - } +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - provider (Type const&); +virtual void +property_pre (Type const&); - virtual void - kind (Type &o) - { +virtual void +property_next (Type &o) +{ - this->kind (const_cast <Type const &> (o)); - } +this->property_next (const_cast <Type const &> (o)); +} - virtual void - kind (Type const&); +virtual void +property_next (Type const&); - virtual void - instance (Type &o) - { +virtual void +property_post (Type &o) +{ - this->instance (const_cast <Type const &> (o)); - } +this->property_post (const_cast <Type const &> (o)); +} - virtual void - instance (Type const&); +virtual void +property_post (Type const&); - protected: - PlanSubcomponentPortEndpoint (); - }; +protected: +ConnectionResourceDeploymentDescription (); +}; - struct ExternalReferenceEndpoint : Traversal::ExternalReferenceEndpoint, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ExternalReferenceEndpoint Type; - ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +struct PlanConnectionDescription : Traversal::PlanConnectionDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::PlanConnectionDescription Type; +PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - location (Type &o) - { +virtual void +name (Type &o) +{ - this->location (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - location (Type const&); +virtual void +name (Type const&); - protected: - ExternalReferenceEndpoint (); - }; +virtual void +source (Type &o) +{ - struct ConnectionResourceDeploymentDescription : Traversal::ConnectionResourceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription Type; - ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +this->source (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +source (Type const&); +virtual void +deployRequirement_pre (Type &o) +{ - virtual void - traverse (Type const&); +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - targetName (Type &o) - { - this->targetName (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_pre (Type const&); +virtual void +deployRequirement_next (Type &o) +{ - virtual void - targetName (Type const&); +this->deployRequirement_next (const_cast <Type const &> (o)); +} - virtual void - requirementName (Type &o) - { - this->requirementName (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_next (Type const&); +virtual void +deployRequirement_post (Type &o) +{ - virtual void - requirementName (Type const&); +this->deployRequirement_post (const_cast <Type const &> (o)); +} - virtual void - resourceName (Type &o) - { - this->resourceName (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_post (Type const&); +virtual void +externalEndpoint_pre (Type &o) +{ - virtual void - resourceName (Type const&); +this->externalEndpoint_pre (const_cast <Type const &> (o)); +} - virtual void - resourceValue (Type &o) - { - this->resourceValue (const_cast <Type const &> (o)); - } +virtual void +externalEndpoint_pre (Type const&); +virtual void +externalEndpoint_next (Type &o) +{ - virtual void - resourceValue (Type const&); +this->externalEndpoint_next (const_cast <Type const &> (o)); +} - protected: - ConnectionResourceDeploymentDescription (); - }; - struct PlanConnectionDescription : Traversal::PlanConnectionDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::PlanConnectionDescription Type; - PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +externalEndpoint_next (Type const&); - virtual void - traverse (Type &o) - { +virtual void +externalEndpoint_post (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->externalEndpoint_post (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +externalEndpoint_post (Type const&); - virtual void - name (Type &o) - { +virtual void +internalEndpoint_pre (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->internalEndpoint_pre (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +internalEndpoint_pre (Type const&); - virtual void - source (Type &o) - { +virtual void +internalEndpoint_next (Type &o) +{ - this->source (const_cast <Type const &> (o)); - } +this->internalEndpoint_next (const_cast <Type const &> (o)); +} - virtual void - source (Type const&); +virtual void +internalEndpoint_next (Type const&); - virtual void - deployRequirement_pre (Type &o) - { +virtual void +internalEndpoint_post (Type &o) +{ - this->deployRequirement_pre (const_cast <Type const &> (o)); - } +this->internalEndpoint_post (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_pre (Type const&); +virtual void +internalEndpoint_post (Type const&); - virtual void - deployRequirement_next (Type &o) - { +virtual void +externalReference_pre (Type &o) +{ - this->deployRequirement_next (const_cast <Type const &> (o)); - } +this->externalReference_pre (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_next (Type const&); +virtual void +externalReference_pre (Type const&); - virtual void - deployRequirement_post (Type &o) - { +virtual void +externalReference_next (Type &o) +{ - this->deployRequirement_post (const_cast <Type const &> (o)); - } +this->externalReference_next (const_cast <Type const &> (o)); +} - virtual void - deployRequirement_post (Type const&); +virtual void +externalReference_next (Type const&); - virtual void - externalEndpoint_pre (Type &o) - { +virtual void +externalReference_post (Type &o) +{ - this->externalEndpoint_pre (const_cast <Type const &> (o)); - } +this->externalReference_post (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_pre (Type const&); +virtual void +externalReference_post (Type const&); - virtual void - externalEndpoint_next (Type &o) - { +virtual void +deployedResource_pre (Type &o) +{ - this->externalEndpoint_next (const_cast <Type const &> (o)); - } +this->deployedResource_pre (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_next (Type const&); +virtual void +deployedResource_pre (Type const&); - virtual void - externalEndpoint_post (Type &o) - { +virtual void +deployedResource_next (Type &o) +{ - this->externalEndpoint_post (const_cast <Type const &> (o)); - } +this->deployedResource_next (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_post (Type const&); +virtual void +deployedResource_next (Type const&); - virtual void - internalEndpoint_pre (Type &o) - { +virtual void +deployedResource_post (Type &o) +{ - this->internalEndpoint_pre (const_cast <Type const &> (o)); - } +this->deployedResource_post (const_cast <Type const &> (o)); +} - virtual void - internalEndpoint_pre (Type const&); +virtual void +deployedResource_post (Type const&); - virtual void - internalEndpoint_next (Type &o) - { +protected: +PlanConnectionDescription (); +}; - this->internalEndpoint_next (const_cast <Type const &> (o)); - } +struct ImplementationDependency : Traversal::ImplementationDependency, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ImplementationDependency Type; +ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - internalEndpoint_next (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - internalEndpoint_post (Type &o) - { - this->internalEndpoint_post (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +requiredType (Type &o) +{ - virtual void - internalEndpoint_post (Type const&); +this->requiredType (const_cast <Type const &> (o)); +} - virtual void - externalReference_pre (Type &o) - { - this->externalReference_pre (const_cast <Type const &> (o)); - } +virtual void +requiredType (Type const&); +protected: +ImplementationDependency (); +}; - virtual void - externalReference_pre (Type const&); +struct Capability : Traversal::Capability, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Capability Type; +Capability (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - externalReference_next (Type &o) - { +virtual void +traverse (Type &o) +{ - this->externalReference_next (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - externalReference_next (Type const&); +virtual void +traverse (Type const&); - virtual void - externalReference_post (Type &o) - { +virtual void +name (Type &o) +{ - this->externalReference_post (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - externalReference_post (Type const&); +virtual void +name (Type const&); - virtual void - deployedResource_pre (Type &o) - { +virtual void +resourceType_pre (Type &o) +{ - this->deployedResource_pre (const_cast <Type const &> (o)); - } +this->resourceType_pre (const_cast <Type const &> (o)); +} - virtual void - deployedResource_pre (Type const&); +virtual void +resourceType_pre (Type const&); - virtual void - deployedResource_next (Type &o) - { +virtual void +resourceType_next (Type &o) +{ - this->deployedResource_next (const_cast <Type const &> (o)); - } +this->resourceType_next (const_cast <Type const &> (o)); +} - virtual void - deployedResource_next (Type const&); +virtual void +resourceType_next (Type const&); - virtual void - deployedResource_post (Type &o) - { +virtual void +resourceType_post (Type &o) +{ - this->deployedResource_post (const_cast <Type const &> (o)); - } +this->resourceType_post (const_cast <Type const &> (o)); +} - virtual void - deployedResource_post (Type const&); +virtual void +resourceType_post (Type const&); - protected: - PlanConnectionDescription (); - }; +virtual void +property_pre (Type &o) +{ - struct ImplementationDependency : Traversal::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ImplementationDependency Type; - ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >&); +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +property_pre (Type const&); +virtual void +property_next (Type &o) +{ - virtual void - traverse (Type const&); +this->property_next (const_cast <Type const &> (o)); +} - virtual void - requiredType (Type &o) - { - this->requiredType (const_cast <Type const &> (o)); - } +virtual void +property_next (Type const&); +virtual void +property_post (Type &o) +{ - virtual void - requiredType (Type const&); +this->property_post (const_cast <Type const &> (o)); +} - protected: - ImplementationDependency (); - }; - struct Capability : Traversal::Capability, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Capability Type; - Capability (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +property_post (Type const&); - virtual void - traverse (Type &o) - { +protected: +Capability (); +}; - this->traverse (const_cast <Type const &> (o)); - } +struct ImplementationRequirement : Traversal::ImplementationRequirement, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ImplementationRequirement Type; +ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - traverse (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - name (Type &o) - { - this->name (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +resourceUsage (Type &o) +{ - virtual void - name (Type const&); +this->resourceUsage (const_cast <Type const &> (o)); +} - virtual void - resourceType (Type &o) - { - this->resourceType (const_cast <Type const &> (o)); - } +virtual void +resourceUsage (Type const&); +virtual void +resourcePort (Type &o) +{ - virtual void - resourceType (Type const&); +this->resourcePort (const_cast <Type const &> (o)); +} - virtual void - property (Type &o) - { - this->property (const_cast <Type const &> (o)); - } +virtual void +resourcePort (Type const&); +virtual void +componentPort (Type &o) +{ - virtual void - property (Type const&); +this->componentPort (const_cast <Type const &> (o)); +} - protected: - Capability (); - }; - struct ImplementationRequirement : Traversal::ImplementationRequirement, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ImplementationRequirement Type; - ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +componentPort (Type const&); - virtual void - traverse (Type &o) - { +virtual void +resourceType (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->resourceType (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +resourceType (Type const&); - virtual void - resourceUsage (Type &o) - { +virtual void +name (Type &o) +{ - this->resourceUsage (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - resourceUsage (Type const&); +virtual void +name (Type const&); - virtual void - resourcePort (Type &o) - { +virtual void +property_pre (Type &o) +{ - this->resourcePort (const_cast <Type const &> (o)); - } +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - resourcePort (Type const&); +virtual void +property_pre (Type const&); - virtual void - componentPort (Type &o) - { +virtual void +property_next (Type &o) +{ - this->componentPort (const_cast <Type const &> (o)); - } +this->property_next (const_cast <Type const &> (o)); +} - virtual void - componentPort (Type const&); +virtual void +property_next (Type const&); - virtual void - resourceType (Type &o) - { +virtual void +property_post (Type &o) +{ - this->resourceType (const_cast <Type const &> (o)); - } +this->property_post (const_cast <Type const &> (o)); +} - virtual void - resourceType (Type const&); +virtual void +property_post (Type const&); - virtual void - name (Type &o) - { +protected: +ImplementationRequirement (); +}; - this->name (const_cast <Type const &> (o)); - } +struct ComponentPackageReference : Traversal::ComponentPackageReference, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentPackageReference Type; +ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - name (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - property (Type &o) - { - this->property (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +requiredUUID (Type &o) +{ - virtual void - property (Type const&); +this->requiredUUID (const_cast <Type const &> (o)); +} - protected: - ImplementationRequirement (); - }; - struct ComponentPackageReference : Traversal::ComponentPackageReference, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentPackageReference Type; - ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +requiredUUID (Type const&); - virtual void - traverse (Type &o) - { +virtual void +requiredName (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->requiredName (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +requiredName (Type const&); - virtual void - requiredUUID (Type &o) - { +virtual void +requiredType (Type &o) +{ - this->requiredUUID (const_cast <Type const &> (o)); - } +this->requiredType (const_cast <Type const &> (o)); +} - virtual void - requiredUUID (Type const&); +virtual void +requiredType (Type const&); - virtual void - requiredName (Type &o) - { +protected: +ComponentPackageReference (); +}; - this->requiredName (const_cast <Type const &> (o)); - } +struct SubcomponentPortEndpoint : Traversal::SubcomponentPortEndpoint, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::SubcomponentPortEndpoint Type; +SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - requiredName (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - requiredType (Type &o) - { - this->requiredType (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +portName (Type &o) +{ - virtual void - requiredType (Type const&); +this->portName (const_cast <Type const &> (o)); +} - protected: - ComponentPackageReference (); - }; - struct SubcomponentPortEndpoint : Traversal::SubcomponentPortEndpoint, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::SubcomponentPortEndpoint Type; - SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +portName (Type const&); - virtual void - traverse (Type &o) - { +virtual void +instance (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->instance (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +instance (Type const&); - virtual void - portName (Type &o) - { +protected: +SubcomponentPortEndpoint (); +}; - this->portName (const_cast <Type const &> (o)); - } +struct AssemblyConnectionDescription : Traversal::AssemblyConnectionDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::AssemblyConnectionDescription Type; +AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - portName (Type const&); +this->traverse (const_cast <Type const &> (o)); +} - virtual void - instance (Type &o) - { - this->instance (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); +virtual void +name (Type &o) +{ - virtual void - instance (Type const&); +this->name (const_cast <Type const &> (o)); +} - protected: - SubcomponentPortEndpoint (); - }; - struct AssemblyConnectionDescription : Traversal::AssemblyConnectionDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::AssemblyConnectionDescription Type; - AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +name (Type const&); - virtual void - traverse (Type &o) - { +virtual void +deployRequirement_pre (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - name (Type &o) - { +virtual void +deployRequirement_next (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->deployRequirement_next (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +deployRequirement_next (Type const&); - virtual void - deployRequirement (Type &o) - { +virtual void +deployRequirement_post (Type &o) +{ - this->deployRequirement (const_cast <Type const &> (o)); - } +this->deployRequirement_post (const_cast <Type const &> (o)); +} - virtual void - deployRequirement (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - externalEndpoint_pre (Type &o) - { +virtual void +internalEndpoint_pre (Type &o) +{ - this->externalEndpoint_pre (const_cast <Type const &> (o)); - } +this->internalEndpoint_pre (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_pre (Type const&); +virtual void +internalEndpoint_pre (Type const&); - virtual void - externalEndpoint_next (Type &o) - { +virtual void +internalEndpoint_next (Type &o) +{ - this->externalEndpoint_next (const_cast <Type const &> (o)); - } +this->internalEndpoint_next (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_next (Type const&); +virtual void +internalEndpoint_next (Type const&); - virtual void - externalEndpoint_post (Type &o) - { +virtual void +internalEndpoint_post (Type &o) +{ - this->externalEndpoint_post (const_cast <Type const &> (o)); - } +this->internalEndpoint_post (const_cast <Type const &> (o)); +} - virtual void - externalEndpoint_post (Type const&); +virtual void +internalEndpoint_post (Type const&); - virtual void - internalEndpoint_pre (Type &o) - { +virtual void +externalEndpoint_pre (Type &o) +{ - this->internalEndpoint_pre (const_cast <Type const &> (o)); - } +this->externalEndpoint_pre (const_cast <Type const &> (o)); +} - virtual void - internalEndpoint_pre (Type const&); +virtual void +externalEndpoint_pre (Type const&); - virtual void - internalEndpoint_next (Type &o) - { +virtual void +externalEndpoint_next (Type &o) +{ - this->internalEndpoint_next (const_cast <Type const &> (o)); - } +this->externalEndpoint_next (const_cast <Type const &> (o)); +} - virtual void - internalEndpoint_next (Type const&); +virtual void +externalEndpoint_next (Type const&); - virtual void - internalEndpoint_post (Type &o) - { +virtual void +externalEndpoint_post (Type &o) +{ - this->internalEndpoint_post (const_cast <Type const &> (o)); - } +this->externalEndpoint_post (const_cast <Type const &> (o)); +} - virtual void - internalEndpoint_post (Type const&); +virtual void +externalEndpoint_post (Type const&); - virtual void - externalReference_pre (Type &o) - { +virtual void +externalReference_pre (Type &o) +{ - this->externalReference_pre (const_cast <Type const &> (o)); - } +this->externalReference_pre (const_cast <Type const &> (o)); +} - virtual void - externalReference_pre (Type const&); +virtual void +externalReference_pre (Type const&); - virtual void - externalReference_next (Type &o) - { +virtual void +externalReference_next (Type &o) +{ - this->externalReference_next (const_cast <Type const &> (o)); - } +this->externalReference_next (const_cast <Type const &> (o)); +} - virtual void - externalReference_next (Type const&); +virtual void +externalReference_next (Type const&); - virtual void - externalReference_post (Type &o) - { +virtual void +externalReference_post (Type &o) +{ - this->externalReference_post (const_cast <Type const &> (o)); - } +this->externalReference_post (const_cast <Type const &> (o)); +} - virtual void - externalReference_post (Type const&); +virtual void +externalReference_post (Type const&); - protected: - AssemblyConnectionDescription (); - }; - } - } +protected: +AssemblyConnectionDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // BASIC_DEPLOYMENT_DATA_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/CCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/CCD_Handler.cpp index 288787f1eda..cda67eb00f3 100644 --- a/TAO/CIAO/tools/Config_Handlers/CCD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/CCD_Handler.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "ciao/CIAO_common.h" #include "CCD_Handler.h" #include "ccd.hpp" #include "Property_Handler.h" @@ -13,173 +14,172 @@ namespace CIAO { void CCD_Handler::component_interface_descr ( - const ComponentInterfaceDescription &desc, - Deployment::ComponentInterfaceDescription& toconfig) + const ComponentInterfaceDescription &desc, + Deployment::ComponentInterfaceDescription& toconfig) { - if (desc.UUID_p ()) - toconfig.UUID = - CORBA::string_dup (desc.UUID ().c_str ()); + CIAO_TRACE("CCD_Handler::component_interface_descr"); + if (desc.UUID_p ()) + toconfig.UUID = + CORBA::string_dup (desc.UUID ().c_str ()); - if (desc.label_p ()) + if (desc.label_p ()) { - toconfig.label = - CORBA::string_dup (desc.label ().c_str ()); + toconfig.label = + CORBA::string_dup (desc.label ().c_str ()); } - - if (desc.specificType_p ()) + + if (desc.specificType_p ()) { - toconfig.specificType = - CORBA::string_dup (desc.specificType ().c_str ()); + toconfig.specificType = + CORBA::string_dup (desc.specificType ().c_str ()); } - ComponentInterfaceDescription::supportedType_const_iterator - end = desc.end_supportedType (); - - CORBA::ULong pos = 0; - toconfig.supportedType.length (desc.count_supportedType ()); - for (ComponentInterfaceDescription::supportedType_const_iterator s = - desc.begin_supportedType (); - s != end; - ++s) + ComponentInterfaceDescription::supportedType_const_iterator + end = desc.end_supportedType (); + + CORBA::ULong pos = 0; + toconfig.supportedType.length (desc.count_supportedType ()); + for (ComponentInterfaceDescription::supportedType_const_iterator s = + desc.begin_supportedType (); + s != end; + ++s) { toconfig.supportedType[pos++] = s->c_str (); } - - ComponentInterfaceDescription::idlFile_const_iterator - eidl = desc.end_idlFile (); - pos = 0; - toconfig.idlFile.length (desc.count_idlFile ()); - for (ComponentInterfaceDescription::idlFile_const_iterator sidl= - desc.begin_idlFile (); - sidl != eidl; - ++sidl) + + ComponentInterfaceDescription::idlFile_const_iterator + eidl = desc.end_idlFile (); + pos = 0; + toconfig.idlFile.length (desc.count_idlFile ()); + for (ComponentInterfaceDescription::idlFile_const_iterator sidl= + desc.begin_idlFile (); + sidl != eidl; + ++sidl) + { + toconfig.idlFile [pos++] = sidl->c_str (); + } + + ComponentInterfaceDescription::configProperty_const_iterator pend = + desc.end_configProperty (); + pos = 0; + toconfig.configProperty.length (desc.count_configProperty ()); + for (ComponentInterfaceDescription::configProperty_const_iterator pstart = + desc.begin_configProperty (); + pstart != pend; + ++pstart) + { + Property_Handler::get_property (*pstart, + toconfig.configProperty [pos++]); + } + + pos = 0; + toconfig.port.length (desc.count_port ()); + for (ComponentInterfaceDescription::port_const_iterator + port (desc.begin_port ()); + port != desc.end_port (); + ++port) + { + CPD_Handler::component_port_description ( + *port, + toconfig.port[pos++]); + } + + pos = 0; + toconfig.property.length ( desc.count_property ()); + for(ComponentInterfaceDescription::property_const_iterator + prop (desc.begin_property()); + prop != desc.end_property(); + prop++) + { + ComponentPropertyDescription_Handler::component_property_description ( + *prop, + toconfig.property[pos++]); + } + + pos = 0; + toconfig.infoProperty.length (desc.count_infoProperty ()); + for ( ComponentInterfaceDescription::infoProperty_const_iterator + infoProp (desc.begin_infoProperty()); + infoProp != desc.end_infoProperty(); + infoProp++) { - toconfig.idlFile [pos++] = sidl->c_str (); + Property_Handler::get_property ( + *infoProp, + toconfig.infoProperty[pos]); } - - ComponentInterfaceDescription::configProperty_const_iterator pend = - desc.end_configProperty (); - pos = 0; - toconfig.configProperty.length (desc.count_configProperty ()); - for (ComponentInterfaceDescription::configProperty_const_iterator pstart = - desc.begin_configProperty (); - pstart != pend; - ++pstart) - { - Property_Handler::get_property (*pstart, - toconfig.configProperty [pos++]); - } - - pos = 0; - toconfig.port.length (desc.count_port ()); - for (ComponentInterfaceDescription::port_const_iterator - port (desc.begin_port ()); - port != desc.end_port (); - ++port) - { - CPD_Handler::component_port_description ( - *port, - toconfig.port[pos++]); - } - - pos = 0; - toconfig.property.length ( desc.count_property ()); - for(ComponentInterfaceDescription::property_const_iterator - prop (desc.begin_property()); - prop != desc.end_property(); - prop++) - { - ComponentPropertyDescription_Handler::component_property_description ( - *prop, - toconfig.property[pos++]); - } - - pos = 0; - toconfig.infoProperty.length (desc.count_infoProperty ()); - for ( ComponentInterfaceDescription::infoProperty_const_iterator - infoProp (desc.begin_infoProperty()); - infoProp != desc.end_infoProperty(); - infoProp++) - { - Property_Handler::get_property ( - *infoProp, - toconfig.infoProperty[pos]); - } } - ComponentInterfaceDescription - CCD_Handler::component_interface_descr ( - const ::Deployment::ComponentInterfaceDescription& src) - { - ComponentInterfaceDescription cid; - - //Load up the basic string members - XMLSchema::string< char > uuid ((src.UUID)); - XMLSchema::string< char > label ((src.label)); - XMLSchema::string< char > specifict ((src.specificType)); - - //Then put them in the CID - cid.UUID (uuid); - cid.label (label); - cid.specificType (specifict); - - //Get the supported type(s) and load them into cid - ::CORBA::ULong total = src.supportedType.length (); - for (size_t i = 0; i < total; ++i) - { - XMLSchema::string< char > curr ((src.supportedType[i])); - cid.add_supportedType (curr); - } - - //Get the idlFile(s) and store them into the cid - total = src.idlFile.length (); - for (size_t j = 0; j < total; ++j) - { - XMLSchema::string< char > curr ((src.idlFile[j])); - cid.add_idlFile (curr); - } - - //Get the configProperty(ies) and store them into the cid - total = src.configProperty.length (); - for (size_t k = 0; k < total; ++k) - { - cid.add_configProperty ( - Property_Handler::get_property ( - src.configProperty[k])); - } - - //Same drill for the component port description(s) - total = src.port.length (); - for (size_t l = 0; l < total; ++l) - { - cid.add_port ( - CPD_Handler::component_port_description ( - src.port[l])); - } - - //Load up the property field - total = src.property.length(); - for(size_t m = 0; - m < total; - m++) - { - cid.add_property( - ComponentPropertyDescription_Handler::component_property_description ( - src.property[m])); - } - - //Load up the infoProperty(s) - total = src.infoProperty.length(); - for(size_t n = 0; - n < total; - n++) - { - cid.add_infoProperty( - Property_Handler::get_property ( - src.infoProperty[n])); - } - - return cid; - } + ComponentInterfaceDescription + CCD_Handler::component_interface_descr ( + const ::Deployment::ComponentInterfaceDescription& src) + { + CIAO_TRACE("CCD_Handler::component_interface_descr - reverse"); + ComponentInterfaceDescription cid; + + //Load up the basic string members + XMLSchema::string< char > uuid ((src.UUID)); + XMLSchema::string< char > label ((src.label)); + XMLSchema::string< char > specifict ((src.specificType)); + + //Then put them in the CID + cid.UUID (uuid); + cid.label (label); + cid.specificType (specifict); + + //Get the supported type(s) and load them into cid + ::CORBA::ULong total = src.supportedType.length (); + for (size_t i = 0; i < total; ++i) + { + XMLSchema::string< char > curr ((src.supportedType[i])); + cid.add_supportedType (curr); + } + + //Get the idlFile(s) and store them into the cid + total = src.idlFile.length (); + for (size_t j = 0; j < total; ++j) + { + XMLSchema::string< char > curr ((src.idlFile[j])); + cid.add_idlFile (curr); + } + + //Get the configProperty(ies) and store them into the cid + total = src.configProperty.length (); + for (size_t k = 0; k < total; ++k) + { + cid.add_configProperty ( + Property_Handler::get_property (src.configProperty[k])); + } + + //Same drill for the component port description(s) + total = src.port.length (); + for (size_t l = 0; l < total; ++l) + { + cid.add_port ( + CPD_Handler::component_port_description (src.port[l])); + } + + //Load up the property field + total = src.property.length(); + for(size_t m = 0; + m < total; + m++) + { + cid.add_property( + ComponentPropertyDescription_Handler::component_property_description ( + src.property[m])); + } + + //Load up the infoProperty(s) + total = src.infoProperty.length(); + for(size_t n = 0; + n < total; + n++) + { + cid.add_infoProperty( + Property_Handler::get_property (src.infoProperty[n])); + } + + return cid; + } } } diff --git a/TAO/CIAO/tools/Config_Handlers/CCD_Handler.h b/TAO/CIAO/tools/Config_Handlers/CCD_Handler.h index 0be3146798c..b3e8292f038 100644 --- a/TAO/CIAO/tools/Config_Handlers/CCD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/CCD_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file CCD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file CCD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_CCD_HANDLER_H @@ -20,37 +20,37 @@ namespace Deployment { - struct ComponentInterfaceDescription; +struct ComponentInterfaceDescription; } namespace CIAO { - namespace Config_Handlers - { - class ComponentInterfaceDescription; - - /* - * @class CCD_Handler - * - * @brief Handler class for <ComponentInterfaceDescription> types. - * - * This class is named CCD_Handler but actually fills - * <ComponentInterfaceDescription>. Why is this confusion? We - * want to maintain the correlation between the XSD file and the - * actual datatype. The file name corresponds to the XSD file but - * the data type being filled in is of type - * <ComponentInterfaceDescription> - */ - class Config_Handlers_Export CCD_Handler - { - public: - static void component_interface_descr (const ComponentInterfaceDescription &src, - ::Deployment::ComponentInterfaceDescription& dest); - static ComponentInterfaceDescription - component_interface_descr (const ::Deployment::ComponentInterfaceDescription& src); - - }; - } +namespace Config_Handlers +{ +class ComponentInterfaceDescription; + +/* +* @class CCD_Handler +* +* @brief Handler class for <ComponentInterfaceDescription> types. +* +* This class is named CCD_Handler but actually fills +* <ComponentInterfaceDescription>. Why is this confusion? We +* want to maintain the correlation between the XSD file and the +* actual datatype. The file name corresponds to the XSD file but +* the data type being filled in is of type +* <ComponentInterfaceDescription> +*/ +class Config_Handlers_Export CCD_Handler +{ +public: +static void component_interface_descr (const ComponentInterfaceDescription &src, +::Deployment::ComponentInterfaceDescription& dest); +static ComponentInterfaceDescription +component_interface_descr (const ::Deployment::ComponentInterfaceDescription& src); + +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.cpp index 71d280266bd..8cc056f1b40 100644 --- a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.cpp @@ -3,16 +3,17 @@ #include "CEPE_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers { void CEPE_Handler::external_port_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::ComponentExternalPortEndpoints &dest) + const PlanConnectionDescription &src, + ::Deployment::ComponentExternalPortEndpoints &dest) { + CIAO_TRACE("CEOE_Handler::external_port_endpoints"); PlanConnectionDescription::externalEndpoint_const_iterator eeci_e = src.end_externalEndpoint (); @@ -30,20 +31,20 @@ namespace CIAO void CEPE_Handler::external_port_endpoint ( - const ComponentExternalPortEndpoint &src, - ::Deployment::ComponentExternalPortEndpoint &dest) + const ComponentExternalPortEndpoint &src, + ::Deployment::ComponentExternalPortEndpoint &dest) { + CIAO_TRACE("CEPE_Handler::external_port_endpoint"); dest.portName = src.portName ().c_str (); } - + ComponentExternalPortEndpoint CEPE_Handler::external_port_endpoint ( - const ::Deployment::ComponentExternalPortEndpoint &src) + const ::Deployment::ComponentExternalPortEndpoint &src) { - //MAJO Unfinished + CIAO_TRACE("CEPE_Handler::external_port_endpoint - reverse"); XMLSchema::string< char > portname ((src.portName)); - ComponentExternalPortEndpoint cepe (portname); - return cepe; + return ComponentExternalPortEndpoint (portname); } } } diff --git a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h index 708e5e35c90..681fcb1ec43 100644 --- a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file CEPE_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file CEPE_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_CEPE_HANDLER_H @@ -13,6 +13,7 @@ #include /**/ "ace/pre.h" #include "Config_Handlers_Export.h" +#include "Utils/Functors.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -20,45 +21,48 @@ namespace Deployment { - class ComponentExternalPortEndpoints; - struct ComponentExternalPortEndpoint; +class ComponentExternalPortEndpoints; +struct ComponentExternalPortEndpoint; } namespace CIAO { - namespace Config_Handlers - { - class PlanConnectionDescription; - class ComponentExternalPortEndpoint; +namespace Config_Handlers +{ +class PlanConnectionDescription; +class ComponentExternalPortEndpoint; + +/* +* @class CEPE_Handler +* +* @brief Handler class for <ComponentExternalPortEndpoint> types. +* +* This class defines handler methods to map values from +* XSC ComponentExternalPortEndpoint objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export CEPE_Handler +{ +public: +static void external_port_endpoints ( +const PlanConnectionDescription &src, +::Deployment::ComponentExternalPortEndpoints &dest); + +static ComponentExternalPortEndpoint +external_port_endpoint ( +const ::Deployment::ComponentExternalPortEndpoint &src); - /* - * @class CEPE_Handler - * - * @brief Handler class for <ComponentExternalPortEndpoint> types. - * - * This class defines handler methods to map values from - * XSC ComponentExternalPortEndpoint objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ +static void external_port_endpoint (const ComponentExternalPortEndpoint &src, +::Deployment::ComponentExternalPortEndpoint &dest); +}; - class Config_Handlers_Export CEPE_Handler - { - public: - static void external_port_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::ComponentExternalPortEndpoints &dest); - - static ComponentExternalPortEndpoint - external_port_endpoint ( - const ::Deployment::ComponentExternalPortEndpoint &src); - - private: - static void external_port_endpoint ( - const ComponentExternalPortEndpoint &src, - ::Deployment::ComponentExternalPortEndpoint &dest); - }; - } +typedef Sequence_Handler < ComponentExternalPortEndpoint, +::Deployment::ComponentExternalPortEndpoints, +::Deployment::ComponentExternalPortEndpoint, +CEPE_Handler::external_port_endpoint > CEPE_Functor; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/CPD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/CPD_Handler.cpp index ccf604c5465..25d1af78e9d 100644 --- a/TAO/CIAO/tools/Config_Handlers/CPD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/CPD_Handler.cpp @@ -2,149 +2,148 @@ #include "CPD_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" +#include "ciao/CIAO_common.h" + namespace CIAO { namespace Config_Handlers { void CPD_Handler::component_port_description ( - const ComponentPortDescription& desc, - Deployment::ComponentPortDescription& toconfig) + const ComponentPortDescription& desc, + Deployment::ComponentPortDescription& toconfig) { + CIAO_TRACE("CPD_Handler::component_port_description"); toconfig.name = desc.name ().c_str (); - toconfig.specificType = - desc.specificType ().c_str (); + if (desc.specificType_p ()) + toconfig.specificType = + desc.specificType ().c_str (); + + toconfig.supportedType.length (desc.count_supportedType ()); + std::for_each (desc.begin_supportedType (), + desc.end_supportedType (), + String_Seq_Functor (toconfig.supportedType)); - if (!desc.supportedType ().empty ()) - { - toconfig.supportedType.length (1); - toconfig.supportedType[0] = - desc.supportedType ().c_str (); - } - switch (desc.kind ().integral ()) { case CCMComponentPortKind::Facet_l: toconfig.kind = Deployment::Facet; break; - + case CCMComponentPortKind::SimplexReceptacle_l: toconfig.kind = Deployment::SimplexReceptacle; break; - + case CCMComponentPortKind::MultiplexReceptacle_l: toconfig.kind = Deployment::MultiplexReceptacle; break; - + case CCMComponentPortKind::EventEmitter_l: toconfig.kind = Deployment::EventEmitter; break; - + case CCMComponentPortKind::EventPublisher_l: toconfig.kind = Deployment::EventPublisher; break; - + case CCMComponentPortKind::EventConsumer_l: - toconfig.kind = Deployment::EventConsumer; + toconfig.kind = Deployment::EventConsumer; break; - + default: ACE_ERROR ((LM_ERROR, "Invalid port type in connection %s\n", desc.name ().c_str ())); throw 1; } - + /* @@BUG: We need to consider how to handle booleans. */ - toconfig.provider = desc.provider () == "true"; - toconfig.exclusiveProvider = desc.exclusiveProvider () == "true"; - toconfig.exclusiveUser = desc.exclusiveUser () == "true"; - toconfig.optional = desc.optional () == "true"; + toconfig.provider = desc.provider (); + toconfig.exclusiveProvider = desc.exclusiveProvider (); + toconfig.exclusiveUser = desc.exclusiveUser (); + toconfig.optional = desc.optional (); } - + ComponentPortDescription CPD_Handler::component_port_description ( - const Deployment::ComponentPortDescription& src) + const Deployment::ComponentPortDescription& src) { + CIAO_TRACE("CPD_Handler::component_port_description - reverse"); ::XMLSchema::string< char > name ((src.name)); ::XMLSchema::string< char > stype ((src.specificType)); - - ::XMLSchema::string< char > tval ("true"); - ::XMLSchema::string< char > fval ("false"); - ::XMLSchema::string< char > provider (""); - ::XMLSchema::string< char > exclusiveProvider (""); - ::XMLSchema::string< char > exclusiveUser (""); - ::XMLSchema::string< char > optional (""); - + + ::XMLSchema::string< char > tval ("true"); + ::XMLSchema::string< char > fval ("false"); + XMLSchema::boolean provider; + XMLSchema::boolean exclusiveProvider; + XMLSchema::boolean exclusiveUser; + XMLSchema::boolean optional; + if (src.provider) - provider = tval; + provider = true; else - provider = fval; - + provider = false; + if (src.exclusiveUser) - exclusiveUser = tval; + exclusiveUser = true; else - provider = fval; - + provider = false; + if (src.exclusiveProvider) - exclusiveProvider = tval; + exclusiveProvider = true; else - provider = fval; - + provider = false; + if (src.optional) - optional = tval; + optional = true; else - provider = fval; - - ComponentPortDescription cpd ( - name, - stype, - tval, - provider, - exclusiveProvider, - exclusiveUser, - optional, - CCMComponentPortKind::Facet); + provider = false; + + ComponentPortDescription cpd (name, + provider, + exclusiveProvider, + exclusiveUser, + optional, + CCMComponentPortKind::Facet); switch (src.kind) { case ::Deployment::Facet: cpd.kind (CCMComponentPortKind::Facet); break; - + case ::Deployment::SimplexReceptacle: cpd.kind (CCMComponentPortKind::SimplexReceptacle); break; - + case ::Deployment::MultiplexReceptacle: cpd.kind (CCMComponentPortKind::MultiplexReceptacle); break; - + case ::Deployment::EventEmitter: cpd.kind (CCMComponentPortKind::EventEmitter); break; - + case ::Deployment::EventPublisher: cpd.kind (CCMComponentPortKind::EventPublisher); break; - + case ::Deployment::EventConsumer: cpd.kind (CCMComponentPortKind::EventConsumer); break; - + default: ACE_ERROR ((LM_ERROR, "Invalid port kind in connection %s\n", name.c_str ())); } - - if (src.supportedType.length () > 0) - cpd.supportedType ( - XMLSchema::string< char > ((src.supportedType[0]))); + + for (CORBA::ULong i = 0; i < src.supportedType.length (); ++i) + cpd.add_supportedType (XMLSchema::string< char > ((src.supportedType[i]))); return cpd; } - + } } diff --git a/TAO/CIAO/tools/Config_Handlers/CPD_Handler.h b/TAO/CIAO/tools/Config_Handlers/CPD_Handler.h index 3bb017a3429..31737241b51 100644 --- a/TAO/CIAO/tools/Config_Handlers/CPD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/CPD_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file CPD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file CPD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_CPD_HANDLER_H @@ -14,6 +14,7 @@ #include /**/ "ace/pre.h" #include "Config_Handlers_Export.h" +#include "Utils/Functors.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -21,41 +22,48 @@ namespace Deployment { - struct ComponentPortDescription; +class ComponentPortDescription; +class ComponentPortDescriptions; } namespace CIAO { - namespace Config_Handlers - { - class ComponentPortDescription; - /* - * @class CPD_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 Config_Handlers_Export CPD_Handler - { - - public: - /// Maps the values from the XSC object - /// <ComponentInterfaceDescription> to the CORBA IDL type - /// <Deployment::ComponentInterfaceDescription>. - static void component_port_description ( - const ComponentPortDescription &desc, - ::Deployment::ComponentPortDescription &toconfig); - - static ComponentPortDescription - component_port_description ( - const Deployment::ComponentPortDescription& src); - }; - } +namespace Config_Handlers +{ +class ComponentPortDescription; +/* +* @class CPD_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 Config_Handlers_Export CPD_Handler +{ + +public: +/// Maps the values from the XSC object +/// <ComponentInterfaceDescription> to the CORBA IDL type +/// <Deployment::ComponentInterfaceDescription>. +static void component_port_description ( +const ComponentPortDescription &desc, +::Deployment::ComponentPortDescription &toconfig); + +static ComponentPortDescription +component_port_description ( +const Deployment::ComponentPortDescription& src); +}; + +typedef Sequence_Handler < ComponentPortDescription, +::Deployment::ComponentPortDescriptions, +::Deployment::ComponentPortDescription, +CPD_Handler::component_port_description > CPD_Functor; + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.cpp index da4f6584eb0..60982da955a 100644 --- a/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.cpp @@ -4,7 +4,9 @@ #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" +#include "Property_Handler.h" +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers @@ -22,33 +24,40 @@ namespace CIAO ///and maps the values from the passed in XSC ///ConnectionResourceDeploymentDescription to its members. void CRDD_Handler::get_ConnectionResourceDeploymentDescription ( - Deployment::ConnectionResourceDeploymentDescription& toconfig, - ConnectionResourceDeploymentDescription& desc) + Deployment::ConnectionResourceDeploymentDescription& toconfig, + ConnectionResourceDeploymentDescription& desc) { - toconfig.targetName = CORBA::string_dup (desc.targetName ().c_str ()); - toconfig.requirementName = - CORBA::string_dup (desc.requirementName ().c_str ()); - toconfig.resourceName = - CORBA::string_dup (desc.resourceName ().c_str ()); - - Any_Handler::extract_into_any (desc.resourceValue (), - toconfig.resourceValue); + CIAO_TRACE("CRDD_Handler::get_ConnectionResourceDD"); + + toconfig.targetName = desc.targetName ().c_str (); + toconfig.requirementName = desc.requirementName ().c_str (); + toconfig.resourceName = desc.resourceName ().c_str (); + + std::for_each (desc.begin_property (), + desc.end_property (), + Property_Functor (toconfig.property)); } - + ConnectionResourceDeploymentDescription CRDD_Handler::connection_resource_depl_desc ( - const ::Deployment::ConnectionResourceDeploymentDescription& src) + const ::Deployment::ConnectionResourceDeploymentDescription& src) { - XMLSchema::string< char > tname ((src.targetName)); - XMLSchema::string< char > reqname ((src.requirementName)); - XMLSchema::string< char > resname ((src.resourceName)); - Any resval (Any_Handler::get_any (src.resourceValue)); - - ConnectionResourceDeploymentDescription crdd ( - tname, - reqname, - resname, - resval); + CIAO_TRACE("CRDD_Handler::get_ConnectionResourceDeploymentDescription- reverse"); + XMLSchema::string< ACE_TCHAR > tname ((src.targetName)); + XMLSchema::string< ACE_TCHAR > reqname ((src.requirementName)); + XMLSchema::string <ACE_TCHAR> resname ((src.resourceName)); + + ConnectionResourceDeploymentDescription crdd (tname, + reqname, + resname); + + for (CORBA::ULong i = 0; + i != src.property.length (); + ++i) + { + crdd.add_property (Property_Handler::get_property (src.property[i])); + } + return crdd; } diff --git a/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.h b/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.h index 3196b4bb1f4..314a07e1edb 100644 --- a/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/CRDD_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file CRDD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file CRDD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_CRDD_HANDLER_H @@ -20,48 +20,48 @@ namespace Deployment { - struct ConnectionResourceDeploymentDescription; +struct ConnectionResourceDeploymentDescription; } namespace CIAO { - namespace Config_Handlers - { - - class ConnectionResourceDeploymentDescription; - - /* - * @class CRDD_Handler - * - * @brief Handler class for <ConnectionResourceDeploymentDescription> types. - * - * This class defines handler methods to map values from - * XSC ConnectionResourceDeploymentDescription objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ - - class Config_Handlers_Export CRDD_Handler{ - - public: - - CRDD_Handler (void); - virtual ~CRDD_Handler (void); - - ///This method takes a <Deployment::ConnectionResourceDeploymentDescription> - ///and maps the values from the passed in XSC - ///ConnectionResourceDeploymentDescription to its members. - void get_ConnectionResourceDeploymentDescription ( - Deployment::ConnectionResourceDeploymentDescription& toconfig, - ConnectionResourceDeploymentDescription& desc); - - static ConnectionResourceDeploymentDescription - connection_resource_depl_desc ( - const ::Deployment::ConnectionResourceDeploymentDescription& src); +namespace Config_Handlers +{ + +class ConnectionResourceDeploymentDescription; + +/* +* @class CRDD_Handler +* +* @brief Handler class for <ConnectionResourceDeploymentDescription> types. +* +* This class defines handler methods to map values from +* XSC ConnectionResourceDeploymentDescription objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export CRDD_Handler{ + +public: - }; - } +CRDD_Handler (void); +virtual ~CRDD_Handler (void); + +///This method takes a <Deployment::ConnectionResourceDeploymentDescription> +///and maps the values from the passed in XSC +///ConnectionResourceDeploymentDescription to its members. +void get_ConnectionResourceDeploymentDescription ( +Deployment::ConnectionResourceDeploymentDescription& toconfig, +ConnectionResourceDeploymentDescription& desc); + +static ConnectionResourceDeploymentDescription +connection_resource_depl_desc ( +const ::Deployment::ConnectionResourceDeploymentDescription& src); + +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/Common.h b/TAO/CIAO/tools/Config_Handlers/Common.h index 8109fa005e0..6057cbb74be 100644 --- a/TAO/CIAO/tools/Config_Handlers/Common.h +++ b/TAO/CIAO/tools/Config_Handlers/Common.h @@ -1,41 +1,41 @@ // $Id$ /** - * @file Common.h - * @author Will Otte <wotte@dre.vanderbilt.edu> - * - * Some common definitions for all config_handlers. - */ +* @file Common.h +* @author Will Otte <wotte@dre.vanderbilt.edu> +* +* Some common definitions for all config_handlers. +*/ #ifndef CONFIG_HANDLERS_COMMON_H #define CONFIG_HANDLERS_COMMON_H #include <string> namespace CIAO { - namespace Config_Handlers - { - /** - * @class Config_Error - * @brief Exception to communicate a config_handlers error - */ - class Config_Error - { - public: - Config_Error (const std::string &name, - const std::string &error) : - name_ (name), - error_ (error) - {}; - - /// Some identifying information about the element that - /// caused the error - std::string name_; - - /// A human readable error message - std::string error_; - - }; - } +namespace Config_Handlers +{ +/** +* @class Config_Error +* @brief Exception to communicate a config_handlers error +*/ +class Config_Error +{ +public: +Config_Error (const std::string &name, +const std::string &error) : +name_ (name), +error_ (error) +{}; + +/// Some identifying information about the element that +/// caused the error +std::string name_; + +/// A human readable error message +std::string error_; + +}; +} } #endif /* CONFIG_HANDLERS_COMMON_H */ - - + + diff --git a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp index 6c56f10a44e..e7f9fa0266d 100644 --- a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp @@ -3,32 +3,34 @@ #include "ComponentPropertyDescription_Handler.h" #include "DataType_Handler.h" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers { void ComponentPropertyDescription_Handler::component_property_description ( - const ComponentPropertyDescription& desc, - ::Deployment::ComponentPropertyDescription& toconfig) + const ComponentPropertyDescription& desc, + ::Deployment::ComponentPropertyDescription& toconfig) { + CIAO_TRACE("ComponentPropertyDescription_Handler::component_property_description"); toconfig.name = CORBA::string_dup (desc.name ().c_str ()); // Delegate the DataType to the // DataType_Handler. // @@ There is a lurking bug here. -//#if 0 + //#if 0 CORBA::TypeCode_ptr tcptr = toconfig.type.in (); - DataType_Handler::data_type (tcptr,desc.type ()); -//#endif /*if 0*/ + DataType_Handler::data_type (desc.type (), tcptr); + //#endif /*if 0*/ } - ComponentPropertyDescription + ComponentPropertyDescription ComponentPropertyDescription_Handler::component_property_description ( - const ::Deployment::ComponentPropertyDescription &src) + const ::Deployment::ComponentPropertyDescription &src) { + CIAO_TRACE("ComponentPropertyDescription_Handler::component_property_description - reverse"); XMLSchema::string< char > name ((src.name)); DataType dt (DataType_Handler::data_type (src.type)); ComponentPropertyDescription cpd (name,dt); diff --git a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.h b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.h index dffb9741455..f87edc7fcea 100644 --- a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file ComponentPropertyDescription_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file ComponentPropertyDescription_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ComponentPropertyDescription_Handler_H @@ -21,40 +21,40 @@ namespace Deployment { - struct ComponentPropertyDescription; +struct ComponentPropertyDescription; } namespace CIAO { - namespace Config_Handlers - { - class ComponentPropertyDescription; - - /* - * @class ComponentPropertyDescription_Handler - * - * @brief Handler class for <ComponentPortDescription> 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 Config_Handlers_Export ComponentPropertyDescription_Handler - { - public: - - /// This method maps the values from the XSC object - /// <ComponentPropertyDescription> to the CORBA IDL type - /// <Deployment::ComponentPropertyDescription>. - static void component_property_description ( - const ComponentPropertyDescription& desc, - ::Deployment::ComponentPropertyDescription& toconfig); - static ComponentPropertyDescription - component_property_description ( - const ::Deployment::ComponentPropertyDescription &src); - }; - } +namespace Config_Handlers +{ +class ComponentPropertyDescription; + +/* +* @class ComponentPropertyDescription_Handler +* +* @brief Handler class for <ComponentPortDescription> 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 Config_Handlers_Export ComponentPropertyDescription_Handler +{ +public: + +/// This method maps the values from the XSC object +/// <ComponentPropertyDescription> to the CORBA IDL type +/// <Deployment::ComponentPropertyDescription>. +static void component_property_description ( +const ComponentPropertyDescription& desc, +::Deployment::ComponentPropertyDescription& toconfig); +static ComponentPropertyDescription +component_property_description ( +const ::Deployment::ComponentPropertyDescription &src); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/Config_Handlers.mpc b/TAO/CIAO/tools/Config_Handlers/Config_Handlers.mpc index 9c0a1ebd96d..aee09c1e9c9 100644 --- a/TAO/CIAO/tools/Config_Handlers/Config_Handlers.mpc +++ b/TAO/CIAO/tools/Config_Handlers/Config_Handlers.mpc @@ -1,94 +1,100 @@ //$Id$ project (XSC_XML_Handlers) : acelib, xerces { - sharedname += XSC_XML_Handlers - dynamicflags = XSC_XML_HANDLERS_BUILD_DLL - macros += XML_USE_PTHREADS - requires += exceptions - includes += $(CIAO_ROOT)/tools/Config_Handlers - Source_Files { - ccd.cpp - cdd.cpp - cdp.cpp - cid.cpp - cpd.cpp - Deployment.cpp - iad.cpp - pcd.cpp - toplevel.cpp - Basic_Deployment_Data.cpp - } - - Header_Files { - XSC_XML_Handlers_Export.h - } +verbatim(gnuace, macros) { +override no_hidden_visibility = 1 +} + +sharedname += XSC_XML_Handlers +dynamicflags = XSC_XML_HANDLERS_BUILD_DLL +macros += XML_USE_PTHREADS +requires += exceptions +includes += $(CIAO_ROOT)/tools/Config_Handlers + +Source_Files { +ccd.cpp +cdd.cpp +cdp.cpp +cid.cpp +cpd.cpp +Deployment.cpp +iad.cpp +pcd.cpp +toplevel.cpp +Basic_Deployment_Data.cpp +} + +Header_Files { +XSC_XML_Handlers_Export.h +} } project (XSC_Config_Handlers) : ciao_deployment_stub, xerces, dynamicany, typecodefactory { - after += RT_CCM_Config_Handlers XSC_XML_Handlers XSC_DynAny_Handler - sharedname = XSC_Config_Handlers - dynamicflags = CONFIG_HANDLERS_BUILD_DLL - macros += XML_USE_PTHREADS - requires += exceptions - includes += $(CIAO_ROOT)/tools/Config_Handlers - libs += CIAO_XML_Utils RT_CCM_Config_Handlers XSC_XML_Handlers XSC_DynAny_Handler - Source_Files { - DP_Handler.cpp - CCD_Handler.cpp - Property_Handler.cpp - ComponentPropertyDescription_Handler.cpp - DP_PCD_Handler.cpp - CPD_Handler.cpp - DataType_Handler.cpp - MDD_Handler.cpp - Req_Handler.cpp - CPD_Handler.cpp - Any_Handler.cpp - ComponentPropertyDescription_Handler.cpp - DataType_Handler.cpp - MDD_Handler.cpp - Req_Handler.cpp - CEPE_Handler.cpp - PSPE_Handler.cpp - ERE_Handler.cpp - CRDD_Handler.cpp - IDD_Handler.cpp - ADD_Handler.cpp - ComponentPropertyDescription_Handler.cpp - RDD_Handler.cpp - ID_Handler.cpp - XML_File_Intf.cpp - IDREF_Base.cpp - DnC_Dump.cpp - DnC_Dump_T.cpp - Dump_Obj.cpp - STD_CID_Handler.cpp - STD_CPD_Handler.cpp - STD_IAD_Handler.cpp - STD_PC_Intf.cpp - STD_PCD_Handler.cpp - PCD_Handler.cpp - IRDD_Handler.cpp - DD_Handler.cpp - } +verbatim(gnuace, macros) { +override no_hidden_visibility = 1 +} + +after += RT_CCM_Config_Handlers XSC_XML_Handlers XSC_DynAny_Handler +sharedname = XSC_Config_Handlers +dynamicflags = CONFIG_HANDLERS_BUILD_DLL +macros += XML_USE_PTHREADS +requires += exceptions +includes += $(CIAO_ROOT)/tools/Config_Handlers +libs += CIAO_XML_Utils RT_CCM_Config_Handlers XSC_XML_Handlers XSC_DynAny_Handler + +Source_Files { +SatisfierProperty_Handler.cpp +DP_Handler.cpp +CCD_Handler.cpp +Property_Handler.cpp +ComponentPropertyDescription_Handler.cpp +DP_PCD_Handler.cpp +CPD_Handler.cpp +DataType_Handler.cpp +MDD_Handler.cpp +Req_Handler.cpp +CPD_Handler.cpp +Any_Handler.cpp +ComponentPropertyDescription_Handler.cpp +DataType_Handler.cpp +MDD_Handler.cpp +Req_Handler.cpp +CEPE_Handler.cpp +PSPE_Handler.cpp +ERE_Handler.cpp +CRDD_Handler.cpp +IDD_Handler.cpp +ADD_Handler.cpp +ComponentPropertyDescription_Handler.cpp +RDD_Handler.cpp +ID_Handler.cpp +XML_File_Intf.cpp +IDREF_Base.cpp +DnC_Dump.cpp +DnC_Dump_T.cpp +Dump_Obj.cpp +PCD_Handler.cpp +IRDD_Handler.cpp +DD_Handler.cpp +} - Header_Files { - Config_Handlers_Export.h - } +Header_Files { +Config_Handlers_Export.h +} } project (XSC_Config_Handlers_Tests) : ciao_component_dnc, ciao_config_handlers, ifr_client { - requires += dummy_label - includes += $(CIAO_ROOT)/tools/Config_Handlers - exename = test - dynamicflags = CONFIG_HANDLERS_BUILD_DLL - macros += XML_USE_PTHREAD/S +// requires += dummy_label +includes += $(CIAO_ROOT)/tools/Config_Handlers +exename = test +dynamicflags = CONFIG_HANDLERS_BUILD_DLL +macros += XML_USE_PTHREAD/S - Source_Files { - test.cpp - } +Source_Files { +test.cpp +} } diff --git a/TAO/CIAO/tools/Config_Handlers/DD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DD_Handler.cpp index 939b2437f4c..f9c71d19ac6 100644 --- a/TAO/CIAO/tools/Config_Handlers/DD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DD_Handler.cpp @@ -1,5 +1,6 @@ // $Id$ #include "Utils/XML_Helper.h" +#include "SatisfierProperty_Handler.h" #include "DD_Handler.h" #include "Any_Handler.h" #include "Deployment.hpp" @@ -17,21 +18,22 @@ namespace CIAO domain_ (0), retval_ (false) { + CIAO_TRACE("DP_PCD_Handler::constructor"); XML_Helper helper; if (CIAO::debug_level () > 9) - { - ACE_DEBUG ((LM_DEBUG , "inside DD_Handler")); - } + { + ACE_DEBUG ((LM_DEBUG , "inside DD_Handler")); + } XERCES_CPP_NAMESPACE::DOMDocument *dom = helper.create_dom (file); if (CIAO::debug_level () > 9) - { - ACE_DEBUG ((LM_DEBUG , "after create dom")); - } + { + ACE_DEBUG ((LM_DEBUG , "after create dom")); + } if (!dom) throw DD_Handler::NoDomain (); @@ -39,20 +41,20 @@ namespace CIAO Domain *dm = new Domain (domain (dom)); -// Domain d = domain (dom); + // Domain d = domain (dom); if (CIAO::debug_level () > 9) - { - ACE_DEBUG ((LM_DEBUG , "dom")); - } + { + ACE_DEBUG ((LM_DEBUG , "dom")); + } this->domain_.reset (dm); if (CIAO::debug_level () > 9) - { - ACE_DEBUG ((LM_DEBUG , "after reset")); - } + { + ACE_DEBUG ((LM_DEBUG , "after reset")); + } if (!this->build_domain ()) throw NoDomain (); @@ -63,6 +65,7 @@ namespace CIAO domain_(dmn), retval_(false) { + CIAO_TRACE("DP_PCD_Handler::constructor - Domain"); if(!this->build_domain ()) throw NoDomain (); } @@ -83,35 +86,41 @@ namespace CIAO bool DD_Handler::build_domain () { + CIAO_TRACE("DP_PCD_Handler::build_domain"); this->idl_domain_.reset ( new ::Deployment::Domain ); // Read in the name - this->idl_domain_->label = - CORBA::string_dup (domain_->label ().c_str ()); + // Check if the label is there or not + if (domain_->label_p ()) + this->idl_domain_->label = + CORBA::string_dup (domain_->label ().c_str ()); - this->idl_domain_->UUID = - CORBA::string_dup (domain_->UUID ().c_str ()); + if (domain_->UUID_p ()) + this->idl_domain_->UUID = + CORBA::string_dup (domain_->UUID ().c_str ()); CORBA::ULong len = domain_->count_node (); this->idl_domain_->node.length (len); if (CIAO::debug_level () > 9) - { - ACE_DEBUG ((LM_DEBUG , "The node length is [%d]\n",len)); - } + { + ACE_DEBUG ((LM_DEBUG , "The node length is [%d]\n",len)); + } //Resource _resource; int i =0; for (Domain::node_const_iterator iter = domain_->begin_node (); iter != domain_->end_node (); ++iter,++i - ) + ) { // Node* thisNode = (Node*)iter; this->idl_domain_->node[i].name = CORBA::string_dup (iter->name ().c_str ()); - this->idl_domain_->node[i].label = - CORBA::string_dup (iter->label ().c_str ()); + + if (iter->label_p ()) + this->idl_domain_->node[i].label = + CORBA::string_dup (iter->label ().c_str ()); // length is hard-coded for now ... // here iterate over the resources ... @@ -146,27 +155,33 @@ namespace CIAO CORBA::ULong property_len = res_iter->count_property (); this->idl_domain_->node[i].resource[res_id].property.length (property_len); - int property_id =0; + // int property_id =0; + std::for_each (res_iter->begin_property (), + res_iter->end_property (), + SatisfierProperty_Functor (this->idl_domain_->node[i].resource[res_id].property)); + + /* //FOR EACH PROPERTY for (Resource::property_const_iterator property_iter = - res_iter->begin_property (); - property_iter != res_iter->end_property (); - property_iter++, property_id++) - { - this->idl_domain_->node[i].resource[res_id].property[property_id ].name = - CORBA::string_dup (property_iter->name ().c_str ()); - - - this->idl_domain_->node[i].resource[res_id].property[property_id].kind = - ::Deployment::Quantity; - - Any the_any = property_iter->value (); - CORBA::Any a_corba_any; - Any_Handler::extract_into_any (the_any , a_corba_any); - this->idl_domain_->node[i].resource[res_id].property[property_id].value - = a_corba_any; - } + res_iter->begin_property (); + property_iter != res_iter->end_property (); + property_iter++, property_id++) + { + this->idl_domain_->node[i].resource[res_id].property[property_id ].name = + CORBA::string_dup (property_iter->name ().c_str ()); + + + this->idl_domain_->node[i].resource[res_id].property[property_id].kind = + ::Deployment::Quantity; + + Any the_any = property_iter->value (); + CORBA::Any a_corba_any; + Any_Handler::extract_into_any (the_any , a_corba_any); + this->idl_domain_->node[i].resource[res_id].property[property_id].value + = a_corba_any; + } + */ } } diff --git a/TAO/CIAO/tools/Config_Handlers/DD_Handler.h b/TAO/CIAO/tools/Config_Handlers/DD_Handler.h index dcf1e69b073..89aef35182d 100644 --- a/TAO/CIAO/tools/Config_Handlers/DD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DD_Handler.h @@ -1,14 +1,14 @@ // $Id$ //====================================== /** - * @file DD_Handler.h - * - * @brief Contains the Domain Descriptior - * Handler - * - * @author Nilabja Roy <nilabjar@dre.vanderbilt.edu> - * - */ +* @file DD_Handler.h +* +* @brief Contains the Domain Descriptior +* Handler +* +* @author Nilabja Roy <nilabjar@dre.vanderbilt.edu> +* +*/ //====================================== #ifndef CIAO_CONFIG_HANDLERS_DD_HANDLER_H @@ -25,114 +25,114 @@ namespace Deployment { - struct Domain; +struct Domain; } namespace CIAO { - namespace Config_Handlers - { - class Domain; - - /* - * @class DD_Handler - * - * @brief Handler class for <Domain> - */ - - class Config_Handlers_Export DD_Handler - { - public: - class NoDomain {}; - - /** - * @operation constructor - * - * @param The file to be read - */ - DD_Handler (const ACE_TCHAR *file); - - /** - * @operation constructor - * - * @param dmn The Domain structure - */ - DD_Handler(Domain *dmn); - - /** - * @operation constructor - * - * @param dmn The Deployment::Domain structure - */ - DD_Handler(::Deployment::Domain *dmn); - - /** - * @operation destructor - * - */ - ~DD_Handler (void); - - /** - * @operation domain_idl - * - * @brief Returns the const IDL domain - * @return Domain* the IDL domain pointer - */ - ::Deployment::Domain const *domain_idl (void) const - throw (NoDomain); - - /** - * @operation domain_idl - * - * @brief Returns the IDL domain - * @return Domain* the IDL domain pointer - */ - ::Deployment::Domain *domain_idl (void) - throw (NoDomain); - - /** - * @operation domain_xsc - * - * @brief Returns the const XSC domain - * @return Domain* the XSC domain pointer - */ - Domain const *domain_xsc (void) const - throw (NoDomain); - - /** - * @operation domain_xsc - * - * @brief Returns the XSC domain - * @return Domain* the XSC domain pointer - */ - Domain *domain_xsc (void) - throw (NoDomain); - - private: - /** - * @operation build_domain - * - * @brief builds the domain structure - */ - bool build_domain (); - - /** - * @operation build_xsc - * - * @brief builds the XSC data structure - */ - bool build_xsc (); - - /// The Deployment Domain structure - auto_ptr < ::Deployment::Domain > idl_domain_; - - /// The XSC Domain structure - auto_ptr <Domain> domain_; - - /// The return value used - bool retval_; - }; - } +namespace Config_Handlers +{ +class Domain; + +/* +* @class DD_Handler +* +* @brief Handler class for <Domain> +*/ + +class Config_Handlers_Export DD_Handler +{ +public: +class NoDomain {}; + +/** +* @operation constructor +* +* @param The file to be read +*/ +DD_Handler (const ACE_TCHAR *file); + +/** +* @operation constructor +* +* @param dmn The Domain structure +*/ +DD_Handler(Domain *dmn); + +/** +* @operation constructor +* +* @param dmn The Deployment::Domain structure +*/ +DD_Handler(::Deployment::Domain *dmn); + +/** +* @operation destructor +* +*/ +~DD_Handler (void); + +/** +* @operation domain_idl +* +* @brief Returns the const IDL domain +* @return Domain* the IDL domain pointer +*/ +::Deployment::Domain const *domain_idl (void) const +throw (NoDomain); + +/** +* @operation domain_idl +* +* @brief Returns the IDL domain +* @return Domain* the IDL domain pointer +*/ +::Deployment::Domain *domain_idl (void) +throw (NoDomain); + +/** +* @operation domain_xsc +* +* @brief Returns the const XSC domain +* @return Domain* the XSC domain pointer +*/ +Domain const *domain_xsc (void) const +throw (NoDomain); + +/** +* @operation domain_xsc +* +* @brief Returns the XSC domain +* @return Domain* the XSC domain pointer +*/ +Domain *domain_xsc (void) +throw (NoDomain); + +private: +/** +* @operation build_domain +* +* @brief builds the domain structure +*/ +bool build_domain (); + +/** +* @operation build_xsc +* +* @brief builds the XSC data structure +*/ +bool build_xsc (); + +/// The Deployment Domain structure +auto_ptr < ::Deployment::Domain > idl_domain_; + +/// The XSC Domain structure +auto_ptr <Domain> domain_; + +/// The return value used +bool retval_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DP_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DP_Handler.cpp index 00aacd892c9..f2b4a39b5cb 100644 --- a/TAO/CIAO/tools/Config_Handlers/DP_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DP_Handler.cpp @@ -5,6 +5,7 @@ #endif #include "DP_Handler.h" +#include "ace/UUID.h" #include "ciao/Deployment_DataC.h" #include "CCD_Handler.h" @@ -18,273 +19,284 @@ #include "RT-CCM/CIAOServerResources.hpp" #include "DP_PCD_Handler.h" - + ACE_RCSID (Config_Handlers, DP_Handler, "$Id$") -namespace CIAO -{ - namespace Config_Handlers + namespace CIAO { - DP_Handler::DP_Handler (DeploymentPlan &dp) - : xsc_dp_ (0) + namespace Config_Handlers + { + DP_Handler::DP_Handler (DeploymentPlan &dp) + : xsc_dp_ (0) , idl_dp_ (0) , retval_ (true) - { - if (!this->resolve_plan (dp)) - throw; - } - - DP_Handler::DP_Handler (const ::Deployment::DeploymentPlan &plan) - : xsc_dp_ (new DeploymentPlan), - idl_dp_ (0), - retval_ (0) - { - if (!this->build_xsc (plan)) - throw; - } - - DP_Handler::~DP_Handler (void) - throw () - { - } - - DeploymentPlan const * - DP_Handler::xsc (void) const - throw (DP_Handler::NoPlan) - { - if (this->retval_ && this->xsc_dp_.get () != 0) - return this->xsc_dp_.get (); - - throw NoPlan (); - } - - DeploymentPlan * - DP_Handler::xsc (void) - throw (DP_Handler::NoPlan) - { - if (this->retval_ && this->xsc_dp_.get () != 0) - return this->xsc_dp_.release (); - - throw NoPlan (); - } - - ::Deployment::DeploymentPlan const * - DP_Handler::plan (void) const - throw (DP_Handler::NoPlan) - { - if (this->retval_ && this->idl_dp_.get () != 0) - return this->idl_dp_.get (); - - throw NoPlan (); - } + { + if (!this->resolve_plan (dp)) + throw; + } - ::Deployment::DeploymentPlan * - DP_Handler::plan (void) - throw (DP_Handler::NoPlan) - { - if (this->retval_ && this->idl_dp_.get () != 0) - return this->idl_dp_.release (); + DP_Handler::DP_Handler (const ::Deployment::DeploymentPlan &plan) + : xsc_dp_ (new DeploymentPlan), + idl_dp_ (0), + retval_ (0) + { + if (!this->build_xsc (plan)) + throw; + } - throw NoPlan (); - } + DP_Handler::~DP_Handler (void) + throw () + { + } - bool - DP_Handler::resolve_plan (DeploymentPlan &xsc_dp) - { - ::Deployment::DeploymentPlan *tmp = - new Deployment::DeploymentPlan; - - this->idl_dp_.reset (tmp); - - // Read in the label, if present, since minoccurs = 0 - if (xsc_dp.label_p ()) - { - this->idl_dp_->label = - CORBA::string_dup (xsc_dp.label ().c_str ()); - } - - // Read in the UUID, if present - if (xsc_dp.UUID_p ()) - { - this->idl_dp_->UUID = - CORBA::string_dup (xsc_dp.UUID ().c_str ()); - } - - // Similar thing for dependsOn - for (DeploymentPlan::dependsOn_const_iterator dstart = xsc_dp.begin_dependsOn (); - dstart != xsc_dp.end_dependsOn (); - ++dstart) + DeploymentPlan const * + DP_Handler::xsc (void) const + throw (DP_Handler::NoPlan) { - CORBA::ULong len = this->idl_dp_->dependsOn.length (); - this->idl_dp_->dependsOn.length (len + 1); - ID_Handler::get_ImplementationDependency ( - this->idl_dp_->dependsOn [len], - *dstart); + if (this->retval_ && this->xsc_dp_.get () != 0) + return this->xsc_dp_.get (); + throw NoPlan (); } - // ... An the property stuff - for (DeploymentPlan::infoProperty_const_iterator pstart = xsc_dp.begin_infoProperty (); - pstart != xsc_dp.end_infoProperty (); - ++pstart) - { - CORBA::ULong len = - this->idl_dp_->infoProperty.length (); - - this->idl_dp_->infoProperty.length (len + 1); - - if (pstart->name () != "CIAOServerResources") - Property_Handler::get_property (*pstart, - this->idl_dp_->infoProperty [len]); - else - { - /* - * Hook for RT-CCM - */ - - - ACE_DEBUG ((LM_DEBUG, - "Importing ServerResources...\n")); - - // Parse the SR document - SRD_Handler srd_handler (pstart->value ().value ().begin_string ()->c_str ()); - - // Populate the property - this->idl_dp_->infoProperty [len].name = pstart->name ().c_str (); - this->idl_dp_->infoProperty [len].value <<= *(srd_handler.srd_idl ()); - } - } - // Read in the realizes, if present - if (xsc_dp.realizes_p ()) + DeploymentPlan * + DP_Handler::xsc (void) + throw (DP_Handler::NoPlan) { - CCD_Handler::component_interface_descr ( - xsc_dp.realizes (), - this->idl_dp_->realizes); + if (this->retval_ && this->xsc_dp_.get () != 0) + return this->xsc_dp_.release (); + + throw NoPlan (); } - ADD_Handler::artifact_deployment_descrs (xsc_dp, - this->idl_dp_->artifact); - - MDD_Handler::mono_deployment_descriptions (xsc_dp, - this->idl_dp_->implementation); - - IDD_Handler::instance_deployment_descrs (xsc_dp, - this->idl_dp_->instance); - - DP_PCD_Handler::plan_connection_descrs (xsc_dp, this->idl_dp_->connection); - - return true; - } - - bool - DP_Handler::build_xsc (const ::Deployment::DeploymentPlan &plan) - { - size_t len; //Used for checking the length of struct data members - - // Read in the label, if present, since minoccurs = 0 - if (plan.label != 0) + ::Deployment::DeploymentPlan const * + DP_Handler::plan (void) const + throw (DP_Handler::NoPlan) { - XMLSchema::string< char > i((plan.label)); - this->xsc_dp_->label(i); + if (this->retval_ && this->idl_dp_.get () != 0) + return this->idl_dp_.get (); + + throw NoPlan (); } - // Read in the UUID, if present - if (plan.UUID != 0) + ::Deployment::DeploymentPlan * + DP_Handler::plan (void) + throw (DP_Handler::NoPlan) { - XMLSchema::string< char > j((plan.UUID)); - this->xsc_dp_->UUID(j); + if (this->retval_ && this->idl_dp_.get () != 0) + return this->idl_dp_.release (); + + throw NoPlan (); } - // Similar thing for dependsOn - len = plan.dependsOn.length(); - for (size_t j = 0; - j < len; - ++j) + bool + DP_Handler::resolve_plan (DeploymentPlan &xsc_dp) { - this->xsc_dp_->add_dependsOn( - ID_Handler::impl_dependency( - plan.dependsOn[j])); + CIAO_TRACE ("DP_Handler::resolve_plan"); + + ::Deployment::DeploymentPlan *tmp = + new Deployment::DeploymentPlan; + + this->idl_dp_.reset (tmp); + + // Read in the label, if present, since minoccurs = 0 + if (xsc_dp.label_p ()) + { + this->idl_dp_->label = + CORBA::string_dup (xsc_dp.label ().c_str ()); + } + + // Read in the UUID, if present + if (xsc_dp.UUID_p ()) + { + this->idl_dp_->UUID = + CORBA::string_dup (xsc_dp.UUID ().c_str ()); + } + + // Similar thing for dependsOn + for (DeploymentPlan::dependsOn_const_iterator dstart = xsc_dp.begin_dependsOn (); + dstart != xsc_dp.end_dependsOn (); + ++dstart) + { + CORBA::ULong len = this->idl_dp_->dependsOn.length (); + this->idl_dp_->dependsOn.length (len + 1); + ID_Handler::get_ImplementationDependency (*dstart, + this->idl_dp_->dependsOn [len]); + + } + + // ... An the property stuff + for (DeploymentPlan::infoProperty_const_iterator pstart = xsc_dp.begin_infoProperty (); + pstart != xsc_dp.end_infoProperty (); + ++pstart) + { + CORBA::ULong len = + this->idl_dp_->infoProperty.length (); + + this->idl_dp_->infoProperty.length (len + 1); + + if (pstart->name () != "CIAOServerResources") + Property_Handler::get_property (*pstart, + this->idl_dp_->infoProperty [len]); + else + { + /* + * Hook for RT-CCM + */ + + + ACE_DEBUG ((LM_DEBUG, + "Importing ServerResources...\n")); + + // Parse the SR document + SRD_Handler srd_handler (pstart->value ().value ().begin_string ()->c_str ()); + + // Populate the property + this->idl_dp_->infoProperty [len].name = pstart->name ().c_str (); + this->idl_dp_->infoProperty [len].value <<= *(srd_handler.srd_idl ()); + } + } + // Read in the realizes, if present + if (xsc_dp.realizes_p ()) + { + CCD_Handler::component_interface_descr ( + xsc_dp.realizes (), + this->idl_dp_->realizes); + } + + ADD_Handler::artifact_deployment_descrs (xsc_dp, + this->idl_dp_->artifact); + + MDD_Handler::mono_deployment_descriptions (xsc_dp, + this->idl_dp_->implementation); + + IDD_Handler::instance_deployment_descrs (xsc_dp, + this->idl_dp_->instance); + + DP_PCD_Handler::plan_connection_descrs (xsc_dp, this->idl_dp_->connection); + + return true; } - // ... And the property stuff - len = plan.infoProperty.length(); - for (size_t q = 0; - q < len; - q++) + bool + DP_Handler::build_xsc (const ::Deployment::DeploymentPlan &plan) { - if (ACE_OS::strcmp (plan.infoProperty[q].name.in (), - "CIAOServerResources") == 0) + CIAO_TRACE ("DP_Handler::build_xsc"); + + // Initialize the UUID generator. + ACE_Utils::UUID_GENERATOR::instance ()->init (); + + // Clear IDREF tables + IDD_Handler::IDREF.unbind_refs (); + MDD_Handler::IDREF.unbind_refs (); + + + size_t len; //Used for checking the length of struct data members + + // Read in the label, if present, since minoccurs = 0 + if (plan.label != 0) + { + XMLSchema::string< char > i((plan.label)); + this->xsc_dp_->label(i); + } + + // Read in the UUID, if present + if (plan.UUID != 0) + { + XMLSchema::string< char > j((plan.UUID)); + this->xsc_dp_->UUID(j); + } + + // Similar thing for dependsOn + len = plan.dependsOn.length(); + for (size_t j = 0; + j < len; + ++j) + { + this->xsc_dp_->add_dependsOn( + ID_Handler::impl_dependency( + plan.dependsOn[j])); + } + + // ... And the property stuff + len = plan.infoProperty.length(); + for (size_t q = 0; + q < len; + q++) + { + if (ACE_OS::strcmp (plan.infoProperty[q].name.in (), + "CIAOServerResources") == 0) + { + ACE_DEBUG ((LM_ERROR, + "(%P|%t) DP_Handler: Dumping of ServerResources not currently supported.")); + continue; + } + + this->xsc_dp_->add_infoProperty ( + Property_Handler::get_property ( + plan.infoProperty[q])); + } + + + // We are assuming there is a realizes for the moment + // @@ We may want to change this at a later date by creating a sequence of + // @@ ComponentInterfaceDescriptions in the DeploymentPlan in ../ciao/Deployment_Data.idl + // @@ so we can check for length + this->xsc_dp_->realizes(CCD_Handler::component_interface_descr(plan.realizes)); + if (!this->xsc_dp_->realizes_p()) { ACE_DEBUG ((LM_ERROR, - "(%P|%t) DP_Handler: Dumping of ServerResources not currently supported.")); - continue; + "(%P|%t) DP_Handler: " + "Error parsing Component Interface Descriptor.")); + return false; } - - this->xsc_dp_->add_infoProperty ( - Property_Handler::get_property ( - plan.infoProperty[q])); - } + //Take care of the artifact(s) if they exist + len = plan.artifact.length(); + for(size_t k = 0; + k < len; + k++) + { + this->xsc_dp_->add_artifact ( + ADD_Handler::artifact_deployment_descr ( + plan.artifact[k])); + } - // We are assuming there is a realizes for the moment - // @@ We may want to change this at a later date by creating a sequence of - // @@ ComponentInterfaceDescriptions in the DeploymentPlan in ../ciao/Deployment_Data.idl - // @@ so we can check for length - this->xsc_dp_->realizes(CCD_Handler::component_interface_descr(plan.realizes)); - if (!this->xsc_dp_->realizes_p()) - { - ACE_DEBUG ((LM_ERROR, - "(%P|%t) DP_Handler: " - "Error parsing Component Interface Descriptor.")); - return false; - } + //Take care of the implementation(s) if they exist + len = plan.implementation.length(); + for(size_t l = 0; + l < len; + l++) + { + this->xsc_dp_->add_implementation ( + MDD_Handler::mono_deployment_description ( + plan.implementation[l])); + } - //Take care of the artifact(s) if they exist - len = plan.artifact.length(); - for(size_t k = 0; - k < len; - k++) - { - this->xsc_dp_->add_artifact ( - ADD_Handler::artifact_deployment_descr ( - plan.artifact[k])); - } - - //Take care of the implementation(s) if they exist - len = plan.implementation.length(); - for(size_t l = 0; - l < len; - l++) - { - this->xsc_dp_->add_implementation ( - MDD_Handler::mono_deployment_description ( - plan.implementation[l])); - } - - //Ditto for the instance(s) - len = plan.instance.length(); - for(size_t m = 0; - m < len; - m++) - { - this->xsc_dp_->add_instance ( - IDD_Handler::instance_deployment_descr ( - plan.instance[m])); - } + //Ditto for the instance(s) + len = plan.instance.length(); + for(size_t m = 0; + m < len; + m++) + { + this->xsc_dp_->add_instance ( + IDD_Handler::instance_deployment_descr ( + plan.instance[m])); + } - //Finally, take care of the Connection Planning - len = plan.connection.length(); - for(size_t n = 0; n < len; n++) - { - this->xsc_dp_->add_connection ( - DP_PCD_Handler::plan_connection_descr ( - plan.connection[n])); + //Finally, take care of the Connection Planning + len = plan.connection.length(); + for(size_t n = 0; n < len; n++) + { + this->xsc_dp_->add_connection ( + DP_PCD_Handler::plan_connection_descr ( + plan.connection[n])); + } + + retval_ = true; + return true; } - - retval_ = true; - return true; } } -} diff --git a/TAO/CIAO/tools/Config_Handlers/DP_Handler.h b/TAO/CIAO/tools/Config_Handlers/DP_Handler.h index b98f697e84b..50620822263 100644 --- a/TAO/CIAO/tools/Config_Handlers/DP_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DP_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file DP_Handler.h - * - * $Id$ - * - * @author Bala Natarajan <bala@dre.vanderbilt.edu> - */ +* @file DP_Handler.h +* +* $Id$ +* +* @author Bala Natarajan <bala@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_DP_HANDLER_H @@ -13,7 +13,9 @@ #include /**/ "ace/pre.h" #include "Config_Handlers_Export.h" -#include "ace/Auto_Ptr.h" +#include <memory> +using std::auto_ptr; + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -22,67 +24,67 @@ namespace Deployment { - struct DeploymentPlan ; +struct DeploymentPlan ; } namespace CIAO { - namespace Config_Handlers - { - class DeploymentPlan; - - /* - * @class DP_Handler - * - * @brief Handler for Deployment::DeploymentPlan - */ - class Config_Handlers_Export DP_Handler - { - public: - class NoPlan {}; - - /// Use this constructor if you want to use - /// the XSC->IDL mapping - DP_Handler (DeploymentPlan &dp); - - /// Use this constructor if you want to use - /// the IDL->XSC mapping - DP_Handler (const ::Deployment::DeploymentPlan &plan); - - ~DP_Handler (void) - throw (); - - /// Generates the IDL->XSC mapping. returns - /// null if the method fails or if the class was - /// constructed with the wrong source. - DeploymentPlan const *xsc (void) const - throw (NoPlan); - - DeploymentPlan *xsc (void) - throw (NoPlan); - - /// Generates the XSC->IDL mapping. returns null - /// if the method fails or the class was constructed - ::Deployment::DeploymentPlan const *plan (void) const - throw (NoPlan); - - ::Deployment::DeploymentPlan *plan (void) - throw (NoPlan); - - private: - - bool resolve_plan (DeploymentPlan &dp); - - bool build_xsc (const ::Deployment::DeploymentPlan &plan); - - private: - auto_ptr< DeploymentPlan > xsc_dp_; - - auto_ptr< ::Deployment::DeploymentPlan> idl_dp_; - - bool retval_; - }; - } +namespace Config_Handlers +{ +class DeploymentPlan; + +/* +* @class DP_Handler +* +* @brief Handler for Deployment::DeploymentPlan +*/ +class Config_Handlers_Export DP_Handler +{ +public: +class NoPlan {}; + +/// Use this constructor if you want to use +/// the XSC->IDL mapping +DP_Handler (DeploymentPlan &dp); + +/// Use this constructor if you want to use +/// the IDL->XSC mapping +DP_Handler (const ::Deployment::DeploymentPlan &plan); + +~DP_Handler (void) +throw (); + +/// Generates the IDL->XSC mapping. returns +/// null if the method fails or if the class was +/// constructed with the wrong source. +DeploymentPlan const *xsc (void) const +throw (NoPlan); + +DeploymentPlan *xsc (void) +throw (NoPlan); + +/// Generates the XSC->IDL mapping. returns null +/// if the method fails or the class was constructed +::Deployment::DeploymentPlan const *plan (void) const +throw (NoPlan); + +::Deployment::DeploymentPlan *plan (void) +throw (NoPlan); + +private: + +bool resolve_plan (DeploymentPlan &dp); + +bool build_xsc (const ::Deployment::DeploymentPlan &plan); + +private: +auto_ptr< DeploymentPlan > xsc_dp_; + +auto_ptr< ::Deployment::DeploymentPlan> idl_dp_; + +bool retval_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp index e468ec00357..c42bb8a5e51 100644 --- a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp @@ -9,19 +9,20 @@ #include "Basic_Deployment_Data.hpp" #include "cdp.hpp" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers { void DP_PCD_Handler::plan_connection_descrs ( - const DeploymentPlan &src, - Deployment::PlanConnectionDescriptions& dest) + const DeploymentPlan &src, + Deployment::PlanConnectionDescriptions& dest) { + CIAO_TRACE("DP_PCD_Handler::plan_connection_descrs"); DeploymentPlan::connection_const_iterator cci_e = src.end_connection (); - + CORBA::ULong pos = 0; dest.length (src.count_connection ()); for (DeploymentPlan::connection_const_iterator cci_b = @@ -33,20 +34,22 @@ namespace CIAO dest[pos++]); } } - + PlanConnectionDescription DP_PCD_Handler::plan_connection_descr ( - const Deployment::PlanConnectionDescription &src) + const Deployment::PlanConnectionDescription &src) { - PlanConnectionDescription pcd = PCD_Handler::get_PlanConnectionDescription(src); - return pcd; + CIAO_TRACE("DP_PCD_Handler::plan_connection_descr"); + PlanConnectionDescription pcd = PCD_Handler::get_PlanConnectionDescription(src); + return pcd; } void DP_PCD_Handler::plan_connection_descr ( - const PlanConnectionDescription &src, - Deployment::PlanConnectionDescription &dest) + const PlanConnectionDescription &src, + Deployment::PlanConnectionDescription &dest) { + CIAO_TRACE("DP_PCD_Handler::plan_connection_descr - reverse"); dest.name = src.name ().c_str (); @@ -74,11 +77,11 @@ namespace CIAO CRDD_Handler crddhandler; toconfig.deployedResource.length ( - toconfig.deployedResource.length () + 1); + toconfig.deployedResource.length () + 1); crddhandler.get_ConnectionResourceDeploymentDescription ( - toconfig.deployedResource[toconfig.deployedResource.length () - 1], - desc.deployedResource ()); + toconfig.deployedResource[toconfig.deployedResource.length () - 1], + desc.deployedResource ()); } if (desc.deployRequirement_p ()) @@ -91,10 +94,10 @@ namespace CIAO //Increase the sequence length and delgate //the Requirement to the Req_Handler. toconfig.deployRequirement.length ( - toconfig.deployRequirement.length () + 1); + toconfig.deployRequirement.length () + 1); reqhandler.get_Requirement ( - toconfig.deployRequirement[toconfig.deployRequirement.length () - 1], - desc.deployRequirement ()); + toconfig.deployRequirement[toconfig.deployRequirement.length () - 1], + desc.deployRequirement ()); } diff --git a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.h b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.h index cc411c37383..8e04c612bc9 100644 --- a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.h @@ -1,13 +1,13 @@ //============================================================== /** - * @file DP_PCD_Handler.h - * - * $Id$ - * - * Handler for Deployment::PlanConnectionHandler - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file DP_PCD_Handler.h +* +* $Id$ +* +* Handler for Deployment::PlanConnectionHandler +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_DP_PCD_HANDLER_H @@ -22,45 +22,45 @@ namespace Deployment { - struct PlanConnectionDescription; - class PlanConnectionDescriptions; +struct PlanConnectionDescription; +class PlanConnectionDescriptions; } namespace CIAO { - namespace Config_Handlers - { - class DeploymentPlan; - class PlanConnectionDescription; +namespace Config_Handlers +{ +class DeploymentPlan; +class PlanConnectionDescription; - /* - * @class DP_PCD_Handler - * - * @brief Handler class for <PlanConnectionDescription> types. - * - * This class defines handler methods to map values from - * XSC PlanConnectionDescription objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ +/* +* @class DP_PCD_Handler +* +* @brief Handler class for <PlanConnectionDescription> types. +* +* This class defines handler methods to map values from +* XSC PlanConnectionDescription objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ - class Config_Handlers_Export DP_PCD_Handler - { - public: - static void plan_connection_descrs ( - const DeploymentPlan &src, - Deployment::PlanConnectionDescriptions& toconfig); +class Config_Handlers_Export DP_PCD_Handler +{ +public: +static void plan_connection_descrs ( +const DeploymentPlan &src, +Deployment::PlanConnectionDescriptions& toconfig); - static PlanConnectionDescription plan_connection_descr( - const Deployment::PlanConnectionDescription &src); +static PlanConnectionDescription plan_connection_descr( +const Deployment::PlanConnectionDescription &src); - private: - static void plan_connection_descr ( - const PlanConnectionDescription& desc, - Deployment::PlanConnectionDescription& toconfig); - }; - } +private: +static void plan_connection_descr ( +const PlanConnectionDescription& desc, +Deployment::PlanConnectionDescription& toconfig); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.cpp index c71f8701d6f..6ca290dbbe7 100644 --- a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.cpp @@ -2,7 +2,7 @@ #include "DataType_Handler.h" #include "tao/AnyTypeCode/TypeCode.h" - +#include "ciao/CIAO_common.h" namespace CIAO{ namespace Config_Handlers{ @@ -17,164 +17,163 @@ namespace CIAO{ ///This method takes a <CIAO::Config_Handlers::DataType> ///and returns the corresponding CORBA::TypeCode. void - DataType_Handler::data_type ( - CORBA::TypeCode_ptr& type, - const DataType& desc) + DataType_Handler::data_type (const DataType& desc, + CORBA::TypeCode_ptr& type) { + CIAO_TRACE("DataType_Handler::data_type"); + TCKind kind (desc.kind ()); + + switch (kind.integral ()) + { + case TCKind::tk_null_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_null); + break; + + case TCKind::tk_short_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_short); + break; + + case TCKind::tk_long_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_long); + break; + + case TCKind::tk_ushort_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_ushort); + break; + + case TCKind::tk_ulong_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_ulong); + break; + + case TCKind::tk_float_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_float); + break; + + case TCKind::tk_double_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_double); + break; + + case TCKind::tk_boolean_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_boolean); + break; + + case TCKind::tk_char_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_char); + break; + + case TCKind::tk_octet_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_octet); + break; - TCKind kind (desc.kind ()); - - switch (kind.integral ()) - { - case TCKind::tk_null_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_null); - break; - - case TCKind::tk_short_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_short); - break; - - case TCKind::tk_long_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_long); - break; - - case TCKind::tk_ushort_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_ushort); - break; - - case TCKind::tk_ulong_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_ulong); - break; - - case TCKind::tk_float_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_float); - break; - - case TCKind::tk_double_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_double); - break; - - case TCKind::tk_boolean_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_boolean); - break; - - case TCKind::tk_char_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_char); - break; - - case TCKind::tk_octet_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_octet); - break; - - case TCKind::tk_string_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_string); - break; - - case TCKind::tk_longlong_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_longlong); - break; - - case TCKind::tk_ulonglong_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_ulonglong); - break; - - case TCKind::tk_longdouble_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_longdouble); - break; - - case TCKind::tk_wchar_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_wchar); - break; - - case TCKind::tk_wstring_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_wstring); - break; - - case TCKind::tk_any_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_any); - break; - - case TCKind::tk_TypeCode_l: - type = CORBA::TypeCode::_duplicate (CORBA::_tc_TypeCode); - break; - - default: - ACE_ERROR ((LM_ERROR, "Invalid typecode in any\n")); - throw 1; - } - - // This case used to be supported...is it not in the schema? - // case TCKind::tk_Object) - // type = CORBA::TypeCode::_duplicate (CORBA::_tc_Object);*/ + case TCKind::tk_string_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_string); + break; + + case TCKind::tk_longlong_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_longlong); + break; + + case TCKind::tk_ulonglong_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_ulonglong); + break; + + case TCKind::tk_longdouble_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_longdouble); + break; + + case TCKind::tk_wchar_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_wchar); + break; + + case TCKind::tk_wstring_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_wstring); + break; + + case TCKind::tk_any_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_any); + break; + + case TCKind::tk_TypeCode_l: + type = CORBA::TypeCode::_duplicate (CORBA::_tc_TypeCode); + break; + + default: + ACE_ERROR ((LM_ERROR, "Invalid typecode in any\n")); + throw 1; + } + + // This case used to be supported...is it not in the schema? + // case TCKind::tk_Object) + // type = CORBA::TypeCode::_duplicate (CORBA::_tc_Object);*/ } DataType DataType_Handler::data_type ( - const CORBA::TypeCode_ptr& src) + const CORBA::TypeCode_ptr& src) { - - switch (src->kind ()) - { - case ::CORBA::tk_null: - return DataType ( (TCKind::tk_null)); - break; - case CORBA::tk_short: - return DataType ( (TCKind::tk_short)); - break; - case CORBA::tk_long: - return DataType ( (TCKind::tk_long)); - break; - case CORBA::tk_ushort: - return DataType ( (TCKind::tk_ushort)); - break; - case CORBA::tk_ulong: - return DataType ( (TCKind::tk_ulong)); - break; - case CORBA::tk_float: - return DataType ( (TCKind::tk_float)); - break; - case CORBA::tk_double: - return DataType ( (TCKind::tk_double)); - break; - case CORBA::tk_boolean: - return DataType ( (TCKind::tk_boolean)); - break; - case CORBA::tk_char: - return DataType ( (TCKind::tk_char)); - break; - case CORBA::tk_octet: - return DataType ( (TCKind::tk_octet)); - break; - case CORBA::tk_string: - return DataType ( (TCKind::tk_string)); - break; - case CORBA::tk_longlong: - return DataType ( (TCKind::tk_longlong)); - break; - case CORBA::tk_ulonglong: - return DataType ( (TCKind::tk_ulonglong)); - break; - case CORBA::tk_longdouble: - return DataType ( (TCKind::tk_longdouble)); - break; - case CORBA::tk_wchar: - return DataType ( (TCKind::tk_wchar)); - break; - case CORBA::tk_wstring: - return DataType ( (TCKind::tk_wstring)); - break; - case CORBA::tk_any: - return DataType ( (TCKind::tk_any)); - break; - case CORBA::tk_TypeCode: - return DataType ( (TCKind::tk_TypeCode)); - default: - ACE_ERROR ((LM_ERROR, "Invalid typecode\n")); - throw 1; - } - - + CIAO_TRACE("DataType_Handler::data_type - reverse"); + switch (src->kind ()) + { + case ::CORBA::tk_null: + return DataType ( (TCKind::tk_null)); + break; + case CORBA::tk_short: + return DataType ( (TCKind::tk_short)); + break; + case CORBA::tk_long: + return DataType ( (TCKind::tk_long)); + break; + case CORBA::tk_ushort: + return DataType ( (TCKind::tk_ushort)); + break; + case CORBA::tk_ulong: + return DataType ( (TCKind::tk_ulong)); + break; + case CORBA::tk_float: + return DataType ( (TCKind::tk_float)); + break; + case CORBA::tk_double: + return DataType ( (TCKind::tk_double)); + break; + case CORBA::tk_boolean: + return DataType ( (TCKind::tk_boolean)); + break; + case CORBA::tk_char: + return DataType ( (TCKind::tk_char)); + break; + case CORBA::tk_octet: + return DataType ( (TCKind::tk_octet)); + break; + case CORBA::tk_string: + return DataType ( (TCKind::tk_string)); + break; + case CORBA::tk_longlong: + return DataType ( (TCKind::tk_longlong)); + break; + case CORBA::tk_ulonglong: + return DataType ( (TCKind::tk_ulonglong)); + break; + case CORBA::tk_longdouble: + return DataType ( (TCKind::tk_longdouble)); + break; + case CORBA::tk_wchar: + return DataType ( (TCKind::tk_wchar)); + break; + case CORBA::tk_wstring: + return DataType ( (TCKind::tk_wstring)); + break; + case CORBA::tk_any: + return DataType ( (TCKind::tk_any)); + break; + case CORBA::tk_TypeCode: + return DataType ( (TCKind::tk_TypeCode)); + default: + ACE_ERROR ((LM_ERROR, "Invalid typecode\n")); + throw 1; + } + + } } diff --git a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h index eda2375fcee..97d512f2300 100644 --- a/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DataType_Handler.h @@ -1,59 +1,61 @@ //================================================ /** - * @file DataType_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file DataType_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================ #ifndef DATATYPE_HANDLER_H #define DATATYPE_HANDLER_H #include /**/ "ace/pre.h" - + #include "ciao/DeploymentC.h" #include "Basic_Deployment_Data.hpp" - - + +#include "Config_Handlers_Export.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ namespace CIAO{ - - namespace Config_Handlers{ - - /* - * @class DataType_Handler - * - * @brief Handler class for <ComponentPortDescription> 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 DataType_Handler{ - - public: - - DataType_Handler (void); - virtual ~DataType_Handler (void); - - ////This method takes a <CIAO::Config_Handlers::DataType> - ///and returns the corresponding CORBA::TypeCode. - static void - data_type (CORBA::TypeCode_ptr& type, - const DataType& desc); - - static DataType data_type (const CORBA::TypeCode_ptr& type); - }; - - } + +namespace Config_Handlers{ + +/* +* @class DataType_Handler +* +* @brief Handler class for <ComponentPortDescription> 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 Config_Handlers_Export DataType_Handler { + +public: + +DataType_Handler (void); +virtual ~DataType_Handler (void); + +////This method takes a <CIAO::Config_Handlers::DataType> +///and returns the corresponding CORBA::TypeCode. +static void +data_type (const DataType& desc, +CORBA::TypeCode_ptr& type); + + +static DataType data_type (const CORBA::TypeCode_ptr& type); +}; + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/Deployment.cpp b/TAO/CIAO/tools/Config_Handlers/Deployment.cpp index 3e4e5bd8497..3d4ddb419c0 100644 --- a/TAO/CIAO/tools/Config_Handlers/Deployment.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Deployment.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "Deployment.hpp" namespace CIAO @@ -34,15 +34,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "domain") - { - ::CIAO::Config_Handlers::Domain r (e); - return r; - } + { + ::CIAO::Config_Handlers::Domain r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::DeploymentPlan @@ -50,15 +50,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "deploymentPlan") - { - ::CIAO::Config_Handlers::DeploymentPlan r (e); - return r; - } + { + ::CIAO::Config_Handlers::DeploymentPlan r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ImplementationArtifactDescription @@ -66,15 +66,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "implementationArtifactDescription") - { - ::CIAO::Config_Handlers::ImplementationArtifactDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ImplementationArtifactDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentInterfaceDescription @@ -82,15 +82,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentInterfaceDescription") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentImplementationDescription @@ -98,15 +98,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentImplementationDescription") - { - ::CIAO::Config_Handlers::ComponentImplementationDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentImplementationDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentPackageDescription @@ -114,15 +114,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentPackageDescription") - { - ::CIAO::Config_Handlers::ComponentPackageDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentPackageDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::PackageConfiguration @@ -130,15 +130,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "packageConfiguration") - { - ::CIAO::Config_Handlers::PackageConfiguration r (e); - return r; - } + { + ::CIAO::Config_Handlers::PackageConfiguration r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::TopLevelPackageDescription @@ -146,15 +146,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "topLevelPackageDescription") - { - ::CIAO::Config_Handlers::TopLevelPackageDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::TopLevelPackageDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } } } @@ -201,39 +201,39 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "domain") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::Domain, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Node, - virtual ::CIAO::Config_Handlers::Writer::Interconnect, - virtual ::CIAO::Config_Handlers::Writer::Bridge, - virtual ::CIAO::Config_Handlers::Writer::Resource, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::SharedResource, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Node, + virtual ::CIAO::Config_Handlers::Writer::Interconnect, + virtual ::CIAO::Config_Handlers::Writer::Bridge, + virtual ::CIAO::Config_Handlers::Writer::Resource, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::SharedResource, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -247,51 +247,51 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "deploymentPlan") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::DeploymentPlan, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::MonolithicDeploymentDescription, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::InstanceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::InstanceResourceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::PlanConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::PlanSubcomponentPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ConnectionResourceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::CIAO::Config_Handlers::Writer::ArtifactDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ResourceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::MonolithicDeploymentDescription, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::InstanceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::InstanceResourceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::PlanConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::PlanSubcomponentPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ConnectionResourceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::CIAO::Config_Handlers::Writer::ArtifactDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ResourceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -305,34 +305,34 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "implementationArtifactDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -346,35 +346,35 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentInterfaceDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -388,59 +388,61 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentImplementationDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -454,59 +456,61 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentPackageDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -520,60 +524,61 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "packageConfiguration") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -587,61 +592,62 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "topLevelPackageDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::TopLevelPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; diff --git a/TAO/CIAO/tools/Config_Handlers/Deployment.hpp b/TAO/CIAO/tools/Config_Handlers/Deployment.hpp index d58335dfcb6..fd5d3efa2c8 100644 --- a/TAO/CIAO/tools/Config_Handlers/Deployment.hpp +++ b/TAO/CIAO/tools/Config_Handlers/Deployment.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,9 +27,9 @@ // namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include <memory> @@ -44,115 +44,113 @@ namespace CIAO #include "cdp.hpp" -#include "pcd.hpp" - #include "toplevel.hpp" namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } namespace CIAO { - namespace Config_Handlers - { - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::Domain - domain (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::DeploymentPlan - deploymentPlan (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::ImplementationArtifactDescription - implementationArtifactDescription (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::ComponentInterfaceDescription - componentInterfaceDescription (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::ComponentImplementationDescription - componentImplementationDescription (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::ComponentPackageDescription - componentPackageDescription (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::PackageConfiguration - packageConfiguration (xercesc::DOMDocument const*); - - XSC_XML_Handlers_Export - ::CIAO::Config_Handlers::TopLevelPackageDescription - topLevelPackageDescription (xercesc::DOMDocument const*); - } +namespace Config_Handlers +{ +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::Domain +domain (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::DeploymentPlan +deploymentPlan (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::ImplementationArtifactDescription +implementationArtifactDescription (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::ComponentInterfaceDescription +componentInterfaceDescription (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::ComponentImplementationDescription +componentImplementationDescription (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::ComponentPackageDescription +componentPackageDescription (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::PackageConfiguration +packageConfiguration (xercesc::DOMDocument const*); + +XSC_XML_Handlers_Export +::CIAO::Config_Handlers::TopLevelPackageDescription +topLevelPackageDescription (xercesc::DOMDocument const*); +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - } - } +namespace Config_Handlers +{ +namespace Traversal +{ +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - } - } +namespace Config_Handlers +{ +namespace Writer +{ +} +} } namespace CIAO { - namespace Config_Handlers - { - XSC_XML_Handlers_Export - void - domain (::CIAO::Config_Handlers::Domain const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - deploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - implementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - componentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - componentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - componentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - packageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const&, xercesc::DOMDocument*); - - XSC_XML_Handlers_Export - void - topLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const&, xercesc::DOMDocument*); - } +namespace Config_Handlers +{ +XSC_XML_Handlers_Export +void +domain (::CIAO::Config_Handlers::Domain const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +deploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +implementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +componentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +componentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +componentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +packageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const&, xercesc::DOMDocument*); + +XSC_XML_Handlers_Export +void +topLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const&, xercesc::DOMDocument*); +} } #endif // DEPLOYMENT_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/DnC_Dump.cpp b/TAO/CIAO/tools/Config_Handlers/DnC_Dump.cpp index 67cb9dbde72..cf99fe945bf 100644 --- a/TAO/CIAO/tools/Config_Handlers/DnC_Dump.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DnC_Dump.cpp @@ -101,15 +101,15 @@ namespace Deployment #if (_MSC_VER > 1200) dump_ref_seq<Deployment::Domain> ( - "sharedResourceRef", - node.sharedResourceRef, "Domain", - &Domain::sharedResource); + "sharedResourceRef", + node.sharedResourceRef, "Domain", + &Domain::sharedResource); dump_ref_seq<Deployment::Domain> ( - "connectionRef", - node.connectionRef, - "Domain", - &Domain::interconnect); + "connectionRef", + node.connectionRef, + "Domain", + &Domain::interconnect); #endif /* _MSC_VER */ dump_sequence ("resource", node.resource); @@ -125,16 +125,16 @@ namespace Deployment #if (_MSC_VER > 1200) dump_ref_seq<Deployment::Domain> ( - "connectionRef", - conn.connectionRef, - "Domain", - &Domain::bridge); + "connectionRef", + conn.connectionRef, + "Domain", + &Domain::bridge); dump_ref_seq<Deployment::Domain> ( - "connectRef", - conn.connectRef, - "Domain", - &Domain::node); + "connectRef", + conn.connectRef, + "Domain", + &Domain::node); #endif /*_MSC_VER*/ dump_sequence ("resource", @@ -151,10 +151,10 @@ namespace Deployment #if (_MSC_VER > 1200) dump_ref_seq<Deployment::Domain> ( - "connectRef", - bridge.connectRef, - "Domain", - &Domain::interconnect); + "connectRef", + bridge.connectRef, + "Domain", + &Domain::interconnect); #endif /*_MSC_VER*/ dump_sequence ("resource", bridge.resource); @@ -189,7 +189,7 @@ namespace Deployment // ComponentPortDescription void DnC_Dump::dump (const ::Deployment::ComponentPortDescription - &compportdesc) + &compportdesc) { Dump_Obj dump_obj("ComponentPortDescription"); @@ -334,7 +334,7 @@ namespace Deployment dump ("requirementName", irdd.requirementName); dump ("resourceName", irdd.resourceName); ACE_DEBUG ((LM_DEBUG, "%sresourceValue:\n", Dump_Obj::indent())); - dump (irdd.resourceValue); + dump_sequence ("property", irdd.property); } // InstanceDeploymentDescription @@ -411,7 +411,7 @@ namespace Deployment dump ("requirementName", crdd.requirementName); dump ("resourceName", crdd.resourceName); ACE_DEBUG ((LM_DEBUG, "%sresourceValue:\n", Dump_Obj::indent())); - dump (crdd.resourceValue); + dump_sequence ("properties", crdd.property); } // PlanConnectionDescription @@ -474,7 +474,7 @@ namespace Deployment dump ("requirementName", rdd.requirementName); dump ("resourceName", rdd.resourceName); ACE_DEBUG ((LM_DEBUG, "%sresourceValue:\n", Dump_Obj::indent())); - dump (rdd.resourceValue); + dump_sequence ("properties", rdd.property); } // ArtifactDeploymentDescription @@ -530,10 +530,10 @@ namespace Deployment Dump_Obj dump_obj("SubcomponentInstantiationDescription"); dump ("name", sid.name); - dump_sequence ("package", sid.package); + // dump_sequence ("basePackage", sid.package); dump_sequence ("configProperty", sid.configProperty); dump_sequence ("selectRequirement", sid.selectRequirement); - dump_sequence ("reference", sid.reference); + // dump_sequence ("reference", sid.reference); } // SubcomponentPortEndpoint @@ -654,11 +654,11 @@ namespace Deployment // MonolithicImplementationDescription void DnC_Dump::dump (const ::Deployment::MonolithicImplementationDescription - &mid) + &mid) { Dump_Obj dump_obj("MonolithicImplementationDescription"); - dump_sequence ("execParameter", mid.execParameter); + // dump_sequence ("execParameter", mid.execParameter); dump_sequence ("primaryArtifact", mid.primaryArtifact); dump_sequence ("deployRequirement", mid.deployRequirement); } @@ -677,7 +677,7 @@ namespace Deployment // ComponentImplementationDescription void DnC_Dump::dump ( - const ::Deployment::ComponentImplementationDescription &cid) + const ::Deployment::ComponentImplementationDescription &cid) { Dump_Obj dump_obj("ComponentImplementationDescription"); @@ -708,7 +708,7 @@ namespace Deployment // ComponentPackageDescription void DnC_Dump::dump (const ::Deployment::ComponentPackageDescription - &comppkgdesc) + &comppkgdesc) { Dump_Obj dump_obj("ComponentPackageDescription"); @@ -768,7 +768,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC_Dump::dump (CORBA::Any), expected short\ - encoded different type")); +encoded different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %d \n", Dump_Obj::indent (), @@ -790,7 +790,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected long\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %d \n", Dump_Obj::indent (), @@ -804,7 +804,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected u short\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %u \n", Dump_Obj::indent (), @@ -818,7 +818,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected ulong\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %u \n", Dump_Obj::indent (), @@ -832,7 +832,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected float\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %f \n", Dump_Obj::indent (), @@ -845,7 +845,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected double\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %f \n", Dump_Obj::indent (), @@ -858,7 +858,7 @@ namespace Deployment if (! (any >>= CORBA::Any::to_boolean (temp))) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected bool\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } @@ -875,7 +875,7 @@ namespace Deployment if (! (any >>= CORBA::Any::to_char (temp))) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected char\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %c \n", Dump_Obj::indent (), @@ -889,7 +889,7 @@ namespace Deployment if (! (any >>= CORBA::Any::to_octet (temp))) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected octet\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %d \n", Dump_Obj::indent (), @@ -903,7 +903,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected string\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %s \n", Dump_Obj::indent (), @@ -916,7 +916,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected longlong\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %l \n", Dump_Obj::indent (), @@ -930,7 +930,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected longdouble\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %d \n", Dump_Obj::indent (), @@ -944,7 +944,7 @@ namespace Deployment if (! (any >>= CORBA::Any::to_wchar (temp))) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected wchar\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %c \n", Dump_Obj::indent (), @@ -958,7 +958,7 @@ namespace Deployment if (! (any >>= temp)) { ACE_DEBUG ((LM_DEBUG, "DnC::dump (CORBA::Any) expected wstring\ - encoded with different type")); +encoded with different type")); ACE_THROW (CORBA::INTERNAL ()); } ACE_DEBUG ((LM_DEBUG, "%sAny value: %s \n", Dump_Obj::indent (), diff --git a/TAO/CIAO/tools/Config_Handlers/DnC_Dump.h b/TAO/CIAO/tools/Config_Handlers/DnC_Dump.h index e4fbf255f21..fbc56b96361 100644 --- a/TAO/CIAO/tools/Config_Handlers/DnC_Dump.h +++ b/TAO/CIAO/tools/Config_Handlers/DnC_Dump.h @@ -1,11 +1,11 @@ //================================================================== /** - * @file DnC_Dump.h - * - * $Id$ - * - * @author Gan Deng <gan.deng@vanderbilt.edu> - */ +* @file DnC_Dump.h +* +* $Id$ +* +* @author Gan Deng <gan.deng@vanderbilt.edu> +*/ //===================================================================== #ifndef DNC_DUMP_H @@ -22,130 +22,130 @@ namespace Deployment { - /** - * @class DnC_Dump - * - * @brief This class defines a set of overloaded "dump" methods to print - * the contents of various IDL data types, which passed as input. - */ - class Config_Handlers_Export DnC_Dump - { - public: - /// Dump functions for CORBA sequences - static void dump (const char* caption, - const ::CORBA::StringSeq &str_seq); +/** +* @class DnC_Dump +* +* @brief This class defines a set of overloaded "dump" methods to print +* the contents of various IDL data types, which passed as input. +*/ +class Config_Handlers_Export DnC_Dump +{ +public: +/// Dump functions for CORBA sequences +static void dump (const char* caption, +const ::CORBA::StringSeq &str_seq); - static void dump (const char* caption, const TAO_String_Manager& str); +static void dump (const char* caption, const TAO_String_Manager& str); - static void dump (const char* caption, const CORBA::Boolean& val); +static void dump (const char* caption, const CORBA::Boolean& val); - /// A whole slew of overloaded dump routines for different IDL - /// data types. +/// A whole slew of overloaded dump routines for different IDL +/// data types. - static void dump(const Deployment::SatisfierProperty &sp); +static void dump(const Deployment::SatisfierProperty &sp); - static void dump (const Deployment::SharedResource& sr); +static void dump (const Deployment::SharedResource& sr); - static void dump (const Deployment::Node& node); +static void dump (const Deployment::Node& node); - static void dump (const Deployment::Resource& resource); +static void dump (const Deployment::Resource& resource); - static void dump (const Deployment::Interconnect& conn); +static void dump (const Deployment::Interconnect& conn); - static void dump (const Deployment::Bridge& bridge); +static void dump (const Deployment::Bridge& bridge); - static void dump (const ::Deployment::Property &property); +static void dump (const ::Deployment::Property &property); - static void dump (const ::Deployment::AssemblyConnectionDescription &acd); +static void dump (const ::Deployment::AssemblyConnectionDescription &acd); - static void dump (const ::Deployment::AssemblyPropertyMapping &apm); +static void dump (const ::Deployment::AssemblyPropertyMapping &apm); - static void dump (const ::Deployment::ComponentPackageDescription - &comppkgdesc); +static void dump (const ::Deployment::ComponentPackageDescription +&comppkgdesc); - static void dump (const ::Deployment::ComponentPortDescription - &compportdesc); +static void dump (const ::Deployment::ComponentPortDescription +&compportdesc); - static void dump (const ::Deployment::ComponentPropertyDescription - &comppropdesc); +static void dump (const ::Deployment::ComponentPropertyDescription +&comppropdesc); - static void dump (const ::Deployment::MonolithicImplementationDescription - &mid); +static void dump (const ::Deployment::MonolithicImplementationDescription +&mid); - static void dump (const ::Deployment::PackageConfiguration &pc); +static void dump (const ::Deployment::PackageConfiguration &pc); - static void dump (const ::Deployment::PackagedComponentImplementation - &pci); +static void dump (const ::Deployment::PackagedComponentImplementation +&pci); - static void dump (const ::Deployment::SubcomponentPortEndpoint &spe); +static void dump (const ::Deployment::SubcomponentPortEndpoint &spe); - static void dump (const ::Deployment::Requirement &requirement); +static void dump (const ::Deployment::Requirement &requirement); - static void dump (const ::Deployment::ComponentExternalPortEndpoint - &cepe); +static void dump (const ::Deployment::ComponentExternalPortEndpoint +&cepe); - static void dump (const ::Deployment::ComponentPackageReference &cpr); +static void dump (const ::Deployment::ComponentPackageReference &cpr); - static void dump (const ::Deployment::ComponentImplementationDescription - &cid); +static void dump (const ::Deployment::ComponentImplementationDescription +&cid); - static void dump (const ::Deployment::SubcomponentInstantiationDescription - &sid); +static void dump (const ::Deployment::SubcomponentInstantiationDescription +&sid); - static void dump (const ::Deployment::NamedImplementationArtifact - &named_implementation); +static void dump (const ::Deployment::NamedImplementationArtifact +&named_implementation); - static void dump (const ::Deployment::ComponentInterfaceDescription &cid); +static void dump (const ::Deployment::ComponentInterfaceDescription &cid); - static void dump (const ::Deployment::SubcomponentPropertyReference - &scpr); +static void dump (const ::Deployment::SubcomponentPropertyReference +&scpr); - static void dump (const ::Deployment::ExternalReferenceEndpoint &ere); +static void dump (const ::Deployment::ExternalReferenceEndpoint &ere); - static void dump (const ::Deployment::Domain &domain); +static void dump (const ::Deployment::Domain &domain); - static void dump (const ::Deployment::Capability &capability); +static void dump (const ::Deployment::Capability &capability); - static void dump (const ::Deployment::ImplementationArtifactDescription - &iad); +static void dump (const ::Deployment::ImplementationArtifactDescription +&iad); - static void dump (const ::Deployment::ImplementationRequirement &ir); +static void dump (const ::Deployment::ImplementationRequirement &ir); - static void dump(const Deployment::ResourceUsageKind &ruk); +static void dump(const Deployment::ResourceUsageKind &ruk); - static void dump(const Deployment::DeploymentPlan &plan); +static void dump(const Deployment::DeploymentPlan &plan); - static void dump(const Deployment::MonolithicDeploymentDescription &mdd); +static void dump(const Deployment::MonolithicDeploymentDescription &mdd); - static void dump(const Deployment::InstanceDeploymentDescription &idd); +static void dump(const Deployment::InstanceDeploymentDescription &idd); - static void dump(const Deployment::PlanConnectionDescription &pcd); +static void dump(const Deployment::PlanConnectionDescription &pcd); - static void dump(const Deployment::PlanPropertyMapping &ppm); +static void dump(const Deployment::PlanPropertyMapping &ppm); - static void dump(const Deployment::ImplementationDependency &id); +static void dump(const Deployment::ImplementationDependency &id); - static void dump(const Deployment::ArtifactDeploymentDescription &add); +static void dump(const Deployment::ArtifactDeploymentDescription &add); - static void dump(const Deployment::InstanceResourceDeploymentDescription - &irdd); +static void dump(const Deployment::InstanceResourceDeploymentDescription +&irdd); - static void dump(const PlanSubcomponentPortEndpoint &pspe); +static void dump(const PlanSubcomponentPortEndpoint &pspe); - static void dump(const ConnectionResourceDeploymentDescription &crdd); +static void dump(const ConnectionResourceDeploymentDescription &crdd); - static void dump(const PlanSubcomponentPropertyReference &pspr); +static void dump(const PlanSubcomponentPropertyReference &pspr); - static void dump(const ResourceDeploymentDescription &rdd); +static void dump(const ResourceDeploymentDescription &rdd); - static void dump (const ::Deployment::ComponentAssemblyDescription& cad); +static void dump (const ::Deployment::ComponentAssemblyDescription& cad); - static void dump (const Deployment::RequirementSatisfier& rs); +static void dump (const Deployment::RequirementSatisfier& rs); - private: - static void dump (const ::CORBA::Any &any); - // Helper function to print an Any - }; +private: +static void dump (const ::CORBA::Any &any); +// Helper function to print an Any +}; } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.cpp b/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.cpp index dff9365ceb7..6dd83b18989 100644 --- a/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.cpp @@ -8,83 +8,83 @@ ACE_RCSID (Config_Handlers, DnC_Dump_T, "$Id$") -namespace Deployment -{ - namespace DnC_Dump_T + namespace Deployment { - // Dumps a reference - template <typename ROOT, typename REFERENCE, typename DATA_TYPE, - typename CLASS> - void - dump_ref (const char* caption, REFERENCE& ref, - const char* root, DATA_TYPE CLASS::*data) + namespace DnC_Dump_T { - ACE_DEBUG ((LM_DEBUG, "%s%s:\n", - Dump_Obj::indent(), caption)); + // Dumps a reference + template <typename ROOT, typename REFERENCE, typename DATA_TYPE, + typename CLASS> + void + dump_ref (const char* caption, REFERENCE& ref, + const char* root, DATA_TYPE CLASS::*data) + { + ACE_DEBUG ((LM_DEBUG, "%s%s:\n", + Dump_Obj::indent(), caption)); - const CORBA::Any &val = Dump_Obj::desc (root); + const CORBA::Any &val = Dump_Obj::desc (root); - ROOT *t = 0; + ROOT *t = 0; - val >>= t; + val >>= t; - const ROOT &root_obj = *t; + const ROOT &root_obj = *t; - int value = ref; - ACE_DEBUG ((LM_DEBUG, "%s%s.name: %s\n", - Dump_Obj::indent(), caption, - (root_obj.*data)[value].name.in())); - } + int value = ref; + ACE_DEBUG ((LM_DEBUG, "%s%s.name: %s\n", + Dump_Obj::indent(), caption, + (root_obj.*data)[value].name.in())); + } - // Dumps a reference sequence - template <typename ROOT, typename SEQUENCE, typename DATA_TYPE, - typename CLASS> - void - dump_ref_seq (const char* caption, SEQUENCE& seq, - const char* root, DATA_TYPE CLASS::*data) - { - ACE_DEBUG ((LM_DEBUG, - "%s%s:\n", - Dump_Obj::indent(), caption)); + // Dumps a reference sequence + template <typename ROOT, typename SEQUENCE, typename DATA_TYPE, + typename CLASS> + void + dump_ref_seq (const char* caption, SEQUENCE& seq, + const char* root, DATA_TYPE CLASS::*data) + { + ACE_DEBUG ((LM_DEBUG, + "%s%s:\n", + Dump_Obj::indent(), caption)); - CORBA::Any val; - val <<= root; + CORBA::Any val; + val <<= root; - for (size_t i = 0; i < seq.length(); ++i) - { - const CORBA::Any &val = Dump_Obj::desc (root); + for (size_t i = 0; i < seq.length(); ++i) + { + const CORBA::Any &val = Dump_Obj::desc (root); - ROOT *t = 0; + ROOT *t = 0; - val >>= t; + val >>= t; - const ROOT &root_obj = *t; - int value = seq[i]; - ACE_DEBUG ((LM_DEBUG, "%s%s[%d].name: %s\n", - Dump_Obj::indent(), caption, i, - (root_obj.*data)[value].name.in())); - } - } + const ROOT &root_obj = *t; + int value = seq[i]; + ACE_DEBUG ((LM_DEBUG, "%s%s[%d].name: %s\n", + Dump_Obj::indent(), caption, i, + (root_obj.*data)[value].name.in())); + } + } - // Dumps a sequence - template <typename SEQUENCE> - void - dump_sequence (const char* caption, const SEQUENCE &seq) - { - CORBA::ULong size = seq.length (); + // Dumps a sequence + template <typename SEQUENCE> + void + dump_sequence (const char* caption, const SEQUENCE &seq) + { + CORBA::ULong size = seq.length (); - if (size != 0) - { - Dump_Obj dump_obj(caption); + if (size != 0) + { + Dump_Obj dump_obj(caption); - for (CORBA::ULong i = 0; i < size; ++i) - { - ACE_DEBUG ((LM_DEBUG, "%s%s %d: \n", Dump_Obj::indent(), - caption, i)); - DnC_Dump::dump (seq[i]); - } - } + for (CORBA::ULong i = 0; i < size; ++i) + { + ACE_DEBUG ((LM_DEBUG, "%s%s %d: \n", Dump_Obj::indent(), + caption, i)); + DnC_Dump::dump (seq[i]); + } + } + } } } -} #endif /* DNC_DUMP_C */ diff --git a/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.h b/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.h index 4d4c7427797..88a5c55f3cd 100644 --- a/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.h +++ b/TAO/CIAO/tools/Config_Handlers/DnC_Dump_T.h @@ -1,11 +1,11 @@ //================================================================== /** - * @file DnC_Dump_T.h - * - * $Id$ - * - * @author Gan Deng <gan.deng@vanderbilt.edu> - */ +* @file DnC_Dump_T.h +* +* $Id$ +* +* @author Gan Deng <gan.deng@vanderbilt.edu> +*/ //===================================================================== #ifndef CIAO_CONFIG_HANDLERS_DNC_DUMP_T_H @@ -20,21 +20,21 @@ namespace Deployment { - namespace DnC_Dump_T - { - template <typename SEQUENCE> - void dump_sequence (const char* caption, const SEQUENCE &seq); - - template <typename ROOT, typename SEQUENCE, - typename DATA_TYPE, typename CLASS> - void dump_ref_seq (const char* caption, SEQUENCE& seq, - const char* root, DATA_TYPE CLASS::*data); - - template <typename ROOT, typename REFERENCE, typename DATA_TYPE, - typename CLASS> - void dump_ref (const char* caption, REFERENCE& ref, - const char* root, DATA_TYPE CLASS::*data); - } +namespace DnC_Dump_T +{ +template <typename SEQUENCE> +void dump_sequence (const char* caption, const SEQUENCE &seq); + +template <typename ROOT, typename SEQUENCE, +typename DATA_TYPE, typename CLASS> +void dump_ref_seq (const char* caption, SEQUENCE& seq, +const char* root, DATA_TYPE CLASS::*data); + +template <typename ROOT, typename REFERENCE, typename DATA_TYPE, +typename CLASS> +void dump_ref (const char* caption, REFERENCE& ref, +const char* root, DATA_TYPE CLASS::*data); +} } #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) diff --git a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.cpp b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.cpp index 18dde6aa39f..3caf5440e9b 100644 --- a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.cpp @@ -5,60 +5,60 @@ ACE_RCSID (Config_Handlers, Dump_Obj, "$Id$") -namespace Deployment -{ - // static member initialization - std::string Dump_Obj::indent_ = "-"; - std::map<std::string, CORBA::Any> Dump_Obj::desc_map_; - - Dump_Obj::Dump_Obj(const char* caption) - : desc_() + namespace Deployment { - ACE_DEBUG ((LM_DEBUG, "%s%s:\n", indent_.c_str(), caption)); - indent_.append(" "); - } + // static member initialization + std::string Dump_Obj::indent_ = "-"; + std::map<std::string, CORBA::Any> Dump_Obj::desc_map_; + Dump_Obj::Dump_Obj(const char* caption) + : desc_() + { + ACE_DEBUG ((LM_DEBUG, "%s%s:\n", indent_.c_str(), caption)); + indent_.append(" "); + } - Dump_Obj::Dump_Obj(const char* caption, - CORBA::Any &val) - : desc_(caption) - { - ACE_DEBUG ((LM_DEBUG, "%s%s:\n", - indent_.c_str(), - caption)); - indent_.append(" "); + Dump_Obj::Dump_Obj(const char* caption, + CORBA::Any &val) + : desc_(caption) + { + ACE_DEBUG ((LM_DEBUG, "%s%s:\n", + indent_.c_str(), + caption)); - if (desc_map_.find (std::string (caption)) != desc_map_.end()) - { - ACE_DEBUG ((LM_DEBUG, "DnC_Dump.cpp:Dump_Obj - \ - The item with name %s is already in \ - the node map.\n", caption)); - throw Node_Exist(); - } - else - { - desc_map_[std::string(caption)] = val; - } - } + indent_.append(" "); - Dump_Obj::~Dump_Obj() - { - indent_.erase(indent_.size() - 2, 2); - if (desc_.size() != 0) - { - if (desc_map_.find(desc_) != desc_map_.end()) - { - desc_map_.erase(desc_map_.find(desc_)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DnC_Dump.cpp:Dump_Obj - \ - The item with name %s is not in the node map.\n", - desc_.c_str())); - throw Node_Not_Exist(); - } - } - } + if (desc_map_.find (std::string (caption)) != desc_map_.end()) + { + ACE_DEBUG ((LM_DEBUG, "DnC_Dump.cpp:Dump_Obj - \ +The item with name %s is already in \ +the node map.\n", caption)); + throw Node_Exist(); + } + else + { + desc_map_[std::string(caption)] = val; + } + } -} + Dump_Obj::~Dump_Obj() + { + indent_.erase(indent_.size() - 2, 2); + if (desc_.size() != 0) + { + if (desc_map_.find(desc_) != desc_map_.end()) + { + desc_map_.erase(desc_map_.find(desc_)); + } + else + { + ACE_DEBUG ((LM_DEBUG, "DnC_Dump.cpp:Dump_Obj - \ +The item with name %s is not in the node map.\n", + desc_.c_str())); + throw Node_Not_Exist(); + } + } + } + + } diff --git a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h index 954fea46aa7..d8e90351ad1 100644 --- a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h +++ b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h @@ -1,11 +1,11 @@ //================================================================== /** - * @file Dump_Obj.h - * - * $Id$ - * - * @author Gan Deng <gan.deng@vanderbilt.edu> - */ +* @file Dump_Obj.h +* +* $Id$ +* +* @author Gan Deng <gan.deng@vanderbilt.edu> +*/ //===================================================================== #ifndef CIAO_DUMP_OBJ_H @@ -24,52 +24,52 @@ namespace Deployment { - /* - * @brief class Dump_Obj handles the indentation and keeps a map of - * structures for reference look-up. - */ - class Config_Handlers_Export Dump_Obj - { - public: - /// Exception thrown when there is a node with the same name in the - /// map - class Node_Exist { }; +/* +* @brief class Dump_Obj handles the indentation and keeps a map of +* structures for reference look-up. +*/ +class Config_Handlers_Export Dump_Obj +{ +public: +/// Exception thrown when there is a node with the same name in the +/// map +class Node_Exist { }; - /// Exception thrown when there is no node with the name given in - /// the map - class Node_Not_Exist { }; +/// Exception thrown when there is no node with the name given in +/// the map +class Node_Not_Exist { }; - /// Constructors prints out the caption and increases indent - Dump_Obj (const char *caption); +/// Constructors prints out the caption and increases indent +Dump_Obj (const char *caption); - /// Additionally insets <val> into the map - Dump_Obj (const char* caption, - CORBA::Any &val); +/// Additionally insets <val> into the map +Dump_Obj (const char* caption, +CORBA::Any &val); - // Destructor - ~Dump_Obj (void); - // return the indent string - static const char* indent() - { - return indent_.c_str(); - } +// Destructor +~Dump_Obj (void); +// return the indent string +static const char* indent() +{ +return indent_.c_str(); +} - static CORBA::Any& desc(const char* caption) - { - return desc_map_[caption]; - } +static CORBA::Any& desc(const char* caption) +{ +return desc_map_[caption]; +} - private: - // indent string - static std::string indent_; +private: +// indent string +static std::string indent_; - // map for reference lookup - static std::map<std::string, CORBA::Any> desc_map_; +// map for reference lookup +static std::map<std::string, CORBA::Any> desc_map_; - // descriptor - used by destructor for deleting the - // correct descriptor from the map - std::string desc_; - }; +// descriptor - used by destructor for deleting the +// correct descriptor from the map +std::string desc_; +}; } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler.mpc b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler.mpc index 51daccc97dc..60095581130 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler.mpc +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler.mpc @@ -1,19 +1,19 @@ // $Id$ project (XSC_DynAny_Handler) : taolib, xerces, dynamicany, anytypecode, typecodefactory, ciao_client_dnc { - after += XSC_XML_Handlers - libs += XSC_XML_Handlers - dynamicflags += DYNANY_HANDLER_BUILD_DLL - macros += XML_USE_PTHREADS - requires += exceptions - includes += $(CIAO_ROOT)/tools/Config_Handlers +after += XSC_XML_Handlers +libs += XSC_XML_Handlers +dynamicflags += DYNANY_HANDLER_BUILD_DLL +macros += XML_USE_PTHREADS +requires += exceptions +includes += $(CIAO_ROOT)/tools/Config_Handlers - Source_Files { - DynAny_Handler/DynAny_Handler.cpp - DynAny_Handler/DynEnum_Handler.cpp - } - - Header_Files { - DynAny_Handler_Export.h - } -}
\ No newline at end of file +Source_Files { +DynAny_Handler/DynAny_Handler.cpp +DynAny_Handler/DynEnum_Handler.cpp +} + +Header_Files { +DynAny_Handler_Export.h +} +} diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.cpp index cfc8d657fca..77567e3739c 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.cpp @@ -21,86 +21,86 @@ namespace CIAO{ { TCKind kind (desc.kind ()); - + switch (kind.integral ()) { case TCKind::tk_null_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_null); - + case TCKind::tk_short_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_short); - + case TCKind::tk_long_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_long); - + case TCKind::tk_ushort_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_ushort); - + case TCKind::tk_ulong_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_ulong); - + case TCKind::tk_float_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_float); - + case TCKind::tk_double_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_double); - + case TCKind::tk_boolean_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_boolean); - + case TCKind::tk_char_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_char); - + case TCKind::tk_octet_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_octet); - + case TCKind::tk_string_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_string); - + case TCKind::tk_longlong_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_longlong); - + case TCKind::tk_ulonglong_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_ulonglong); - + case TCKind::tk_longdouble_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_longdouble); - + case TCKind::tk_wchar_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_wchar); - + case TCKind::tk_wstring_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_wstring); - + case TCKind::tk_any_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_any); - + case TCKind::tk_TypeCode_l: return CORBA::TypeCode::_duplicate (CORBA::_tc_TypeCode); - + default: ACE_ERROR ((LM_ERROR, "Invalid typecode in any\n")); throw 1; } - + // This case used to be supported...is it not in the schema? // case TCKind::tk_Object) // return CORBA::TypeCode::_duplicate (CORBA::_tc_Object);*/ @@ -112,7 +112,7 @@ namespace CIAO{ const CORBA::TypeCode_ptr& src) { DataType type; - + switch (src->kind ()) { case ::CORBA::tk_null: @@ -172,7 +172,7 @@ namespace CIAO{ ACE_ERROR ((LM_ERROR, "Invalid typecode\n")); throw 1; } - + return type; } diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.h b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.h index eda2375fcee..c16b4b21fe3 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DataType_Handler.h @@ -12,38 +12,38 @@ #define DATATYPE_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 DataType_Handler - * + * * @brief Handler class for <ComponentPortDescription> types. - * - * This class defines handler methods to map values from + * + * 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 DataType_Handler{ - + public: - + DataType_Handler (void); virtual ~DataType_Handler (void); - + ////This method takes a <CIAO::Config_Handlers::DataType> ///and returns the corresponding CORBA::TypeCode. static void diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.cpp index 74d702e1bd9..64690ad61c1 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.cpp @@ -10,8 +10,6 @@ namespace CIAO { namespace Config_Handlers { - // DynAny_Handler * DynAny_Handler::instance_ = 0; - DynAny_Handler::DynAny_Handler (void) : orb_ (0), daf_ (0) @@ -35,17 +33,6 @@ namespace CIAO { } - /* - DynAny_Handler * - DynAny_Handler::instance (void) - { - if (instance_ == 0) - instance_ = new DynAny_Handler (0, 0); - - return instance_; - } - */ - CORBA::ORB_ptr DynAny_Handler::orb () { @@ -94,25 +81,11 @@ namespace CIAO case TCKind::tk_float_l: retval = this->daf_->create_dyn_any_from_type_code (CORBA::_tc_float); retval->insert_float (CORBA::Float (*value.begin_float ())); - /* -#ifdef __BORLANDC__ - CORBA::Float (static_cast < float & > (*value.begin_float_ ()))); -#else - CORBA::Float (static_cast < ::XMLSchema::float_ const& > (*value.begin_float_ ()))); -#endif - */ break; case TCKind::tk_double_l: retval = this->daf_->create_dyn_any_from_type_code (CORBA::_tc_double); retval->insert_double (CORBA::Double (*value.begin_double ())); - /* -#ifdef __BORLANDC__ - CORBA::Double (static_cast < double &> (*value.begin_double_ ()))); -#else - CORBA::Double (static_cast < ::XMLSchema::double_ const& > (*value.begin_double_ ()))); -#endif - */ break; case TCKind::tk_boolean_l: @@ -146,8 +119,6 @@ namespace CIAO break; case TCKind::tk_longdouble_l: -// retval = this->daf_->create_dyn_any_from_type_code (CORBA::_tc_longdouble); -// retval->insert_longdouble (CORBA::LongDouble (*value.begin_longdouble ())); break; case TCKind::tk_wchar_l: @@ -156,8 +127,6 @@ namespace CIAO break; case TCKind::tk_wstring_l: - // retval = this->daf_->create_dyn_any_from_type_code (CORBA::_tc_wstring); - //retval->insert_wstring (CORBA::WString (*value.begin_string ().c_str ())); break; case TCKind::tk_enum_l: @@ -190,10 +159,83 @@ namespace CIAO return retval._retn (); } - // Any Any_Handler::get_any (const ::CORBA::Any& src) - // { - //ACE_ERROR ((LM_ERROR, "Output of Anys not yet supported.")); - // } + Any + DynAny_Handler::extract_from_dynany (const CORBA::Any &any) + { + DynamicAny::DynAny_var dyn = this->daf_->create_dyn_any (any); + + DataValue val; + + switch (dyn->type ()->kind ()) + { + case CORBA::tk_short: + val.add_short (dyn->get_short ()); + return Any (TCKind::tk_short, val); + + case CORBA::tk_long: + val.add_long (dyn->get_long ()); + return Any (TCKind::tk_long, val); + + case CORBA::tk_ushort: + val.add_ushort (dyn->get_ushort ()); + return Any (TCKind::tk_ushort, val); + + case CORBA::tk_ulong: + val.add_ulong (dyn->get_ulong ()); + return Any (TCKind::tk_ulong, val); + + case CORBA::tk_float: + val.add_float (dyn->get_float ()); + return Any (TCKind::tk_float, val); + + case CORBA::tk_double: + val.add_double (dyn->get_double ()); + return Any (TCKind::tk_double, val); + + case CORBA::tk_boolean: + val.add_boolean (dyn->get_boolean ()); + return Any (TCKind::tk_boolean, val); + + case CORBA::tk_octet: + val.add_octet (dyn->get_octet ()); + return Any (TCKind::tk_octet, val); + + case CORBA::tk_string: + val.add_string (dyn->get_string ()); + return Any (TCKind::tk_string, val); + + case CORBA::tk_longlong: + val.add_longlong (dyn->get_longlong ()); + return Any (TCKind::tk_longlong, val); + + case CORBA::tk_ulonglong: + val.add_ulonglong (dyn->get_ulonglong ()); + return Any (TCKind::tk_ulonglong, val); + + case CORBA::tk_longdouble: + // return Any (TCKind::tk_longdouble); + // @@MAJO: Need to add longdouble to schema. + //val.add_longdouble (dyn->get_longdouble ()); + + case CORBA::tk_wchar: + // return Any (TCKind::tk_wchar); + // @@MAJO: Need to add wchar to schema + // val.add_wchar (dyn->get_wchar ()); + case CORBA::tk_char: + // return Any (TCKind::tk_char); + // @@MAJO: Need to add char into the schema. + // val.add_char (dyn->get_char ()); + + case CORBA::tk_wstring: + case CORBA::tk_any: + case CORBA::tk_TypeCode: + case ::CORBA::tk_null: + default: + ACE_ERROR ((LM_ERROR, "DynAny_Handler: I have no idea how to perform a referse mapping.\n")); + throw 1; + } + + } } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.h b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.h index af81ace52ff..a209b3eae2c 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynAny_Handler.h @@ -29,7 +29,7 @@ namespace CIAO class Any; class DataType; class DataValue; - + /** * @class Any_Handler * @@ -46,26 +46,23 @@ namespace CIAO DynAny_Handler (); ~DynAny_Handler (void); - - // static DynAny_Handler *instance (); - + DynamicAny::DynAny_ptr extract_into_dynany (const DataType& type, const DataValue& value); - - // Any get_any (const CORBA::Any &src); - + + Any extract_from_dynany (const CORBA::Any &any); + CORBA::ORB_ptr orb (); - + DynamicAny::DynAnyFactory_ptr daf (); - + private: - // static DynAny_Handler *instance_; - + CORBA::ORB_var orb_; - + DynamicAny::DynAnyFactory_var daf_; }; - + typedef ACE_Singleton<DynAny_Handler, ACE_Null_Mutex> DynAny_Singleton; #define DYNANY_HANDLER DynAny_Singleton::instance() } diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.cpp index 736a866cdc0..8773f7b9014 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.cpp @@ -23,43 +23,43 @@ namespace CIAO ACE_ERROR ((LM_ERROR, "ERROR: Enum type descriptioin required")); throw 1; } - + // Construct TypeCode for the enum CORBA::EnumMemberSeq members; members.length (type.enum_ ().count_member ()); CORBA::ULong index (0); - + for (EnumType::member_const_iterator i = type.enum_ ().begin_member (); i != type.enum_ ().end_member (); ++i) { members[index++] = i->c_str (); } - + // Grab pointer to the DynAny_Handler to use the orb and any factory. // DynAny_Handler *dah = DynAny_Handler::instance (); - - // @@ Leak this guy onto the heap to avoid a compile problem. - CORBA::TypeCode_ptr tc = + + // @@ Leak this guy onto the heap to avoid a compile problem. + CORBA::TypeCode_ptr tc = DYNANY_HANDLER->orb ()->create_enum_tc (type.enum_ ().typeId ().c_str (), type.enum_ ().name ().c_str (), members); - + ACE_ERROR ((LM_ERROR, "Type: %s \nName: %s\nvalue: %s\n", type.enum_ ().typeId ().c_str (), type.enum_ ().name ().c_str (), value.begin_enum ()->c_str ())); - + // Make the actual DynEnum - DynamicAny::DynAny_var temp = + DynamicAny::DynAny_var temp = DYNANY_HANDLER->daf ()->create_dyn_any_from_type_code (tc); DynamicAny::DynEnum_var retval = DynamicAny::DynEnum::_narrow (temp.in ()); - + retval->set_as_string (value.begin_enum ()->c_str ()); return retval._retn (); } - + void DynEnum_Handler::extract_out_of_dynany (const DynamicAny::DynAny_ptr dyn) { @@ -69,4 +69,4 @@ namespace CIAO } } - + diff --git a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.h b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.h index 9203b32ba58..009b8b37659 100644 --- a/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/DynAny_Handler/DynEnum_Handler.h @@ -1,6 +1,6 @@ /** * $Id$ - * + * * @file DynEnum_Handler.h * @author Will Otte <wotte@dre.vanderbilt.edu> */ @@ -25,7 +25,7 @@ namespace CIAO class Any; class DataType; class DataValue; - + /** * @class DynEnum_Handler * @brief Translates enums specified in deployment plans into Dynamic Anys @@ -36,10 +36,10 @@ namespace CIAO public: static DynamicAny::DynAny_ptr extract_into_dynany (const DataType &type, const DataValue &value); - + static void extract_out_of_dynany (const DynamicAny::DynAny_ptr dyn); }; - + } } diff --git a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.cpp index 2f6de450d8c..200282aa792 100644 --- a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.cpp @@ -3,16 +3,17 @@ #include "ERE_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers { void ERE_Handler::external_ref_endpoints ( - const PlanConnectionDescription &src, - Deployment::ExternalReferenceEndpoints &dest) + const PlanConnectionDescription &src, + Deployment::ExternalReferenceEndpoints &dest) { + CIAO_TRACE("ERE_Handler::external_ref_endpoints"); PlanConnectionDescription::externalReference_const_iterator erep_e = src.end_externalReference (); @@ -30,17 +31,19 @@ namespace CIAO void ERE_Handler::external_ref_endpoint ( - const ExternalReferenceEndpoint &src, - Deployment::ExternalReferenceEndpoint &dest) + const ExternalReferenceEndpoint &src, + Deployment::ExternalReferenceEndpoint &dest) { + CIAO_TRACE("ERE_Handler::external_ref_endpoint"); dest.location = src.location ().c_str (); } - - ExternalReferenceEndpoint + + ExternalReferenceEndpoint ERE_Handler::external_ref_endpoint ( - const Deployment::ExternalReferenceEndpoint& src) + const Deployment::ExternalReferenceEndpoint& src) { + CIAO_TRACE("ERE_Handler::external_ref_endpoint - reverse"); XMLSchema::string< char > loc ((src.location)); ExternalReferenceEndpoint erp (loc); return erp; diff --git a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h index 93671582bae..934e2273bf5 100644 --- a/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/ERE_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file ERE_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file ERE_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ERE_HANDLER_H @@ -18,46 +18,53 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "Utils/Functors.h" + namespace Deployment { - class ExternalReferenceEndpoints; - struct ExternalReferenceEndpoint; +class ExternalReferenceEndpoints; +struct ExternalReferenceEndpoint; } namespace CIAO { - namespace Config_Handlers - { - class PlanConnectionDescription; - class ExternalReferenceEndpoint; +namespace Config_Handlers +{ +class PlanConnectionDescription; +class ExternalReferenceEndpoint; + +/* +* @class ERE_Handler +* +* @brief Handler class for <ExternalReferenceEndpoint> types. +* +* This class defines handler methods to map values from +* XSC ExternalReferenceEndpoint objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export ERE_Handler +{ +public: +static void external_ref_endpoints ( +const PlanConnectionDescription &src, +::Deployment::ExternalReferenceEndpoints &dest); + +static ExternalReferenceEndpoint external_ref_endpoint ( +const Deployment::ExternalReferenceEndpoint& src); - /* - * @class ERE_Handler - * - * @brief Handler class for <ExternalReferenceEndpoint> types. - * - * This class defines handler methods to map values from - * XSC ExternalReferenceEndpoint objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ +static void external_ref_endpoint (const ExternalReferenceEndpoint &src, +Deployment::ExternalReferenceEndpoint &dest); +}; - class Config_Handlers_Export ERE_Handler - { - public: - static void external_ref_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::ExternalReferenceEndpoints &dest); - - static ExternalReferenceEndpoint external_ref_endpoint ( - const Deployment::ExternalReferenceEndpoint& src); - private: - static void external_ref_endpoint ( - const ExternalReferenceEndpoint &src, - Deployment::ExternalReferenceEndpoint &dest); - }; - } +typedef Sequence_Handler < ExternalReferenceEndpoint, +::Deployment::ExternalReferenceEndpoints, +::Deployment::ExternalReferenceEndpoint, +ERE_Handler::external_ref_endpoint > ERE_Functor; + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp index 5f1978d41b9..3a1995ceed8 100644 --- a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "ace/UUID.h" #include "IDD_Handler.h" #include "IRDD_Handler.h" #include "MDD_Handler.h" @@ -17,13 +18,14 @@ namespace CIAO void IDD_Handler::instance_deployment_descrs ( - const DeploymentPlan &src, - Deployment::InstanceDeploymentDescriptions& dest) + const DeploymentPlan &src, + Deployment::InstanceDeploymentDescriptions& dest) throw (Config_Error) { + CIAO_TRACE("IDD_Handler::instance_deployment_descrs"); DeploymentPlan::instance_const_iterator idd_e = src.end_instance (); - + CORBA::ULong pos = 0; dest.length (src.count_instance ()); for (DeploymentPlan::instance_const_iterator idd_b = @@ -31,124 +33,129 @@ namespace CIAO idd_b != idd_e; ++idd_b) { - IDD_Handler::instance_deployment_descr ((*idd_b), - dest[pos], pos); - pos++; + IDD_Handler::instance_deployment_descr ((*idd_b), + dest[pos], pos); + pos++; } } void IDD_Handler::instance_deployment_descr ( - const InstanceDeploymentDescription& src, - Deployment::InstanceDeploymentDescription& dest, - CORBA::ULong pos) + const InstanceDeploymentDescription& src, + Deployment::InstanceDeploymentDescription& dest, + CORBA::ULong pos) throw (Config_Error) { + CIAO_TRACE("IDD_Handler::instance_deployment_descr"); try - { - dest.name = src.name ().c_str (); - dest.node = src.node ().c_str (); - - if (src.id_p ()) - { - ACE_CString cstr (src.id ().c_str ()); - IDD_Handler::IDREF.bind_ref (cstr, pos); - } - else - { - ACE_DEBUG((LM_ERROR, - "(%P|%t) Warning: IDD %s has no idref \n", - src.name ().c_str ())); - } - - // We know there should be only one element + { + dest.name = src.name ().c_str (); + dest.node = src.node ().c_str (); + + if (src.id_p ()) + { + ACE_CString cstr (src.id ().c_str ()); + IDD_Handler::IDREF.bind_ref (cstr, pos); + } + else + { + ACE_DEBUG((LM_ERROR, + "(%P|%t) Warning: IDD %s has no idref \n", + src.name ().c_str ())); + } + + // We know there should be only one element dest.source.length (1); - dest.source [0] = - src.source ().c_str (); - - CORBA::ULong tmp = 0; - MDD_Handler::IDREF.find_ref - (ACE_CString (src.implementation ().id ().c_str ()), tmp); - - dest.implementationRef = tmp; - - InstanceDeploymentDescription::configProperty_const_iterator pend = - src.end_configProperty (); - - CORBA::ULong pos = 0; + dest.source [0] = + src.source ().c_str (); + + CORBA::ULong tmp = 0; + MDD_Handler::IDREF.find_ref + (ACE_CString (src.implementation ().id ().c_str ()), tmp); + + dest.implementationRef = tmp; + dest.configProperty.length (src.count_configProperty ()); - for (InstanceDeploymentDescription::configProperty_const_iterator pstart = - src.begin_configProperty (); - pstart != pend; - ++pstart) - { - Property_Handler::get_property (*pstart, - dest.configProperty[pos++]); - } - - if (src.deployedResource_p ()) - { - dest.deployedResource.length (1); - IRDD_Handler::instance_resource_deployment_descr (src.deployedResource (), - dest.deployedResource[0]); - } - - if (src.deployedSharedResource_p ()) - { - dest.deployedSharedResource.length (1); - IRDD_Handler::instance_resource_deployment_descr (src.deployedSharedResource (), - dest.deployedSharedResource[0]); - } - - } + std::for_each (src.begin_configProperty (), + src.end_configProperty (), + Property_Functor (dest.configProperty)); + + if (src.deployedResource_p ()) + { + dest.deployedResource.length (1); + IRDD_Handler::instance_resource_deployment_descr (src.deployedResource (), + dest.deployedResource[0]); + } + + if (src.deployedSharedResource_p ()) + { + dest.deployedSharedResource.length (1); + IRDD_Handler::instance_resource_deployment_descr (src.deployedSharedResource (), + dest.deployedSharedResource[0]); + } + + } catch (Config_Error &ex) - { - ex.name_ = src.name () + ":" + ex.name_; - throw ex; - } + { + ex.name_ = src.name () + ":" + ex.name_; + throw ex; + } // Done! } - + InstanceDeploymentDescription IDD_Handler::instance_deployment_descr ( - const Deployment::InstanceDeploymentDescription& src) + const Deployment::InstanceDeploymentDescription& src) throw (Config_Error) { - - //Get all the string/IDREFs - XMLSchema::string < ACE_TCHAR > name ((src.name)); - XMLSchema::string < ACE_TCHAR > node ((src.node)); - XMLSchema::string < ACE_TCHAR > source ((src.source[0])); - ACE_CString temp; - MDD_Handler::IDREF.find_ref(src.implementationRef, temp); - XMLSchema::IDREF< ACE_TCHAR > implementation ((temp.c_str())); - - // Instantiate the IDD - InstanceDeploymentDescription idd (name, node, source, implementation); - - //Get and store the configProperty(s) - size_t total = src.configProperty.length(); - for(size_t j = 0; j < total; j++) - { - idd.add_configProperty( - Property_Handler::get_property ( - src.configProperty[j])); - } - - //Check if there is a deployedResource, if so store - if(src.deployedResource.length() != 0) - idd.deployedResource( - IRDD_Handler::instance_resource_deployment_descr( - src.deployedResource[0])); - - //Check if there is a deployedSharedResource, if so store it - if(src.deployedSharedResource.length() != 0) - idd. deployedSharedResource( - IRDD_Handler::instance_resource_deployment_descr( - src.deployedSharedResource[0])); - - return idd; - } + CIAO_TRACE("IDD_Handler::instance_deployment_descr - reverse"); + //Get all the string/IDREFs + XMLSchema::string < ACE_TCHAR > name ((src.name)); + XMLSchema::string < ACE_TCHAR > node ((src.node)); + XMLSchema::string < ACE_TCHAR > source ((src.source[0])); + ACE_CString temp; + MDD_Handler::IDREF.find_ref(src.implementationRef, temp); + XMLSchema::IDREF< ACE_TCHAR > implementation ((temp.c_str())); + + // Instantiate the IDD + InstanceDeploymentDescription idd (name, node, source, implementation); + + //Get and store the configProperty(s) + size_t total = src.configProperty.length(); + for(size_t j = 0; j < total; j++) + { + idd.add_configProperty( + Property_Handler::get_property ( + src.configProperty[j])); + } + + //Check if there is a deployedResource, if so store + if(src.deployedResource.length() != 0) + idd.deployedResource( + IRDD_Handler::instance_resource_deployment_descr( + src.deployedResource[0])); + + //Check if there is a deployedSharedResource, if so store it + if(src.deployedSharedResource.length() != 0) + idd. deployedSharedResource( + IRDD_Handler::instance_resource_deployment_descr( + src.deployedSharedResource[0])); + + // Generate a UUID to use for the IDREF. + ACE_Utils::UUID uuid; + ACE_Utils::UUID_GENERATOR::instance ()->generateUUID (uuid); + ACE_CString idd_id ("_"); + idd_id += *uuid.to_string (); + + XMLSchema::ID< ACE_TCHAR > xml_id (idd_id.c_str ()); + + // Bind the ref and set it in the IDD + IDD_Handler::IDREF.bind_next_available (idd_id); + + idd.id (xml_id); + + return idd; + } } } diff --git a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.h b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.h index f21ea114f49..735038e2468 100644 --- a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file IDD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file IDD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_IDD_HANDLER_H @@ -23,53 +23,53 @@ namespace Deployment { - struct InstanceDeploymentDescription; - class InstanceDeploymentDescriptions; - struct InstanceResourceDeploymentDescription; +struct InstanceDeploymentDescription; +class InstanceDeploymentDescriptions; +struct InstanceResourceDeploymentDescription; } namespace CIAO { - namespace Config_Handlers - { - class DeploymentPlan; - class InstanceDeploymentDescription; - class InstanceResourceDeploymentDescription; +namespace Config_Handlers +{ +class DeploymentPlan; +class InstanceDeploymentDescription; +class InstanceResourceDeploymentDescription; + +/* +* @class IDD_Handler +* +* @brief Handler class for <InstanceDeploymentDescription> types. +* +* This class defines handler methods to map values from +* XSC InstanceDeploymentDescriptionn objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ - /* - * @class IDD_Handler - * - * @brief Handler class for <InstanceDeploymentDescription> types. - * - * This class defines handler methods to map values from - * XSC InstanceDeploymentDescriptionn objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ +class Config_Handlers_Export IDD_Handler +{ +public: +static void instance_deployment_descrs ( +const DeploymentPlan &src, +::Deployment::InstanceDeploymentDescriptions& dest) +throw (Config_Error); - class Config_Handlers_Export IDD_Handler - { - public: - static void instance_deployment_descrs ( - const DeploymentPlan &src, - ::Deployment::InstanceDeploymentDescriptions& dest) - throw (Config_Error); +static InstanceDeploymentDescription instance_deployment_descr ( +const Deployment::InstanceDeploymentDescription &src) +throw (Config_Error); - static InstanceDeploymentDescription instance_deployment_descr ( - const Deployment::InstanceDeploymentDescription &src) - throw (Config_Error); - - static IDREF_Base<CORBA::ULong> IDREF; +static IDREF_Base<CORBA::ULong> IDREF; - private: - static void instance_deployment_descr ( - const InstanceDeploymentDescription &src, - ::Deployment::InstanceDeploymentDescription &dest, - CORBA::ULong pos) - throw (Config_Error); +private: +static void instance_deployment_descr ( +const InstanceDeploymentDescription &src, +::Deployment::InstanceDeploymentDescription &dest, +CORBA::ULong pos) +throw (Config_Error); - }; - } +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/IDREF_Base.cpp b/TAO/CIAO/tools/Config_Handlers/IDREF_Base.cpp index 88808bb4a6f..7a6201c2906 100644 --- a/TAO/CIAO/tools/Config_Handlers/IDREF_Base.cpp +++ b/TAO/CIAO/tools/Config_Handlers/IDREF_Base.cpp @@ -2,6 +2,7 @@ #ifndef IDREF_BASE_CPP #define IDREF_BASE_CPP +#include "ciao/CIAO_common.h" #include "IDREF_Base.h" #include <iostream> @@ -10,68 +11,104 @@ ACE_RCSID (DAnCE, IDREF_Base, "$Id$") - -namespace CIAO -{ - namespace Config_Handlers + + namespace CIAO { - template <typename T> - void - IDREF_Base<T>::bind_ref (ACE_CString& id, T value) - throw (Config_Error) + namespace Config_Handlers { - int retval = - idref_map_.bind (id, value); + template <typename T> + void + IDREF_Base<T>::bind_ref (ACE_CString& id, T value) + throw (Config_Error) + { + CIAO_TRACE("IDREF_Base<T>::bind_ref"); - pos_map_.bind (value,id); + int retval = + idref_map_.bind (id, value); - if (retval < 0) - throw Config_Error (id.c_str (), - "Failed to bind an IDRef. This likely indicates a name clash."); - } + pos_map_.bind (value,id); - template <typename T> - void - IDREF_Base<T>::find_ref (const ACE_CString& id, T& val) - throw (Config_Error) - { - int retval = - idref_map_.find (id, val); + if (retval < 0) + throw Config_Error (id.c_str (), + "Failed to bind an IDRef. This likely indicates a name clash."); + } - if (retval < 0) - throw Config_Error (id.c_str (), - "Unable to look up an IDRef."); - } + template <typename T> + void + IDREF_Base<T>::bind_next_available (ACE_CString &id) + { + // Note: For this function to compile and work properly, + // T must have the postincrement operator defined. + CIAO_TRACE ("IDREF_Base<T>::bind_next_available"); + // ACE_DEBUG ((LM_DEBUG, "**** Binding %s to %i\n", + // id.c_str (), + // this->next_)); - template <typename T> - void - IDREF_Base<T>::find_ref (const T& value, ACE_CString& id) - throw (Config_Error) - { - int retval = - pos_map_.find (value, id); + int retval = idref_map_.bind (id, this->next_); - if (retval < 0) - throw Config_Error ("No location information", - "Failed a reverse IDRef lookup."); - } + int pos_retval = pos_map_.bind (this->next_, id); - template <typename T> - bool - IDREF_Base<T>::unbind_refs (void) - { - int retval = - idref_map_.unbind_all (); - - pos_map_.unbind_all (); - - if (retval < 0) - return false; - - return true; + ++this->next_; + + if (retval < 0 || pos_retval < 0) + throw Config_Error (id.c_str (), + "Failed to bind an IDRef. This likely indicates a name clash"); + + } + + template <typename T> + void + IDREF_Base<T>::find_ref (const ACE_CString& id, T& val) + throw (Config_Error) + { + CIAO_TRACE("IDREF_Base<T>::find_ref(C_String, T)"); + + int retval = + idref_map_.find (id, val); + + if (retval < 0) + throw Config_Error (id.c_str (), + "Unable to look up an IDRef."); + } + + template <typename T> + void + IDREF_Base<T>::find_ref (const T& value, ACE_CString& id) + throw (Config_Error) + { + CIAO_TRACE("IDREF_Base<T>::find_ref (T, CString)"); + + int retval = + pos_map_.find (value, id); + + // ACE_DEBUG ((LM_ERROR, "**** Looking up value %i\n", + // value)); + + if (retval < 0) + throw Config_Error ("No location information for reverse IDREF lookup", + id.c_str ()); + } + + template <typename T> + bool + IDREF_Base<T>::unbind_refs (void) + { + CIAO_TRACE("IDREF_Base<T>::unbind_refs"); + + int retval = + idref_map_.unbind_all (); + + pos_map_.unbind_all (); + + this->next_ = 0; + + if (retval < 0) + return false; + + return true; + } } -} -} + } #endif /* IDREF_BASE_CPP */ diff --git a/TAO/CIAO/tools/Config_Handlers/IDREF_Base.h b/TAO/CIAO/tools/Config_Handlers/IDREF_Base.h index 6f29866c9ac..85f0d3a4f22 100644 --- a/TAO/CIAO/tools/Config_Handlers/IDREF_Base.h +++ b/TAO/CIAO/tools/Config_Handlers/IDREF_Base.h @@ -1,11 +1,11 @@ -/** - * $Id$ - * @file IDREF_Base.h - * @author Will Otte <wotte@dre.vanderbilt.edu> - * - * Defines the IDREF_Base class, which is an abstract class that serves - * as a base for any config handler that must map IDREFS. - */ +/** +* $Id$ +* @file IDREF_Base.h +* @author Will Otte <wotte@dre.vanderbilt.edu> +* +* Defines the IDREF_Base class, which is an abstract class that serves +* as a base for any config handler that must map IDREFS. +*/ #ifndef CIAO_CONFIG_HANDLERS_IDREF_BASE_H #define CIAO_CONFIG_HANDLERS_IDREF_BASE_H @@ -24,53 +24,66 @@ namespace CIAO { - namespace Config_Handlers - { - - /** - * @class IDREF_Handler - * @brief Base class for any handler that must process idrefs. - * - */ - template <typename T> - class IDREF_Base - { - public: - /// Bind an IDREF to an index - void bind_ref (ACE_CString& id, T value) - throw (Config_Error); - - /// Get the index associated with an IDREF - void find_ref (const ACE_CString& id, T& value) - throw (Config_Error); - - /// get the IDREF associated with an index - void find_ref (const T &value, ACE_CString& id) - throw (Config_Error); - - /// Unbind all IDREFS - bool - unbind_refs (void); - - typedef ACE_Hash_Map_Manager<ACE_CString, - T, - ACE_Null_Mutex> IDREF_MAP; - - - typedef ACE_Hash_Map_Manager<T, - ACE_CString, - ACE_Null_Mutex> POS_MAP; - protected: - /// The map used to store and look up the indexes of elements - /// referenced by their IDREF. - IDREF_MAP idref_map_; - /// The map used to store and look up the IDREFS of elements - /// referenced by their index. - POS_MAP pos_map_; - }; - - } - +namespace Config_Handlers +{ + +/** +* @class IDREF_Handler +* @brief Base class for any handler that must process idrefs. +* +*/ +template <typename T> +class IDREF_Base +{ +public: +IDREF_Base () +{ +} + +IDREF_Base (T start_point) +: next_ (start_point) +{ +} + +/// Bind an IDREF to an index +void bind_ref (ACE_CString& id, T value) +throw (Config_Error); + +void bind_next_available (ACE_CString &id); + +/// Get the index associated with an IDREF +void find_ref (const ACE_CString& id, T& value) +throw (Config_Error); + +/// get the IDREF associated with an index +void find_ref (const T &value, ACE_CString& id) +throw (Config_Error); + +/// Unbind all IDREFS +bool +unbind_refs (void); + +typedef ACE_Hash_Map_Manager<ACE_CString, +T, +ACE_Null_Mutex> IDREF_MAP; + + +typedef ACE_Hash_Map_Manager<T, +ACE_CString, +ACE_Null_Mutex> POS_MAP; +protected: +/// The map used to store and look up the indexes of elements +/// referenced by their IDREF. +IDREF_MAP idref_map_; +/// The map used to store and look up the IDREFS of elements +/// referenced by their index. +POS_MAP pos_map_; + +T next_; +}; + +} + } #include "IDREF_Base.cpp" diff --git a/TAO/CIAO/tools/Config_Handlers/ID_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/ID_Handler.cpp index 664e4f46b3d..8bd3172bf18 100644 --- a/TAO/CIAO/tools/Config_Handlers/ID_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/ID_Handler.cpp @@ -4,7 +4,7 @@ #include "ID_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers @@ -19,18 +19,20 @@ namespace CIAO void - ID_Handler::get_ImplementationDependency ( - Deployment::ImplementationDependency& toconfig, - const ImplementationDependency& desc) + ID_Handler::get_ImplementationDependency (const ImplementationDependency& desc, + Deployment::ImplementationDependency& toconfig) { + CIAO_TRACE("ID_Handler::get_ImplementationDependency"); + toconfig.requiredType= - CORBA::string_dup (desc.requiredType ().c_str ()); + CORBA::string_dup (desc.requiredType ().c_str ()); } ImplementationDependency ID_Handler::impl_dependency ( - const ::Deployment::ImplementationDependency& src) + const ::Deployment::ImplementationDependency& src) { + CIAO_TRACE("ID_Handler::get_ImplementationDependency - reverse"); XMLSchema::string< char > reqtype ((src.requiredType)); ImplementationDependency id (reqtype); diff --git a/TAO/CIAO/tools/Config_Handlers/ID_Handler.h b/TAO/CIAO/tools/Config_Handlers/ID_Handler.h index c800b31e0b3..60fed331647 100644 --- a/TAO/CIAO/tools/Config_Handlers/ID_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/ID_Handler.h @@ -1,12 +1,12 @@ //============================================================== /** - * @file ID_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file ID_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_ID_Handler_H @@ -16,6 +16,8 @@ #include "Config_Handlers_Export.h" #include "ace/config-lite.h" +#include "Utils/Functors.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -24,44 +26,52 @@ namespace Deployment { - struct ImplementationDependency; +struct ImplementationDependency; +class ImplementationDependencies;; + } namespace CIAO { - namespace Config_Handlers - { - - class ImplementationDependency; - - - /* - * @class ID_Handler - * - * @brief Handler class for <ImplementationDependency> types. - * - * This class defines handler methods to map values from - * XSC ImplementationDependency objects, parsed from the descriptor files, to the - * corresponding CORBA IDL Any type. - * - */ - class Config_Handlers_Export ID_Handler - { - public: - - ID_Handler (void); - virtual ~ID_Handler (void); - - static void get_ImplementationDependency ( - Deployment::ImplementationDependency& toconfig, - const ImplementationDependency& desc); - - static ImplementationDependency impl_dependency ( - const ::Deployment::ImplementationDependency& src); - }; - } +namespace Config_Handlers +{ + +class ImplementationDependency; + + +/* +* @class ID_Handler +* +* @brief Handler class for <ImplementationDependency> types. +* +* This class defines handler methods to map values from +* XSC ImplementationDependency objects, parsed from the descriptor files, to the +* corresponding CORBA IDL Any type. +* +*/ +class Config_Handlers_Export ID_Handler +{ +public: + +ID_Handler (void); +virtual ~ID_Handler (void); + +static void get_ImplementationDependency ( +const ImplementationDependency& desc, +Deployment::ImplementationDependency& toconfig); + +static ImplementationDependency impl_dependency ( +const ::Deployment::ImplementationDependency& src); +}; + +typedef Sequence_Handler < ImplementationDependency, +::Deployment::ImplementationDependencies, +::Deployment::ImplementationDependency, +ID_Handler::get_ImplementationDependency > ID_Functor; + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.cpp index 36ab6231001..110297ce783 100644 --- a/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.cpp @@ -5,8 +5,8 @@ #include "IRDD_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" -#include "Any_Handler.h" - +#include "Property_Handler.h" +#include "ciao/CIAO_common.h" namespace CIAO @@ -25,90 +25,98 @@ namespace CIAO void IRDD_Handler::instance_resource_deployment_descr ( - const InstanceResourceDeploymentDescription& desc, - Deployment::InstanceResourceDeploymentDescription& toconfig) + const InstanceResourceDeploymentDescription& desc, + Deployment::InstanceResourceDeploymentDescription& toconfig) throw (Config_Error) { - + CIAO_TRACE("IRDD_Handler::instance_resource_deployment_descr"); + switch (desc.resourceUsage ().integral ()) - { - case ResourceUsageKind::None_l: - toconfig.resourceUsage = Deployment::None; - break; - - case ResourceUsageKind::InstanceUsesResource_l: - toconfig.resourceUsage = Deployment::InstanceUsesResource; - break; - - case ResourceUsageKind::ResourceUsesInstance_l: - toconfig.resourceUsage = Deployment::ResourceUsesInstance; - break; - - case ResourceUsageKind::PortUsesResource_l: - toconfig.resourceUsage = Deployment::PortUsesResource; - break; - - case ResourceUsageKind::ResourceUsesPort_l: - toconfig.resourceUsage = Deployment::ResourceUsesPort; - break; - - default: - throw Config_Error (desc.requirementName (), - "Unknown ResourceUsageKind."); - break; - } - + { + case ResourceUsageKind::None_l: + toconfig.resourceUsage = Deployment::None; + break; + + case ResourceUsageKind::InstanceUsesResource_l: + toconfig.resourceUsage = Deployment::InstanceUsesResource; + break; + + case ResourceUsageKind::ResourceUsesInstance_l: + toconfig.resourceUsage = Deployment::ResourceUsesInstance; + break; + + case ResourceUsageKind::PortUsesResource_l: + toconfig.resourceUsage = Deployment::PortUsesResource; + break; + + case ResourceUsageKind::ResourceUsesPort_l: + toconfig.resourceUsage = Deployment::ResourceUsesPort; + break; + + default: + throw Config_Error (desc.requirementName (), + "Unknown ResourceUsageKind."); + break; + } + toconfig.requirementName = desc.requirementName ().c_str (); - + toconfig.resourceName= desc.resourceName ().c_str (); - - Any_Handler::extract_into_any (desc.resourceValue (), - toconfig.resourceValue); - + + toconfig.property.length (desc.count_property ()); + std::for_each (desc.begin_property (), + desc.end_property (), + Property_Functor (toconfig.property)); } InstanceResourceDeploymentDescription IRDD_Handler::instance_resource_deployment_descr ( - const Deployment::InstanceResourceDeploymentDescription& src) + const Deployment::InstanceResourceDeploymentDescription& src) throw (Config_Error) { + CIAO_TRACE("IRDD_Handler::instance_resource_deployment_descr - reverse"); + XMLSchema::string< char > reqname ((src.requirementName)); XMLSchema::string< char > resname ((src.resourceName)); - Any resval (Any_Handler::get_any (src.resourceValue)); - + InstanceResourceDeploymentDescription irdd (ResourceUsageKind::None, - reqname, - resname, - resval); - + reqname, + resname); + switch (src.resourceUsage) - { - case Deployment::None: - irdd.resourceUsage (ResourceUsageKind::None); - break; - - case Deployment::InstanceUsesResource: - irdd.resourceUsage (ResourceUsageKind::InstanceUsesResource); - break; - - case Deployment::ResourceUsesInstance: - irdd.resourceUsage (ResourceUsageKind::ResourceUsesInstance); - break; - - case Deployment::PortUsesResource: - irdd.resourceUsage (ResourceUsageKind::PortUsesResource); - break; - - case Deployment::ResourceUsesPort: - irdd.resourceUsage (ResourceUsageKind::ResourceUsesPort); - break; - - default: - throw Config_Error (src.resourceName.in (), - "Unknown ResourceUsageKind."); - break; - } - + { + case Deployment::None: + irdd.resourceUsage (ResourceUsageKind::None); + break; + + case Deployment::InstanceUsesResource: + irdd.resourceUsage (ResourceUsageKind::InstanceUsesResource); + break; + + case Deployment::ResourceUsesInstance: + irdd.resourceUsage (ResourceUsageKind::ResourceUsesInstance); + break; + + case Deployment::PortUsesResource: + irdd.resourceUsage (ResourceUsageKind::PortUsesResource); + break; + + case Deployment::ResourceUsesPort: + irdd.resourceUsage (ResourceUsageKind::ResourceUsesPort); + break; + + default: + throw Config_Error (src.resourceName.in (), + "Unknown ResourceUsageKind."); + break; + } + + for (CORBA::ULong i = 0; i < src.property.length (); ++i) + { + irdd.add_property (Property_Handler::get_property (src.property[i])); + } + + return irdd; } } diff --git a/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.h b/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.h index aba36bc9e87..df30ed2e87f 100644 --- a/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/IRDD_Handler.h @@ -1,12 +1,11 @@ - - //============================================================== +//============================================================== /** - * @file IRDD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file IRDD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_IRDD_Handler_H @@ -25,48 +24,48 @@ namespace Deployment { - struct InstanceResourceDeploymentDescription; +struct InstanceResourceDeploymentDescription; } namespace CIAO { - namespace Config_Handlers - { - - class InstanceResourceDeploymentDescription; - - - /* - * @class IRDD_Handler - * - * @brief Handler class for <InstanceResourceDeploymentDescription> types. - * - * This class defines handler methods to map values from - * XSC InstanceResourceDeploymentDescription objects, parsed from the descriptor files, to the - * corresponding CORBA IDL Any type. - * - */ - class Config_Handlers_Export IRDD_Handler { - public: - IRDD_Handler (void); - virtual ~IRDD_Handler (void); - - static void instance_resource_deployment_descr ( - const InstanceResourceDeploymentDescription& desc, - Deployment::InstanceResourceDeploymentDescription& toconfig) - throw (Config_Error); - - static InstanceResourceDeploymentDescription - instance_resource_deployment_descr ( - const Deployment::InstanceResourceDeploymentDescription& src) - throw (Config_Error); - - - }; - } +namespace Config_Handlers +{ + +class InstanceResourceDeploymentDescription; + + +/* +* @class IRDD_Handler +* +* @brief Handler class for <InstanceResourceDeploymentDescription> types. +* +* This class defines handler methods to map values from +* XSC InstanceResourceDeploymentDescription objects, parsed from the descriptor files, to the +* corresponding CORBA IDL Any type. +* +*/ +class Config_Handlers_Export IRDD_Handler { +public: +IRDD_Handler (void); +virtual ~IRDD_Handler (void); + +static void instance_resource_deployment_descr ( +const InstanceResourceDeploymentDescription& desc, +Deployment::InstanceResourceDeploymentDescription& toconfig) +throw (Config_Error); + +static InstanceResourceDeploymentDescription +instance_resource_deployment_descr ( +const Deployment::InstanceResourceDeploymentDescription& src) +throw (Config_Error); + + +}; +} } -#include /**/ "ace/post.h" +#include /**/ "ace/post.h" #endif /* CIAO_CONFIG_HANDLERS_IRDD_Handler_H */ diff --git a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp index e9200cb0a49..dcea23fc96c 100644 --- a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp @@ -12,12 +12,14 @@ namespace CIAO namespace Config_Handlers { IDREF_Base<CORBA::ULong> MDD_Handler::IDREF; - + void MDD_Handler::mono_deployment_descriptions ( - const DeploymentPlan& src, - Deployment::MonolithicDeploymentDescriptions& dest) + const DeploymentPlan& src, + Deployment::MonolithicDeploymentDescriptions& dest) { + CIAO_TRACE("MDD_Handler::mono_deployment_descriptions"); + DeploymentPlan::implementation_const_iterator imp_e = src.end_implementation (); CORBA::ULong pos = 0; @@ -30,22 +32,22 @@ namespace CIAO MDD_Handler::mono_deployment_description (*imp_b, dest[pos], pos); - pos++; + pos++; } - } - + } + void MDD_Handler::mono_deployment_description ( - const MonolithicDeploymentDescription& desc, - Deployment::MonolithicDeploymentDescription& toconfig, - CORBA::ULong pos) + const MonolithicDeploymentDescription& desc, + Deployment::MonolithicDeploymentDescription& toconfig, + CORBA::ULong pos) { toconfig.name = CORBA::string_dup (desc.name ().c_str ()); MonolithicDeploymentDescription::source_const_iterator me = desc.end_source (); - + CORBA::ULong len = 0; toconfig.source.length (desc.count_source ()); for (MonolithicDeploymentDescription::source_const_iterator se = @@ -68,8 +70,8 @@ namespace CIAO { CORBA::ULong tmp = 0; - ADD_Handler::IDREF.find_ref (ACE_CString (ab->id ().c_str ()), - tmp); + ADD_Handler::IDREF.find_ref (ACE_CString (ab->id ().c_str ()), + tmp); toconfig.artifactRef[len++] = tmp; } @@ -87,24 +89,16 @@ namespace CIAO toconfig.execParameter[len++]); } -#if 0 - // @@ MAJO: Don't know how to handle this - if (desc.deployRequirement_p ()) - { - Req_Handler handler; - toconfig.deployRequirement.length ( - toconfig.deployRequirement.length () + 1); - handler.get_Requirement ( - toconfig.deployRequirement[toconfig.deployRequirement.length () - 1], - desc.deployRequirement ()); - } -#endif /*if 0*/ + toconfig.deployRequirement.length (desc.count_deployRequirement ()); + std::for_each (desc.begin_deployRequirement (), + desc.end_deployRequirement (), + Requirement_Functor (toconfig.deployRequirement)); // Handle the idref if (desc.id_p ()) { ACE_CString cstr (desc.id ().c_str ()); - + MDD_Handler::IDREF.bind_ref (cstr, pos); } else @@ -113,57 +107,70 @@ namespace CIAO "(%P|%t) Warning: MDD %s has no idref \n", desc.name ().c_str ())); } - } - - - MonolithicDeploymentDescription - MDD_Handler::mono_deployment_description( - const Deployment::MonolithicDeploymentDescription &src) - { - //Get the name and instantiate the mdd - XMLSchema::string < char > name ((src.name)); - MonolithicDeploymentDescription mdd (name); - - //Get the source(s) from the IDL and store them - size_t total = src.source.length(); - for(size_t i = 0; i < total; i++) - { - XMLSchema::string< char > curr ((src.source[i])); - mdd.add_source(curr); - } - - //Get the artifactRef(s) from the IDL and store them - total = src.artifactRef.length(); - for(size_t j = 0; j < total; j++) - { - ACE_CString tmp; - ADD_Handler::IDREF.find_ref(src.artifactRef[j], tmp); - XMLSchema::IDREF< ACE_TCHAR > curr(tmp.c_str()); - mdd.add_artifact (curr); - } - - //Get the execParameter(s) from the IDL and store them - total = src.execParameter.length(); - for(size_t k = 0; k < total; k++) - { - mdd.add_execParameter ( - Property_Handler::get_property ( - src.execParameter[k])); - } - - //Get the deployRequirement(s) from the IDL and store them - total = src.deployRequirement.length(); - for(size_t l = 0; l < total; l++) - { - mdd.add_deployRequirement( - Req_Handler::get_requirement ( - src.deployRequirement[l])); - } - - return mdd; - } + } + + + MonolithicDeploymentDescription + MDD_Handler::mono_deployment_description( + const Deployment::MonolithicDeploymentDescription &src) + { + CIAO_TRACE("mono_deployment_description - reverse"); + + //Get the name and instantiate the mdd + XMLSchema::string < char > name ((src.name)); + MonolithicDeploymentDescription mdd (name); + + //Get the source(s) from the IDL and store them + size_t total = src.source.length(); + for(size_t i = 0; i < total; i++) + { + XMLSchema::string< char > curr ((src.source[i])); + mdd.add_source(curr); + } + + //Get the artifactRef(s) from the IDL and store them + total = src.artifactRef.length(); + for(size_t j = 0; j < total; j++) + { + ACE_CString tmp; + ADD_Handler::IDREF.find_ref(src.artifactRef[j], tmp); + XMLSchema::IDREF< ACE_TCHAR > curr(tmp.c_str()); + mdd.add_artifact (curr); + } + + //Get the execParameter(s) from the IDL and store them + total = src.execParameter.length(); + for(size_t k = 0; k < total; k++) + { + mdd.add_execParameter ( + Property_Handler::get_property (src.execParameter[k])); + } + + //Get the deployRequirement(s) from the IDL and store them + total = src.deployRequirement.length(); + for(size_t l = 0; l < total; l++) + { + mdd.add_deployRequirement( + Req_Handler::get_requirement (src.deployRequirement[l])); + } + + // Generate a UUID to use for the IDREF. + ACE_Utils::UUID uuid; + ACE_Utils::UUID_GENERATOR::instance ()->generateUUID (uuid); + ACE_CString mdd_id ("_"); + mdd_id += *uuid.to_string (); + + XMLSchema::ID< ACE_TCHAR > xml_id (mdd_id.c_str ()); + + // Bind the ref and set it in the IDD + MDD_Handler::IDREF.bind_next_available (mdd_id); + + mdd.id (xml_id); + + return mdd; + } } } - + diff --git a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.h b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.h index 343e737beb2..2d95ff71e2d 100644 --- a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file MDD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file MDD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_MDD_Handler_H @@ -22,49 +22,49 @@ namespace Deployment { - struct MonolithicDeploymentDescription; - class MonolithicDeploymentDescriptions; +struct MonolithicDeploymentDescription; +class MonolithicDeploymentDescriptions; } namespace CIAO { - namespace Config_Handlers - { - class MonolithicDeploymentDescription; - class DeploymentPlan; - - /* - * @class MDD_Handler - * - * @brief Handler class for <MonolithicDeploymentDescription> types. - * - * This class defines handler methods to map values from XSC - * MonolithicDeploymentDescription objects, parsed from the - * descriptor files, to the corresponding CORBA IDL types. - * - */ +namespace Config_Handlers +{ +class MonolithicDeploymentDescription; +class DeploymentPlan; + +/* +* @class MDD_Handler +* +* @brief Handler class for <MonolithicDeploymentDescription> types. +* +* This class defines handler methods to map values from XSC +* MonolithicDeploymentDescription objects, parsed from the +* descriptor files, to the corresponding CORBA IDL types. +* +*/ + +class Config_Handlers_Export MDD_Handler +{ +public: +static void mono_deployment_descriptions ( +const DeploymentPlan &src, +Deployment::MonolithicDeploymentDescriptions &dest); + +static MonolithicDeploymentDescription mono_deployment_description( +const Deployment::MonolithicDeploymentDescription &src); - class Config_Handlers_Export MDD_Handler - { - public: - static void mono_deployment_descriptions ( - const DeploymentPlan &src, - Deployment::MonolithicDeploymentDescriptions &dest); - - static MonolithicDeploymentDescription mono_deployment_description( - const Deployment::MonolithicDeploymentDescription &src); +static IDREF_Base<CORBA::ULong> IDREF; - static IDREF_Base<CORBA::ULong> IDREF; - - private: - static void mono_deployment_description ( - const MonolithicDeploymentDescription& desc, - Deployment::MonolithicDeploymentDescription& toconfig, - CORBA::ULong pos); - }; - } +private: +static void mono_deployment_description ( +const MonolithicDeploymentDescription& desc, +Deployment::MonolithicDeploymentDescription& toconfig, +CORBA::ULong pos); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/PCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/PCD_Handler.cpp index 917c056a6cb..007355c0139 100644 --- a/TAO/CIAO/tools/Config_Handlers/PCD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/PCD_Handler.cpp @@ -8,6 +8,7 @@ #include "CRDD_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" +#include "ciao/CIAO_common.h" namespace CIAO { @@ -26,9 +27,11 @@ namespace CIAO ///and maps the values from the passed in XSC ///PlanConnectionDescription to its members. void PCD_Handler::get_PlanConnectionDescription ( - Deployment::PlanConnectionDescription& toconfig, - PlanConnectionDescription& desc) + Deployment::PlanConnectionDescription& toconfig, + PlanConnectionDescription& desc) { + CIAO_TRACE("PCD_Handler::get_PlanConnectionDescription"); + toconfig.name = CORBA::string_dup (desc.name ().c_str ()); //Source is mapped to a string in the schema and a sequence @@ -43,118 +46,98 @@ namespace CIAO toconfig.source[0] = desc.source ().c_str (); } - for(PlanConnectionDescription::deployRequirement_iterator - req (desc.begin_deployRequirement()); - req != desc.end_deployRequirement(); - req++) - { -#if 0 - // @@ MAJO: - //Create the handler for the requirements. - Requirement_Handler reqhandler; - - //Increase the sequence length and delgate - //the Requirement to the Req_Handler. - toconfig.deployRequirement.length ( - toconfig.deployRequirement.length () + 1); - reqhandler.get_Requirement ( - toconfig.deployRequirement[toconfig.deployRequirement.length () - 1], - desc.deployRequirement ()); -#endif /*if 0*/ - } + toconfig.deployRequirement.length (desc.count_deployRequirement ()); + std::for_each (desc.begin_deployRequirement (), + desc.end_deployRequirement (), + Requirement_Functor (toconfig.deployRequirement)); + //Create the ComponentExternalPortEndpoint handler. - CEPE_Handler::external_port_endpoints ( - desc, - toconfig.externalEndpoint); - + CEPE_Handler::external_port_endpoints (desc, + toconfig.externalEndpoint); + //Configure the PlanSubcomponentPortEndpoint's. - PSPE_Handler::sub_component_port_endpoints ( - desc, - toconfig.internalEndpoint); + PSPE_Handler::sub_component_port_endpoints (desc, + toconfig.internalEndpoint); //Configure the ExternalReferenceEndpoint's. - ERE_Handler::external_ref_endpoints ( - desc, - toconfig.externalReference); - + ERE_Handler::external_ref_endpoints (desc, + toconfig.externalReference); + //Configure the resource value. CRDD_Handler crddhandler; CORBA::ULong pos = 0; toconfig.deployedResource.length (desc.count_deployedResource ()); for(PlanConnectionDescription::deployedResource_iterator res = - desc.begin_deployedResource(); - res != desc.end_deployedResource(); - res++) - { + desc.begin_deployedResource(); + res != desc.end_deployedResource(); + res++) + { crddhandler.get_ConnectionResourceDeploymentDescription ( - toconfig.deployedResource[pos++], - *res); - } + toconfig.deployedResource[pos++], + *res); + } + + } + + PlanConnectionDescription PCD_Handler::get_PlanConnectionDescription ( + const Deployment::PlanConnectionDescription &src) + { + CIAO_TRACE("PCD_Handler::get_PlanConnectionDescription"); + + XMLSchema::string< char > name ((src.name)); + + PlanConnectionDescription pcd(name); + + //Get the source if it exists + if(src.source.length() != 0) + { + XMLSchema::string< char > source((src.source[0])); + pcd.source(source); + } + + //Get any externalEndpoint(s) and store them + size_t total = src.externalEndpoint.length(); + for(size_t i = 0; i < total; i++) + { + pcd.add_externalEndpoint( + CEPE_Handler::external_port_endpoint(src.externalEndpoint[i])); + } + + //Get any externalReference(s) and store them + total = src.externalReference.length(); + for(size_t j = 0; j < total; j++) + { + pcd.add_externalReference( + ERE_Handler::external_ref_endpoint(src.externalReference[j])); + } + + //Get any internalEndpoint(s) and store them + total = src.internalEndpoint.length(); + for(size_t k = 0; k < total; k++) + { + pcd.add_internalEndpoint( + PSPE_Handler::sub_component_port_endpoint(src.internalEndpoint[k])); + } + + //Get any deployedResource(s) and store them + total = src.deployedResource.length(); + for(size_t l = 0; l < total; l++) + { + pcd.add_deployedResource( + CRDD_Handler::connection_resource_depl_desc(src.deployedResource[l])); + } + + //Get any deployRequirement(s) and store them + total = src.deployRequirement.length(); + for(size_t m = 0; m < total; m++) + { + pcd.add_deployRequirement( + Req_Handler::get_requirement(src.deployRequirement[m])); + } + return pcd; } - - PlanConnectionDescription PCD_Handler::get_PlanConnectionDescription ( - const Deployment::PlanConnectionDescription &src) - { - XMLSchema::string< char > name ((src.name)); - - PlanConnectionDescription pcd(name); - - //Get the source if it exists - if(src.source.length() != 0) - { - XMLSchema::string< char > source((src.source[0])); - pcd.source(source); - } - - //Get any externalEndpoint(s) and store them - size_t total = src.externalEndpoint.length(); - for(size_t i = 0; i < total; i++) - { - pcd.add_externalEndpoint( - CEPE_Handler::external_port_endpoint( - src.externalEndpoint[i])); - } - - //Get any externalReference(s) and store them - total = src.externalReference.length(); - for(size_t j = 0; j < total; j++) - { - pcd.add_externalReference( - ERE_Handler::external_ref_endpoint( - src.externalReference[j])); - } - - //Get any internalEndpoint(s) and store them - total = src.internalEndpoint.length(); - for(size_t k = 0; k < total; k++) - { - pcd.add_internalEndpoint( - PSPE_Handler::sub_component_port_endpoint( - src.internalEndpoint[k])); - } - - //Get any deployedResource(s) and store them - total = src.deployedResource.length(); - for(size_t l = 0; l < total; l++) - { - pcd.add_deployedResource( - CRDD_Handler::connection_resource_depl_desc( - src.deployedResource[l])); - } - - //Get any deployRequirement(s) and store them - total = src.deployRequirement.length(); - for(size_t m = 0; m < total; m++) - { - pcd.add_deployRequirement( - Req_Handler::get_requirement( - src.deployRequirement[m])); - } - - return pcd; - } } } diff --git a/TAO/CIAO/tools/Config_Handlers/PCD_Handler.h b/TAO/CIAO/tools/Config_Handlers/PCD_Handler.h index f5ad6eee6e8..0df811b601c 100644 --- a/TAO/CIAO/tools/Config_Handlers/PCD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/PCD_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file PCD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file PCD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_PCD_HANDLER_H @@ -20,49 +20,49 @@ namespace Deployment { - struct PlanConnectionDescription; +struct PlanConnectionDescription; } namespace CIAO { - namespace Config_Handlers - { - - class PlanConnectionDescription; - - /* - * @class PCD_Handler - * - * @brief Handler class for <PlanConnectionDescription> types. - * - * This class defines handler methods to map values from - * XSC PlanConnectionDescription objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ - - class Config_Handlers_Export PCD_Handler{ - - public: - - PCD_Handler (void); - virtual ~PCD_Handler (void); - - ///This method takes a <Deployment::PlanConnectionDescription> - ///and maps the values from the passed in XSC - ///PlanConnectionDescription to its members. - void get_PlanConnectionDescription ( - Deployment::PlanConnectionDescription& toconfig, - PlanConnectionDescription& desc); +namespace Config_Handlers +{ + +class PlanConnectionDescription; + +/* +* @class PCD_Handler +* +* @brief Handler class for <PlanConnectionDescription> types. +* +* This class defines handler methods to map values from +* XSC PlanConnectionDescription objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export PCD_Handler{ - //This method takes a <Deployment::PlanConnectionDescription> - //converts it into a <Config_Handler::PlanConnectionDescription> - //and returns the value - static PlanConnectionDescription get_PlanConnectionDescription ( - const Deployment::PlanConnectionDescription &src); - }; - } +public: + +PCD_Handler (void); +virtual ~PCD_Handler (void); + +///This method takes a <Deployment::PlanConnectionDescription> +///and maps the values from the passed in XSC +///PlanConnectionDescription to its members. +void get_PlanConnectionDescription ( +Deployment::PlanConnectionDescription& toconfig, +PlanConnectionDescription& desc); + +//This method takes a <Deployment::PlanConnectionDescription> +//converts it into a <Config_Handler::PlanConnectionDescription> +//and returns the value +static PlanConnectionDescription get_PlanConnectionDescription ( +const Deployment::PlanConnectionDescription &src); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.cpp index 9dcf33fc81e..21b85125a85 100644 --- a/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.cpp @@ -11,14 +11,16 @@ namespace CIAO { void PSPE_Handler::sub_component_port_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::PlanSubcomponentPortEndpoints &dest) + const PlanConnectionDescription &src, + ::Deployment::PlanSubcomponentPortEndpoints &dest) { + CIAO_TRACE("PSPE_Handler::sub_component_port_endpoints"); + PlanConnectionDescription::internalEndpoint_const_iterator iei_e = src.end_internalEndpoint (); CORBA::ULong pos = 0; dest.length (src.count_internalEndpoint ()); - + for (PlanConnectionDescription::internalEndpoint_const_iterator iei_b = src.begin_internalEndpoint (); iei_b != iei_e; @@ -31,9 +33,10 @@ namespace CIAO void PSPE_Handler::sub_component_port_endpoint ( - const PlanSubcomponentPortEndpoint &src, - ::Deployment::PlanSubcomponentPortEndpoint &dest) + const PlanSubcomponentPortEndpoint &src, + ::Deployment::PlanSubcomponentPortEndpoint &dest) { + CIAO_TRACE("PSPE_Handler::sub_component_port_endpoint"); dest.portName = src.portName ().c_str (); @@ -47,84 +50,85 @@ namespace CIAO } CORBA::ULong tmp = 0; - IDD_Handler::IDREF.find_ref (ACE_CString (src.instance ().id ().c_str ()), - tmp); - + IDD_Handler::IDREF.find_ref (ACE_CString (src.instance ().id ().c_str ()), + tmp); + dest.instanceRef = tmp; switch (src.kind ().integral ()) { - case CCMComponentPortKind::Facet_l: - dest.kind = Deployment::Facet; - break; - - case CCMComponentPortKind::SimplexReceptacle_l: - dest.kind = Deployment::SimplexReceptacle; - break; - - case CCMComponentPortKind::MultiplexReceptacle_l: - dest.kind = Deployment::MultiplexReceptacle; - break; - - case CCMComponentPortKind::EventEmitter_l: - dest.kind = Deployment::EventEmitter; - break; - - case CCMComponentPortKind::EventPublisher_l: - dest.kind = Deployment::EventPublisher; - break; - - case CCMComponentPortKind::EventConsumer_l: - dest.kind = Deployment::EventConsumer; - break; - - default: - ACE_DEBUG ((LM_DEBUG, "Invalid port kind in connection\n")); - - } + case CCMComponentPortKind::Facet_l: + dest.kind = Deployment::Facet; + break; + + case CCMComponentPortKind::SimplexReceptacle_l: + dest.kind = Deployment::SimplexReceptacle; + break; + + case CCMComponentPortKind::MultiplexReceptacle_l: + dest.kind = Deployment::MultiplexReceptacle; + break; + + case CCMComponentPortKind::EventEmitter_l: + dest.kind = Deployment::EventEmitter; + break; + + case CCMComponentPortKind::EventPublisher_l: + dest.kind = Deployment::EventPublisher; + break; + + case CCMComponentPortKind::EventConsumer_l: + dest.kind = Deployment::EventConsumer; + break; + + default: + ACE_DEBUG ((LM_DEBUG, "Invalid port kind in connection\n")); + + } } PlanSubcomponentPortEndpoint PSPE_Handler::sub_component_port_endpoint ( - const Deployment::PlanSubcomponentPortEndpoint &src) + const Deployment::PlanSubcomponentPortEndpoint &src) { // @@MAJO + CIAO_TRACE("PSPE_Handler::sub_component_port_endpoint - reverse"); XMLSchema::string< char > pname ((src.portName)); XMLSchema::string< char > tval ("true"); XMLSchema::string< char > prov (""); ACE_CString id; IDD_Handler::IDREF.find_ref(src.instanceRef, id); - XMLSchema::IDREF < ACE_TCHAR > idref(id.c_str()); - + XMLSchema::IDREF < ACE_TCHAR > idref(id.c_str()); + if (src.provider) prov = tval; PlanSubcomponentPortEndpoint pspe (pname, - CCMComponentPortKind::Facet, - idref); + CCMComponentPortKind::Facet, + idref); pspe.provider (prov); - + switch (src.kind) - { + { case ::Deployment::Facet: pspe.kind (CCMComponentPortKind::Facet); break; - + case ::Deployment::SimplexReceptacle: pspe.kind (CCMComponentPortKind::SimplexReceptacle); break; - + case ::Deployment::MultiplexReceptacle: pspe.kind (CCMComponentPortKind::MultiplexReceptacle); break; - + case ::Deployment::EventEmitter: pspe.kind (CCMComponentPortKind::EventEmitter); break; - + case ::Deployment::EventPublisher: pspe.kind (CCMComponentPortKind::EventPublisher); break; - + case ::Deployment::EventConsumer: pspe.kind (CCMComponentPortKind::EventConsumer); break; @@ -142,7 +146,7 @@ namespace CIAO break; } - + return pspe; } diff --git a/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.h b/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.h index ec27a6e4dcb..aeb92da9eb0 100644 --- a/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/PSPE_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file PSPE_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file PSPE_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_PSPE_HANDLER_H @@ -20,45 +20,45 @@ namespace Deployment { - class PlanSubcomponentPortEndpoints; - struct PlanSubcomponentPortEndpoint; +class PlanSubcomponentPortEndpoints; +struct PlanSubcomponentPortEndpoint; } namespace CIAO { - namespace Config_Handlers - { - class PlanConnectionDescription; - class PlanSubcomponentPortEndpoint; +namespace Config_Handlers +{ +class PlanConnectionDescription; +class PlanSubcomponentPortEndpoint; - /* - * @class PSPE_Handler - * - * @brief Handler class for <PlanSubcomponentPortEndpoint> types. - * - * This class defines handler methods to map values from - * XSC PlanSubcomponentPortEndpoint objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ - class Config_Handlers_Export PSPE_Handler - { - public: - static void sub_component_port_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::PlanSubcomponentPortEndpoints &dest); +/* +* @class PSPE_Handler +* +* @brief Handler class for <PlanSubcomponentPortEndpoint> types. +* +* This class defines handler methods to map values from +* XSC PlanSubcomponentPortEndpoint objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ +class Config_Handlers_Export PSPE_Handler +{ +public: +static void sub_component_port_endpoints ( +const PlanConnectionDescription &src, +::Deployment::PlanSubcomponentPortEndpoints &dest); - static PlanSubcomponentPortEndpoint - sub_component_port_endpoint ( - const Deployment::PlanSubcomponentPortEndpoint &src); +static PlanSubcomponentPortEndpoint +sub_component_port_endpoint ( +const Deployment::PlanSubcomponentPortEndpoint &src); - private: - static void sub_component_port_endpoint ( - const PlanSubcomponentPortEndpoint &src, - ::Deployment::PlanSubcomponentPortEndpoint &dest); - }; - } +private: +static void sub_component_port_endpoint ( +const PlanSubcomponentPortEndpoint &src, +::Deployment::PlanSubcomponentPortEndpoint &dest); +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp new file mode 100644 index 00000000000..d9756f3c07f --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp @@ -0,0 +1,259 @@ +// $Id$ + +#include "Package_Handlers/CAD_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "cid.hpp" +#include "ciao/DeploymentC.h" +#include "Req_Handler.h" +#include "CEPE_Handler.h" +#include "ERE_Handler.h" +#include "Utils/Exceptions.h" + +#include "Package_Handlers/SID_Handler.h" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + namespace + { + struct SPE_Handler + { + static void get_spe (const SubcomponentPortEndpoint &desc, + ::Deployment::SubcomponentPortEndpoint &toconfig) + { + CIAO_TRACE("SPE_Handler::get_spe"); + + toconfig.portName = desc.portName ().c_str (); + + ACE_CString str (desc.instance ().id ().c_str ()); + CORBA::ULong pos (0); + + SID_Handler::IDREF.find_ref (str, pos); + toconfig.instanceRef = pos; + } + + static SubcomponentPortEndpoint + get_spe (const ::Deployment::SubcomponentPortEndpoint &src) + { + CIAO_TRACE("SPE_Handler::get_spe - reverse"); + ACE_CString str; + SID_Handler::IDREF.find_ref (src.instanceRef, str); + + return SubcomponentPortEndpoint (src.portName.in (), + str.c_str ()); + } + }; + + typedef Sequence_Handler < SubcomponentPortEndpoint, + ::Deployment::SubcomponentPortEndpoints, + ::Deployment::SubcomponentPortEndpoint, + SPE_Handler::get_spe > SPE_Functor; + + struct ACD_Handler + { + static void get_acd (const AssemblyConnectionDescription &desc, + ::Deployment::AssemblyConnectionDescription &toconfig) + { + CIAO_TRACE("ACD_Handler::get_acd"); + + toconfig.name = desc.name ().c_str (); + + toconfig.deployRequirement.length (desc.count_deployRequirement ()); + std::for_each (desc.begin_deployRequirement (), + desc.end_deployRequirement (), + Requirement_Functor (toconfig.deployRequirement)); + + toconfig.internalEndpoint.length (desc.count_internalEndpoint ()); + std::for_each (desc.begin_internalEndpoint (), + desc.end_internalEndpoint (), + SPE_Functor (toconfig.internalEndpoint)); + + toconfig.externalEndpoint.length (desc.count_externalEndpoint ()); + std::for_each (desc.begin_externalEndpoint (), + desc.end_externalEndpoint (), + CEPE_Functor (toconfig.externalEndpoint)); + + toconfig.externalReference.length (desc.count_externalReference ()); + std::for_each (desc.begin_externalReference (), + desc.end_externalReference (), + ERE_Functor (toconfig.externalReference)); + + } + + static AssemblyConnectionDescription + get_acd (const ::Deployment::AssemblyConnectionDescription &src) + { + CIAO_TRACE("ACD_Handler::get_acd - reverse"); + + AssemblyConnectionDescription retval (src.name.in ()); + + for (CORBA::ULong i = 0; i < src.deployRequirement.length (); ++i) + retval.add_deployRequirement + (Req_Handler::get_requirement (src.deployRequirement[i])); + + for (CORBA::ULong i = 0; i < src.internalEndpoint.length (); ++i) + retval.add_internalEndpoint + (SPE_Handler::get_spe (src.internalEndpoint[i])); + + for (CORBA::ULong i = 0; i < src.externalEndpoint.length (); ++i) + retval.add_externalEndpoint + (CEPE_Handler::external_port_endpoint (src.externalEndpoint[i])); + + for (CORBA::ULong i = 0; i < src.externalReference.length (); ++i) + retval.add_externalReference + (ERE_Handler::external_ref_endpoint (src.externalReference[i])); + + return retval; + } + }; + + typedef Sequence_Handler < AssemblyConnectionDescription, + ::Deployment::AssemblyConnectionDescriptions, + ::Deployment::AssemblyConnectionDescription, + ACD_Handler::get_acd > ACD_Functor; + + + struct SPR_Handler + { + static void get_spr (const SubcomponentPropertyReference &desc, + ::Deployment::SubcomponentPropertyReference &toconfig) + { + CIAO_TRACE("SPR_Handler::get_spr"); + + toconfig.propertyName = desc.propertyName ().c_str (); + + ACE_CString str (desc.instance ().id ().c_str ()); + CORBA::ULong pos (0); + + SID_Handler::IDREF.find_ref (str, pos); + toconfig.instanceRef = pos; + + } + + static SubcomponentPropertyReference + get_spr (const ::Deployment::SubcomponentPropertyReference &src) + { + CIAO_TRACE("SPR_HAndler::get_spr - reverse"); + ACE_CString str; + SID_Handler::IDREF.find_ref (src.instanceRef, str); + + return SubcomponentPropertyReference (src.propertyName.in (), + str.c_str ()); + } + + }; + + typedef Sequence_Handler < SubcomponentPropertyReference, + ::Deployment::SubcomponentPropertyReferences, + ::Deployment::SubcomponentPropertyReference, + SPR_Handler::get_spr > SPR_Functor; + + struct APM_Handler + { + static void get_apm (const AssemblyPropertyMapping &desc, + ::Deployment::AssemblyPropertyMapping &toconfig) + { + CIAO_TRACE("APM_Handler::get_apm"); + + toconfig.name = desc.name ().c_str (); + toconfig.externalName = desc.externalName ().c_str (); + + toconfig.delegatesTo.length (desc.count_delegatesTo ()); + std::for_each (desc.begin_delegatesTo (), + desc.end_delegatesTo (), + SPR_Functor (toconfig.delegatesTo)); + } + + static AssemblyPropertyMapping + get_apm (const ::Deployment::AssemblyPropertyMapping &src) + { + CIAO_TRACE("APM_Handler::get_apm - reverse"); + + AssemblyPropertyMapping retval (src.name.in (), + src.externalName.in ()); + + for (CORBA::ULong i = 0; i < src.delegatesTo.length (); ++i) + retval.add_delegatesTo (SPR_Handler::get_spr (src.delegatesTo[i])); + + return retval; + } + }; + + typedef Sequence_Handler < AssemblyPropertyMapping, + ::Deployment::AssemblyPropertyMappings, + ::Deployment::AssemblyPropertyMapping, + APM_Handler::get_apm > APM_Functor; + } + + + + void + CAD_Handler::component_assem_descr (const ComponentAssemblyDescription &desc, + ::Deployment::ComponentAssemblyDescription &toconfig) + { + CIAO_TRACE("CAD_Handler::component_assem_descr"); + + toconfig.instance.length (desc.count_instance ()); + std::for_each (desc.begin_instance (), + desc.end_instance (), + SID_Functor (toconfig.instance)); + + /* @@ MAJO: Implement Locality */ + + toconfig.connection.length (desc.count_connection ()); + std::for_each (desc.begin_connection (), + desc.end_connection (), + ACD_Functor (toconfig.connection)); + + toconfig.externalProperty.length (desc.count_externalProperty ()); + std::for_each (desc.begin_externalProperty (), + desc.end_externalProperty (), + APM_Functor (toconfig.externalProperty)); + } + + ComponentAssemblyDescription + CAD_Handler::component_assem_descr (const ::Deployment::ComponentAssemblyDescription &src) + { + CIAO_TRACE("CAD_Handler::component_assem_descr - reverse"); + + ComponentAssemblyDescription retval; + + for (CORBA::ULong i = 0; i < src.instance.length (); ++i) + retval.add_instance + (SID_Handler::sub_comp_inst_descr (src.instance[i])); + + for (CORBA::ULong i = 0; i < src.connection.length (); ++i) + retval.add_connection (ACD_Handler::get_acd (src.connection[i])); + + for (CORBA::ULong i = 0; i < src.externalProperty.length (); ++i) + retval.add_externalProperty (APM_Handler::get_apm (src.externalProperty[i])); + + return retval; + + } + + ComponentAssemblyDescription * + CAD_Handler::resolve_cad (const char *) + { + /* xercesc::DOMDocument *dom = + this->xml_helper_->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for CAD"); + + try { + return new ComponentAssemblyDescription + (componentAssemblyDescription (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for CAD"); + */ + return 0; + } + } + } +} + diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h new file mode 100644 index 00000000000..b4c0b790fc0 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h @@ -0,0 +1,59 @@ +/** + * @file CAD_Handler.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * + * $Id$ + */ + +#ifndef CIAO_PACKAGING_CAD_HANDLER_H +#define CIAO_PACKAGING_CAD_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Utils/XML_Helper.h" +#include "ciao/DeploymentC.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +namespace Deployment +{ + struct ComponentAssemblyDescription; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class ComponentAssemblyDescription; + + namespace Packaging + { + + /** + * @class CAD_Handler + * + * @brief Handler class for ComponentAssemblyDescription. + */ + class Packaging_Handlers_Export CAD_Handler + { + public: + static void component_assem_descr (const ComponentAssemblyDescription &desc, + ::Deployment::ComponentAssemblyDescription &toconfig); + + static ComponentAssemblyDescription + component_assem_descr (const ::Deployment::ComponentAssemblyDescription &src); + + private: + static ComponentAssemblyDescription * resolve_cad (const char *uri); + }; + + } + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_PACKAGING_CAD_HANDLER_H */ + diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp new file mode 100644 index 00000000000..3df24e01cb0 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp @@ -0,0 +1,382 @@ +// $Id$ +#include "Package_Handlers/CID_Handler.h" +#include "Package_Handlers/CPD_Handler.h" +#include "Package_Handlers/IAD_Handler.h" +#include "Package_Handlers/CAD_Handler.h" +#include "Package_Handlers/Comp_Intf_Descr_Handler.h" +#include "Package_Handlers/NIA_Handler.h" +#include "SatisfierProperty_Handler.h" +#include "Req_Handler.h" + +#include "Basic_Deployment_Data.hpp" +#include "ciao/Deployment_DataC.h" +#include "Utils/XML_Helper.h" +#include "Utils/Exceptions.h" + +#include "Deployment.hpp" +#include "Property_Handler.h" + + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + + IDREF_Base<CORBA::ULong> CID_Handler::IDREF; + + namespace + { + struct Capability_Handler + { + static void get_capability (const Capability &desc, + ::Deployment::Capability &toconfig) + { + CIAO_TRACE ("Capability_Handler::get_capability"); + + toconfig.name = desc.name ().c_str (); + + toconfig.resourceType.length (desc.count_resourceType ()); + std::for_each (desc.begin_resourceType (), + desc.end_resourceType (), + String_Seq_Functor (toconfig.resourceType)); + + toconfig.property.length (desc.count_property ()); + std::for_each (desc.begin_property (), + desc.end_property (), + SatisfierProperty_Functor (toconfig.property)); + } + + static Capability get_capability (const ::Deployment::Capability &src) + { + CIAO_TRACE ("Capability_Handler::get_capability - reverse"); + + Capability retval (src.name.in ()); + + for (CORBA::ULong i = 0; i < src.resourceType.length (); ++i) + retval.add_resourceType (src.resourceType[i].in ()); + + for (CORBA::ULong i = 0; i < src.property.length (); ++i) + retval.add_property (SatisfierProperty_Handler::get_sat_property (src.property[i])); + + return retval; + } + }; + + typedef Sequence_Handler < Capability, + ::Deployment::Capabilities, + ::Deployment::Capability, + Capability_Handler::get_capability > Capability_Functor; + + struct IR_Handler + { + static void get_ir (const ImplementationRequirement &desc, + ::Deployment::ImplementationRequirement &toconfig) + { + CIAO_TRACE ("IR_Handler::get_ir"); + + if (desc.resourceUsage_p ()) + { + switch (desc.resourceUsage ().integral ()) + { + case ResourceUsageKind::None_l: + toconfig.resourceUsage = Deployment::None; + break; + + case ResourceUsageKind::InstanceUsesResource_l: + toconfig.resourceUsage = Deployment::InstanceUsesResource; + break; + + case ResourceUsageKind::ResourceUsesInstance_l: + toconfig.resourceUsage = Deployment::ResourceUsesInstance; + break; + + case ResourceUsageKind::PortUsesResource_l: + toconfig.resourceUsage = Deployment::PortUsesResource; + break; + + case ResourceUsageKind::ResourceUsesPort_l: + toconfig.resourceUsage = Deployment::ResourceUsesPort; + break; + + default: + throw Config_Error (desc.name (), + "Unknown ResourceUsageKind."); + break; + } + } + + if (desc.resourcePort_p ()) + toconfig.resourcePort = desc.resourcePort ().c_str (); + + if (desc.componentPort_p ()) + toconfig.componentPort = desc.componentPort ().c_str (); + + toconfig.resourceType = desc.resourceType ().c_str (); + toconfig.name = desc.name ().c_str (); + + std::for_each (desc.begin_property (), + desc.end_property (), + Property_Functor (toconfig.property )); + } + + static ImplementationRequirement + get_ir (const ::Deployment::ImplementationRequirement &src) + { + CIAO_TRACE ("IR_Handler::get_ir - reverse"); + + ImplementationRequirement retval (src.resourceType.in (), + src.name.in ()); + + if (src.resourceUsage.length () == 1) + switch (src.resourceUsage[0]) + { + case Deployment::None: + retval.resourceUsage (ResourceUsageKind::None); + break; + + case Deployment::InstanceUsesResource: + retval.resourceUsage (ResourceUsageKind::InstanceUsesResource); + break; + + case Deployment::ResourceUsesInstance: + retval.resourceUsage (ResourceUsageKind::ResourceUsesInstance); + break; + + case Deployment::PortUsesResource: + retval.resourceUsage (ResourceUsageKind::PortUsesResource); + break; + + case Deployment::ResourceUsesPort: + retval.resourceUsage (ResourceUsageKind::ResourceUsesPort); + break; + + default: + throw Config_Error (src.name.in (), + "Unknown ResourceUsageKind."); + break; + } + + retval.resourcePort (src.resourcePort.in ()); + + retval.componentPort (src.componentPort.in ()); + + for (CORBA::ULong i = 0; i < src.property.length (); ++i) + retval.add_property (Property_Handler::get_property (src.property[i])); + + return retval; + } + }; + + typedef Sequence_Handler < ImplementationRequirement, + ::Deployment::ImplementationRequirements, + ::Deployment::ImplementationRequirement, + IR_Handler::get_ir > IR_Functor; + + + + struct MID_Handler + { + static void get_mid (const MonolithicImplementationDescription &desc, + ::Deployment::MonolithicImplementationDescription &toconfig) + { + CIAO_TRACE ("MID_Handler::get_mid"); + + toconfig.nodeExecParameter.length (desc.count_nodeExecParameter ()); + std::for_each (desc.begin_nodeExecParameter (), + desc.end_nodeExecParameter (), + Property_Functor (toconfig.nodeExecParameter)); + + toconfig.componentExecParameter.length (desc.count_componentExecParameter ()); + std::for_each (desc.begin_componentExecParameter (), + desc.end_componentExecParameter (), + Property_Functor (toconfig.componentExecParameter)); + + toconfig.deployRequirement.length (desc.count_deployRequirement ()); + std::for_each (desc.begin_deployRequirement (), + desc.end_deployRequirement (), + IR_Functor (toconfig.deployRequirement)); + + toconfig.primaryArtifact.length (desc.count_primaryArtifact ()); + std::for_each (desc.begin_primaryArtifact (), + desc.end_primaryArtifact (), + NIA_Functor (toconfig.primaryArtifact)); + } + + static MonolithicImplementationDescription + get_mid (const ::Deployment::MonolithicImplementationDescription &src) + { + CIAO_TRACE ("MID_Handler::get_mid - reverse"); + + MonolithicImplementationDescription retval; + + for (CORBA::ULong i = 0; i < src.nodeExecParameter.length (); ++i) + retval.add_nodeExecParameter + (Property_Handler::get_property (src.nodeExecParameter[i])); + + for (CORBA::ULong i = 0; i < src.componentExecParameter.length (); ++i) + retval.add_componentExecParameter + (Property_Handler::get_property (src.componentExecParameter[i])); + + for (CORBA::ULong i = 0; i < src.deployRequirement.length (); ++i) + retval.add_deployRequirement + (IR_Handler::get_ir (src.deployRequirement[i])); + + for (CORBA::ULong i = 0; i < src.primaryArtifact.length (); ++i) + retval.add_primaryArtifact + (NIA_Handler::get_nia (src.primaryArtifact[i])); + + return retval; + } + + }; + + typedef Sequence_Handler < MonolithicImplementationDescription, + ::Deployment::MonolithicImplementationDescriptions, + ::Deployment::MonolithicImplementationDescription, + MID_Handler::get_mid > MID_Functor; + + } + + void + CID_Handler::component_impl_descr ( + const ComponentImplementationDescription &desc, + ::Deployment::ComponentImplementationDescription &toconfig) + { + CIAO_TRACE ("CID_Handler::component_impl_descr"); + + const ComponentImplementationDescription *cid = 0; + std::auto_ptr <ComponentImplementationDescription> xsc_cid; + + if (desc.href_p ()) + { + xsc_cid.reset (CID_Handler::resolve_cid (desc.href ().c_str ())); + cid = xsc_cid.get (); + } + else + cid = &desc; + + if (cid->label_p ()) + toconfig.label = cid->label ().c_str (); + + if (cid->UUID_p ()) + toconfig.UUID = cid->UUID ().c_str (); + + if (cid->implements_p ()) + { // MAJO: We should be able to assume this exists, fix broken interpeters.. + Comp_Intf_Descr_Handler::comp_intf_descr (cid->implements (), + toconfig.implements); + } + + if (cid->assemblyImpl_p ()) + { + toconfig.assemblyImpl.length (1); + CAD_Handler::component_assem_descr (cid->assemblyImpl (), + toconfig.assemblyImpl[0]); + } + else if (cid->monolithicImpl_p ()) + { + toconfig.monolithicImpl.length (1); + MID_Handler::get_mid (cid->monolithicImpl (), + toconfig.monolithicImpl[0]); + } + else + throw Plan_Error ("ComponentImplementationDescription must have either assemblyImpl or monolithicImpl"); + + // configProperty + toconfig.configProperty.length (cid->count_configProperty ()); + std::for_each (cid->begin_configProperty (), + cid->end_configProperty (), + Property_Functor (toconfig.configProperty)); + + // capability + toconfig.capability.length (cid->count_capability ()); + std::for_each (cid->begin_capability (), + cid->end_capability (), + Capability_Functor (toconfig.capability)); + + // dependsOn + toconfig.dependsOn.length (cid->count_dependsOn ()); + CORBA::ULong pos = 0; + for (ComponentImplementationDescription::dependsOn_const_iterator i = cid->begin_dependsOn (); + i != cid->end_dependsOn (); + ++i) + toconfig.dependsOn[pos++].requiredType = i->requiredType ().c_str (); + + // infoProperty + toconfig.infoProperty.length (cid->count_infoProperty ()); + std::for_each (cid->begin_infoProperty (), + cid->end_infoProperty (), + Property_Functor (toconfig.infoProperty)); + + } + + ComponentImplementationDescription + CID_Handler::component_impl_descr (const Deployment::ComponentImplementationDescription& src) + { + CIAO_TRACE ("CID_Handler::component_impl_descr - reverse"); + + ComponentImplementationDescription retval; + + retval.label (src.label.in ()); + retval.UUID (src.UUID.in ()); + + { + retval.implements (Comp_Intf_Descr_Handler::comp_intf_descr (src.implements)); + } + + if (src.assemblyImpl.length () == 1) + { + retval.assemblyImpl (CAD_Handler::component_assem_descr (src.assemblyImpl[0])); + } + else if (src.monolithicImpl.length () == 1) + { + retval.monolithicImpl (MID_Handler::get_mid (src.monolithicImpl[0])); + } + else + ACE_DEBUG ((LM_WARNING, "Warning: ComponentImplementationDescription lacks " + "either a required assemblyImpl or monolithicImpl, or has too many")); + + for (CORBA::ULong i = 0; i < src.configProperty.length (); ++i) + { + retval.add_configProperty ( + Property_Handler::get_property (src.configProperty[i])); + } + + for (CORBA::ULong i = 0; i < src.dependsOn.length (); ++i) + { + retval.add_dependsOn (ImplementationDependency (src.dependsOn[i].requiredType.in ())); + } + + for (CORBA::ULong i = 0; i < src.infoProperty.length (); ++i) + { + retval.add_infoProperty ( + Property_Handler::get_property (src.infoProperty[i])); + } + + return retval; + } + + ComponentImplementationDescription * + CID_Handler::resolve_cid (const char *uri) + { + CIAO_TRACE ("CID_Handler::resolve_cid"); + + xercesc::DOMDocument *dom = XML_HELPER->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for CID"); + + try { + return new ComponentImplementationDescription + (componentImplementationDescription (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for CID"); + } + } + } + + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.h new file mode 100644 index 00000000000..ef1263ad139 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.h @@ -0,0 +1,67 @@ +/** + * @file CID_Handler.h + * + * $Id$ + * + * @author William Otte <wotte@dre.vanderbilt.edu + */ + +#ifndef CIAO_PACKAGING_CID_HANDLER_H +#define CIAO_PACKAGING_CID_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "IDREF_Base.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" +#include "tao/Basic_Types.h" + +namespace Deployment +{ + struct ComponentImplementationDescription; +} + + +namespace CIAO +{ + namespace Config_Handlers + { + class ComponentImplementationDescription; + + namespace Packaging + { + + /** + * @class CID_Handler + * + * @brief Handler class for <CCMComponentImplementationDescription> 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 Packaging_Handlers_Export CID_Handler + { + + public: + /// Maps the values from the XSC object + /// <ComponentImplementationDescription> to the CORBA IDL type + /// <Deployment::ComponentImplementationDescription>. + static void component_impl_descr (const ComponentImplementationDescription &desc, + ::Deployment::ComponentImplementationDescription &toconfig); + + static IDREF_Base<CORBA::ULong> IDREF; + + static ComponentImplementationDescription + component_impl_descr (const Deployment::ComponentImplementationDescription& src); + + private: + + static ComponentImplementationDescription * resolve_cid (const char *uri); + }; + } + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_PACKAGING_CID_HANDLER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp new file mode 100644 index 00000000000..2cfaae6f2a0 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp @@ -0,0 +1,158 @@ +// $Id$ +#include "Package_Handlers/CPD_Handler.h" +#include "Package_Handlers/CID_Handler.h" +#include "Package_Handlers/Comp_Intf_Descr_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "ciao/Packaging_DataC.h" +#include "Deployment.hpp" +#include "Utils/Exceptions.h" +#include "Property_Handler.h" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + namespace + { + struct PCI_Handler + { + static void get_pci (const PackagedComponentImplementation &desc, + ::Deployment::PackagedComponentImplementation &toconfig) + { + CIAO_TRACE ("PCI_Handler::get_pci"); + toconfig.name = desc.name ().c_str (); + + CID_Handler::component_impl_descr (desc.referencedImplementation (), + toconfig.referencedImplementation); + } + + static PackagedComponentImplementation + get_pci (const ::Deployment::PackagedComponentImplementation &src) + { + CIAO_TRACE ("PCI_Handler::get_pci - reverse"); + return PackagedComponentImplementation (src.name.in (), + CID_Handler::component_impl_descr (src.referencedImplementation)); + } + }; + + typedef Sequence_Handler < PackagedComponentImplementation, + ::Deployment::PackagedComponentImplementations, + ::Deployment::PackagedComponentImplementation, + PCI_Handler::get_pci > PCI_Functor; + } + + void + CPD_Handler::component_package_descr (const ComponentPackageDescription &desc, + ::Deployment::ComponentPackageDescription &toconfig) + { + CIAO_TRACE ("CPD_Handler::component_package_descr"); + + auto_ptr < ComponentPackageDescription > xsc_cpd; + const ComponentPackageDescription *cpd = 0; + + if (desc.href_p ()) + { + xsc_cpd.reset (CPD_Handler::resolve_cpd (desc.href ().c_str ())); + cpd = xsc_cpd.get (); + } + else + cpd = &desc; + + if (cpd->label_p ()) + toconfig.label = cpd->label ().c_str (); + + if (cpd->UUID_p ()) + toconfig.UUID = cpd->UUID ().c_str (); + + // CID + if (cpd->realizes_p ()) + Comp_Intf_Descr_Handler::comp_intf_descr (cpd->realizes (), + toconfig.realizes); + + // Config Properties + toconfig.configProperty.length (desc.count_configProperty ()); + std::for_each (cpd->begin_infoProperty (), + cpd->end_infoProperty (), + Property_Functor (toconfig.configProperty)); + + // ACE_DEBUG ((LM_ERROR, "***** Count of PCIs is %i\n", + // cpd->count_implementation ())); + + // Packaged Component Implementations + toconfig.implementation.length ( cpd->count_implementation ()); + std::for_each (cpd->begin_implementation (), + cpd->end_implementation (), + PCI_Functor (toconfig.implementation)); + + // Info Properties + toconfig.infoProperty.length (cpd->count_infoProperty ()); + std::for_each (cpd->begin_infoProperty (), + cpd->end_infoProperty (), + Property_Functor (toconfig.infoProperty)); + } + + ComponentPackageDescription + CPD_Handler::component_package_descr (const Deployment::ComponentPackageDescription& src) + { + CIAO_TRACE ("CPD_Handler::component_package_descr - reverse"); + ComponentPackageDescription toconfig; + + if (src.label.in () != 0) + toconfig.label (src.label.in ()); + + if (src.UUID.in () != 0) + toconfig.UUID (src.UUID.in ()); + + { + toconfig.realizes + (Comp_Intf_Descr_Handler::comp_intf_descr (src.realizes)); + } + + for (size_t i = 0; i < src.configProperty.length (); ++i) + { + toconfig.add_configProperty ( + Property_Handler::get_property (src.configProperty[i])); + } + + { // Packaged Component Implementations + for (size_t i = 0; i < src.implementation.length (); ++i) + toconfig.add_implementation ( + PCI_Handler::get_pci (src.implementation[i])); + } + + for (size_t i = 0; i < src.infoProperty.length (); ++i) + { + toconfig.add_infoProperty ( + Property_Handler::get_property (src.infoProperty[i])); + } + + return toconfig; + } + + ComponentPackageDescription * CPD_Handler::resolve_cpd (const char *uri) + { + CIAO_TRACE ("CPD_Handler::resolve_cpd"); + if (!XML_HELPER->is_initialized ()) + return false; + + xercesc::DOMDocument* dom = + XML_HELPER->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for component package description"); + + try { + //ACE_ERROR ((LM_ERROR, "Creating new CPD XSC Object\n")); + return new ComponentPackageDescription (componentPackageDescription (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for CID"); + } + } + } + + + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.h new file mode 100644 index 00000000000..92b05187fa8 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.h @@ -0,0 +1,74 @@ +//================================================ +/** + * @file STD_CPD_Handler.h + * + * $Id$ + * + * @author Ming Xiong <mxiong@dre.vanderbilt.edu> + */ +//================================================ + +#ifndef CIAO_CONFIG_HANDLERS_STD_CPD_HANDLER_H +#define CIAO_CONFIG_HANDLERS_STD_CPD_HANDLER_H + +#include /**/ "ace/pre.h" + +#include <memory> +#include "Utils/XML_Helper.h" +#include "Utils/Functors.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" + +namespace Deployment +{ + struct ComponentPackageDescription; + class ComponentPackageDescriptions; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class ComponentPackageDescription; + + namespace Packaging + { + + /* + * @class CPD_Handler + * + * @brief Handler class for <CCMComponentPackageDescription> 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 Packaging_Handlers_Export CPD_Handler + { + + public: + /// Maps the values from the XSC object + /// <ComponentPackageDescription> to the CORBA IDL type + /// <Deployment::ComponentPackageDescription>. + static void component_package_descr (const ComponentPackageDescription &desc, + ::Deployment::ComponentPackageDescription &toconfig); + + static ComponentPackageDescription + component_package_descr (const Deployment::ComponentPackageDescription& src); + private: + static ComponentPackageDescription * resolve_cpd (const char *uri); + + }; + + typedef Sequence_Handler < ComponentPackageDescription, + ::Deployment::ComponentPackageDescriptions, + ::Deployment::ComponentPackageDescription, + CPD_Handler::component_package_descr > CPD_Functor; + + } + + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_CONFIG_HANDLERS_CPD_HANDLER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.cpp new file mode 100644 index 00000000000..f1d87923493 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.cpp @@ -0,0 +1,164 @@ +// $Id$ +#include "Comp_Intf_Descr_Handler.h" + +#include "Utils/XML_Helper.h" +#include "Utils/Exceptions.h" +#include "Utils/Functors.h" +#include "DataType_Handler.h" +#include "Property_Handler.h" +#include "Deployment.hpp" +#include "Package_Handlers/CPD_Handler.h" +#include "tools/Config_Handlers/CPD_Handler.h" +#include "ciao/CIAO_common.h" +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + namespace + { + struct Comp_Prop_Handler + { + static void get_cpd (const ComponentPropertyDescription &desc, + ::Deployment::ComponentPropertyDescription &toconfig) + { + CIAO_TRACE ("Comp_Prop_Handler::get_cpd"); + + toconfig.name = desc.name ().c_str (); + DataType_Handler::data_type (desc.type (), + toconfig.type); + } + + static ComponentPropertyDescription + get_cpd (const ::Deployment::ComponentPropertyDescription &src) + { + CIAO_TRACE ("Comp_Prop_Handler::get_cpd - reverse"); + + return ComponentPropertyDescription (src.name.in (), + DataType_Handler::data_type (src.type)); + } + + }; + + typedef Sequence_Handler < ComponentPropertyDescription, + ::Deployment::ComponentPropertyDescriptions, + ::Deployment::ComponentPropertyDescription, + Comp_Prop_Handler::get_cpd > Comp_Prop_Functor; + } + + void + Comp_Intf_Descr_Handler::comp_intf_descr ( + const ComponentInterfaceDescription &desc, + ::Deployment::ComponentInterfaceDescription &toconfig) + { + CIAO_TRACE ("Comp_Intf_Descr_Handler::comp_intf_descr"); + + const ComponentInterfaceDescription *cid = 0; + std::auto_ptr <ComponentInterfaceDescription> safe_cid; + + if (desc.href_p ()) + { + safe_cid.reset (Comp_Intf_Descr_Handler::resolve_cid (desc.href ().c_str ())); + cid = safe_cid.get (); + } + else + cid = &desc; + + if (cid->label_p ()) + toconfig.label = cid->label ().c_str (); + + if (cid->UUID_p ()) + toconfig.UUID = cid->UUID ().c_str (); + + // MAJO: SpecificType should be required. + if (cid->specificType_p ()) + toconfig.specificType = cid->specificType ().c_str (); + + toconfig.supportedType.length (cid->count_supportedType ()); + std::for_each (cid->begin_supportedType (), + cid->end_supportedType (), + String_Seq_Functor (toconfig.supportedType)); + + toconfig.idlFile.length (cid->count_idlFile ()); + std::for_each (cid->begin_idlFile (), + cid->end_idlFile (), + String_Seq_Functor (toconfig.idlFile)); + + toconfig.configProperty.length (cid->count_configProperty ()); + std::for_each (cid->begin_configProperty (), + cid->end_configProperty (), + Property_Functor (toconfig.configProperty)); + + toconfig.port.length (cid->count_port ()); + std::for_each (cid->begin_port (), + cid->end_port (), + CIAO::Config_Handlers::CPD_Functor (toconfig.port)); + + toconfig.property.length (cid->count_property ()); + std::for_each (cid->begin_property (), + cid->end_property (), + Comp_Prop_Functor (toconfig.property)); + + toconfig.infoProperty.length (cid->count_infoProperty ()); + std::for_each (cid->begin_infoProperty (), + cid->end_infoProperty (), + Property_Functor (toconfig.infoProperty)); + } + + + ComponentInterfaceDescription + Comp_Intf_Descr_Handler::comp_intf_descr ( + const ::Deployment::ComponentInterfaceDescription &src) + { + CIAO_TRACE ("Comp_Intf_Descr_Handler::comp_intf_descr - reverse"); + ComponentInterfaceDescription retval; + + retval.label (src.label.in ()); + retval.UUID (src.UUID.in ()); + retval.specificType (src.specificType.in ()); + + for (CORBA::ULong i = 0; i < src.supportedType.length (); ++i) + retval.add_supportedType (src.supportedType[i].in ()); + + for (CORBA::ULong i = 0; i < src.idlFile.length (); ++i) + retval.add_idlFile (src.idlFile[i].in ()); + + for (CORBA::ULong i = 0; i < src.configProperty.length (); ++i) + retval.add_configProperty ( + Property_Handler::get_property (src.configProperty[i])); + + for (CORBA::ULong i = 0; i < src.port.length (); ++i) + retval.add_port + (CIAO::Config_Handlers::CPD_Handler::component_port_description (src.port[i])); + + for (CORBA::ULong i = 0; i < src.property.length (); ++i) + retval.add_property (Comp_Prop_Handler::get_cpd (src.property[i])); + + for (CORBA::ULong i = 0; i < src.infoProperty.length (); ++i) + retval.add_infoProperty ( + Property_Handler::get_property (src.infoProperty[i])); + + return retval; + } + + ComponentInterfaceDescription * + Comp_Intf_Descr_Handler::resolve_cid (const char *uri) + { + CIAO_TRACE ("Comp_Intf_Descr_Handler::resolve_cid"); + + xercesc::DOMDocument *dom = XML_HELPER->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for Component Interface Description."); + + try { + return new ComponentInterfaceDescription + (componentInterfaceDescription (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for Component Interface Description"); + } + } + } + }} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h new file mode 100644 index 00000000000..e4eb2b0af58 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h @@ -0,0 +1,54 @@ +/** + * @file Comp_Intf_Descr_Handler.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * + * $Id$ + */ + +#ifndef CIAO_PACKAGING_COMP_INTF_DESCR_HANDLER_H +#define CIAO_PACKAGING_COMP_INTF_DESCR_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Utils/XML_Helper.h" +#include "ciao/DeploymentC.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + + +namespace CIAO +{ + namespace Config_Handlers + { + class ComponentInterfaceDescription; + + namespace Packaging + { + + /** + * @class Comp_Intf_Descr_Handler + * + * @brief Handler class for ComponentInterfaceDescription. + */ + class Packaging_Handlers_Export Comp_Intf_Descr_Handler + { + public: + static void comp_intf_descr (const ComponentInterfaceDescription &descr, + ::Deployment::ComponentInterfaceDescription &toconfig); + + static ComponentInterfaceDescription + comp_intf_descr (const ::Deployment::ComponentInterfaceDescription &src); + + private: + static ComponentInterfaceDescription *resolve_cid (const char *uri); + }; + } + } +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_PACKAGING_COMP_INTF_DESCR_HANDLER_H */ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.cpp new file mode 100644 index 00000000000..deb4c5d09d9 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.cpp @@ -0,0 +1,122 @@ +// $Id$ +#include "Package_Handlers/IAD_Handler.h" +#include "Package_Handlers/NIA_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "ciao/Packaging_DataC.h" +#include "Property_Handler.h" +#include "Req_Handler.h" +#include "Utils/Functors.h" +#include "Utils/Exceptions.h" +#include "Utils/XML_Helper.h" + +#include "Deployment.hpp" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + + void + IAD_Handler::impl_artifact_descr (const ImplementationArtifactDescription &desc, + ::Deployment::ImplementationArtifactDescription &toconfig) + { + CIAO_TRACE ("IAD_Handler::impl_artifact_descr"); + + const ImplementationArtifactDescription *iad = 0; + std::auto_ptr <ImplementationArtifactDescription> safe_iad; + + if (desc.href_p ()) + { + safe_iad.reset (IAD_Handler::resolve_iad (desc.href ().c_str ())); + iad = safe_iad.get (); + } + else + iad = &desc; + + + if (iad->label_p ()) + toconfig.label = iad->label ().c_str (); + + if (iad->UUID_p ()) + toconfig.UUID = iad->UUID ().c_str (); + + toconfig.location.length (iad->count_location ()); + std::for_each (iad->begin_location (), + iad->end_location (), + String_Seq_Functor (toconfig.location)); + + toconfig.dependsOn.length (iad->count_dependsOn ()); + std::for_each (iad->begin_dependsOn (), + iad->end_dependsOn (), + NIA_Functor (toconfig.dependsOn)); + + toconfig.execParameter.length (iad->count_execParameter ()); + std::for_each (iad->begin_execParameter (), + iad->end_execParameter (), + Property_Functor (toconfig.execParameter)); + + toconfig.infoProperty.length (iad->count_infoProperty ()); + std::for_each (iad->begin_infoProperty (), + iad->end_infoProperty (), + Property_Functor (toconfig.infoProperty)); + + toconfig.deployRequirement.length (iad->count_deployRequirement ()); + std::for_each (iad->begin_deployRequirement (), + iad->end_deployRequirement (), + Requirement_Functor (toconfig.deployRequirement )); + } + + ImplementationArtifactDescription + IAD_Handler::impl_artifact_descr (const ::Deployment::ImplementationArtifactDescription &src) + { + CIAO_TRACE ("IAD_Handler::impl_artifact_descr - reverse"); + ImplementationArtifactDescription retval; + + retval.label (src.label.in ()); + retval.UUID (src.UUID.in ()); + + for (CORBA::ULong i = 0; i < src.location.length (); ++i) + retval.add_location (src.location[i].in ()); + + for (CORBA::ULong i = 0; i < src.dependsOn.length (); ++i) + retval.add_dependsOn (NIA_Handler::get_nia (src.dependsOn[i])); + + for (CORBA::ULong i = 0; i < src.execParameter.length (); ++i) + retval.add_execParameter + (Property_Handler::get_property (src.execParameter[i])); + + for (CORBA::ULong i = 0; i < src.infoProperty.length (); ++i) + retval.add_infoProperty + (Property_Handler::get_property ( src.infoProperty[i])); + + for (CORBA::ULong i = 0; i < src.deployRequirement.length (); ++i) + retval.add_deployRequirement + (Req_Handler::get_requirement (src.deployRequirement[i])); + + return retval; + } + + ImplementationArtifactDescription * IAD_Handler::resolve_iad (const char *uri) + { + CIAO_TRACE ("IAD_Handler::resolve_iad"); + + xercesc::DOMDocument *dom = XML_HELPER->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for IAD"); + + try { + return new ImplementationArtifactDescription + (implementationArtifactDescription (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for IAD"); + } + } + + } + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.h new file mode 100644 index 00000000000..869dbe25a8a --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/IAD_Handler.h @@ -0,0 +1,66 @@ +//================================================ +/** + * @file IAD_Handler.h + * + * $Id$ + * + * @author William Otte <wotte@dre.vanderbilt.edu> + */ +//================================================ + +#ifndef CIAO_CONFIG_HANDLERS_STD_IAD_HANDLER_H +#define CIAO_CONFIG_HANDLERS_STD_IAD_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Package_Handlers/Packaging_Handlers_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +namespace Deployment +{ + struct ImplementationArtifactDescription; + struct ImplementationArtifactDescriptions; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class ImplementationArtifactDescription; + namespace Packaging + { + /* + * @class IAD_Handler + * + * @brief Handler class for <CCMImplementationArtifactDescription> 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 Packaging_Handlers_Export IAD_Handler + { + public: + /// Maps the values from the XSC object + /// <ImplementationArtifactDescription> to the CORBA IDL type + /// <Deployment::ImplementationArtifactDescription>. + static void + impl_artifact_descr (const ImplementationArtifactDescription &desc, + ::Deployment::ImplementationArtifactDescription &toconfig); + + + static ImplementationArtifactDescription + impl_artifact_descr (const Deployment::ImplementationArtifactDescription& src); + + static ImplementationArtifactDescription * resolve_iad (const char *uri); + }; + } + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_CONFIG_HANDLERS_STD_IAD_HANDLER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h new file mode 100644 index 00000000000..6ad2767104b --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h @@ -0,0 +1,64 @@ +/** + * @file NIA_Handler.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * $Id$ + */ + +#ifndef CIAO_PACKAGING_NIA_HANDLER_H +#define CIAO_PACKAGING_NIA_HANDLER_H + +#include /**/ "ace/pre.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" +#include "Utils/Functors.h" +#include "ciao/Packaging_DataC.h" +#include "iad.hpp" + +namespace Deployment +{ + struct NamedImplementationArtifact; + class NamedImplementationArtifacts; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class NamedImplementationArtifact; + + namespace Packaging + { + /** + * @class NIA_Handler + * @brief Handler class for NamedImplementationArtifact types. + */ + class Packaging_Handlers_Export NIA_Handler + { + public: + static void get_nia (const NamedImplementationArtifact &desc, + ::Deployment::NamedImplementationArtifact &toconfig) + { + toconfig.name = desc.name ().c_str (); + IAD_Handler::impl_artifact_descr (desc.referencedArtifact (), + toconfig.referencedArtifact); + } + + + static NamedImplementationArtifact + get_nia (const ::Deployment::NamedImplementationArtifact &src) + { + return NamedImplementationArtifact (src.name.in (), + IAD_Handler::impl_artifact_descr (src.referencedArtifact)); + } + + }; + + typedef Sequence_Handler < NamedImplementationArtifact, + ::Deployment::NamedImplementationArtifacts, + ::Deployment::NamedImplementationArtifact, + NIA_Handler::get_nia > NIA_Functor; + } + } +} + + +#endif /* CIAO_PACKAGING_NIA_HANDLER_H */ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp new file mode 100644 index 00000000000..9c55e47fe85 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp @@ -0,0 +1,152 @@ +// $Id$ +#include "Package_Handlers/PCD_Handler.h" +#include "Package_Handlers/CPD_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "ciao/Packaging_DataC.h" +#include "Deployment.hpp" +#include "Property_Handler.h" +#include "Req_Handler.h" +#include "Utils/XercesString.h" +#include "Utils/Exceptions.h" + +#include <memory> +#include "ciao/CIAO_common.h" + +#include <xercesc/util/XMLString.hpp> + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + void + PCD_Handler::package_config (const ACE_TCHAR *uri, + ::Deployment::PackageConfiguration &toconfig) + { + xercesc::DOMDocument *dom = XML_HELPER->create_dom (uri); + + XStr root = dom->getDocumentElement ()->getTagName (); + + if (root == XStr ("Deployment:topLevelPackageDescription")) + { + TopLevelPackageDescription tpd (topLevelPackageDescription (dom)); + PCD_Handler::package_config (tpd.package (), + toconfig); + } + else if (root == XStr ("Deployment:packageConfiguration")) + { + PackageConfiguration pcd (packageConfiguration (dom)); + PCD_Handler::package_config (pcd, toconfig); + } + else + { + std::string error ("Invliad file passed to package_config, has base "); + + char *croot = xercesc::XMLString::transcode (root); + + error += croot; + + delete [] croot; + + throw Plan_Error ("Invalid file passed to package_config, had base"); + } + } + + void + PCD_Handler::package_config (const PackageConfiguration &desc, + ::Deployment::PackageConfiguration &toconfig) + { + CIAO_TRACE ("PCD_Handler::package_config"); + std::auto_ptr < PackageConfiguration > xsc_pcd; + + const PackageConfiguration *pcd; + + if (desc.href_p ()) + { + // Take ownership of the resolved pcd + xsc_pcd.reset (PCD_Handler:: resolve_package_config (desc.href ().c_str ())); + pcd = xsc_pcd.get (); + } + else + pcd = &desc; + + if (pcd->label_p ()) + toconfig.label = + pcd->label ().c_str (); + + if (pcd->UUID_p ()) + toconfig.UUID = + pcd->UUID ().c_str (); + + if (pcd->basePackage_p ()) + { + toconfig.basePackage.length (1); + CPD_Handler::component_package_descr (pcd->basePackage (), + toconfig.basePackage [0]); + } + + // @@ MAJO: Support other elements present here. + + toconfig.configProperty.length (desc.count_configProperty ()); + std::for_each (desc.begin_configProperty (), + desc.end_configProperty (), + Property_Functor (toconfig.configProperty)); + + toconfig.selectRequirement.length (desc.count_selectRequirement ()); + std::for_each (desc.begin_selectRequirement (), + desc.end_selectRequirement (), + Requirement_Functor (toconfig.selectRequirement)); + + } + + PackageConfiguration + PCD_Handler::package_config (const Deployment::PackageConfiguration& src) + { + CIAO_TRACE ("PCD_Handler::package_config - reverse"); + PackageConfiguration pcd = PackageConfiguration (); + + if (src.label.in () != 0) + pcd.label (src.label.in ()); + + if (src.UUID.in () != 0) + pcd.UUID (src.UUID.in ()); + + if (src.basePackage.length () > 0) + { + ACE_DEBUG ((LM_DEBUG, "5\n")); + pcd.basePackage (CPD_Handler::component_package_descr (src.basePackage[0])); + } + + // @@ MAJO: Support other elements present here. + for (CORBA::ULong i = 0; i < src.configProperty.length (); ++i) + pcd.add_configProperty (Property_Handler::get_property (src.configProperty[i])); + + for (CORBA::ULong i = 0; i < src.selectRequirement.length (); ++i) + pcd.add_selectRequirement (Req_Handler::get_requirement (src.selectRequirement[i])); + + return pcd; + + } + + PackageConfiguration * PCD_Handler::resolve_package_config (const char *uri) + { + xercesc::DOMDocument* dom = + XML_HELPER->create_dom (uri); + + if (!dom) + throw Parse_Error ("Unable to create DOM for PackageConfiguration"); + + try { + return new PackageConfiguration (packageConfiguration (dom)); + } + catch (...) { + throw Parse_Error ("Unable to create XSC structure for PackageConfiguration"); + } + + } + + + } + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.h new file mode 100644 index 00000000000..be92a6871c0 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.h @@ -0,0 +1,69 @@ +//================================================ +/** + * @file PCD_Handler.h + * + * $Id$ + * + * @author William Otte <wotte@dre.vanderbilt.edu> + */ +//================================================ + +#ifndef CIAO_CONFIG_HANDLERS_PCD_HANDLER_H +#define CIAO_CONFIG_HANDLERS_PCD_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Packaging_Handlers_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +namespace Deployment +{ + struct PackageConfiguration; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class PackageConfiguration; + + namespace Packaging + { + /* + * @class PCD_Handler + * + * @brief Handler class for <CCMPackageConfiguration> 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 Packaging_Handlers_Export PCD_Handler + { + + public: + static void package_config (const ACE_TCHAR *uri, + ::Deployment::PackageConfiguration &toconfig); + + /// Maps the values from the XSC object + /// <PackageConfiguration> to the CORBA IDL type + /// <Deployment::PackageConfiguration>. + static void package_config (const PackageConfiguration &desc, + ::Deployment::PackageConfiguration &toconfig); + + static PackageConfiguration package_config (const Deployment::PackageConfiguration& src); + + private: + static PackageConfiguration *resolve_package_config (const char *uri); + }; + } + + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_CONFIG_HANDLERS_STD_PCD_HANDLER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.cpp new file mode 100644 index 00000000000..334245559fa --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.cpp @@ -0,0 +1,81 @@ +// $Id$ + +#if defined (_MSC_VER) && (_MSC_VER < 1300) +#pragma warning (disable: 4018) +#pragma warning (disable: 4284) +#pragma warning (disable: 4146) +#endif + +#include "STD_PC_Intf.h" +#include "Utils/XML_Helper.h" +#include "Deployment.hpp" +#include "STD_PCD_Handler.h" +#include "ciao/Packaging_DataC.h" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace Config_Handlers + { + STD_PC_Intf::STD_PC_Intf (const char *file) + { + if (!this->prepare_PC (file)) + throw; + } + + bool + STD_PC_Intf::prepare_PC (const char *file) + { + CIAO_TRACE("STD_PC_Intf::prepare_PC"); + + ACE_Auto_Ptr<XML_Helper> helper (new XML_Helper); + + if (!helper->is_initialized ()) + return false; + + // parse the .pcd (PackageConfigurationDescription) file + xercesc::DOMDocument *dom = + helper->create_dom (file); + + if (!dom) + return false; + + + PackageConfiguration pc = + packageConfiguration (dom); + + + Deployment::PackageConfiguration idl_pc; + + + STD_PCD_Handler pcd_handler (helper.get ()); + + pcd_handler.package_config (pc, + idl_pc); + + + Deployment::PackageConfiguration *p_idl_pc = + new Deployment::PackageConfiguration (idl_pc); + + // let ACE_Auto_Ptr take over + this->idl_pc_.reset (p_idl_pc); + + if (this->idl_pc_.get ()) + return true; + + return false; + } + + ::Deployment::PackageConfiguration const * + STD_PC_Intf::get_PC (void) const + { + return this->idl_pc_.get (); + } + + ::Deployment::PackageConfiguration * + STD_PC_Intf::get_PC (void) + { + return this->idl_pc_.release (); + } + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.h new file mode 100644 index 00000000000..d280fb5c655 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/PC_Intf.h @@ -0,0 +1,58 @@ +//============================================================== +/** + * @file STD_PC_Intf.h + * + * $Id$ + * + * @author Ming Xiong <mxiong@dre.vanderbilt.edu> + */ +//================================================================ + +#ifndef CIAO_CONFIG_STD_PC_INTF_H +#define CIAO_CONFIG_STD_PC_INTF_H +#include /**/ "ace/pre.h" + +#include "Config_Handlers_Export.h" + +#include "ace/Auto_Ptr.h" + + +namespace Deployment +{ + struct PackageConfiguration ; +} + +namespace CIAO +{ + namespace Config_Handlers + { + /* + * @class PC_Intf + * + * @brief Wrapper class for PackageConfiguration extraction + * + * This class defines wrapper functions for extracting + * PackageConfiguration IDL structures from XSC structures. + * It serves as the public interface used by application + * developers. + * + */ + class Config_Handlers_Export STD_PC_Intf + { + public: + STD_PC_Intf (const char *file); + + ::Deployment::PackageConfiguration const *get_PC (void) const; + ::Deployment::PackageConfiguration *get_PC (void); + + protected: + bool prepare_PC (const char *file); + + private: + ACE_Auto_Ptr< ::Deployment::PackageConfiguration> idl_pc_; + }; + } +} + +#include /**/ "ace/post.h" +#endif /*CIAO_CONFIG_STD_PC_INTF_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Package_Handlers.mpc b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Package_Handlers.mpc new file mode 100644 index 00000000000..fce4f459738 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Package_Handlers.mpc @@ -0,0 +1,45 @@ +// $Id$ + +project (Package_Config_Handlers) : acelib, ciao_deployment_stub, xerces { + sharedname = Package_Config_Handlers + dynamicflags = PACKAGING_HANDLERS_BUILD_DLL + macros += XML_USE_PTHREADS + requires += exceptions + includes += $(CIAO_ROOT)/tools/Config_Handlers + after += CIAO_XML_Utils XSC_XML_Handlers XSC_Config_Handlers + libs += CIAO_XML_Utils XSC_XML_Handlers XSC_Config_Handlers + includes += $(CIAO_ROOT)/ciao + + Source_files { + CAD_Handler.cpp + CID_Handler.cpp + Comp_Intf_Descr_Handler.cpp + CPD_Handler.cpp + IAD_Handler.cpp + PCD_Handler.cpp + SID_Handler.cpp + } + + Header_Files { + CAD_Handler.h + CID_Handler.h + Comp_Intf_Descr_Handler.h + CPD_Handler.h + IAD_Handler.h + PCD_Handler.h + SID_Handler.h + } +} + +project (Package_Config_Handlers_Tests) : ciao_component_dnc, ciao_config_handlers, ifr_client { +// requires += dummy_label + includes += $(CIAO_ROOT)/tools/Config_Handlers + exename = test + macros += XML_USE_PTHREADS + libs += Package_Config_Handlers XSC_Config_Handlers + Source_Files { + test.cpp + } +} + + diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Packaging_Handlers_Export.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Packaging_Handlers_Export.h new file mode 100644 index 00000000000..86193a1a664 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/Packaging_Handlers_Export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl Packaging_Handlers +// ------------------------------ +#ifndef PACKAGING_HANDLERS_EXPORT_H +#define PACKAGING_HANDLERS_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (PACKAGING_HANDLERS_HAS_DLL) +# define PACKAGING_HANDLERS_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && PACKAGING_HANDLERS_HAS_DLL */ + +#if !defined (PACKAGING_HANDLERS_HAS_DLL) +# define PACKAGING_HANDLERS_HAS_DLL 1 +#endif /* ! PACKAGING_HANDLERS_HAS_DLL */ + +#if defined (PACKAGING_HANDLERS_HAS_DLL) && (PACKAGING_HANDLERS_HAS_DLL == 1) +# if defined (PACKAGING_HANDLERS_BUILD_DLL) +# define Packaging_Handlers_Export ACE_Proper_Export_Flag +# define PACKAGING_HANDLERS_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define PACKAGING_HANDLERS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* PACKAGING_HANDLERS_BUILD_DLL */ +# define Packaging_Handlers_Export ACE_Proper_Import_Flag +# define PACKAGING_HANDLERS_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define PACKAGING_HANDLERS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* PACKAGING_HANDLERS_BUILD_DLL */ +#else /* PACKAGING_HANDLERS_HAS_DLL == 1 */ +# define Packaging_Handlers_Export +# define PACKAGING_HANDLERS_SINGLETON_DECLARATION(T) +# define PACKAGING_HANDLERS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* PACKAGING_HANDLERS_HAS_DLL == 1 */ + +// Set PACKAGING_HANDLERS_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (PACKAGING_HANDLERS_NTRACE) +# if (ACE_NTRACE == 1) +# define PACKAGING_HANDLERS_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define PACKAGING_HANDLERS_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !PACKAGING_HANDLERS_NTRACE */ + +#if (PACKAGING_HANDLERS_NTRACE == 1) +# define PACKAGING_HANDLERS_TRACE(X) +#else /* (PACKAGING_HANDLERS_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define PACKAGING_HANDLERS_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (PACKAGING_HANDLERS_NTRACE == 1) */ + +#endif /* PACKAGING_HANDLERS_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp new file mode 100644 index 00000000000..8631582a10b --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp @@ -0,0 +1,140 @@ +// $Id$ + +#include "Package_Handlers/SID_Handler.h" +#include "cid.hpp" +#include "ciao/DeploymentC.h" +#include "Package_Handlers/CPD_Handler.h" +#include "Package_Handlers/PCD_Handler.h" +#include "Req_Handler.h" +#include "Property_Handler.h" + +#include "ace/UUID.h" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Packaging + { + IDREF_Base<CORBA::ULong> SID_Handler::IDREF; + + void + SID_Handler::sub_comp_inst_descr (const SubcomponentInstantiationDescription &desc, + ::Deployment::SubcomponentInstantiationDescription &toconfig) + { + CIAO_TRACE ("SID_Handler::sub_comp_inst_descr"); + toconfig.name = desc.name ().c_str (); + + if (desc.basePackage_p ()) + { + toconfig.basePackage.length (1); + CPD_Handler::component_package_descr (desc.basePackage (), + toconfig.basePackage[0]); + } + else if (desc.specializedConfig_p ()) + { + toconfig.specializedConfig.length (1); + PCD_Handler::package_config (desc.specializedConfig (), + toconfig.specializedConfig[0]); + } + else if (desc.importedPackage_p ()) + { + toconfig.importedPackage.length (1); + toconfig.importedPackage[0].location.length (desc.importedPackage ().count_location ()); + + std::for_each (desc.importedPackage ().begin_location (), + desc.importedPackage ().end_location (), + String_Seq_Functor (toconfig.importedPackage[0].location)); + } + else if (desc.referencedPackage_p ()) + { + toconfig.referencedPackage.length (1); + + if (desc.referencedPackage ().requiredUUID_p ()) + toconfig.referencedPackage[0].requiredUUID = + desc.referencedPackage ().requiredUUID ().c_str (); + + if (desc.referencedPackage ().requiredName_p ()) + toconfig.referencedPackage[0].requiredName = + desc.referencedPackage ().requiredName ().c_str (); + + toconfig.referencedPackage[0].requiredType = + desc.referencedPackage ().requiredType ().c_str (); + } + + toconfig.selectRequirement.length (desc.count_selectRequirement ()); + std::for_each (desc.begin_selectRequirement (), + desc.end_selectRequirement (), + Requirement_Functor (toconfig.selectRequirement)); + + toconfig.configProperty.length (desc.count_configProperty ()); + std::for_each (desc.begin_configProperty (), + desc.end_configProperty (), + Property_Functor (toconfig.configProperty)); + + if (desc.id_p ()) + { + ACE_CString str (desc.id ().c_str ()); + SID_Handler::IDREF.bind_next_available (str); + } + else + ACE_ERROR ((LM_ERROR, "Warning: SID With Name %s has no ID\n", + desc.name ().c_str ())); + + } + + SubcomponentInstantiationDescription + SID_Handler::sub_comp_inst_descr (const Deployment::SubcomponentInstantiationDescription &src) + { + CIAO_TRACE ("SID_Handler::sub_comp_inst_descr - reverse"); + SubcomponentInstantiationDescription retval (src.name.in ()); + + if (src.basePackage.length () == 1) + retval.basePackage + (CPD_Handler::component_package_descr (src.basePackage[0])); + else if (src.specializedConfig.length () == 1) + retval.specializedConfig + (PCD_Handler::package_config (src.specializedConfig[0])); + else if (src.importedPackage.length () == 1) + { + ComponentPackageImport ci; + + for (CORBA::ULong i = 0; i < src.importedPackage[0].location.length (); ++i) + ci.add_location (src.importedPackage[0].location[i].in ()); + + retval.importedPackage (ci); + } + else if (src.referencedPackage.length () == 1) + { + ComponentPackageReference cpr (src.referencedPackage[0].requiredType.in ()); + cpr.requiredUUID (src.referencedPackage[0].requiredUUID.in ()); + cpr.requiredName (src.referencedPackage[0].requiredName.in ()); + + retval.referencedPackage (cpr); + } + + for (CORBA::ULong i = 0; i < src.selectRequirement.length (); ++i) + retval.add_selectRequirement + (Req_Handler::get_requirement (src.selectRequirement[i])); + + for (CORBA::ULong i = 0; i < src.configProperty.length (); ++i) + retval.add_configProperty + (Property_Handler::get_property (src.configProperty[i])); + + // @@MAJO This is not a good way of binding reverse IDREFS. + std::auto_ptr <ACE_Utils::UUID> safe_uuid ( + ACE_Utils::UUID_GENERATOR::instance ()->generateUUID ()); + ACE_CString uuid ( safe_uuid->to_string ()->c_str ()); + + // ACE_ERROR ((LM_ERROR, "*** Binding to %s\n", + // uuid.c_str ())); + + SID_Handler::IDREF.bind_next_available (uuid); + + return retval; + } + + } + } +} + diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.h b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.h new file mode 100644 index 00000000000..c166fcd6294 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.h @@ -0,0 +1,71 @@ +/** + * @file SID_Handler.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * + * $Id$ + */ + + +#ifndef CIAO_PACKAGING_SID_HANDLER_H +#define CIAO_PACKAGING_SID_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Utils/XML_Helper.h" +#include "Utils/Functors.h" +#include "IDREF_Base.h" +#include "Package_Handlers/Packaging_Handlers_Export.h" + +namespace Deployment +{ + struct SubcomponentInstantiationDescription; + class SubcomponentInstantiationDescriptions; +} + +namespace CIAO +{ + namespace Config_Handlers + { + class SubcomponentInstantiationDescription; + + namespace Packaging + { + /** + * @class SID_Handler + * @brief Handler class for SubcomponentInstantiationDescription + */ + class Packaging_Handlers_Export SID_Handler + { + SID_Handler (XML_Helper *xml_helper) + : xml_helper_ (xml_helper) + { + + } + + public: + static void sub_comp_inst_descr (const SubcomponentInstantiationDescription &desc, + ::Deployment::SubcomponentInstantiationDescription &toconfig); + + static SubcomponentInstantiationDescription + sub_comp_inst_descr (const ::Deployment::SubcomponentInstantiationDescription &src); + + static IDREF_Base< CORBA::ULong > IDREF; + + private: + static SubcomponentInstantiationDescription *resolve_sid (const char *uri); + + XML_Helper *xml_helper_; + + }; + + typedef Sequence_Handler < SubcomponentInstantiationDescription, + ::Deployment::SubcomponentInstantiationDescriptions, + ::Deployment::SubcomponentInstantiationDescription, + SID_Handler::sub_comp_inst_descr > SID_Functor; + + } + } +} + +#include /**/ "ace/post.h" +#endif /* CIAO_PACKAGING_SID_HANDLER_H */ diff --git a/TAO/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp new file mode 100644 index 00000000000..485b96ec830 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp @@ -0,0 +1,111 @@ +// $Id$ + +#include <iostream> + +#include "Deployment.hpp" +#include "PCD_Handler.h" +#include "ciao/Packaging_DataC.h" +#include "SID_Handler.h" +#include "ace/Get_Opt.h" +#include "Utils/XML_Helper.h" +#include "tao/ORB.h" +#include "Utils/Exceptions.h" + +static const char *input_file = "BasicSP.cdp"; + + +static int +parse_args (int argc, char *argv[]) +{ + ACE_Get_Opt get_opts (argc, argv, "i:"); + + int c; + + while ((c = get_opts ()) != -1) + switch (c) + { + case 'i': + input_file = get_opts.opt_arg (); + break; + case '?': + default: + ACE_ERROR_RETURN ((LM_ERROR, + "usage: %s " + "-i <input file> " + "\n", + argv [0]), + -1); + } + // Indicates sucessful parsing of the command-line + return 0; +} + +// Check to see if SRD was imported. +void check_srd (const Deployment::DeploymentPlan &); + +using namespace CIAO::Config_Handlers; + + +int main (int argc, char *argv[]) +{ + try + { + + if (parse_args (argc, argv) != 0) + return 1; + + // Initialize an ORB so Any will work + CORBA::ORB_ptr orb = CORBA::ORB_init (argc, argv, ""); + + if (xercesc::DOMDocument *doc = XML_HELPER->create_dom (input_file)) + { + + ::Deployment::PackageConfiguration idl_pc; + { + // //Read in the XSC type structure from the DOMDocument + //PackageConfiguration pc = packageConfiguration (doc); + //std::cerr << "XML to XSC conversion succeeded. Converting to IDL...\n"; + + //Convert the XSC to an IDL datatype + Packaging::PCD_Handler::package_config (input_file, idl_pc); + std::cout << "Instance document import succeeded. Dumping contents to file\n"; + } + + // Clear SID_Handler's IDREF Table + Packaging::SID_Handler::IDREF.unbind_refs (); + + std::cerr << "Performing IDL->XSC transformation...\n"; + + PackageConfiguration out_pc (Packaging::PCD_Handler::package_config (idl_pc)); + + //Create a new DOMDocument for writing the XSC into XML + xercesc::DOMDocument* the_xsc (XML_HELPER->create_dom("Deployment:packageConfiguration", + "http://www.omg.org/Deployment")); + + //Serialize the XSC into a DOMDocument + packageConfiguration(out_pc, the_xsc); + + + //Write it to test.xml + XML_HELPER->write_DOM(the_xsc, "test.xml"); + + //Cleanliness is next to Godliness + delete doc; + } + + std::cout << "Test completed!\n"; + } + catch (CIAO::Config_Handlers::Plan_Error &excep) + { + std::cerr << "Plan Error exception caught: " << excep.reason_ << std::endl; + } + catch (CIAO::Config_Handlers::Config_Error &excep) + { + std::cerr << "Config Error " << excep.name_ << ": " << excep.error_ << std::endl; + } + + + return 0; +} + + diff --git a/TAO/CIAO/tools/Config_Handlers/Property_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Property_Handler.cpp index c2525f5ceeb..273fe8c8e69 100644 --- a/TAO/CIAO/tools/Config_Handlers/Property_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Property_Handler.cpp @@ -4,7 +4,7 @@ #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers @@ -20,9 +20,11 @@ namespace CIAO void Property_Handler::get_property ( - const Property& desc, - Deployment::Property& toconfig) + const Property& desc, + Deployment::Property& toconfig) { + CIAO_TRACE("Property_Handler::get_property"); + toconfig.name = CORBA::string_dup (desc.name ().c_str ()); @@ -33,8 +35,10 @@ namespace CIAO Property Property_Handler::get_property ( - const Deployment::Property& src) + const Deployment::Property& src) { + CIAO_TRACE("Property_Handler::get_property - reverse"); + ::XMLSchema::string< char > name ((src.name)); Any value (Any_Handler::get_any (src.value)); diff --git a/TAO/CIAO/tools/Config_Handlers/Property_Handler.h b/TAO/CIAO/tools/Config_Handlers/Property_Handler.h index ae6dee192da..07044faed8e 100644 --- a/TAO/CIAO/tools/Config_Handlers/Property_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/Property_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file Property_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file Property_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_PROPERTY_HANDLER_H @@ -14,6 +14,7 @@ #include /**/ "ace/pre.h" #include "Config_Handlers_Export.h" +#include "Utils/Functors.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -21,42 +22,50 @@ namespace Deployment { - struct Property; +struct Property; +class Properties; } namespace CIAO { - namespace Config_Handlers - { - class Property; - - /* - * @class Property_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 Config_Handlers_Export Property_Handler - { - public: - Property_Handler (void); - virtual ~Property_Handler (void); - - /// This method maps the values from the XSC object - /// <CIAO::Config_Handlers::Property> to the CORBA IDL type - /// <Deployment::Property>. - static void get_property (const Property& desc, - ::Deployment::Property& toconfig); - static Property get_property ( - const ::Deployment::Property& src); - }; - - } +namespace Config_Handlers +{ +class Property; + +/* +* @class Property_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 Config_Handlers_Export Property_Handler +{ +public: +Property_Handler (void); +virtual ~Property_Handler (void); + +typedef Sequence_Iterator< const ::Deployment::Properties, const ::Deployment::Property > prop_iter; + +/// This method maps the values from the XSC object +/// <CIAO::Config_Handlers::Property> to the CORBA IDL type +/// <Deployment::Property>. +static void get_property (const Property& desc, +::Deployment::Property& toconfig); +static Property get_property ( +const ::Deployment::Property& src); +}; + +typedef Sequence_Handler < Property, +::Deployment::Properties, +::Deployment::Property, +Property_Handler::get_property> Property_Functor; + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RDD_Handler.cpp index 7a9fe8bca08..6d3518b6ac3 100644 --- a/TAO/CIAO/tools/Config_Handlers/RDD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RDD_Handler.cpp @@ -3,6 +3,8 @@ #include "Basic_Deployment_Data.hpp" #include "ciao/Deployment_DataC.h" #include "Any_Handler.h" +#include "ciao/CIAO_common.h" +#include "Property_Handler.h" namespace CIAO { @@ -10,29 +12,41 @@ namespace CIAO { void RDD_Handler::resource_deployment_descr ( - const ResourceDeploymentDescription &src, - ::Deployment::ResourceDeploymentDescription &dest) + const ResourceDeploymentDescription &src, + ::Deployment::ResourceDeploymentDescription &dest) { + CIAO_TRACE("RDD_Handler::resource_deployment_descr"); + dest.requirementName = src.requirementName ().c_str (); dest.resourceName= src.resourceName ().c_str (); - Any_Handler::extract_into_any (src.resourceValue (), - dest.resourceValue); + std::for_each (src.begin_property (), + src.end_property (), + Property_Functor (dest.property)); } ResourceDeploymentDescription RDD_Handler::resource_deployment_descr ( - const ::Deployment::ResourceDeploymentDescription &src) + const ::Deployment::ResourceDeploymentDescription &src) { + CIAO_TRACE("RDD_Handler::resource_deployment_descr - reverse"); + XMLSchema::string< char > reqname ((src.requirementName)); - XMLSchema::string< char > resname ((src.resourceName)); - Any resval (Any_Handler::get_any (src.resourceValue)); + XMLSchema::string< char > resname ((src.resourceName.in ())); + + ResourceDeploymentDescription rdd (reqname,resname); + + for (CORBA::ULong i = 0; + i != src.property.length (); + ++i) + { + rdd.add_property (Property_Handler::get_property (src.property[i])); + } - ResourceDeploymentDescription rdd (reqname,resname,resval); return rdd; } diff --git a/TAO/CIAO/tools/Config_Handlers/RDD_Handler.h b/TAO/CIAO/tools/Config_Handlers/RDD_Handler.h index 001a57e0da7..e0d19c58ee2 100644 --- a/TAO/CIAO/tools/Config_Handlers/RDD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RDD_Handler.h @@ -1,12 +1,12 @@ - //============================================================== +//============================================================== /** - * @file RDD_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file RDD_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_RDD_Handler_H @@ -23,40 +23,40 @@ namespace Deployment { - struct ResourceDeploymentDescription; +struct ResourceDeploymentDescription; } namespace CIAO { - namespace Config_Handlers - { - class ResourceDeploymentDescription; - - /* - * @class RDD_Handler - * - * @brief Handler class for <ResourceDeploymentDescription> types. - * - * This class defines handler methods to map values from XSC - * ResourceDeploymentDescription objects, parsed from the - * descriptor files, to the corresponding CORBA IDL Any type. - * - */ - - class Config_Handlers_Export RDD_Handler - { - public: - static void resource_deployment_descr ( - const ResourceDeploymentDescription& desc, - ::Deployment::ResourceDeploymentDescription& toconfig); - static ResourceDeploymentDescription - resource_deployment_descr ( - const ::Deployment::ResourceDeploymentDescription &src); - - }; - } +namespace Config_Handlers +{ +class ResourceDeploymentDescription; + +/* +* @class RDD_Handler +* +* @brief Handler class for <ResourceDeploymentDescription> types. +* +* This class defines handler methods to map values from XSC +* ResourceDeploymentDescription objects, parsed from the +* descriptor files, to the corresponding CORBA IDL Any type. +* +*/ + +class Config_Handlers_Export RDD_Handler +{ +public: +static void resource_deployment_descr ( +const ResourceDeploymentDescription& desc, +::Deployment::ResourceDeploymentDescription& toconfig); +static ResourceDeploymentDescription +resource_deployment_descr ( +const ::Deployment::ResourceDeploymentDescription &src); + +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.cpp index 61f6e58352a..16d6697c509 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.cpp @@ -10,15 +10,15 @@ namespace CIAO namespace Config_Handlers { // IDREF_Base CB_Handler::IDREF; - - bool + + bool CB_Handler::connection_band (const ConnectionBandsDef &src, ::CIAO::DAnCE::ORS_ConnectionBands &dest) { // Set the number of bands CORBA::ULong num (dest.bands.length ()); dest.bands.length (num + src.count_band ()); - + for (ConnectionBandsDef::band_const_iterator i = src.begin_band (); i != src.end_band (); ++i) @@ -27,7 +27,7 @@ namespace CIAO dest.bands[num].high = static_cast < ACE_INT32 > (i->high ()); num++; } - + if (src.id_p ()) { /* @@ -37,16 +37,16 @@ namespace CIAO */ dest.Id = CORBA::string_dup (src.id ().c_str ()); } - + return true; } - - ConnectionBandsDef + + ConnectionBandsDef CB_Handler::connection_band (const ::CIAO::DAnCE::ORS_ConnectionBands &src) { ConnectionBandsDef cb; - + for (CORBA::ULong i = 0; i < src.bands.length (); ++i) @@ -54,18 +54,18 @@ namespace CIAO cb.add_band (PriorityBandDef (src.bands[i].low, src.bands[i].high)); } - + /* ACE_CString cstr; if (CB_Handler::IDREF.find_ref (src, cstr)) cb->id (cstr.c_str ()); */ - + if (src.Id.in () != 0) cb.id (src.Id.in ()); - + return cb; } - + } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h index 338a21e134c..e72bbe18ee8 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h @@ -1,7 +1,7 @@ /** * @file CB_Handler.h * @author Will Otte <wotte@dre.vanderbilt.edu> - * + * * $Id$ */ @@ -22,26 +22,26 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + class ConnectionBandsDef; + + /* + * @class CB_Handler + * A brief Handler class for <ConnectionBands> + */ + + class RT_CCM_Handlers_Export CB_Handler { - class ConnectionBandsDef; - - /* - * @class CB_Handler - * A brief Handler class for <ConnectionBands> - */ - - class RT_CCM_Handlers_Export CB_Handler - { - public: - static bool connection_band (const ConnectionBandsDef &src, - ::CIAO::DAnCE::ORS_ConnectionBands &dest); - - static ConnectionBandsDef connection_band (const ::CIAO::DAnCE::ORS_ConnectionBands &src); - - // static IDREF_Base<::CIAO::DAnCE::ORS_ConnectionBands> IDREF; - }; - } + public: + static bool connection_band (const ConnectionBandsDef &src, + ::CIAO::DAnCE::ORS_ConnectionBands &dest); + + static ConnectionBandsDef connection_band (const ::CIAO::DAnCE::ORS_ConnectionBands &src); + + // static IDREF_Base<::CIAO::DAnCE::ORS_ConnectionBands> IDREF; + }; + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp index 67f26438d49..af9d71cfbee 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "CIAOServerResources.hpp" namespace CIAO @@ -16,12 +16,12 @@ namespace CIAO namespace Config_Handlers { // ServerResourcesDef - // + // ServerResourcesDef:: ServerResourcesDef (::CIAO::Config_Handlers::ORBConfigs const& orbConfigs__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), orbConfigs_ (new ::CIAO::Config_Handlers::ORBConfigs (orbConfigs__)), regulator__ () { @@ -63,7 +63,7 @@ namespace CIAO // ServerResourcesDef - // + // bool ServerResourcesDef:: cmdline_p () const { @@ -92,7 +92,7 @@ namespace CIAO } // ServerResourcesDef - // + // bool ServerResourcesDef:: svcconf_p () const { @@ -121,7 +121,7 @@ namespace CIAO } // ServerResourcesDef - // + // ::CIAO::Config_Handlers::ORBConfigs const& ServerResourcesDef:: orbConfigs () const { @@ -135,7 +135,7 @@ namespace CIAO } // ServerResourcesDef - // + // bool ServerResourcesDef:: id_p () const { @@ -171,12 +171,12 @@ namespace CIAO // ServerCmdlineOptions - // + // ServerCmdlineOptions:: ServerCmdlineOptions () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -205,7 +205,7 @@ namespace CIAO // ServerCmdlineOptions - // + // ServerCmdlineOptions::arg_iterator ServerCmdlineOptions:: begin_arg () { @@ -244,12 +244,12 @@ namespace CIAO // ACESvcConf - // + // ACESvcConf:: ACESvcConf () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -275,7 +275,7 @@ namespace CIAO // ACESvcConf - // + // bool ACESvcConf:: uri_p () const { @@ -305,12 +305,12 @@ namespace CIAO // ORBConfigs - // + // ORBConfigs:: ORBConfigs () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -344,7 +344,7 @@ namespace CIAO // ORBConfigs - // + // bool ORBConfigs:: resources_p () const { @@ -373,7 +373,7 @@ namespace CIAO } // ORBConfigs - // + // ORBConfigs::policySet_iterator ORBConfigs:: begin_policySet () { @@ -412,12 +412,12 @@ namespace CIAO // ORBResources - // + // ORBResources:: ORBResources () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -464,7 +464,7 @@ namespace CIAO // ORBResources - // + // ORBResources::threadpool_iterator ORBResources:: begin_threadpool () { @@ -502,7 +502,7 @@ namespace CIAO } // ORBResources - // + // ORBResources::threadpoolWithLanes_iterator ORBResources:: begin_threadpoolWithLanes () { @@ -540,7 +540,7 @@ namespace CIAO } // ORBResources - // + // ORBResources::connectionBands_iterator ORBResources:: begin_connectionBands () { @@ -579,11 +579,11 @@ namespace CIAO // Priority - // + // Priority:: Priority (::XMLSchema::int_ const& b__) - : + : Base__ (b__), regulator__ () { @@ -608,7 +608,7 @@ namespace CIAO // ThreadpoolDef - // + // ThreadpoolDef:: ThreadpoolDef (::XMLSchema::unsignedLong const& stacksize__, @@ -618,8 +618,8 @@ namespace CIAO ::XMLSchema::boolean const& allow_request_buffering__, ::XMLSchema::unsignedLong const& max_buffered_requests__, ::XMLSchema::unsignedLong const& max_request_buffered_size__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), stacksize_ (new ::XMLSchema::unsignedLong (stacksize__)), static_threads_ (new ::XMLSchema::unsignedLong (static_threads__)), dynamic_threads_ (new ::XMLSchema::unsignedLong (dynamic_threads__)), @@ -687,7 +687,7 @@ namespace CIAO // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: stacksize () const { @@ -701,7 +701,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: static_threads () const { @@ -715,7 +715,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: dynamic_threads () const { @@ -729,7 +729,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::CIAO::Config_Handlers::Priority const& ThreadpoolDef:: default_priority () const { @@ -743,7 +743,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::boolean const& ThreadpoolDef:: allow_request_buffering () const { @@ -757,7 +757,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: max_buffered_requests () const { @@ -771,7 +771,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: max_request_buffered_size () const { @@ -785,7 +785,7 @@ namespace CIAO } // ThreadpoolDef - // + // bool ThreadpoolDef:: id_p () const { @@ -821,7 +821,7 @@ namespace CIAO // ThreadpoolWithLanesDef - // + // ThreadpoolWithLanesDef:: ThreadpoolWithLanesDef (::XMLSchema::unsignedLong const& stacksize__, @@ -829,8 +829,8 @@ namespace CIAO ::XMLSchema::boolean const& allow_request_buffering__, ::XMLSchema::unsignedLong const& max_buffered_requests__, ::XMLSchema::unsignedLong const& max_request_buffered_size__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), stacksize_ (new ::XMLSchema::unsignedLong (stacksize__)), allow_borrowing_ (new ::XMLSchema::boolean (allow_borrowing__)), allow_request_buffering_ (new ::XMLSchema::boolean (allow_request_buffering__)), @@ -895,7 +895,7 @@ namespace CIAO // ThreadpoolWithLanesDef - // + // ThreadpoolWithLanesDef::threadpoolLane_iterator ThreadpoolWithLanesDef:: begin_threadpoolLane () { @@ -933,7 +933,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: stacksize () const { @@ -947,7 +947,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::boolean const& ThreadpoolWithLanesDef:: allow_borrowing () const { @@ -961,7 +961,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::boolean const& ThreadpoolWithLanesDef:: allow_request_buffering () const { @@ -975,7 +975,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: max_buffered_requests () const { @@ -989,7 +989,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: max_request_buffered_size () const { @@ -1003,7 +1003,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // bool ThreadpoolWithLanesDef:: id_p () const { @@ -1039,14 +1039,14 @@ namespace CIAO // ThreadpoolLaneDef - // + // ThreadpoolLaneDef:: ThreadpoolLaneDef (::XMLSchema::unsignedLong const& static_threads__, ::XMLSchema::unsignedLong const& dynamic_threads__, ::CIAO::Config_Handlers::Priority const& priority__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), static_threads_ (new ::XMLSchema::unsignedLong (static_threads__)), dynamic_threads_ (new ::XMLSchema::unsignedLong (dynamic_threads__)), priority_ (new ::CIAO::Config_Handlers::Priority (priority__)), @@ -1085,7 +1085,7 @@ namespace CIAO // ThreadpoolLaneDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolLaneDef:: static_threads () const { @@ -1099,7 +1099,7 @@ namespace CIAO } // ThreadpoolLaneDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolLaneDef:: dynamic_threads () const { @@ -1113,7 +1113,7 @@ namespace CIAO } // ThreadpoolLaneDef - // + // ::CIAO::Config_Handlers::Priority const& ThreadpoolLaneDef:: priority () const { @@ -1128,12 +1128,12 @@ namespace CIAO // ConnectionBandsDef - // + // ConnectionBandsDef:: ConnectionBandsDef () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -1168,7 +1168,7 @@ namespace CIAO // ConnectionBandsDef - // + // ConnectionBandsDef::band_iterator ConnectionBandsDef:: begin_band () { @@ -1206,7 +1206,7 @@ namespace CIAO } // ConnectionBandsDef - // + // bool ConnectionBandsDef:: id_p () const { @@ -1242,13 +1242,13 @@ namespace CIAO // PriorityBandDef - // + // PriorityBandDef:: PriorityBandDef (::XMLSchema::int_ const& low__, ::XMLSchema::int_ const& high__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), low_ (new ::XMLSchema::int_ (low__)), high_ (new ::XMLSchema::int_ (high__)), regulator__ () @@ -1281,7 +1281,7 @@ namespace CIAO // PriorityBandDef - // + // ::XMLSchema::int_ const& PriorityBandDef:: low () const { @@ -1295,7 +1295,7 @@ namespace CIAO } // PriorityBandDef - // + // ::XMLSchema::int_ const& PriorityBandDef:: high () const { @@ -1310,12 +1310,12 @@ namespace CIAO // PolicySet - // + // PolicySet:: PolicySet () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -1368,7 +1368,7 @@ namespace CIAO // PolicySet - // + // PolicySet::priorityModel_iterator PolicySet:: begin_priorityModel () { @@ -1406,7 +1406,7 @@ namespace CIAO } // PolicySet - // + // PolicySet::threadpool_iterator PolicySet:: begin_threadpool () { @@ -1444,7 +1444,7 @@ namespace CIAO } // PolicySet - // + // PolicySet::priorityBandedConnection_iterator PolicySet:: begin_priorityBandedConnection () { @@ -1482,7 +1482,7 @@ namespace CIAO } // PolicySet - // + // bool PolicySet:: id_p () const { @@ -1518,7 +1518,7 @@ namespace CIAO // PriorityModel - // + // PriorityModel::Value PriorityModel:: integral () const @@ -1545,12 +1545,12 @@ namespace CIAO } // PriorityModelPolicyDef - // + // PriorityModelPolicyDef:: PriorityModelPolicyDef (::CIAO::Config_Handlers::PriorityModel const& priority_model__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), priority_model_ (new ::CIAO::Config_Handlers::PriorityModel (priority_model__)), regulator__ () { @@ -1582,7 +1582,7 @@ namespace CIAO // PriorityModelPolicyDef - // + // ::CIAO::Config_Handlers::PriorityModel const& PriorityModelPolicyDef:: priority_model () const { @@ -1596,7 +1596,7 @@ namespace CIAO } // PriorityModelPolicyDef - // + // bool PriorityModelPolicyDef:: server_priority_p () const { @@ -1669,7 +1669,7 @@ namespace CIAO orbConfigs_->container (this); } - else + else { } } @@ -1684,7 +1684,7 @@ namespace CIAO id (t); } - else + else { } } @@ -1711,7 +1711,7 @@ namespace CIAO add_arg (t); } - else + else { } } @@ -1738,7 +1738,7 @@ namespace CIAO uri (t); } - else + else { } } @@ -1771,7 +1771,7 @@ namespace CIAO add_policySet (t); } - else + else { } } @@ -1810,7 +1810,7 @@ namespace CIAO add_connectionBands (t); } - else + else { } } @@ -1890,7 +1890,7 @@ namespace CIAO max_request_buffered_size_->container (this); } - else + else { } } @@ -1905,7 +1905,7 @@ namespace CIAO id (t); } - else + else { } } @@ -1962,7 +1962,7 @@ namespace CIAO max_request_buffered_size_->container (this); } - else + else { } } @@ -1977,7 +1977,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2016,7 +2016,7 @@ namespace CIAO priority_->container (this); } - else + else { } } @@ -2043,7 +2043,7 @@ namespace CIAO add_band (t); } - else + else { } } @@ -2058,7 +2058,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2091,7 +2091,7 @@ namespace CIAO high_->container (this); } - else + else { } } @@ -2130,7 +2130,7 @@ namespace CIAO add_priorityBandedConnection (t); } - else + else { } } @@ -2145,7 +2145,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2162,7 +2162,7 @@ namespace CIAO if (v == "SERVER_DECLARED") v_ = SERVER_DECLARED_l; else if (v == "CLIENT_PROPAGATED") v_ = CLIENT_PROPAGATED_l; - else + else { } } @@ -2175,7 +2175,7 @@ namespace CIAO if (v == "SERVER_DECLARED") v_ = SERVER_DECLARED_l; else if (v == "CLIENT_PROPAGATED") v_ = CLIENT_PROPAGATED_l; - else + else { } } @@ -2204,7 +2204,7 @@ namespace CIAO priority_model_->container (this); } - else + else { } } @@ -2219,7 +2219,7 @@ namespace CIAO server_priority (t); } - else + else { } } @@ -4983,7 +4983,7 @@ namespace CIAO if (o == ::CIAO::Config_Handlers::PriorityModel::SERVER_DECLARED) s = "SERVER_DECLARED"; else if (o == ::CIAO::Config_Handlers::PriorityModel::CLIENT_PROPAGATED) s = "CLIENT_PROPAGATED"; - else + else { } @@ -5071,7 +5071,7 @@ namespace CIAO virtual ::CIAO::Config_Handlers::Writer::PolicySet, virtual ::CIAO::Config_Handlers::Writer::PriorityModelPolicyDef, virtual ::CIAO::Config_Handlers::Writer::PriorityModel, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp index cceaf787891..c649330c480 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp @@ -3,7 +3,7 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> @@ -12,7 +12,7 @@ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -60,7 +60,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // cmdline - // + // public: bool cmdline_p () const; ::CIAO::Config_Handlers::ServerCmdlineOptions const& cmdline () const; @@ -70,7 +70,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ServerCmdlineOptions > cmdline_; // svcconf - // + // public: bool svcconf_p () const; ::CIAO::Config_Handlers::ACESvcConf const& svcconf () const; @@ -80,7 +80,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ACESvcConf > svcconf_; // orbConfigs - // + // public: ::CIAO::Config_Handlers::ORBConfigs const& orbConfigs () const; void orbConfigs (::CIAO::Config_Handlers::ORBConfigs const& ); @@ -89,7 +89,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ORBConfigs > orbConfigs_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -119,7 +119,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // arg - // + // public: typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator arg_iterator; typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator arg_const_iterator; @@ -153,7 +153,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // uri - // + // public: bool uri_p () const; ::XMLSchema::string< ACE_TCHAR > const& uri () const; @@ -182,7 +182,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // resources - // + // public: bool resources_p () const; ::CIAO::Config_Handlers::ORBResources const& resources () const; @@ -192,7 +192,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ORBResources > resources_; // policySet - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PolicySet >::iterator policySet_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PolicySet >::const_iterator policySet_const_iterator; @@ -226,7 +226,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // threadpool - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef >::iterator threadpool_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef >::const_iterator threadpool_const_iterator; @@ -241,7 +241,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef > threadpool_; // threadpoolWithLanes - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef >::iterator threadpoolWithLanes_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef >::const_iterator threadpoolWithLanes_const_iterator; @@ -256,7 +256,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef > threadpoolWithLanes_; // connectionBands - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ConnectionBandsDef >::iterator connectionBands_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ConnectionBandsDef >::const_iterator connectionBands_const_iterator; @@ -309,7 +309,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // stacksize - // + // public: ::XMLSchema::unsignedLong const& stacksize () const; void stacksize (::XMLSchema::unsignedLong const& ); @@ -318,7 +318,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > stacksize_; // static_threads - // + // public: ::XMLSchema::unsignedLong const& static_threads () const; void static_threads (::XMLSchema::unsignedLong const& ); @@ -327,7 +327,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > static_threads_; // dynamic_threads - // + // public: ::XMLSchema::unsignedLong const& dynamic_threads () const; void dynamic_threads (::XMLSchema::unsignedLong const& ); @@ -336,7 +336,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > dynamic_threads_; // default_priority - // + // public: ::CIAO::Config_Handlers::Priority const& default_priority () const; void default_priority (::CIAO::Config_Handlers::Priority const& ); @@ -345,7 +345,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::Priority > default_priority_; // allow_request_buffering - // + // public: ::XMLSchema::boolean const& allow_request_buffering () const; void allow_request_buffering (::XMLSchema::boolean const& ); @@ -354,7 +354,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_request_buffering_; // max_buffered_requests - // + // public: ::XMLSchema::unsignedLong const& max_buffered_requests () const; void max_buffered_requests (::XMLSchema::unsignedLong const& ); @@ -363,7 +363,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_buffered_requests_; // max_request_buffered_size - // + // public: ::XMLSchema::unsignedLong const& max_request_buffered_size () const; void max_request_buffered_size (::XMLSchema::unsignedLong const& ); @@ -372,7 +372,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_request_buffered_size_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -408,7 +408,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // threadpoolLane - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef >::iterator threadpoolLane_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef >::const_iterator threadpoolLane_const_iterator; @@ -423,7 +423,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef > threadpoolLane_; // stacksize - // + // public: ::XMLSchema::unsignedLong const& stacksize () const; void stacksize (::XMLSchema::unsignedLong const& ); @@ -432,7 +432,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > stacksize_; // allow_borrowing - // + // public: ::XMLSchema::boolean const& allow_borrowing () const; void allow_borrowing (::XMLSchema::boolean const& ); @@ -441,7 +441,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_borrowing_; // allow_request_buffering - // + // public: ::XMLSchema::boolean const& allow_request_buffering () const; void allow_request_buffering (::XMLSchema::boolean const& ); @@ -450,7 +450,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_request_buffering_; // max_buffered_requests - // + // public: ::XMLSchema::unsignedLong const& max_buffered_requests () const; void max_buffered_requests (::XMLSchema::unsignedLong const& ); @@ -459,7 +459,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_buffered_requests_; // max_request_buffered_size - // + // public: ::XMLSchema::unsignedLong const& max_request_buffered_size () const; void max_request_buffered_size (::XMLSchema::unsignedLong const& ); @@ -468,7 +468,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_request_buffered_size_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -502,7 +502,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // static_threads - // + // public: ::XMLSchema::unsignedLong const& static_threads () const; void static_threads (::XMLSchema::unsignedLong const& ); @@ -511,7 +511,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > static_threads_; // dynamic_threads - // + // public: ::XMLSchema::unsignedLong const& dynamic_threads () const; void dynamic_threads (::XMLSchema::unsignedLong const& ); @@ -520,7 +520,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > dynamic_threads_; // priority - // + // public: ::CIAO::Config_Handlers::Priority const& priority () const; void priority (::CIAO::Config_Handlers::Priority const& ); @@ -550,7 +550,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // band - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PriorityBandDef >::iterator band_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PriorityBandDef >::const_iterator band_const_iterator; @@ -565,7 +565,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::PriorityBandDef > band_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -595,7 +595,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // low - // + // public: ::XMLSchema::int_ const& low () const; void low (::XMLSchema::int_ const& ); @@ -604,7 +604,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::int_ > low_; // high - // + // public: ::XMLSchema::int_ const& high () const; void high (::XMLSchema::int_ const& ); @@ -633,7 +633,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // priorityModel - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef >::iterator priorityModel_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef >::const_iterator priorityModel_const_iterator; @@ -648,7 +648,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef > priorityModel_; // threadpool - // + // public: typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator threadpool_iterator; typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator threadpool_const_iterator; @@ -663,7 +663,7 @@ namespace CIAO ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > threadpool_; // priorityBandedConnection - // + // public: typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator priorityBandedConnection_iterator; typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator priorityBandedConnection_const_iterator; @@ -678,7 +678,7 @@ namespace CIAO ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > priorityBandedConnection_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -720,10 +720,10 @@ namespace CIAO Value integral () const; - friend bool RT_CCM_Handlers_Export + friend bool RT_CCM_Handlers_Export operator== (PriorityModel const& a, PriorityModel const& b); - friend bool RT_CCM_Handlers_Export + friend bool RT_CCM_Handlers_Export operator!= (PriorityModel const& a, PriorityModel const& b); private: @@ -743,7 +743,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // priority_model - // + // public: ::CIAO::Config_Handlers::PriorityModel const& priority_model () const; void priority_model (::CIAO::Config_Handlers::PriorityModel const& ); @@ -752,7 +752,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::PriorityModel > priority_model_; // server_priority - // + // public: bool server_priority_p () const; ::CIAO::Config_Handlers::Priority const& server_priority () const; @@ -1593,13 +1593,13 @@ namespace CIAO { namespace Writer { - struct ServerResourcesDef : Traversal::ServerResourcesDef, + struct ServerResourcesDef : Traversal::ServerResourcesDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ServerResourcesDef Type; ServerResourcesDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1610,7 +1610,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void cmdline (Type &o) { @@ -1621,7 +1621,7 @@ namespace CIAO virtual void cmdline (Type const&); - virtual void + virtual void svcconf (Type &o) { @@ -1632,7 +1632,7 @@ namespace CIAO virtual void svcconf (Type const&); - virtual void + virtual void orbConfigs (Type &o) { @@ -1643,7 +1643,7 @@ namespace CIAO virtual void orbConfigs (Type const&); - virtual void + virtual void id (Type &o) { @@ -1658,13 +1658,13 @@ namespace CIAO ServerResourcesDef (); }; - struct ServerCmdlineOptions : Traversal::ServerCmdlineOptions, + struct ServerCmdlineOptions : Traversal::ServerCmdlineOptions, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ServerCmdlineOptions Type; ServerCmdlineOptions (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1675,7 +1675,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void arg_pre (Type &o) { @@ -1686,7 +1686,7 @@ namespace CIAO virtual void arg_pre (Type const&); - virtual void + virtual void arg_next (Type &o) { @@ -1697,7 +1697,7 @@ namespace CIAO virtual void arg_next (Type const&); - virtual void + virtual void arg_post (Type &o) { @@ -1712,13 +1712,13 @@ namespace CIAO ServerCmdlineOptions (); }; - struct ACESvcConf : Traversal::ACESvcConf, + struct ACESvcConf : Traversal::ACESvcConf, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ACESvcConf Type; ACESvcConf (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1729,7 +1729,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void uri (Type &o) { @@ -1744,13 +1744,13 @@ namespace CIAO ACESvcConf (); }; - struct ORBConfigs : Traversal::ORBConfigs, + struct ORBConfigs : Traversal::ORBConfigs, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ORBConfigs Type; ORBConfigs (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1761,7 +1761,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void resources (Type &o) { @@ -1772,7 +1772,7 @@ namespace CIAO virtual void resources (Type const&); - virtual void + virtual void policySet_pre (Type &o) { @@ -1783,7 +1783,7 @@ namespace CIAO virtual void policySet_pre (Type const&); - virtual void + virtual void policySet_next (Type &o) { @@ -1794,7 +1794,7 @@ namespace CIAO virtual void policySet_next (Type const&); - virtual void + virtual void policySet_post (Type &o) { @@ -1809,13 +1809,13 @@ namespace CIAO ORBConfigs (); }; - struct ORBResources : Traversal::ORBResources, + struct ORBResources : Traversal::ORBResources, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ORBResources Type; ORBResources (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1826,7 +1826,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void threadpool_pre (Type &o) { @@ -1837,7 +1837,7 @@ namespace CIAO virtual void threadpool_pre (Type const&); - virtual void + virtual void threadpool_next (Type &o) { @@ -1848,7 +1848,7 @@ namespace CIAO virtual void threadpool_next (Type const&); - virtual void + virtual void threadpool_post (Type &o) { @@ -1859,7 +1859,7 @@ namespace CIAO virtual void threadpool_post (Type const&); - virtual void + virtual void threadpoolWithLanes_pre (Type &o) { @@ -1870,7 +1870,7 @@ namespace CIAO virtual void threadpoolWithLanes_pre (Type const&); - virtual void + virtual void threadpoolWithLanes_next (Type &o) { @@ -1881,7 +1881,7 @@ namespace CIAO virtual void threadpoolWithLanes_next (Type const&); - virtual void + virtual void threadpoolWithLanes_post (Type &o) { @@ -1892,7 +1892,7 @@ namespace CIAO virtual void threadpoolWithLanes_post (Type const&); - virtual void + virtual void connectionBands_pre (Type &o) { @@ -1903,7 +1903,7 @@ namespace CIAO virtual void connectionBands_pre (Type const&); - virtual void + virtual void connectionBands_next (Type &o) { @@ -1914,7 +1914,7 @@ namespace CIAO virtual void connectionBands_next (Type const&); - virtual void + virtual void connectionBands_post (Type &o) { @@ -1929,13 +1929,13 @@ namespace CIAO ORBResources (); }; - struct Priority : Traversal::Priority, + struct Priority : Traversal::Priority, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::Priority Type; Priority (::XSCRT::XML::Element< ACE_TCHAR >&); - - virtual void + + virtual void traverse (Type &o) { @@ -1950,13 +1950,13 @@ namespace CIAO Priority (); }; - struct ThreadpoolDef : Traversal::ThreadpoolDef, + struct ThreadpoolDef : Traversal::ThreadpoolDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolDef Type; ThreadpoolDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1967,7 +1967,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void stacksize (Type &o) { @@ -1978,7 +1978,7 @@ namespace CIAO virtual void stacksize (Type const&); - virtual void + virtual void static_threads (Type &o) { @@ -1989,7 +1989,7 @@ namespace CIAO virtual void static_threads (Type const&); - virtual void + virtual void dynamic_threads (Type &o) { @@ -2000,7 +2000,7 @@ namespace CIAO virtual void dynamic_threads (Type const&); - virtual void + virtual void default_priority (Type &o) { @@ -2011,7 +2011,7 @@ namespace CIAO virtual void default_priority (Type const&); - virtual void + virtual void allow_request_buffering (Type &o) { @@ -2022,7 +2022,7 @@ namespace CIAO virtual void allow_request_buffering (Type const&); - virtual void + virtual void max_buffered_requests (Type &o) { @@ -2033,7 +2033,7 @@ namespace CIAO virtual void max_buffered_requests (Type const&); - virtual void + virtual void max_request_buffered_size (Type &o) { @@ -2044,7 +2044,7 @@ namespace CIAO virtual void max_request_buffered_size (Type const&); - virtual void + virtual void id (Type &o) { @@ -2059,13 +2059,13 @@ namespace CIAO ThreadpoolDef (); }; - struct ThreadpoolWithLanesDef : Traversal::ThreadpoolWithLanesDef, + struct ThreadpoolWithLanesDef : Traversal::ThreadpoolWithLanesDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolWithLanesDef Type; ThreadpoolWithLanesDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2076,7 +2076,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void threadpoolLane_pre (Type &o) { @@ -2087,7 +2087,7 @@ namespace CIAO virtual void threadpoolLane_pre (Type const&); - virtual void + virtual void threadpoolLane_next (Type &o) { @@ -2098,7 +2098,7 @@ namespace CIAO virtual void threadpoolLane_next (Type const&); - virtual void + virtual void threadpoolLane_post (Type &o) { @@ -2109,7 +2109,7 @@ namespace CIAO virtual void threadpoolLane_post (Type const&); - virtual void + virtual void stacksize (Type &o) { @@ -2120,7 +2120,7 @@ namespace CIAO virtual void stacksize (Type const&); - virtual void + virtual void allow_borrowing (Type &o) { @@ -2131,7 +2131,7 @@ namespace CIAO virtual void allow_borrowing (Type const&); - virtual void + virtual void allow_request_buffering (Type &o) { @@ -2142,7 +2142,7 @@ namespace CIAO virtual void allow_request_buffering (Type const&); - virtual void + virtual void max_buffered_requests (Type &o) { @@ -2153,7 +2153,7 @@ namespace CIAO virtual void max_buffered_requests (Type const&); - virtual void + virtual void max_request_buffered_size (Type &o) { @@ -2164,7 +2164,7 @@ namespace CIAO virtual void max_request_buffered_size (Type const&); - virtual void + virtual void id (Type &o) { @@ -2179,13 +2179,13 @@ namespace CIAO ThreadpoolWithLanesDef (); }; - struct ThreadpoolLaneDef : Traversal::ThreadpoolLaneDef, + struct ThreadpoolLaneDef : Traversal::ThreadpoolLaneDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolLaneDef Type; ThreadpoolLaneDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2196,7 +2196,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void static_threads (Type &o) { @@ -2207,7 +2207,7 @@ namespace CIAO virtual void static_threads (Type const&); - virtual void + virtual void dynamic_threads (Type &o) { @@ -2218,7 +2218,7 @@ namespace CIAO virtual void dynamic_threads (Type const&); - virtual void + virtual void priority (Type &o) { @@ -2233,13 +2233,13 @@ namespace CIAO ThreadpoolLaneDef (); }; - struct ConnectionBandsDef : Traversal::ConnectionBandsDef, + struct ConnectionBandsDef : Traversal::ConnectionBandsDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ConnectionBandsDef Type; ConnectionBandsDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2250,7 +2250,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void band_pre (Type &o) { @@ -2261,7 +2261,7 @@ namespace CIAO virtual void band_pre (Type const&); - virtual void + virtual void band_next (Type &o) { @@ -2272,7 +2272,7 @@ namespace CIAO virtual void band_next (Type const&); - virtual void + virtual void band_post (Type &o) { @@ -2283,7 +2283,7 @@ namespace CIAO virtual void band_post (Type const&); - virtual void + virtual void id (Type &o) { @@ -2298,13 +2298,13 @@ namespace CIAO ConnectionBandsDef (); }; - struct PriorityBandDef : Traversal::PriorityBandDef, + struct PriorityBandDef : Traversal::PriorityBandDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PriorityBandDef Type; PriorityBandDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2315,7 +2315,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void low (Type &o) { @@ -2326,7 +2326,7 @@ namespace CIAO virtual void low (Type const&); - virtual void + virtual void high (Type &o) { @@ -2341,13 +2341,13 @@ namespace CIAO PriorityBandDef (); }; - struct PolicySet : Traversal::PolicySet, + struct PolicySet : Traversal::PolicySet, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PolicySet Type; PolicySet (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2358,7 +2358,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void priorityModel_pre (Type &o) { @@ -2369,7 +2369,7 @@ namespace CIAO virtual void priorityModel_pre (Type const&); - virtual void + virtual void priorityModel_next (Type &o) { @@ -2380,7 +2380,7 @@ namespace CIAO virtual void priorityModel_next (Type const&); - virtual void + virtual void priorityModel_post (Type &o) { @@ -2391,7 +2391,7 @@ namespace CIAO virtual void priorityModel_post (Type const&); - virtual void + virtual void threadpool_pre (Type &o) { @@ -2402,7 +2402,7 @@ namespace CIAO virtual void threadpool_pre (Type const&); - virtual void + virtual void threadpool_next (Type &o) { @@ -2413,7 +2413,7 @@ namespace CIAO virtual void threadpool_next (Type const&); - virtual void + virtual void threadpool_post (Type &o) { @@ -2424,7 +2424,7 @@ namespace CIAO virtual void threadpool_post (Type const&); - virtual void + virtual void priorityBandedConnection_pre (Type &o) { @@ -2435,7 +2435,7 @@ namespace CIAO virtual void priorityBandedConnection_pre (Type const&); - virtual void + virtual void priorityBandedConnection_next (Type &o) { @@ -2446,7 +2446,7 @@ namespace CIAO virtual void priorityBandedConnection_next (Type const&); - virtual void + virtual void priorityBandedConnection_post (Type &o) { @@ -2457,7 +2457,7 @@ namespace CIAO virtual void priorityBandedConnection_post (Type const&); - virtual void + virtual void id (Type &o) { @@ -2472,7 +2472,7 @@ namespace CIAO PolicySet (); }; - struct PriorityModel : Traversal::PriorityModel, + struct PriorityModel : Traversal::PriorityModel, virtual ::XSCRT::Writer< ACE_TCHAR > { PriorityModel (::XSCRT::XML::Element< ACE_TCHAR >&); @@ -2490,13 +2490,13 @@ namespace CIAO PriorityModel (); }; - struct PriorityModelPolicyDef : Traversal::PriorityModelPolicyDef, + struct PriorityModelPolicyDef : Traversal::PriorityModelPolicyDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PriorityModelPolicyDef Type; PriorityModelPolicyDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2507,7 +2507,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void priority_model (Type &o) { @@ -2518,7 +2518,7 @@ namespace CIAO virtual void priority_model (Type const&); - virtual void + virtual void server_priority (Type &o) { diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.cpp index c810c4e44ea..188289de3f9 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.cpp @@ -6,40 +6,40 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + bool CLA_Handler::commandline_arguments (const ServerResourcesDef &src, + ::CIAO::DAnCE::CommandlineArgs &dest) { - bool CLA_Handler::commandline_arguments (const ServerResourcesDef &src, - ::CIAO::DAnCE::CommandlineArgs &dest) - { - ServerCmdlineOptions sco = src.cmdline(); - - for(ServerCmdlineOptions::arg_iterator loc = sco.begin_arg(); - loc != sco.end_arg(); - loc++) - { - CORBA::ULong len = dest.length(); - - dest.length(len+1); - - dest[len] = CORBA::string_dup (loc->c_str ()); - } - - return true; - } - - ServerCmdlineOptions - CLA_Handler::commandline_argument (const CIAO::DAnCE::CommandlineArgs &src) - { - ServerCmdlineOptions co; - - for (CORBA::ULong i = 0; - i < src.length (); - ++i) - { - co.add_arg (src[i].in ()); - } - - return co; + ServerCmdlineOptions sco = src.cmdline(); + + for(ServerCmdlineOptions::arg_iterator loc = sco.begin_arg(); + loc != sco.end_arg(); + loc++) + { + CORBA::ULong len = dest.length(); + + dest.length(len+1); + + dest[len] = CORBA::string_dup (loc->c_str ()); + } + + return true; + } + + ServerCmdlineOptions + CLA_Handler::commandline_argument (const CIAO::DAnCE::CommandlineArgs &src) + { + ServerCmdlineOptions co; + + for (CORBA::ULong i = 0; + i < src.length (); + ++i) + { + co.add_arg (src[i].in ()); } + + return co; } + } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h index 13d115a5b2d..ae917f885e5 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h @@ -21,31 +21,31 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ namespace CIAO -{ - namespace Config_Handlers +{ + namespace Config_Handlers + { + + class ServerResourcesDef; + class ServerCmdlineOptions; + + /* + * class CLA_Handler + * This is a brief Handler class for <CommandlineArg> + */ + + class RT_CCM_Handlers_Export CLA_Handler { - - class ServerResourcesDef; - class ServerCmdlineOptions; - - /* - * class CLA_Handler - * This is a brief Handler class for <CommandlineArg> - */ - - class RT_CCM_Handlers_Export CLA_Handler - { - public: - static bool - commandline_arguments ( - const ServerResourcesDef &src, - ::CIAO::DAnCE::CommandlineArgs &dest); - - static ServerCmdlineOptions - commandline_argument (const ::CIAO::DAnCE::CommandlineArgs &src); - - }; - } + public: + static bool + commandline_arguments ( + const ServerResourcesDef &src, + ::CIAO::DAnCE::CommandlineArgs &dest); + + static ServerCmdlineOptions + commandline_argument (const ::CIAO::DAnCE::CommandlineArgs &src); + + }; + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.cpp index 1adf552c09e..5a8fc9114f2 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.cpp @@ -8,45 +8,45 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + + bool OC_Handler::orb_config ( + const ORBConfigs &src, + ::CIAO::DAnCE::ORBConfigs &dest) { + if (src.resources_p ()) + OR_Handler::orb_resources (src.resources (), dest.orb_resources); + + CORBA::ULong pos (dest.policy_set.length ()); + + dest.policy_set.length (pos + src.count_policySet ()); + + for (ORBConfigs::policySet_const_iterator i = src.begin_policySet (); + i != src.end_policySet (); + ++i) + { + PS_Handler::policy_set (*i, dest.policy_set[pos++]); + } + + return true; + } + + + ORBConfigs OC_Handler::orb_config ( + const ::CIAO::DAnCE::ORBConfigs &src) + { + ORBConfigs oc; + + oc.resources(OR_Handler::orb_resources (src.orb_resources)); + + size_t len = src.policy_set.length(); + for(size_t i = 0; i < len; i++) + { + oc.add_policySet (PS_Handler::policy_set (src.policy_set [i])); + } - bool OC_Handler::orb_config ( - const ORBConfigs &src, - ::CIAO::DAnCE::ORBConfigs &dest) - { - if (src.resources_p ()) - OR_Handler::orb_resources (src.resources (), dest.orb_resources); - - CORBA::ULong pos (dest.policy_set.length ()); - - dest.policy_set.length (pos + src.count_policySet ()); - - for (ORBConfigs::policySet_const_iterator i = src.begin_policySet (); - i != src.end_policySet (); - ++i) - { - PS_Handler::policy_set (*i, dest.policy_set[pos++]); - } - - return true; - } - - - ORBConfigs OC_Handler::orb_config ( - const ::CIAO::DAnCE::ORBConfigs &src) - { - ORBConfigs oc; - - oc.resources(OR_Handler::orb_resources (src.orb_resources)); - - size_t len = src.policy_set.length(); - for(size_t i = 0; i < len; i++) - { - oc.add_policySet (PS_Handler::policy_set (src.policy_set [i])); - } - - return oc; - } + return oc; } + } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h index ab702e321f9..8360825226e 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h @@ -23,28 +23,28 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + class ORBConfigs; + + /* + * @class OC_Handler + * + * @brief Handler class for <ORBConfigs> + */ + + class RT_CCM_Handlers_Export OC_Handler { - class ORBConfigs; - - /* - * @class OC_Handler - * - * @brief Handler class for <ORBConfigs> - */ - - class RT_CCM_Handlers_Export OC_Handler - { - public: - static bool orb_config (const ORBConfigs &src, - ::CIAO::DAnCE::ORBConfigs &dest); - - static ORBConfigs orb_config (const ::CIAO::DAnCE::ORBConfigs &src); - - }; - } + public: + static bool orb_config (const ORBConfigs &src, + ::CIAO::DAnCE::ORBConfigs &dest); + + static ORBConfigs orb_config (const ::CIAO::DAnCE::ORBConfigs &src); + + }; + } } #include /**/ "ace/post.h" #endif /* OC_HANDLER_H */ - + diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.cpp index d7c750d07cd..5fd8a1b32ff 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.cpp @@ -9,84 +9,84 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + bool OR_Handler::orb_resources (const ORBResources &src, + ::CIAO::DAnCE::ORBResources &dest) { - bool OR_Handler::orb_resources (const ORBResources &src, - ::CIAO::DAnCE::ORBResources &dest) - { - // We know that there should be only one. - dest.length (1); - - // Set the length of the threadpools - CORBA::ULong pos (dest[0].threadpool_list.length ()); - dest[0].threadpool_list.length (pos + src.count_threadpool ()); - - for (ORBResources::threadpool_const_iterator i = src.begin_threadpool (); - i != src.end_threadpool (); - ++i) - { - TP_Handler::thread_pool (*i, - dest[0].threadpool_list[pos++]); - } - - pos = dest[0].threadpool_with_lanes_list.length (); - dest[0].threadpool_with_lanes_list.length (pos + src.count_threadpoolWithLanes ()); + // We know that there should be only one. + dest.length (1); - for (ORBResources::threadpoolWithLanes_const_iterator j = src.begin_threadpoolWithLanes(); - j != src.end_threadpoolWithLanes(); - j++) - { - TPL_Handler::threadpool_with_lanes (*j, - dest[0].threadpool_with_lanes_list [pos++]); - } + // Set the length of the threadpools + CORBA::ULong pos (dest[0].threadpool_list.length ()); + dest[0].threadpool_list.length (pos + src.count_threadpool ()); - pos = dest[0].connection_bands_list.length (); - dest[0].connection_bands_list.length (pos + src.count_connectionBands ()); + for (ORBResources::threadpool_const_iterator i = src.begin_threadpool (); + i != src.end_threadpool (); + ++i) + { + TP_Handler::thread_pool (*i, + dest[0].threadpool_list[pos++]); + } - for (ORBResources::connectionBands_const_iterator k = src.begin_connectionBands(); - k != src.end_connectionBands(); - k++) - { - CB_Handler::connection_band (*k, - dest[0].connection_bands_list[pos++]); - } - return true; - } + pos = dest[0].threadpool_with_lanes_list.length (); + dest[0].threadpool_with_lanes_list.length (pos + src.count_threadpoolWithLanes ()); - ORBResources OR_Handler::orb_resources (const ::CIAO::DAnCE::ORBResources &src) - throw (OR_Handler::No_Resource) - { - if (src.length () == 0 || - src[0].threadpool_list.length () == 0 || - src[0].threadpool_with_lanes_list.length () == 0 || - src[0].connection_bands_list.length () == 0) - { - throw No_Resource (); - } - - size_t len; //For checking the length of sequences - - ORBResources ores; - - len = src[0].threadpool_list.length(); - for(size_t i = 0; i < len; ++i) - { - ores.add_threadpool (TP_Handler::thread_pool (src[0].threadpool_list[i])); - } - - len = src[0].threadpool_with_lanes_list.length(); - for(size_t j = 0; j < len; ++j) - { - ores.add_threadpoolWithLanes(TPL_Handler::threadpool_with_lanes (src[0].threadpool_with_lanes_list[j])); - } - - len = src[0].connection_bands_list.length(); - for(size_t k = 0; k < len; k++) - { - ores.add_connectionBands (CB_Handler::connection_band (src[0].connection_bands_list[k])); - } - - return ores; - } + for (ORBResources::threadpoolWithLanes_const_iterator j = src.begin_threadpoolWithLanes(); + j != src.end_threadpoolWithLanes(); + j++) + { + TPL_Handler::threadpool_with_lanes (*j, + dest[0].threadpool_with_lanes_list [pos++]); + } + + pos = dest[0].connection_bands_list.length (); + dest[0].connection_bands_list.length (pos + src.count_connectionBands ()); + + for (ORBResources::connectionBands_const_iterator k = src.begin_connectionBands(); + k != src.end_connectionBands(); + k++) + { + CB_Handler::connection_band (*k, + dest[0].connection_bands_list[pos++]); + } + return true; + } + + ORBResources OR_Handler::orb_resources (const ::CIAO::DAnCE::ORBResources &src) + throw (OR_Handler::No_Resource) + { + if (src.length () == 0 || + src[0].threadpool_list.length () == 0 || + src[0].threadpool_with_lanes_list.length () == 0 || + src[0].connection_bands_list.length () == 0) + { + throw No_Resource (); + } + + size_t len; //For checking the length of sequences + + ORBResources ores; + + len = src[0].threadpool_list.length(); + for(size_t i = 0; i < len; ++i) + { + ores.add_threadpool (TP_Handler::thread_pool (src[0].threadpool_list[i])); + } + + len = src[0].threadpool_with_lanes_list.length(); + for(size_t j = 0; j < len; ++j) + { + ores.add_threadpoolWithLanes(TPL_Handler::threadpool_with_lanes (src[0].threadpool_with_lanes_list[j])); + } + + len = src[0].connection_bands_list.length(); + for(size_t k = 0; k < len; k++) + { + ores.add_connectionBands (CB_Handler::connection_band (src[0].connection_bands_list[k])); + } + + return ores; } + } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h index 928ed1bb286..707547adf61 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h @@ -23,30 +23,30 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + class ORBResources; + + /* Class description + * @class OR_Handler + * @function A brief Handler class for the <ORBResource> member + */ + + class RT_CCM_Handlers_Export OR_Handler { - class ORBResources; - - /* Class description - * @class OR_Handler - * @function A brief Handler class for the <ORBResource> member - */ - - class RT_CCM_Handlers_Export OR_Handler - { - public: - - static bool orb_resources (const ORBResources &src, - ::CIAO::DAnCE::ORBResources &dest); - - class No_Resource {}; - - static ORBResources orb_resources (const ::CIAO::DAnCE::ORBResources &src) - throw (No_Resource); - - - }; - } + public: + + static bool orb_resources (const ORBResources &src, + ::CIAO::DAnCE::ORBResources &dest); + + class No_Resource {}; + + static ORBResources orb_resources (const ::CIAO::DAnCE::ORBResources &src) + throw (No_Resource); + + + }; + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.cpp index cf53e198499..088a426505c 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.cpp @@ -8,7 +8,7 @@ namespace CIAO { namespace Config_Handlers { - + bool PM_Handler::priority_model_pd (const PriorityModelPolicyDef &src, ::CIAO::DAnCE::PriorityModelPolicyDef &dest) @@ -18,56 +18,56 @@ namespace CIAO case PriorityModel::SERVER_DECLARED_l: dest.priority_model = ::CIAO::DAnCE::SERVER_DECLARED; break; - + case PriorityModel::CLIENT_PROPAGATED_l: dest.priority_model = ::CIAO::DAnCE::CLIENT_PROPAGATED; break; - + default: ACE_ERROR ((LM_ERROR, "Unknown priority model passed to priority_model_pd\n")); return false; } - + if (src.server_priority_p ()) dest.server_priority = static_cast < ACE_INT32 > (src.server_priority ()); else dest.server_priority = 0; - + return true; } - - - PriorityModelPolicyDef + + + PriorityModelPolicyDef PM_Handler::priority_model_pd (const ::CIAO::DAnCE::PriorityModelPolicyDef &src) { auto_ptr <PriorityModelPolicyDef> pmd; - + switch (src.priority_model) { case ::CIAO::DAnCE::CLIENT_PROPAGATED: pmd.reset (new PriorityModelPolicyDef (PriorityModel::CLIENT_PROPAGATED)); break; - + case ::CIAO::DAnCE::SERVER_DECLARED: pmd.reset (new PriorityModelPolicyDef (PriorityModel::SERVER_DECLARED)); break; - + default: ACE_ERROR ((LM_ERROR, "Invalid priority model given to priority_model_pd\n")); throw 1; } - + pmd->server_priority (XMLSchema::int_ (src.server_priority)); - + return *pmd; } - - + + } - - - + + + } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h index 2ebe0fb0c0e..aa0705fcac2 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h @@ -1,4 +1,4 @@ -/** +/** * @file PM_Handler.h * @author Will Otte <wotte@dre.vanderbilt.edu> * @@ -23,22 +23,22 @@ namespace CIAO namespace Config_Handlers { class PriorityModelPolicyDef; - + /** * @class PS_Handler * @brief Handler class for PriorityModelPolicyDefs */ - + class RT_CCM_Handlers_Export PM_Handler { public: static bool priority_model_pd (const PriorityModelPolicyDef &src, ::CIAO::DAnCE::PriorityModelPolicyDef &dest); - + static PriorityModelPolicyDef priority_model_pd (const ::CIAO::DAnCE::PriorityModelPolicyDef &src); }; } - + } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.cpp index bbe8f7a28db..a2fa834233e 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.cpp @@ -14,14 +14,14 @@ namespace CIAO { if (src.id_p ()) dest.Id = CORBA::string_dup (src.id ().c_str ()); - + // Make room for all of the policies CORBA::ULong len (dest.policies.length ()); - dest.policies.length (len + + dest.policies.length (len + src.count_priorityModel () + src.count_threadpool () + src.count_priorityBandedConnection ()); - + for (PolicySet::priorityModel_const_iterator i = src.begin_priorityModel (); i != src.end_priorityModel (); ++i) @@ -32,44 +32,44 @@ namespace CIAO dest.policies[len++].PriorityModelDef (pmd); } - + for (PolicySet::threadpool_const_iterator i = src.begin_threadpool (); i != src.end_threadpool (); ++i) { ::CIAO::DAnCE::ThreadpoolPolicyDef tpd; - + tpd.Id = CORBA::string_dup (i->id ().c_str ()); - + dest.policies[len++].ThreadpoolDef (tpd); } - - + + for (PolicySet::priorityBandedConnection_const_iterator i = src.begin_priorityBandedConnection (); i != src.end_priorityBandedConnection (); ++i) { ::CIAO::DAnCE::PriorityBandedConnectionPolicyDef pbc; - + pbc.Id = CORBA::string_dup (i->id ().c_str ()); - + dest.policies[len++].PriorityBandedConnectionDef (pbc); } - - - + + + return true; } - PolicySet + PolicySet PS_Handler::policy_set (const ::CIAO::DAnCE::PolicySet &src) { PolicySet ps; - + if (src.Id.in ()) ps.id (src.Id.in ()); - + for (CORBA::ULong i = 0; i < src.policies.length (); ++i) @@ -77,38 +77,38 @@ namespace CIAO ACE_DEBUG ((LM_ERROR, "Attempting switch for i = %d\n", i)); - + switch (src.policies[i]._d ()) { case ::CIAO::DAnCE::PRIORITY_MODEL_POLICY_TYPE: ps.add_priorityModel ( PM_Handler::priority_model_pd (src.policies[i].PriorityModelDef ())); break; - + case ::CIAO::DAnCE::THREADPOOL_POLICY_TYPE: ps.add_threadpool (src.policies[i].ThreadpoolDef ().Id.in ()); break; - + case ::CIAO::DAnCE::PRIORITY_BANDED_CONNECTION_POLICY_TYPE: ps.add_priorityBandedConnection (src.policies[i].PriorityBandedConnectionDef ().Id.in ()); break; - + case 0: ACE_ERROR ((LM_ERROR, "Skipping invalid policy.\n")); break; - + default: ACE_ERROR ((LM_ERROR, "Bad policy stored in policy_set: %i\n", src.policies[i]._d ())); throw 1; } - } - + } + return ps; } - + } - + } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h index 5d924587fa9..5f8673d94ef 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h @@ -1,7 +1,7 @@ -/** +/** * @file PS_Handler.h * @author Will Otte <wotte@dre.vanderbilt.edu> - * + * * $Id$ */ @@ -23,21 +23,21 @@ namespace CIAO namespace Config_Handlers { class PolicySet; - + /** * @class PS_Handler * @brief Handler class for PolicySets */ - + class RT_CCM_Handlers_Export PS_Handler { public: static bool policy_set (const PolicySet &src, ::CIAO::DAnCE::PolicySet &dest); - + static PolicySet policy_set (const ::CIAO::DAnCE::PolicySet &src); }; - + } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.cpp index 5b4500becf9..fc7e4b88a56 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.cpp @@ -16,20 +16,20 @@ namespace CIAO retval_ (false) { XML_Helper helper; - - XERCES_CPP_NAMESPACE::DOMDocument *dom = - helper.create_dom (file); - + + XERCES_CPP_NAMESPACE::DOMDocument *dom = + helper.create_dom (file); + if (!dom) - throw SRD_Handler::NoSRD (); - - this->srd_.reset (new ServerResourcesDef - (ServerResources (dom))); - + throw SRD_Handler::NoSRD (); + + this->srd_.reset (new ServerResourcesDef + (ServerResources (dom))); + if (!this->build_srd ()) - throw NoSRD (); + throw NoSRD (); } - + SRD_Handler::SRD_Handler (ServerResourcesDef *srd): idl_srd_(0), srd_(srd), @@ -47,16 +47,16 @@ namespace CIAO if(!this->build_xsc()) throw NoSRD (); } - + SRD_Handler::~SRD_Handler (void) { } - + bool SRD_Handler::build_srd () { this->idl_srd_.reset ( new ::CIAO::DAnCE::ServerResource ); - + if(this->srd_->cmdline_p()) { this->retval_ = CLA_Handler::commandline_arguments(*this->srd_, @@ -70,12 +70,12 @@ namespace CIAO this->retval_ = OC_Handler::orb_config (this->srd_->orbConfigs (), this->idl_srd_->orb_config); - + if (this->srd_->id_p ()) { this->idl_srd_->Id = srd_->id ().c_str (); } - + return this->retval_; } @@ -83,11 +83,11 @@ namespace CIAO SRD_Handler::build_xsc () { size_t len; //For checking the length of src data members - + // Load the ORBConfigs and create the XSC structure for SRD this->srd_.reset (new ServerResourcesDef (OC_Handler::orb_config (this->idl_srd_->orb_config))); - - + + //Note: Why did we make the CmdlineOptions a separate class instead of a // vector of strings??? @@ -107,10 +107,10 @@ namespace CIAO ACESvcConf asc; asc.uri(curr); this->srd_->svcconf (asc); - + XMLSchema::string < ACE_TCHAR > id (this->idl_srd_->Id.in ()); this->srd_->id (id); - + return true; } @@ -160,4 +160,4 @@ namespace CIAO } } - + diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h index cfa7871b705..c97d951ec90 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h @@ -4,7 +4,7 @@ * * @author Lucas Seibert <lseibert@dre.vanderbilt.edu> * @author Will Otte <wotte@dre.vanderbilt.edu> - * + * * $Id$ */ //====================================== @@ -24,54 +24,54 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + class ServerResourcesDef; + + /* + * @class SRD_Handler + * + * @brief Handler class for <ServerResourcesDef + */ + + class RT_CCM_Handlers_Export SRD_Handler { - class ServerResourcesDef; - - /* - * @class SRD_Handler - * - * @brief Handler class for <ServerResourcesDef - */ - - class RT_CCM_Handlers_Export SRD_Handler - { - public: - class NoSRD {}; - - SRD_Handler (const ACE_TCHAR *file); - - SRD_Handler(ServerResourcesDef *srd); - - SRD_Handler(::CIAO::DAnCE::ServerResource *srd); - - ~SRD_Handler (void); - - ::CIAO::DAnCE::ServerResource const *srd_idl (void) const - throw (NoSRD); - - ::CIAO::DAnCE::ServerResource *srd_idl (void) - throw (NoSRD); - - ServerResourcesDef const *srd_xsc (void) const - throw (NoSRD); - - ServerResourcesDef *srd_xsc (void) - throw (NoSRD); - - private: - bool build_srd (); - - - bool build_xsc (); - - auto_ptr < ::CIAO::DAnCE::ServerResource > idl_srd_; - - auto_ptr <ServerResourcesDef> srd_; - - bool retval_; - }; - } + public: + class NoSRD {}; + + SRD_Handler (const ACE_TCHAR *file); + + SRD_Handler(ServerResourcesDef *srd); + + SRD_Handler(::CIAO::DAnCE::ServerResource *srd); + + ~SRD_Handler (void); + + ::CIAO::DAnCE::ServerResource const *srd_idl (void) const + throw (NoSRD); + + ::CIAO::DAnCE::ServerResource *srd_idl (void) + throw (NoSRD); + + ServerResourcesDef const *srd_xsc (void) const + throw (NoSRD); + + ServerResourcesDef *srd_xsc (void) + throw (NoSRD); + + private: + bool build_srd (); + + + bool build_xsc (); + + auto_ptr < ::CIAO::DAnCE::ServerResource > idl_srd_; + + auto_ptr <ServerResourcesDef> srd_; + + bool retval_; + }; + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.cpp index 5232b48a757..4d65478d19c 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.cpp @@ -7,7 +7,7 @@ namespace CIAO { namespace Config_Handlers { - bool + bool TPL_Handler::threadpool_with_lanes ( const ThreadpoolWithLanesDef &src, ::CIAO::DAnCE::ORS_ThreadpoolWithLanes &dest) @@ -25,7 +25,7 @@ namespace CIAO size_t len = dest.threadpool_lanes.length (); dest.threadpool_lanes.length (len + 1); - + dest.threadpool_lanes[len].lane_priority = static_cast <ACE_INT16> (loc->priority ()); @@ -47,7 +47,7 @@ namespace CIAO dest.max_request_buffer_size = static_cast <ACE_UINT32> (src.max_request_buffered_size ()); - + return true; } @@ -60,10 +60,10 @@ namespace CIAO XMLSchema::unsignedLong ((src.max_buffered_requests)), XMLSchema::unsignedLong ((src.max_request_buffer_size)) ); - + //XMLSchema::ID <ACE_TCHAR> id = ((src.Id)); tpl.id (src.Id.in ()); - + size_t len = src.threadpool_lanes.length (); for (size_t i = 0; i < len; i++) { @@ -71,10 +71,10 @@ namespace CIAO XMLSchema::unsignedLong (src.threadpool_lanes[i].static_threads), XMLSchema::unsignedLong (src.threadpool_lanes[i].dynamic_threads), XMLSchema::int_ (src.threadpool_lanes[i].lane_priority)); - + tpl.add_threadpoolLane (new_tplane); - } - + } + return tpl; } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.cpp index ec28027cb5c..7a9bc607b32 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.cpp @@ -7,58 +7,58 @@ namespace CIAO { namespace Config_Handlers - { - bool TP_Handler::thread_pool ( - const ThreadpoolDef &src, - ::CIAO::DAnCE::ORS_Threadpool &dest - ) - { + { + bool TP_Handler::thread_pool ( + const ThreadpoolDef &src, + ::CIAO::DAnCE::ORS_Threadpool &dest + ) + { dest.Id = CORBA::String_var (src.id ().c_str ()); - + dest.stacksize = static_cast <ACE_UINT32> (src.stacksize ()); - + dest.static_threads = static_cast <ACE_UINT32> (src.static_threads( )); - + dest.dynamic_threads = static_cast <ACE_UINT32> (src.dynamic_threads()); - + dest.default_priority = static_cast <ACE_INT16> (src.default_priority ()); - + dest.allow_request_buffering = src.allow_request_buffering (); - + dest.max_buffered_requests = static_cast <ACE_UINT32> (src.max_buffered_requests ()); - + dest.max_request_buffer_size = static_cast <ACE_UINT32> (src.max_request_buffered_size ()); - + return true; - } + } - ThreadpoolDef - TP_Handler::thread_pool ( - const ::CIAO::DAnCE::ORS_Threadpool &src - ) - { + ThreadpoolDef + TP_Handler::thread_pool ( + const ::CIAO::DAnCE::ORS_Threadpool &src + ) + { ThreadpoolDef tp ( - XMLSchema::unsignedLong (src.stacksize), - XMLSchema::unsignedLong (src.static_threads), - XMLSchema::unsignedLong (src.dynamic_threads), - Priority (src.default_priority), - XMLSchema::boolean (src.allow_request_buffering), - XMLSchema::unsignedLong (src.max_buffered_requests), - XMLSchema::unsignedLong (src.max_request_buffer_size) - ); - + XMLSchema::unsignedLong (src.stacksize), + XMLSchema::unsignedLong (src.static_threads), + XMLSchema::unsignedLong (src.dynamic_threads), + Priority (src.default_priority), + XMLSchema::boolean (src.allow_request_buffering), + XMLSchema::unsignedLong (src.max_buffered_requests), + XMLSchema::unsignedLong (src.max_request_buffer_size) + ); + if (src.Id.in () == 0) { tp.id (src.Id.in ()); - } + } return tp; - } + } } } diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h index 638ab07f675..b0403ab0342 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h @@ -22,24 +22,24 @@ namespace CIAO { - namespace Config_Handlers + namespace Config_Handlers + { + class ThreadpoolDef; + + /* + * @class TP_Handler + * A brief Handler class for <ThreadpoolDef> + */ + + class RT_CCM_Handlers_Export TP_Handler { - class ThreadpoolDef; - - /* - * @class TP_Handler - * A brief Handler class for <ThreadpoolDef> - */ - - class RT_CCM_Handlers_Export TP_Handler - { - public: - static bool thread_pool (const ThreadpoolDef &src, - ::CIAO::DAnCE::ORS_Threadpool &dest); - - static ThreadpoolDef thread_pool (const ::CIAO::DAnCE::ORS_Threadpool &src); - }; - } + public: + static bool thread_pool (const ThreadpoolDef &src, + ::CIAO::DAnCE::ORS_Threadpool &dest); + + static ThreadpoolDef thread_pool (const ::CIAO::DAnCE::ORS_Threadpool &src); + }; + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/input.csr b/TAO/CIAO/tools/Config_Handlers/RT-CCM/input.csr index e8a05932f4b..3a44faf9754 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/input.csr +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/input.csr @@ -4,17 +4,17 @@ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dre.vanderbilt.edu/ServerResources CIAOServerResources.xsd"> - + <cmdline> <arg> -ORBDebugLevel 10 -ORBEndpoint corbaloc://foo/bar</arg> </cmdline> - + <svcconf> <uri> svcconf.uri </uri> </svcconf> - + <orbConfigs> <resources> <threadpool id="threadpool-1"> @@ -26,7 +26,7 @@ <max_buffered_requests>10</max_buffered_requests> <max_request_buffered_size>20</max_request_buffered_size> </threadpool> - + <threadpoolWithLanes id="threadpool-2"> <threadpoolLane> <static_threads>50</static_threads> @@ -39,7 +39,7 @@ <max_buffered_requests>10</max_buffered_requests> <max_request_buffered_size>20</max_request_buffered_size> </threadpoolWithLanes> - + <connectionBands id="cb-1"> <band> <low>0</low> @@ -51,7 +51,7 @@ </band> </connectionBands> </resources> - + <policySet> <priorityModel server_priority="10"> <priority_model>SERVER_DECLARED</priority_model> @@ -59,12 +59,12 @@ <priorityModel> <priority_model>CLIENT_PROPAGATED</priority_model> </priorityModel> - + <threadpool>threadpool-1</threadpool> <threadpool>threadpool-2</threadpool> - + <priorityBandedConnection>cb-1</priorityBandedConnection> - + </policySet> </orbConfigs> </CIAO:ServerResources> diff --git a/TAO/CIAO/tools/Config_Handlers/RT-CCM/test.cpp b/TAO/CIAO/tools/Config_Handlers/RT-CCM/test.cpp index e177820261a..15fabe1f34a 100644 --- a/TAO/CIAO/tools/Config_Handlers/RT-CCM/test.cpp +++ b/TAO/CIAO/tools/Config_Handlers/RT-CCM/test.cpp @@ -33,17 +33,17 @@ parse_args (int argc, char *argv[]) "-i <input file> " "\n", argv [0]), - -1); + -1); } // Indicates sucessful parsing of the command-line - return 0; + return 0; } using namespace CIAO::Config_Handlers; int main (int argc, char *argv[]) { - + if (parse_args (argc, argv) != 0) return 1; @@ -52,38 +52,38 @@ int main (int argc, char *argv[]) //Create an XML_Helper for all the file work XML_Helper the_helper; - + if (xercesc::DOMDocument *doc = the_helper.create_dom (input_file)) { //Read in the XSC type structure from the DOMDocument ServerResourcesDef srd = ServerResources (doc); - + // Convert XSC to idl datatype SRD_Handler srd_handler (&srd); - + std::cout << "Instance document import succeeded. Dumping contents to file\n"; - + CIAO::DAnCE::ServerResource *sr (srd_handler.srd_idl ()); - + SRD_Handler reverse_handler (sr); - + xercesc::DOMDocument *the_xsc (the_helper.create_dom ("CIAO:ServerResources", "http://www.dre.vanderbilt.edu/ServerResources")); - - std::cout << "NS:" + + std::cout << "NS:" << std::string (xercesc::XMLString::transcode (the_xsc->getDocumentElement ()->getNamespaceURI ())) << std::endl << std::string (xercesc::XMLString::transcode (the_xsc->getDocumentElement ()->getPrefix ())) << std::endl << std::string (xercesc::XMLString::transcode (the_xsc->getDocumentElement ()->getLocalName ())) << std::endl << std::endl; - + ServerResources (*reverse_handler.srd_xsc (), the_xsc); - + // write out the result the_helper.write_DOM (the_xsc, "output.srd"); } - + std::cout << "Test completed!"; - + return 0; - + } diff --git a/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp index 4a52efb9967..37fd441ac92 100644 --- a/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp @@ -3,7 +3,7 @@ #include "Req_Handler.h" #include "Property_Handler.h" #include "ciao/DeploymentC.h" - +#include "ciao/CIAO_common.h" namespace CIAO { namespace Config_Handlers @@ -18,43 +18,40 @@ namespace CIAO } void - Req_Handler::get_Requirement ( - Deployment::Requirement& toconfig, - Requirement& desc) + Req_Handler::get_requirement (const Requirement& desc, + Deployment::Requirement& toconfig) { + CIAO_TRACE("Req_Handler::get_Requirement"); + //Map the basic string types to their Deployment::Req //counterparts. - toconfig.name = CORBA::string_dup (desc.name ().c_str ()); - toconfig.resourceType = - CORBA::string_dup (desc.resourceType ().c_str ()); - - //Map the XSC Req's property into the next - //position in the IDL Req's sequence. - /// @@ MAJO: - Property_Handler prophandler; - toconfig.property.length (toconfig.property.length () + 1); - Property_Handler::get_property ( - desc.property (), - toconfig.property[toconfig.property.length () - 1]); + toconfig.name = desc.name ().c_str (); + toconfig.resourceType = desc.resourceType ().c_str (); + + toconfig.property.length (desc.count_property ()); + std::for_each (desc.begin_property (), + desc.end_property (), + Property_Functor (toconfig.property)); + } + + Requirement + Req_Handler::get_requirement (const Deployment::Requirement& src) + { + CIAO_TRACE("Req_Handler::get_requirement - reverse"); + + //Get the values for name and res + XMLSchema::string< char > name ((src.name)); + XMLSchema::string< char > res ((src.resourceType)); + + //Instantiate the Requirement + Requirement req (name,res); + + for (CORBA::ULong i = 0; i < src.property.length (); ++i) + { + req.add_property (Property_Handler::get_property (src.property[i])); + } + + return req; } - - Requirement - Req_Handler::get_requirement ( - const Deployment::Requirement& src) - { - //Get the values for name and res - XMLSchema::string< char > name ((src.name)); - XMLSchema::string< char > res ((src.resourceType)); - - //Get the Property - Property prop ( - Property_Handler::get_property ( - src.property[0])); - - //Instantiate the Requirement - Requirement req (name,res,prop); - - return req; - } } } diff --git a/TAO/CIAO/tools/Config_Handlers/Req_Handler.h b/TAO/CIAO/tools/Config_Handlers/Req_Handler.h index 6f58f8677e4..315eee76579 100644 --- a/TAO/CIAO/tools/Config_Handlers/Req_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/Req_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file Req_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file Req_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_REQ_HANDLER_H @@ -14,6 +14,7 @@ #include "Basic_Deployment_Data.hpp" #include "Config_Handlers_Export.h" +#include "Utils/Functors.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -21,42 +22,49 @@ namespace Deployment { - struct Requirement; +struct Requirement; +class Requirements; } namespace CIAO { - namespace Config_Handlers - { - /* - * @class REQ_Handler - * - * @brief Handler class for <Requirement> types. - * - * This class defines handler methods to map values from - * XSC Requirement objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ - - class Config_Handlers_Export Req_Handler{ - - public: - - Req_Handler (void); - virtual ~Req_Handler (void); - - ///This method takes a <Deployment::Requirement> - ///and maps the values from the passed in XSC - ///Requirement to its members. - static void get_Requirement ( - Deployment::Requirement& toconfig, - Requirement& desc); - static Requirement - get_requirement (const Deployment::Requirement& src); - }; - } +namespace Config_Handlers +{ +/* +* @class REQ_Handler +* +* @brief Handler class for <Requirement> types. +* +* This class defines handler methods to map values from +* XSC Requirement objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export Req_Handler +{ +public: + +Req_Handler (void); +virtual ~Req_Handler (void); + +///This method takes a <Deployment::Requirement> +///and maps the values from the passed in XSC +///Requirement to its members. +static void get_requirement (const Requirement& desc, +Deployment::Requirement& toconfig); +static Requirement +get_requirement (const Deployment::Requirement& src); +}; + +typedef Sequence_Handler < Requirement, +::Deployment::Requirements, +::Deployment::Requirement, +Req_Handler::get_requirement > Requirement_Functor; + + +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp index 4eeb7377b29..dee1dbda326 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp @@ -16,8 +16,8 @@ namespace CIAO bool STD_CID_Handler::component_impl_descr ( - const ComponentImplementationDescription &desc, - ::Deployment::ComponentImplementationDescription &toconfig) + const ComponentImplementationDescription &desc, + ::Deployment::ComponentImplementationDescription &toconfig) { toconfig.label = desc.label ().c_str (); @@ -27,145 +27,145 @@ namespace CIAO if (desc.assemblyImpl_p ()) - { - Deployment::ComponentAssemblyDescription idl_cad; - ComponentAssemblyDescription cad = - desc.assemblyImpl (); - - // @@: handle <assemblyImpl> - for (ComponentAssemblyDescription::instance_const_iterator iter = - cad.begin_instance (); - iter != cad.end_instance (); - iter++) { - CORBA::ULong len = - idl_cad.instance.length (); - idl_cad.instance.length (len + 1); - idl_cad.instance [len].name = - (*iter).name ().c_str (); - - // Bind the instance id with the index - if ((*iter).id_p ()) - { - ACE_CString cstr ((*iter).id ().c_str ()); - - STD_CID_Handler::IDREF.bind_ref (cstr,len); - } - - if (!this->xml_helper_->is_initialized ()) - return false; - - // parse the .cpd (ComponentPackageDescription) file - // that <package> links to - xercesc::DOMDocument* dom = - this->xml_helper_->create_dom (((*iter).package ()).href ().c_str ()); - - if (!dom) - return false; - - ComponentPackageDescription cpd = - componentPackageDescription (dom); - - Deployment::ComponentPackageDescription idl_cpd; - - STD_CPD_Handler cpd_handler (this->xml_helper_); - - cpd_handler.component_package_descr (cpd, - idl_cpd); - - idl_cad.instance [len].package.length (1); - idl_cad.instance [len].package [0] = idl_cpd; - } - - // @@: handle <connection> - for (ComponentAssemblyDescription::connection_const_iterator conn_iter = - cad.begin_connection (); - conn_iter != cad.end_connection (); - conn_iter++) - { - CORBA::ULong conn_len = - idl_cad.connection.length (); - - idl_cad.connection.length (conn_len + 1); - idl_cad.connection [conn_len].name = - (*conn_iter).name ().c_str (); - - - for (AssemblyConnectionDescription::internalEndpoint_const_iterator ep_iter = - (*conn_iter).begin_internalEndpoint (); - ep_iter != (*conn_iter).end_internalEndpoint (); - ep_iter++) - { - CORBA::ULong endp_len = - idl_cad.connection [conn_len].internalEndpoint.length (); - idl_cad.connection [conn_len].internalEndpoint.length (endp_len + 1); - idl_cad.connection [conn_len].internalEndpoint [endp_len].portName = - (*ep_iter).portName ().c_str (); - - CORBA::ULong tmp = 0; - STD_CID_Handler::IDREF.find_ref (ACE_CString ((((*ep_iter).instance ()).id ()).c_str ()), - tmp); - CORBA::ULong ref = tmp; - idl_cad.connection[conn_len].internalEndpoint [endp_len].instanceRef = ref; - } + Deployment::ComponentAssemblyDescription idl_cad; + ComponentAssemblyDescription cad = + desc.assemblyImpl (); + + // @@: handle <assemblyImpl> + for (ComponentAssemblyDescription::instance_const_iterator iter = + cad.begin_instance (); + iter != cad.end_instance (); + iter++) + { + CORBA::ULong len = + idl_cad.instance.length (); + idl_cad.instance.length (len + 1); + idl_cad.instance [len].name = + (*iter).name ().c_str (); + + // Bind the instance id with the index + if ((*iter).id_p ()) + { + ACE_CString cstr ((*iter).id ().c_str ()); + + STD_CID_Handler::IDREF.bind_ref (cstr,len); + } + + if (!this->xml_helper_->is_initialized ()) + return false; + + // parse the .cpd (ComponentPackageDescription) file + // that <package> links to + xercesc::DOMDocument* dom = + this->xml_helper_->create_dom (((*iter).package ()).href ().c_str ()); + + if (!dom) + return false; + + ComponentPackageDescription cpd = + componentPackageDescription (dom); + + Deployment::ComponentPackageDescription idl_cpd; + + STD_CPD_Handler cpd_handler (this->xml_helper_); + + cpd_handler.component_package_descr (cpd, + idl_cpd); + + idl_cad.instance [len].package.length (1); + idl_cad.instance [len].package [0] = idl_cpd; + } + + // @@: handle <connection> + for (ComponentAssemblyDescription::connection_const_iterator conn_iter = + cad.begin_connection (); + conn_iter != cad.end_connection (); + conn_iter++) + { + CORBA::ULong conn_len = + idl_cad.connection.length (); + + idl_cad.connection.length (conn_len + 1); + idl_cad.connection [conn_len].name = + (*conn_iter).name ().c_str (); + + + for (AssemblyConnectionDescription::internalEndpoint_const_iterator ep_iter = + (*conn_iter).begin_internalEndpoint (); + ep_iter != (*conn_iter).end_internalEndpoint (); + ep_iter++) + { + CORBA::ULong endp_len = + idl_cad.connection [conn_len].internalEndpoint.length (); + idl_cad.connection [conn_len].internalEndpoint.length (endp_len + 1); + idl_cad.connection [conn_len].internalEndpoint [endp_len].portName = + (*ep_iter).portName ().c_str (); + + CORBA::ULong tmp = 0; + STD_CID_Handler::IDREF.find_ref (ACE_CString ((((*ep_iter).instance ()).id ()).c_str ()), + tmp); + CORBA::ULong ref = tmp; + idl_cad.connection[conn_len].internalEndpoint [endp_len].instanceRef = ref; + } + } + + toconfig.assemblyImpl.length (1); + toconfig.assemblyImpl [0] = idl_cad; } - toconfig.assemblyImpl.length (1); - toconfig.assemblyImpl [0] = idl_cad; - } - // handle <monolithicImpl> if (desc.monolithicImpl_p ()) - { - Deployment::MonolithicImplementationDescription idl_mid; - MonolithicImplementationDescription mid = - desc.monolithicImpl (); - - for (MonolithicImplementationDescription::primaryArtifact_const_iterator iter = - mid.begin_primaryArtifact (); - iter != mid.end_primaryArtifact (); - iter++) { - CORBA::ULong len = - idl_mid.primaryArtifact.length (); - idl_mid.primaryArtifact.length (len + 1); - idl_mid.primaryArtifact [len].name = (*iter).name ().c_str (); + Deployment::MonolithicImplementationDescription idl_mid; + MonolithicImplementationDescription mid = + desc.monolithicImpl (); + + for (MonolithicImplementationDescription::primaryArtifact_const_iterator iter = + mid.begin_primaryArtifact (); + iter != mid.end_primaryArtifact (); + iter++) + { + CORBA::ULong len = + idl_mid.primaryArtifact.length (); + idl_mid.primaryArtifact.length (len + 1); + idl_mid.primaryArtifact [len].name = (*iter).name ().c_str (); - if (!this->xml_helper_->is_initialized ()) - return false; + if (!this->xml_helper_->is_initialized ()) + return false; - // parse the .iad (ImplementationArtifactDescription) file - // that the <referencedArtifact> links to - xercesc::DOMDocument* dom = - this->xml_helper_->create_dom (((*iter).referencedArtifact ()).href ().c_str ()); // here location indicates .iad file + // parse the .iad (ImplementationArtifactDescription) file + // that the <referencedArtifact> links to + xercesc::DOMDocument* dom = + this->xml_helper_->create_dom (((*iter).referencedArtifact ()).href ().c_str ()); // here location indicates .iad file - if (!dom) - return false; + if (!dom) + return false; - ImplementationArtifactDescription iad = - implementationArtifactDescription (dom); + ImplementationArtifactDescription iad = + implementationArtifactDescription (dom); - Deployment::ImplementationArtifactDescription idl_iad; + Deployment::ImplementationArtifactDescription idl_iad; - STD_IAD_Handler::impl_artifact_descr (iad, - idl_iad); + STD_IAD_Handler::impl_artifact_descr (iad, + idl_iad); - idl_mid.primaryArtifact [len].referencedArtifact = idl_iad; + idl_mid.primaryArtifact [len].referencedArtifact = idl_iad; + } + toconfig.monolithicImpl.length (1); + toconfig.monolithicImpl [0] = idl_mid; } - toconfig.monolithicImpl.length (1); - toconfig.monolithicImpl [0] = idl_mid; - } // handle <configProperty> if (desc.configProperty_p ()) - { - Property p = desc.configProperty (); - Deployment::Property idl_p; - Property_Handler::get_property (p, idl_p); - toconfig.configProperty.length (1); - toconfig.configProperty [0] = idl_p; - } + { + Property p = desc.configProperty (); + Deployment::Property idl_p; + Property_Handler::get_property (p, idl_p); + toconfig.configProperty.length (1); + toconfig.configProperty [0] = idl_p; + } return true; } diff --git a/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.h b/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.h index c8fb2954a6f..ff812efc949 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/STD_CID_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file STD_CID_Handler.h - * - * $Id$ - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ +* @file STD_CID_Handler.h +* +* $Id$ +* +* @author Ming Xiong <mxiong@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_STD_CID_HANDLER_H @@ -25,54 +25,54 @@ namespace CIAO { - namespace Config_Handlers - { - class ComponentImplementationDescription; +namespace Config_Handlers +{ +class ComponentImplementationDescription; - /* - * @class STD_CID_Handler - * - * @brief Handler class for <CCMComponentImplementationDescription> 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 Config_Handlers_Export STD_CID_Handler - { +/* +* @class STD_CID_Handler +* +* @brief Handler class for <CCMComponentImplementationDescription> 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 Config_Handlers_Export STD_CID_Handler +{ - public: +public: - STD_CID_Handler (XML_Helper *xml_helper) - :xml_helper_ (xml_helper) - { - } +STD_CID_Handler (XML_Helper *xml_helper) +:xml_helper_ (xml_helper) +{ +} - /// Maps the values from the XSC object - /// <ComponentImplementationDescription> to the CORBA IDL type - /// <Deployment::ComponentImplementationDescription>. - bool component_impl_descr ( - const ComponentImplementationDescription &desc, - ::Deployment::ComponentImplementationDescription &toconfig); +/// Maps the values from the XSC object +/// <ComponentImplementationDescription> to the CORBA IDL type +/// <Deployment::ComponentImplementationDescription>. +bool component_impl_descr ( +const ComponentImplementationDescription &desc, +::Deployment::ComponentImplementationDescription &toconfig); - static IDREF_Base<CORBA::ULong> IDREF; +static IDREF_Base<CORBA::ULong> IDREF; //@@Note: This part has yet to be added in the future // ComponentImplementationDescription // component_port_description ( // const Deployment::ComponentImplementationDescription& src); - private: - // disable the default constructor - STD_CID_Handler () - :xml_helper_ (0) - { - } +private: +// disable the default constructor +STD_CID_Handler () +:xml_helper_ (0) +{ +} - XML_Helper *xml_helper_; - }; - } +XML_Helper *xml_helper_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp index d79a4ea5d39..e5d097750f1 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp @@ -11,8 +11,8 @@ namespace CIAO { bool STD_CPD_Handler::component_package_descr ( - const ComponentPackageDescription &desc, - ::Deployment::ComponentPackageDescription &toconfig) + const ComponentPackageDescription &desc, + ::Deployment::ComponentPackageDescription &toconfig) { toconfig.label = desc.label ().c_str (); diff --git a/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.h b/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.h index 654fb0155ca..785847a7bcd 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/STD_CPD_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file STD_CPD_Handler.h - * - * $Id$ - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ +* @file STD_CPD_Handler.h +* +* $Id$ +* +* @author Ming Xiong <mxiong@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_STD_CPD_HANDLER_H @@ -22,56 +22,56 @@ namespace Deployment { - struct ComponentPackageDescription; +struct ComponentPackageDescription; } namespace CIAO { - namespace Config_Handlers - { - class ComponentPackageDescription; +namespace Config_Handlers +{ +class ComponentPackageDescription; + +/* +* @class STD_CPD_Handler +* +* @brief Handler class for <CCMComponentPackageDescription> 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 Config_Handlers_Export STD_CPD_Handler +{ - /* - * @class STD_CPD_Handler - * - * @brief Handler class for <CCMComponentPackageDescription> 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 Config_Handlers_Export STD_CPD_Handler - { +public: - public: +STD_CPD_Handler (XML_Helper *xml_helper) +:xml_helper_ (xml_helper) +{ +} - STD_CPD_Handler (XML_Helper *xml_helper) - :xml_helper_ (xml_helper) - { - } +/// Maps the values from the XSC object +/// <ComponentPackageDescription> to the CORBA IDL type +/// <Deployment::ComponentPackageDescription>. +bool component_package_descr( +const ComponentPackageDescription &desc, +::Deployment::ComponentPackageDescription &toconfig); - /// Maps the values from the XSC object - /// <ComponentPackageDescription> to the CORBA IDL type - /// <Deployment::ComponentPackageDescription>. - bool component_package_descr( - const ComponentPackageDescription &desc, - ::Deployment::ComponentPackageDescription &toconfig); +//@@Note: This part has yet to be added in the future +// ComponentPortDescription +// component_package_descr ( +// const Deployment::ComponentPortDescription& src); +private: +// disable the default constructor +STD_CPD_Handler () +:xml_helper_ (0) +{ +} - //@@Note: This part has yet to be added in the future - // ComponentPortDescription - // component_package_descr ( - // const Deployment::ComponentPortDescription& src); - private: - // disable the default constructor - STD_CPD_Handler () - :xml_helper_ (0) - { - } - - XML_Helper *xml_helper_; - }; - } +XML_Helper *xml_helper_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.cpp index 020396582d3..48f95b99dbe 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.cpp @@ -12,8 +12,8 @@ namespace CIAO { bool STD_IAD_Handler::impl_artifact_descr ( - const ImplementationArtifactDescription &desc, - ::Deployment::ImplementationArtifactDescription &toconfig) + const ImplementationArtifactDescription &desc, + ::Deployment::ImplementationArtifactDescription &toconfig) { toconfig.label = desc.label ().c_str (); @@ -25,22 +25,22 @@ namespace CIAO desc.begin_location (); iter != desc.end_location (); iter++) - { - CORBA::ULong len = - toconfig.location.length (); - toconfig.location.length (len + 1); - toconfig.location [len] = (*iter).c_str (); - } + { + CORBA::ULong len = + toconfig.location.length (); + toconfig.location.length (len + 1); + toconfig.location [len] = (*iter).c_str (); + } if (desc.execParameter_p ()) - { - Property p = desc.execParameter (); - Deployment::Property idl_p; - Property_Handler::get_property (p, idl_p); - toconfig.execParameter.length (1); - toconfig.execParameter [0] = idl_p; - } - return true; + { + Property p = desc.execParameter (); + Deployment::Property idl_p; + Property_Handler::get_property (p, idl_p); + toconfig.execParameter.length (1); + toconfig.execParameter [0] = idl_p; + } + return true; } } } diff --git a/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.h b/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.h index 3523526f5be..872afe5693b 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/STD_IAD_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file STD_IAD_Handler.h - * - * $Id$ - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ +* @file STD_IAD_Handler.h +* +* $Id$ +* +* @author Ming Xiong <mxiong@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_STD_IAD_HANDLER_H @@ -21,43 +21,43 @@ namespace Deployment { - struct ImplementationArtifactDescription; +struct ImplementationArtifactDescription; } namespace CIAO { - namespace Config_Handlers - { - class ImplementationArtifactDescription; +namespace Config_Handlers +{ +class ImplementationArtifactDescription; - /* - * @class STD_IAD_Handler - * - * @brief Handler class for <CCMImplementationArtifactDescription> 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 Config_Handlers_Export STD_IAD_Handler - { +/* +* @class STD_IAD_Handler +* +* @brief Handler class for <CCMImplementationArtifactDescription> 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 Config_Handlers_Export STD_IAD_Handler +{ - public: - /// Maps the values from the XSC object - /// <ImplementationArtifactDescription> to the CORBA IDL type - /// <Deployment::ImplementationArtifactDescription>. - static bool - impl_artifact_descr ( - const ImplementationArtifactDescription &desc, - ::Deployment::ImplementationArtifactDescription &toconfig); +public: +/// Maps the values from the XSC object +/// <ImplementationArtifactDescription> to the CORBA IDL type +/// <Deployment::ImplementationArtifactDescription>. +static bool +impl_artifact_descr ( +const ImplementationArtifactDescription &desc, +::Deployment::ImplementationArtifactDescription &toconfig); //@@Note: The reverse part has yet to be handed in the future // ImplementationArtifactDescription // impl_artifact_descr ( // const Deployment::ComponentPortDescription& src); - }; - } +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.cpp index 6bef6636238..e37b0059181 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.cpp @@ -13,8 +13,8 @@ namespace CIAO bool STD_PCD_Handler::package_config ( - const PackageConfiguration &desc, - ::Deployment::PackageConfiguration &toconfig) + const PackageConfiguration &desc, + ::Deployment::PackageConfiguration &toconfig) { toconfig.label = desc.label ().c_str (); diff --git a/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.h b/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.h index ba53f6736da..c4082d9a5eb 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/STD_PCD_Handler.h @@ -1,11 +1,11 @@ //================================================ /** - * @file STD_PCD_Handler.h - * - * $Id$ - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ +* @file STD_PCD_Handler.h +* +* $Id$ +* +* @author Ming Xiong <mxiong@dre.vanderbilt.edu> +*/ //================================================ #ifndef CIAO_CONFIG_HANDLERS_STD_PCD_HANDLER_H @@ -22,56 +22,56 @@ namespace Deployment { - struct PackageConfiguration; +struct PackageConfiguration; } namespace CIAO { - namespace Config_Handlers - { - class PackageConfiguration; +namespace Config_Handlers +{ +class PackageConfiguration; - /* - * @class STD_PCD_Handler - * - * @brief Handler class for <CCMPackageConfiguration> 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 Config_Handlers_Export STD_PCD_Handler - { +/* +* @class STD_PCD_Handler +* +* @brief Handler class for <CCMPackageConfiguration> 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 Config_Handlers_Export STD_PCD_Handler +{ - public: - STD_PCD_Handler (XML_Helper *xml_helper) - :xml_helper_ (xml_helper) - { - } +public: +STD_PCD_Handler (XML_Helper *xml_helper) +:xml_helper_ (xml_helper) +{ +} - /// Maps the values from the XSC object - /// <PackageConfiguration> to the CORBA IDL type - /// <Deployment::PackageConfiguration>. - bool package_config ( - const PackageConfiguration &desc, - ::Deployment::PackageConfiguration &toconfig); +/// Maps the values from the XSC object +/// <PackageConfiguration> to the CORBA IDL type +/// <Deployment::PackageConfiguration>. +bool package_config ( +const PackageConfiguration &desc, +::Deployment::PackageConfiguration &toconfig); //@@Note: This part has yet to be added in the future // PackageConfiguration // package_config ( // const Deployment::ComponentPortDescription& src); - private: - // Disable the default constructor - STD_PCD_Handler () - :xml_helper_ (0) - { - } +private: +// Disable the default constructor +STD_PCD_Handler () +:xml_helper_ (0) +{ +} - XML_Helper *xml_helper_; - }; - } +XML_Helper *xml_helper_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/STD_PC_Intf.h b/TAO/CIAO/tools/Config_Handlers/STD_PC_Intf.h index 2e07e1922eb..303224a387b 100644 --- a/TAO/CIAO/tools/Config_Handlers/STD_PC_Intf.h +++ b/TAO/CIAO/tools/Config_Handlers/STD_PC_Intf.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file STD_PC_Intf.h - * - * $Id$ - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ +* @file STD_PC_Intf.h +* +* $Id$ +* +* @author Ming Xiong <mxiong@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_STD_PC_INTF_H @@ -23,39 +23,39 @@ namespace Deployment { - struct PackageConfiguration ; +struct PackageConfiguration ; } namespace CIAO { - namespace Config_Handlers - { - /* - * @class STD_PC_Intf - * - * @brief Wrapper class for PackageConfiguration extraction - * - * This class defines wrapper functions for extracting - * PackageConfiguration IDL structures from XSC structures. - * It serves as the public interface used by application - * developers. - * - */ - class Config_Handlers_Export STD_PC_Intf - { - public: - STD_PC_Intf (const char *file); - - ::Deployment::PackageConfiguration const *get_PC (void) const; - ::Deployment::PackageConfiguration *get_PC (void); - - protected: - bool prepare_PC (const char *file); - - private: - ACE_Auto_Ptr< ::Deployment::PackageConfiguration> idl_pc_; - }; - } +namespace Config_Handlers +{ +/* +* @class STD_PC_Intf +* +* @brief Wrapper class for PackageConfiguration extraction +* +* This class defines wrapper functions for extracting +* PackageConfiguration IDL structures from XSC structures. +* It serves as the public interface used by application +* developers. +* +*/ +class Config_Handlers_Export STD_PC_Intf +{ +public: +STD_PC_Intf (const char *file); + +::Deployment::PackageConfiguration const *get_PC (void) const; +::Deployment::PackageConfiguration *get_PC (void); + +protected: +bool prepare_PC (const char *file); + +private: +ACE_Auto_Ptr< ::Deployment::PackageConfiguration> idl_pc_; +}; +} } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp new file mode 100644 index 00000000000..ef29bc86272 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp @@ -0,0 +1,113 @@ +//$Id$ + +#include "SatisfierProperty_Handler.h" +#include "Any_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "ciao/Deployment_DataC.h" +#include "ciao/CIAO_common.h" +#include "Utils/Exceptions.h" +namespace CIAO +{ + namespace Config_Handlers + { + + SatisfierProperty_Handler::SatisfierProperty_Handler (void) + { + } + + SatisfierProperty_Handler::~SatisfierProperty_Handler (void) + { + } + + void + SatisfierProperty_Handler::get_sat_property ( + const SatisfierProperty& desc, + Deployment::SatisfierProperty& toconfig) + { + CIAO_TRACE("SatisfierProperty_Handler::get_sat_property"); + + toconfig.name = desc.name ().c_str (); + + switch (desc.kind ().integral ()) + { + case SatisfierPropertyKind::Quantity_l: + toconfig.kind = Deployment::Quantity; + break; + + case SatisfierPropertyKind::Capacity_l: + toconfig.kind = Deployment::Capacity; + break; + + case SatisfierPropertyKind::Minimum_l: + toconfig.kind = Deployment::Minimum; + break; + + case SatisfierPropertyKind::Maximum_l: + toconfig.kind = Deployment::Maximum; + break; + + // case SatisfierPropertyKind::Attribute_l: + //toconfig.kind = Deployment::_Attribute; + //break; + + case SatisfierPropertyKind::Selection_l: + toconfig.kind = Deployment::Selection; + break; + } + + toconfig.dynamic = desc.dynamic (); + + Any_Handler::extract_into_any (desc.value (), + toconfig.value); + } + + SatisfierProperty + SatisfierProperty_Handler::get_sat_property ( + const Deployment::SatisfierProperty& src) + { + CIAO_TRACE("SatisfierProperty_Handler::get_sat_property - reverse"); + + ::XMLSchema::string< ACE_TCHAR > name ((src.name)); + SatisfierPropertyKind::Value kind; + + const SatisfierPropertyKind *spk; + + switch (src.kind) + { + case Deployment::Quantity: + spk = &SatisfierPropertyKind::Quantity; + break; + + case Deployment::Capacity: + spk = &SatisfierPropertyKind::Capacity; + break; + + case Deployment::Minimum: + spk = &SatisfierPropertyKind::Minimum; + break; + + case Deployment::Maximum: + spk = &SatisfierPropertyKind::Maximum; + break; + + // case Deployment::_Attribute: + //kind = SatisfierPropertyKind::Attribute_l; + //break; + + case Deployment::Selection: + kind = SatisfierPropertyKind::Selection_l; + break; + + default: + throw Plan_Error ("Invalid SatisfierPropertyKind"); + } + + bool dynamic = src.dynamic; + + Any value (Any_Handler::get_any (src.value)); + + return SatisfierProperty (name, *spk, dynamic, value); + } + + } +} diff --git a/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.h b/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.h new file mode 100644 index 00000000000..2c2f671cb02 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.h @@ -0,0 +1,71 @@ +//================================================ +/** +* @file SatisfierProperty_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ +//================================================ + +#ifndef CIAO_CONFIG_HANDLERS_SATIS_PROPERTY_HANDLER_H +#define CIAO_CONFIG_HANDLERS_SATIS_PROPERTY_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "Config_Handlers_Export.h" +#include "Utils/Functors.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +namespace Deployment +{ +struct SatisfierProperty; +class SatisfierProperties; +} + +namespace CIAO +{ +namespace Config_Handlers +{ +class SatisfierProperty; + +/* +* @class SatisfierProperty_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 Config_Handlers_Export SatisfierProperty_Handler +{ +public: +SatisfierProperty_Handler (void); +virtual ~SatisfierProperty_Handler (void); + +typedef Sequence_Iterator< const ::Deployment::SatisfierProperties, const ::Deployment::SatisfierProperty > sat_prop_iter; + +/// This method maps the values from the XSC object +/// <CIAO::Config_Handlers::SatisfierProperty> to the CORBA IDL type +/// <Deployment::SatisfierProperty>. +static void get_sat_property (const SatisfierProperty& desc, +::Deployment::SatisfierProperty& toconfig); +static SatisfierProperty get_sat_property (const ::Deployment::SatisfierProperty& src); +}; + +typedef Sequence_Handler < SatisfierProperty, +::Deployment::SatisfierProperties, +::Deployment::SatisfierProperty, +SatisfierProperty_Handler::get_sat_property> SatisfierProperty_Functor; + +} +} + +#include /**/ "ace/post.h" +#endif /* CIAO_CONFIG_HANDLERS_SATIS_PROPERTY_HANDLER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h b/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h new file mode 100644 index 00000000000..dadb7ed615d --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h @@ -0,0 +1,39 @@ +// $Id$ +/** + * @file Exceptions.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * + * Defines exceptions that may be thrown during the XSC<=>IDL translation process. + */ +#include <string> + +namespace CIAO +{ + namespace Config_Handlers + { + struct Parse_Error + { + Parse_Error (const std::string &reason) + : reason_ (reason) + { + } + + std::string reason_; + }; + + struct Plan_Error + { + Plan_Error (const std::string &reason) + : reason_ (reason) + { + } + + std::string reason_; + }; + + } +} + + + + diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/Functors.h b/TAO/CIAO/tools/Config_Handlers/Utils/Functors.h new file mode 100644 index 00000000000..34702cd60d0 --- /dev/null +++ b/TAO/CIAO/tools/Config_Handlers/Utils/Functors.h @@ -0,0 +1,137 @@ +#ifndef CONFIG_HANDLERS_FUNCTORS_H +#define CONFIG_HANDLERS_FUNCTORS_H + +/** + * @file Functors.h + * @author William Otte <wotte@dre.vanderbilt.edu> + * $Id$ + * Functors useful in the config handlers + */ +#include <iterator> + +#include "tao/Basic_Types.h" // For CORBA::ULong +#include "tao/StringSeqC.h" + +#include "XMLSchema/Types.hpp" +namespace CIAO +{ + namespace Config_Handlers + { + template <typename Seq_Type, typename T> + class Sequence_Iterator : + public std::iterator <std::forward_iterator_tag, //iterator type + T, // Type pointed to by the iterator + CORBA::ULong> // Distance type + { + public: + Sequence_Iterator (void) + : pos_ (0), + seq_ (0) + { + } + + Sequence_Iterator (const Seq_Type &seq, CORBA::ULong pos = 0) + : pos_ (pos), + seq_ (&seq) + { + } + + Sequence_Iterator (const Sequence_Iterator &s) + { + *this = s; + } + + Sequence_Iterator& operator= (const Sequence_Iterator &s) + { + this->seq_ = s.seq_; + this->pos_ = s.pos_; + return *this; + } + + bool operator== (Sequence_Iterator &s) + { + return (this->seq_ == s.seq_) && (this->pos_ == s.pos_); + } + + bool operator!= (Sequence_Iterator &s) + { + return !(*this == s); + } + + T& operator* (void) + { + return (*seq_)[pos_]; + } + + T& operator-> (void) + { + return *(*this); + } + + // Prefix operator + Sequence_Iterator& operator++ () + { + ++pos_; + return *this; + } + + Sequence_Iterator& operator++ (int) + { + Sequence_Iterator ans (*this); + ++(*this); + return ans; + } + + private: + CORBA::ULong pos_; + Seq_Type *seq_; + }; + + template <typename Source, + typename Dest, + typename Dest_Type, + void (*Func)(const Source &, Dest_Type &)> + struct Sequence_Handler + { + Sequence_Handler (Dest &dest, CORBA::ULong pos = 0) + : dest_ (dest), + pos_ (pos) + { + } + + void operator() (const Source &src) + { + Func (src, dest_[pos_++]); + } + + private: + Dest &dest_; + CORBA::ULong pos_; + }; + + template <typename Dest, typename Dest_Type> + struct String_Seq_Handler + { + String_Seq_Handler (Dest &dest, CORBA::ULong pos = 0) + : dest_ (dest), + pos_ (pos) + { + } + + void operator() (const ::XMLSchema::string<ACE_TCHAR> &src) + { + dest_[pos_++] = src.c_str (); + } + + private: + Dest &dest_; + CORBA::ULong pos_; + }; + + typedef String_Seq_Handler < ::CORBA::StringSeq, + ::CORBA::String_var > String_Seq_Functor; + + } +} + +#endif /* CONFIG_HANDLERS_FUNCTORS_H */ diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/Utils.mpc b/TAO/CIAO/tools/Config_Handlers/Utils/Utils.mpc index 359af0af27a..bef9d906d1b 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/Utils.mpc +++ b/TAO/CIAO/tools/Config_Handlers/Utils/Utils.mpc @@ -6,7 +6,7 @@ project (CIAO_XML_Utils) : acelib, xerces { dynamicflags = CIAO_XML_UTILS_BUILD_DLL macros += XML_USE_PTHREADS requires += exceptions - + Source_Files { XML_Schema_Resolver.cpp XML_Error_Handler.cpp diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Error_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Error_Handler.cpp index d87e75dfb93..beae7bce56c 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Error_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Error_Handler.cpp @@ -42,12 +42,18 @@ namespace CIAO ACE_Auto_Basic_Array_Ptr<char> cleanup_msg (msg); + char *file = + XMLString::transcode (domError.getLocation ()->getURI ()); + + ACE_Auto_Basic_Array_Ptr<char> cleanup_file (file); + ACE_DEBUG ((LM_DEBUG, - "%s at line %d and column %d\n", + "%s at line %d and column %d in file %s\n", msg, domError.getLocation ()->getLineNumber (), - domError.getLocation ()->getColumnNumber ())); - + domError.getLocation ()->getColumnNumber (), + file)); + return true; } diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.cpp b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.cpp index de7c85bd979..c711b54a250 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.cpp @@ -72,25 +72,25 @@ namespace CIAO // Instantiate the DOM parser. static const XMLCh gLS[] = { xercesc::chLatin_L, - xercesc::chLatin_S, - xercesc::chNull }; - + xercesc::chLatin_S, + xercesc::chNull }; + // Get an implementation of the Load-Store (LS) interface // and cache it for later use impl_ = - DOMImplementationRegistry::getDOMImplementation(gLS); - + DOMImplementationRegistry::getDOMImplementation(gLS); + this->initialized_ = true; return; } - + XERCES_CPP_NAMESPACE::DOMDocument * XML_Helper::create_dom (const ACE_TCHAR *root, const ACE_TCHAR *ns) { if (root == 0 || ns == 0) return 0; - + return this->impl_->createDocument (XStr (ns), XStr (root), 0); @@ -101,10 +101,10 @@ namespace CIAO { if (url == 0) - return impl_->createDocument( - XStr ("http://www.omg.org/DeploymentPlan"), - XStr ("deploymentPlan"), - 0); + return impl_->createDocument( + XStr ("http://www.omg.org/DeploymentPlan"), + XStr ("deploymentPlan"), + 0); try { @@ -112,7 +112,7 @@ namespace CIAO // Create a DOMBuilder DOMBuilder* parser = impl_->createDOMBuilder (DOMImplementationLS::MODE_SYNCHRONOUS, - 0); + 0); // Discard comment nodes in the document parser->setFeature (XMLUni::fgDOMComments, false); @@ -151,15 +151,15 @@ namespace CIAO XML_Error_Handler handler; parser->setErrorHandler (&handler); - + CIAO_Schema_Resolver resolver; - + parser->setEntityResolver (&resolver); - + DOMDocument* doc = parser->parseURI (url); if (handler.getErrors ()) - throw; + throw 0; return doc; } @@ -183,13 +183,13 @@ namespace CIAO { char* message = XMLString::transcode (e.getMessage()); ACE_Auto_Basic_Array_Ptr<char> cleanup_message (message); - throw; + throw 0; } catch (...) { ACE_DEBUG ((LM_DEBUG, "(%P|%t) Caught an unknown exception \n")); - throw; + throw 0; } return 0; @@ -214,22 +214,22 @@ namespace CIAO return; } - bool XML_Helper::write_DOM (XERCES_CPP_NAMESPACE::DOMDocument *doc, - ACE_TCHAR *file) - { - bool retn; - XERCES_CPP_NAMESPACE::DOMWriter *writer = impl_->createDOMWriter(); - - if (writer->canSetFeature (XMLUni::fgDOMWRTFormatPrettyPrint, - true)) - writer->setFeature (XMLUni::fgDOMWRTFormatPrettyPrint, true); - - xercesc::XMLFormatTarget* ft (new xercesc::LocalFileFormatTarget(file)); - retn = writer->writeNode(ft, *doc); - delete writer; - delete ft; - return retn; - } - + bool XML_Helper::write_DOM (XERCES_CPP_NAMESPACE::DOMDocument *doc, + const ACE_TCHAR *file) + { + bool retn; + XERCES_CPP_NAMESPACE::DOMWriter *writer = impl_->createDOMWriter(); + + if (writer->canSetFeature (XMLUni::fgDOMWRTFormatPrettyPrint, + true)) + writer->setFeature (XMLUni::fgDOMWRTFormatPrettyPrint, true); + + xercesc::XMLFormatTarget* ft (new xercesc::LocalFileFormatTarget(file)); + retn = writer->writeNode(ft, *doc); + delete writer; + delete ft; + return retn; + } + } } diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.h b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.h index 50c05f3472d..40b16e6bafa 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.h +++ b/TAO/CIAO/tools/Config_Handlers/Utils/XML_Helper.h @@ -17,6 +17,8 @@ #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/Singleton.h" +#include "ace/Null_Mutex.h" #include "xercesc/util/XercesDefs.hpp" @@ -47,15 +49,15 @@ namespace CIAO /// Create a DOM tree XERCES_CPP_NAMESPACE::DOMDocument * create_dom (const ACE_TCHAR *uri); - + XERCES_CPP_NAMESPACE::DOMDocument * create_dom (const ACE_TCHAR *root, const ACE_TCHAR *ns); - + //Writes out a DOMDocument to an XML file bool write_DOM (XERCES_CPP_NAMESPACE::DOMDocument *doc, - ACE_TCHAR *file); - + const ACE_TCHAR *file); + bool is_initialized (void) const; protected: @@ -69,8 +71,16 @@ namespace CIAO bool initialized_; XERCES_CPP_NAMESPACE::DOMImplementation *impl_; }; + + CIAO_XML_UTILS_SINGLETON_DECLARE (ACE_Singleton, + XML_Helper, + ACE_Null_Mutex); + + typedef ACE_Singleton < XML_Helper, ACE_Null_Mutex > XML_Helper_Singleton; +#define XML_HELPER XML_Helper_Singleton::instance () } } + #include /**/ "ace/post.h" #endif/*CIAO_CONFIG_HANDLERS_XML_HELPER_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.cpp b/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.cpp index 8901675a8b1..db3e704caa5 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.cpp @@ -111,7 +111,7 @@ namespace Config_Handlers { return _wstr[i]; } - + XMLCh XStr::operator [] (const int i) const { return _wstr[i]; diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.h b/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.h index 4df0f009984..a6f1dabe1db 100644 --- a/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.h +++ b/TAO/CIAO/tools/Config_Handlers/Utils/XercesString.h @@ -17,13 +17,13 @@ // Utility class that provides a std::string like facade to XMLString. // Doesn't implement all of the methods of std::string. - +#include "CIAO_XML_Utils_Export.h" namespace CIAO { namespace Config_Handlers { - class XStr + class CIAO_XML_Utils_Export XStr { public: XStr() : _wstr(0L) { }; @@ -62,12 +62,12 @@ namespace Config_Handlers }; - bool operator== (const XStr& lhs, const XStr& rhs); - bool operator!= (const XStr& lhs, const XStr& rhs); + CIAO_XML_Utils_Export bool operator== (const XStr& lhs, const XStr& rhs); + CIAO_XML_Utils_Export bool operator!= (const XStr& lhs, const XStr& rhs); - std::ostream& + CIAO_XML_Utils_Export std::ostream& operator<< (std::ostream& o, XStr const& str); - + } } #include /**/ "ace/post.h" diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.ipp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.ipp index 436787813dd..a5c614182a3 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.ipp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.ipp @@ -5,6 +5,6 @@ namespace XMLSchema { namespace Traversal - { - } + { + } } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.tpp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.tpp index 67d4c4ad21a..d79c13630fb 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.tpp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Traversal.tpp @@ -6,6 +6,6 @@ namespace XMLSchema { namespace Traversal { - + } } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/TypeInfo.ipp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/TypeInfo.ipp index 947e37d2ae3..5b9422f38c8 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/TypeInfo.ipp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/TypeInfo.ipp @@ -3,5 +3,5 @@ // cvs-id : $Id$ namespace XMLSchema -{ +{ } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.hpp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.hpp index 0ef2db213f3..93c2a003606 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.hpp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.hpp @@ -421,7 +421,7 @@ namespace XMLSchema //std::wcerr << "registering " << container () // << " as '" << *this // << "' on " << container () << std::endl; - NCName<C>::container ()->register_id (id_provider_, + NCName<C>::container ()->register_id (id_provider_, NCName<C>::container ()); } } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.ipp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.ipp index 410eeda8167..6b749260f55 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.ipp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.ipp @@ -4,5 +4,5 @@ namespace XMLSchema { - + } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.tpp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.tpp index edd10f817f0..4a8bddcf597 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.tpp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Types.tpp @@ -4,6 +4,6 @@ namespace XMLSchema { - + } diff --git a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Writer.hpp b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Writer.hpp index 04532665d51..d647b630a33 100644 --- a/TAO/CIAO/tools/Config_Handlers/XMLSchema/Writer.hpp +++ b/TAO/CIAO/tools/Config_Handlers/XMLSchema/Writer.hpp @@ -12,6 +12,8 @@ #include <XMLSchema/Types.hpp> #include <XMLSchema/Traversal.hpp> +#include <iostream> + namespace XMLSchema { namespace Writer @@ -26,8 +28,8 @@ namespace XMLSchema } using XSCRT::Writer<C>::top_; - using XSCRT::Writer<C>::attr_; - + using XSCRT::Writer<C>::attr_; + virtual void traverse (T const& o) { @@ -59,6 +61,57 @@ namespace XMLSchema } }; + template<typename C> + struct FundamentalType <XSCRT::FundamentalType<bool>, C> : + Traversal::Traverser<XSCRT::FundamentalType<bool> >, + virtual XSCRT::Writer<C> + { + FundamentalType (XSCRT::XML::Element<C> &e) + : XSCRT::Writer<C> (e) + { + } + + using XSCRT::Writer<C>::top_; + using XSCRT::Writer<C>::attr_; + + virtual void + traverse (XSCRT::FundamentalType<bool> const &o) + { + using namespace XSCRT::XML; + + std::basic_ostringstream<C> os; + + if (o) + { + os << "true"; + } + else + { + os << "false"; + } + + if (Attribute<C>* a = attr_ ()) + { + a->value (os.str ()); + } + else + { + top_().value (os.str ()); + } + } + + protected: + virtual void + traverse (XSCRT::FundamentalType<bool> &t) + { + Traversal::Traverser<XSCRT::FundamentalType<bool> >::traverse (t); + } + + FundamentalType () + { + } + }; + template <typename C> struct IDREF : Traversal::Traverser<XMLSchema::IDREF<C> >, @@ -89,13 +142,13 @@ namespace XMLSchema } protected: - + virtual void traverse (typename Traversal::Traverser<XMLSchema::IDREF<C> >::Type &o) { Traversal::Traverser<XMLSchema::IDREF<C> >::traverse (o); } - + IDREF () { } diff --git a/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.cpp b/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.cpp index 8c4caa05475..a592f756cf1 100644 --- a/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.cpp +++ b/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.cpp @@ -11,7 +11,7 @@ #include "Deployment.hpp" #include "DP_Handler.h" #include "ciao/Deployment_DataC.h" - +#include "ciao/CIAO_common.h" namespace CIAO @@ -27,6 +27,8 @@ namespace CIAO bool XML_File_Intf::read_process_file (const char *file) { + CIAO_TRACE("XML_File_Intf::read_process_file"); + XML_Helper helper; if (!helper.is_initialized ()) @@ -51,16 +53,19 @@ namespace CIAO return false; } - + ::Deployment::DeploymentPlan const * XML_File_Intf::get_plan (void) const { + CIAO_TRACE("get_plan"); return this->idl_dp_.get (); } ::Deployment::DeploymentPlan * XML_File_Intf::get_plan (void) { + CIAO_TRACE("XML_File_Intf::get_plan"); + return this->idl_dp_.release (); } } diff --git a/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.h b/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.h index 4a7216e78ef..9f5869b20fb 100644 --- a/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.h +++ b/TAO/CIAO/tools/Config_Handlers/XML_File_Intf.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file XML_File_Intf.h - * - * $Id$ - * - * @author Bala Natarajan <bala@dre.vanderbilt.edu> - */ +* @file XML_File_Intf.h +* +* $Id$ +* +* @author Bala Natarajan <bala@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_XML_FILE_INTF_H @@ -23,29 +23,29 @@ namespace Deployment { - struct DeploymentPlan ; +struct DeploymentPlan ; } namespace CIAO { - namespace Config_Handlers - { - class Config_Handlers_Export XML_File_Intf - { - public: - XML_File_Intf (const char *file); +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); +::Deployment::DeploymentPlan const *get_plan (void) const; +::Deployment::DeploymentPlan *get_plan (void); - protected: +protected: - bool read_process_file (const char *file); +bool read_process_file (const char *file); - private: - ACE_Auto_Ptr< ::Deployment::DeploymentPlan> idl_dp_; - }; - } +private: +ACE_Auto_Ptr< ::Deployment::DeploymentPlan> idl_dp_; +}; +} } #include /**/ "ace/post.h" #endif /*CIAO_CONFIG_XML_FILE_INTF_H*/ diff --git a/TAO/CIAO/tools/Config_Handlers/XSCRT/Elements.hpp b/TAO/CIAO/tools/Config_Handlers/XSCRT/Elements.hpp index 06d6801d83d..0d84a6bc28a 100644 --- a/TAO/CIAO/tools/Config_Handlers/XSCRT/Elements.hpp +++ b/TAO/CIAO/tools/Config_Handlers/XSCRT/Elements.hpp @@ -333,12 +333,12 @@ namespace XSCRT } public: - + operator X const& () const { return x_; } - /* + /* operator X& () { return x_; diff --git a/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.hpp b/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.hpp index 51f1930eea9..e2ab4b64956 100644 --- a/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.hpp +++ b/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.hpp @@ -36,7 +36,7 @@ namespace XSCRT friend std::ostream& operator << (std::ostream& os, TypeId const& t); */ - + public: char const* name () const @@ -162,7 +162,7 @@ namespace XSCRT { ExtendedTypeInfoMap::const_iterator i ( extended_type_info_map ().find (tid)); - + if (i == extended_type_info_map ().end ()) throw NotAvailable (); return i->second; diff --git a/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.ipp b/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.ipp index 6745c9ad28c..6c4fba2cf88 100644 --- a/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.ipp +++ b/TAO/CIAO/tools/Config_Handlers/XSCRT/ExtendedTypeInfo.ipp @@ -6,7 +6,7 @@ /* * @@HACK: Visual Studio. * I think the return value for operator== for type_info - * in VC7 (perhaps others) is int when is should be bool. + * in VC7 (perhaps others) is int when is should be bool. * This causes a warning about converting the return value from * int to bool. */ diff --git a/TAO/CIAO/tools/Config_Handlers/XSCRT/XML.hpp b/TAO/CIAO/tools/Config_Handlers/XSCRT/XML.hpp index 588cb61dc84..b12fda738d2 100644 --- a/TAO/CIAO/tools/Config_Handlers/XSCRT/XML.hpp +++ b/TAO/CIAO/tools/Config_Handlers/XSCRT/XML.hpp @@ -144,29 +144,29 @@ namespace XSCRT template <typename C> std::basic_string<C> ns_prefix (std::basic_string<C> const& ns, Element<C> const& e); - + // Casting helpers, made necessary by the Xerces project's braindead // avoidance of RTTI. template <typename DERIVED> struct dom_traits; - + // Specializations for different node types template <> struct dom_traits<xercesc::DOMElement *> { enum { node_type = xercesc::DOMNode::ELEMENT_NODE }; }; - + template <> struct dom_traits<xercesc::DOMAttr *> { enum { node_type = xercesc::DOMNode::ATTRIBUTE_NODE }; }; - + template <typename DERIVED_PTR> DERIVED_PTR dom_cast (xercesc::DOMNode *node) { DERIVED_PTR elem = 0; - if ((node != 0) && + if ((node != 0) && (node->getNodeType () == dom_traits<DERIVED_PTR>::node_type)) { elem = reinterpret_cast <DERIVED_PTR> (node); diff --git a/TAO/CIAO/tools/Config_Handlers/ccd.cpp b/TAO/CIAO/tools/Config_Handlers/ccd.cpp index 3c561e8f1af..66743f01e2e 100644 --- a/TAO/CIAO/tools/Config_Handlers/ccd.cpp +++ b/TAO/CIAO/tools/Config_Handlers/ccd.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "ccd.hpp" namespace CIAO @@ -16,26 +16,26 @@ namespace CIAO namespace Config_Handlers { // ComponentInterfaceDescription - // + // ComponentInterfaceDescription:: ComponentInterfaceDescription () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } ComponentInterfaceDescription:: ComponentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); @@ -121,7 +121,7 @@ namespace CIAO // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: label_p () const { @@ -138,19 +138,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: UUID_p () const { @@ -167,19 +167,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: specificType_p () const { @@ -196,19 +196,19 @@ namespace CIAO specificType (::XMLSchema::string< ACE_TCHAR > const& e) { if (specificType_.get ()) - { - *specificType_ = e; - } + { + *specificType_ = e; + } else - { - specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - specificType_->container (this); - } + { + specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + specificType_->container (this); + } } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::supportedType_iterator ComponentInterfaceDescription:: begin_supportedType () { @@ -246,7 +246,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::idlFile_iterator ComponentInterfaceDescription:: begin_idlFile () { @@ -284,7 +284,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::configProperty_iterator ComponentInterfaceDescription:: begin_configProperty () { @@ -322,7 +322,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::port_iterator ComponentInterfaceDescription:: begin_port () { @@ -360,7 +360,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::property_iterator ComponentInterfaceDescription:: begin_property () { @@ -398,7 +398,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::infoProperty_iterator ComponentInterfaceDescription:: begin_infoProperty () { @@ -436,7 +436,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: contentLocation_p () const { @@ -453,19 +453,19 @@ namespace CIAO contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) { if (contentLocation_.get ()) - { - *contentLocation_ = e; - } + { + *contentLocation_ = e; + } else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: href_p () const { @@ -488,15 +488,15 @@ namespace CIAO href (::XMLSchema::string< ACE_TCHAR > const& e) { if (href_.get ()) - { - *href_ = e; - } + { + *href_ = e; + } else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } } } } @@ -510,95 +510,95 @@ namespace CIAO ComponentInterfaceDescription:: ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "specificType") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - specificType (t); - } - - else if (n == "supportedType") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_supportedType (t); - } - - else if (n == "idlFile") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_idlFile (t); - } - - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_configProperty (t); - } - - else if (n == "port") - { - ::CIAO::Config_Handlers::ComponentPortDescription t (e); - add_port (t); - } - - else if (n == "property") - { - ::CIAO::Config_Handlers::ComponentPropertyDescription t (e); - add_property (t); - } - - else if (n == "infoProperty") { - ::CIAO::Config_Handlers::Property t (e); - add_infoProperty (t); + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "specificType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + specificType (t); + } + + else if (n == "supportedType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_supportedType (t); + } + + else if (n == "idlFile") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_idlFile (t); + } + + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } + + else if (n == "port") + { + ::CIAO::Config_Handlers::ComponentPortDescription t (e); + add_port (t); + } + + else if (n == "property") + { + ::CIAO::Config_Handlers::ComponentPropertyDescription t (e); + add_property (t); + } + + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } + + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } + + else + { + } } - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } - - else - { - } - } - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") + { + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); + } + + else + { + } } - - else - { - } - } } } } @@ -777,17 +777,17 @@ namespace CIAO ComponentInterfaceDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); if (b != e) - { - supportedType_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) supportedType_next (o); + supportedType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); } - supportedType_post (o); - } - else supportedType_none (o); } @@ -799,17 +799,17 @@ namespace CIAO ComponentInterfaceDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); if (b != e) - { - supportedType_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) supportedType_next (o); + supportedType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); } - supportedType_post (o); - } - else supportedType_none (o); } @@ -861,17 +861,17 @@ namespace CIAO ComponentInterfaceDescription::Type::idlFile_iterator b (o.begin_idlFile()), e (o.end_idlFile()); if (b != e) - { - idlFile_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) idlFile_next (o); + idlFile_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) idlFile_next (o); + } + + idlFile_post (o); } - idlFile_post (o); - } - else idlFile_none (o); } @@ -883,17 +883,17 @@ namespace CIAO ComponentInterfaceDescription::Type::idlFile_const_iterator b (o.begin_idlFile()), e (o.end_idlFile()); if (b != e) - { - idlFile_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) idlFile_next (o); + idlFile_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) idlFile_next (o); + } + + idlFile_post (o); } - idlFile_post (o); - } - else idlFile_none (o); } @@ -945,17 +945,17 @@ namespace CIAO ComponentInterfaceDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) - { - configProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) configProperty_next (o); + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); } - configProperty_post (o); - } - else configProperty_none (o); } @@ -967,17 +967,17 @@ namespace CIAO ComponentInterfaceDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) - { - configProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) configProperty_next (o); + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); } - configProperty_post (o); - } - else configProperty_none (o); } @@ -1029,17 +1029,17 @@ namespace CIAO ComponentInterfaceDescription::Type::port_iterator b (o.begin_port()), e (o.end_port()); if (b != e) - { - port_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) port_next (o); + port_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) port_next (o); + } + + port_post (o); } - port_post (o); - } - else port_none (o); } @@ -1051,17 +1051,17 @@ namespace CIAO ComponentInterfaceDescription::Type::port_const_iterator b (o.begin_port()), e (o.end_port()); if (b != e) - { - port_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) port_next (o); + port_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) port_next (o); + } + + port_post (o); } - port_post (o); - } - else port_none (o); } @@ -1113,17 +1113,17 @@ namespace CIAO ComponentInterfaceDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); if (b != e) - { - property_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) property_next (o); + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); } - property_post (o); - } - else property_none (o); } @@ -1135,17 +1135,17 @@ namespace CIAO ComponentInterfaceDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); if (b != e) - { - property_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) property_next (o); + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); } - property_post (o); - } - else property_none (o); } @@ -1197,17 +1197,17 @@ namespace CIAO ComponentInterfaceDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) - { - infoProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) infoProperty_next (o); + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); } - infoProperty_post (o); - } - else infoProperty_none (o); } @@ -1219,17 +1219,17 @@ namespace CIAO ComponentInterfaceDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) - { - infoProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) infoProperty_next (o); + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); } - infoProperty_post (o); - } - else infoProperty_none (o); } @@ -1342,7 +1342,7 @@ namespace CIAO ComponentInterfaceDescription:: ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } diff --git a/TAO/CIAO/tools/Config_Handlers/ccd.hpp b/TAO/CIAO/tools/Config_Handlers/ccd.hpp index ab460a46a7d..74368eb7fc4 100644 --- a/TAO/CIAO/tools/Config_Handlers/ccd.hpp +++ b/TAO/CIAO/tools/Config_Handlers/ccd.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,10 +27,10 @@ // namespace CIAO { - namespace Config_Handlers - { - class ComponentInterfaceDescription; - } +namespace Config_Handlers +{ +class ComponentInterfaceDescription; +} } #include <memory> @@ -41,738 +41,738 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export ComponentInterfaceDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // specificType - // - public: - bool specificType_p () const; - ::XMLSchema::string< ACE_TCHAR > const& specificType () const; - void specificType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; - - // supportedType - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; - supportedType_iterator begin_supportedType (); - supportedType_iterator end_supportedType (); - supportedType_const_iterator begin_supportedType () const; - supportedType_const_iterator end_supportedType () const; - void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_supportedType (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; - - // idlFile - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator idlFile_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator idlFile_const_iterator; - idlFile_iterator begin_idlFile (); - idlFile_iterator end_idlFile (); - idlFile_const_iterator begin_idlFile () const; - idlFile_const_iterator end_idlFile () const; - void add_idlFile (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_idlFile (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > idlFile_; - - // configProperty - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; - configProperty_iterator begin_configProperty (); - configProperty_iterator end_configProperty (); - configProperty_const_iterator begin_configProperty () const; - configProperty_const_iterator end_configProperty () const; - void add_configProperty (::CIAO::Config_Handlers::Property const& ); - size_t count_configProperty (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - - // port - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::iterator port_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::const_iterator port_const_iterator; - port_iterator begin_port (); - port_iterator end_port (); - port_const_iterator begin_port () const; - port_const_iterator end_port () const; - void add_port (::CIAO::Config_Handlers::ComponentPortDescription const& ); - size_t count_port (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription > port_; - - // property - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::iterator property_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::const_iterator property_const_iterator; - property_iterator begin_property (); - property_iterator end_property (); - property_const_iterator begin_property () const; - property_const_iterator end_property () const; - void add_property (::CIAO::Config_Handlers::ComponentPropertyDescription const& ); - size_t count_property (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription > property_; - - // infoProperty - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; - infoProperty_iterator begin_infoProperty (); - infoProperty_iterator end_infoProperty (); - infoProperty_const_iterator begin_infoProperty () const; - infoProperty_const_iterator end_infoProperty () const; - void add_infoProperty (::CIAO::Config_Handlers::Property const& ); - size_t count_infoProperty (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - - // contentLocation - // - public: - bool contentLocation_p () const; - ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; - void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - - // href - // - public: - bool href_p () const; - ::XMLSchema::string< ACE_TCHAR > const& href () const; - ::XMLSchema::string< ACE_TCHAR >& href (); - void href (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - - public: - ComponentInterfaceDescription (); - - ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentInterfaceDescription (ComponentInterfaceDescription const& s); - - ComponentInterfaceDescription& - operator= (ComponentInterfaceDescription const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export ComponentInterfaceDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// specificType +// +public: +bool specificType_p () const; +::XMLSchema::string< ACE_TCHAR > const& specificType () const; +void specificType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; + +// supportedType +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; +supportedType_iterator begin_supportedType (); +supportedType_iterator end_supportedType (); +supportedType_const_iterator begin_supportedType () const; +supportedType_const_iterator end_supportedType () const; +void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_supportedType (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; + +// idlFile +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator idlFile_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator idlFile_const_iterator; +idlFile_iterator begin_idlFile (); +idlFile_iterator end_idlFile (); +idlFile_const_iterator begin_idlFile () const; +idlFile_const_iterator end_idlFile () const; +void add_idlFile (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_idlFile (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > idlFile_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// port +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::iterator port_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::const_iterator port_const_iterator; +port_iterator begin_port (); +port_iterator end_port (); +port_const_iterator begin_port () const; +port_const_iterator end_port () const; +void add_port (::CIAO::Config_Handlers::ComponentPortDescription const& ); +size_t count_port (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ComponentPortDescription > port_; + +// property +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::iterator property_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::const_iterator property_const_iterator; +property_iterator begin_property (); +property_iterator end_property (); +property_const_iterator begin_property () const; +property_const_iterator end_property () const; +void add_property (::CIAO::Config_Handlers::ComponentPropertyDescription const& ); +size_t count_property (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription > property_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +// contentLocation +// +public: +bool contentLocation_p () const; +::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; +void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + +// href +// +public: +bool href_p () const; +::XMLSchema::string< ACE_TCHAR > const& href () const; +::XMLSchema::string< ACE_TCHAR >& href (); +void href (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + +public: +ComponentInterfaceDescription (); + +ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentInterfaceDescription (ComponentInterfaceDescription const& s); + +ComponentInterfaceDescription& +operator= (ComponentInterfaceDescription const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export ComponentInterfaceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentInterfaceDescription > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export ComponentInterfaceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentInterfaceDescription > +{ +virtual void +traverse (Type&); - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - pre (Type&); +virtual void +pre (Type&); - virtual void - pre (Type const&); +virtual void +pre (Type const&); - virtual void - label (Type&); +virtual void +label (Type&); - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - label_none (Type&); +virtual void +label_none (Type&); - virtual void - label_none (Type const&); +virtual void +label_none (Type const&); - virtual void - UUID (Type&); +virtual void +UUID (Type&); - virtual void - UUID (Type const&); +virtual void +UUID (Type const&); - virtual void - UUID_none (Type&); +virtual void +UUID_none (Type&); - virtual void - UUID_none (Type const&); +virtual void +UUID_none (Type const&); - virtual void - specificType (Type&); +virtual void +specificType (Type&); - virtual void - specificType (Type const&); +virtual void +specificType (Type const&); - virtual void - specificType_none (Type&); +virtual void +specificType_none (Type&); - virtual void - specificType_none (Type const&); +virtual void +specificType_none (Type const&); - virtual void - supportedType (Type&); +virtual void +supportedType (Type&); - virtual void - supportedType (Type const&); +virtual void +supportedType (Type const&); - virtual void - supportedType_pre (Type&); +virtual void +supportedType_pre (Type&); - virtual void - supportedType_pre (Type const&); +virtual void +supportedType_pre (Type const&); - virtual void - supportedType_next (Type&); +virtual void +supportedType_next (Type&); - virtual void - supportedType_next (Type const&); +virtual void +supportedType_next (Type const&); - virtual void - supportedType_post (Type&); +virtual void +supportedType_post (Type&); - virtual void - supportedType_post (Type const&); +virtual void +supportedType_post (Type const&); - virtual void - supportedType_none (Type&); +virtual void +supportedType_none (Type&); - virtual void - supportedType_none (Type const&); +virtual void +supportedType_none (Type const&); - virtual void - idlFile (Type&); +virtual void +idlFile (Type&); - virtual void - idlFile (Type const&); +virtual void +idlFile (Type const&); - virtual void - idlFile_pre (Type&); +virtual void +idlFile_pre (Type&); - virtual void - idlFile_pre (Type const&); +virtual void +idlFile_pre (Type const&); - virtual void - idlFile_next (Type&); +virtual void +idlFile_next (Type&); - virtual void - idlFile_next (Type const&); +virtual void +idlFile_next (Type const&); - virtual void - idlFile_post (Type&); +virtual void +idlFile_post (Type&); - virtual void - idlFile_post (Type const&); +virtual void +idlFile_post (Type const&); - virtual void - idlFile_none (Type&); +virtual void +idlFile_none (Type&); - virtual void - idlFile_none (Type const&); +virtual void +idlFile_none (Type const&); - virtual void - configProperty (Type&); +virtual void +configProperty (Type&); - virtual void - configProperty (Type const&); +virtual void +configProperty (Type const&); - virtual void - configProperty_pre (Type&); +virtual void +configProperty_pre (Type&); - virtual void - configProperty_pre (Type const&); +virtual void +configProperty_pre (Type const&); - virtual void - configProperty_next (Type&); +virtual void +configProperty_next (Type&); - virtual void - configProperty_next (Type const&); +virtual void +configProperty_next (Type const&); - virtual void - configProperty_post (Type&); +virtual void +configProperty_post (Type&); - virtual void - configProperty_post (Type const&); +virtual void +configProperty_post (Type const&); - virtual void - configProperty_none (Type&); +virtual void +configProperty_none (Type&); - virtual void - configProperty_none (Type const&); +virtual void +configProperty_none (Type const&); - virtual void - port (Type&); +virtual void +port (Type&); - virtual void - port (Type const&); +virtual void +port (Type const&); - virtual void - port_pre (Type&); +virtual void +port_pre (Type&); - virtual void - port_pre (Type const&); +virtual void +port_pre (Type const&); - virtual void - port_next (Type&); +virtual void +port_next (Type&); - virtual void - port_next (Type const&); +virtual void +port_next (Type const&); - virtual void - port_post (Type&); +virtual void +port_post (Type&); - virtual void - port_post (Type const&); +virtual void +port_post (Type const&); - virtual void - port_none (Type&); +virtual void +port_none (Type&); - virtual void - port_none (Type const&); +virtual void +port_none (Type const&); - virtual void - property (Type&); +virtual void +property (Type&); - virtual void - property (Type const&); +virtual void +property (Type const&); - virtual void - property_pre (Type&); +virtual void +property_pre (Type&); - virtual void - property_pre (Type const&); +virtual void +property_pre (Type const&); - virtual void - property_next (Type&); +virtual void +property_next (Type&); - virtual void - property_next (Type const&); +virtual void +property_next (Type const&); - virtual void - property_post (Type&); +virtual void +property_post (Type&); - virtual void - property_post (Type const&); +virtual void +property_post (Type const&); - virtual void - property_none (Type&); +virtual void +property_none (Type&); - virtual void - property_none (Type const&); +virtual void +property_none (Type const&); - virtual void - infoProperty (Type&); +virtual void +infoProperty (Type&); - virtual void - infoProperty (Type const&); +virtual void +infoProperty (Type const&); - virtual void - infoProperty_pre (Type&); +virtual void +infoProperty_pre (Type&); - virtual void - infoProperty_pre (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type&); +virtual void +infoProperty_next (Type&); - virtual void - infoProperty_next (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty_post (Type&); +virtual void +infoProperty_post (Type&); - virtual void - infoProperty_post (Type const&); +virtual void +infoProperty_post (Type const&); - virtual void - infoProperty_none (Type&); +virtual void +infoProperty_none (Type&); - virtual void - infoProperty_none (Type const&); +virtual void +infoProperty_none (Type const&); - virtual void - contentLocation (Type&); +virtual void +contentLocation (Type&); - virtual void - contentLocation (Type const&); +virtual void +contentLocation (Type const&); - virtual void - contentLocation_none (Type&); +virtual void +contentLocation_none (Type&); - virtual void - contentLocation_none (Type const&); +virtual void +contentLocation_none (Type const&); - virtual void - href (Type&); +virtual void +href (Type&); - virtual void - href (Type const&); +virtual void +href (Type const&); - virtual void - href_none (Type&); +virtual void +href_none (Type&); - virtual void - href_none (Type const&); +virtual void +href_none (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct ComponentInterfaceDescription : Traversal::ComponentInterfaceDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentInterfaceDescription Type; - ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct ComponentInterfaceDescription : Traversal::ComponentInterfaceDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentInterfaceDescription Type; +ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - UUID (Type &o) - { +virtual void +UUID (Type &o) +{ - this->UUID (const_cast <Type const &> (o)); - } +this->UUID (const_cast <Type const &> (o)); +} - virtual void - UUID (Type const&); +virtual void +UUID (Type const&); - virtual void - specificType (Type &o) - { +virtual void +specificType (Type &o) +{ - this->specificType (const_cast <Type const &> (o)); - } +this->specificType (const_cast <Type const &> (o)); +} - virtual void - specificType (Type const&); +virtual void +specificType (Type const&); - virtual void - supportedType_pre (Type &o) - { +virtual void +supportedType_pre (Type &o) +{ - this->supportedType_pre (const_cast <Type const &> (o)); - } +this->supportedType_pre (const_cast <Type const &> (o)); +} - virtual void - supportedType_pre (Type const&); +virtual void +supportedType_pre (Type const&); - virtual void - supportedType_next (Type &o) - { +virtual void +supportedType_next (Type &o) +{ - this->supportedType_next (const_cast <Type const &> (o)); - } +this->supportedType_next (const_cast <Type const &> (o)); +} - virtual void - supportedType_next (Type const&); +virtual void +supportedType_next (Type const&); - virtual void - supportedType_post (Type &o) - { +virtual void +supportedType_post (Type &o) +{ - this->supportedType_post (const_cast <Type const &> (o)); - } +this->supportedType_post (const_cast <Type const &> (o)); +} - virtual void - supportedType_post (Type const&); +virtual void +supportedType_post (Type const&); - virtual void - idlFile_pre (Type &o) - { +virtual void +idlFile_pre (Type &o) +{ - this->idlFile_pre (const_cast <Type const &> (o)); - } +this->idlFile_pre (const_cast <Type const &> (o)); +} - virtual void - idlFile_pre (Type const&); +virtual void +idlFile_pre (Type const&); - virtual void - idlFile_next (Type &o) - { +virtual void +idlFile_next (Type &o) +{ - this->idlFile_next (const_cast <Type const &> (o)); - } +this->idlFile_next (const_cast <Type const &> (o)); +} - virtual void - idlFile_next (Type const&); +virtual void +idlFile_next (Type const&); - virtual void - idlFile_post (Type &o) - { +virtual void +idlFile_post (Type &o) +{ - this->idlFile_post (const_cast <Type const &> (o)); - } +this->idlFile_post (const_cast <Type const &> (o)); +} - virtual void - idlFile_post (Type const&); +virtual void +idlFile_post (Type const&); - virtual void - configProperty_pre (Type &o) - { +virtual void +configProperty_pre (Type &o) +{ - this->configProperty_pre (const_cast <Type const &> (o)); - } +this->configProperty_pre (const_cast <Type const &> (o)); +} - virtual void - configProperty_pre (Type const&); +virtual void +configProperty_pre (Type const&); - virtual void - configProperty_next (Type &o) - { +virtual void +configProperty_next (Type &o) +{ - this->configProperty_next (const_cast <Type const &> (o)); - } +this->configProperty_next (const_cast <Type const &> (o)); +} - virtual void - configProperty_next (Type const&); +virtual void +configProperty_next (Type const&); - virtual void - configProperty_post (Type &o) - { +virtual void +configProperty_post (Type &o) +{ - this->configProperty_post (const_cast <Type const &> (o)); - } +this->configProperty_post (const_cast <Type const &> (o)); +} - virtual void - configProperty_post (Type const&); +virtual void +configProperty_post (Type const&); - virtual void - port_pre (Type &o) - { +virtual void +port_pre (Type &o) +{ - this->port_pre (const_cast <Type const &> (o)); - } +this->port_pre (const_cast <Type const &> (o)); +} - virtual void - port_pre (Type const&); +virtual void +port_pre (Type const&); - virtual void - port_next (Type &o) - { +virtual void +port_next (Type &o) +{ - this->port_next (const_cast <Type const &> (o)); - } +this->port_next (const_cast <Type const &> (o)); +} - virtual void - port_next (Type const&); +virtual void +port_next (Type const&); - virtual void - port_post (Type &o) - { +virtual void +port_post (Type &o) +{ - this->port_post (const_cast <Type const &> (o)); - } +this->port_post (const_cast <Type const &> (o)); +} - virtual void - port_post (Type const&); +virtual void +port_post (Type const&); - virtual void - property_pre (Type &o) - { +virtual void +property_pre (Type &o) +{ - this->property_pre (const_cast <Type const &> (o)); - } +this->property_pre (const_cast <Type const &> (o)); +} - virtual void - property_pre (Type const&); +virtual void +property_pre (Type const&); - virtual void - property_next (Type &o) - { +virtual void +property_next (Type &o) +{ - this->property_next (const_cast <Type const &> (o)); - } +this->property_next (const_cast <Type const &> (o)); +} - virtual void - property_next (Type const&); +virtual void +property_next (Type const&); - virtual void - property_post (Type &o) - { +virtual void +property_post (Type &o) +{ - this->property_post (const_cast <Type const &> (o)); - } +this->property_post (const_cast <Type const &> (o)); +} - virtual void - property_post (Type const&); +virtual void +property_post (Type const&); - virtual void - infoProperty_pre (Type &o) - { +virtual void +infoProperty_pre (Type &o) +{ - this->infoProperty_pre (const_cast <Type const &> (o)); - } +this->infoProperty_pre (const_cast <Type const &> (o)); +} - virtual void - infoProperty_pre (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type &o) - { +virtual void +infoProperty_next (Type &o) +{ - this->infoProperty_next (const_cast <Type const &> (o)); - } +this->infoProperty_next (const_cast <Type const &> (o)); +} - virtual void - infoProperty_next (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty_post (Type &o) - { +virtual void +infoProperty_post (Type &o) +{ - this->infoProperty_post (const_cast <Type const &> (o)); - } +this->infoProperty_post (const_cast <Type const &> (o)); +} - virtual void - infoProperty_post (Type const&); +virtual void +infoProperty_post (Type const&); - virtual void - contentLocation (Type &o) - { +virtual void +contentLocation (Type &o) +{ - this->contentLocation (const_cast <Type const &> (o)); - } +this->contentLocation (const_cast <Type const &> (o)); +} - virtual void - contentLocation (Type const&); +virtual void +contentLocation (Type const&); - virtual void - href (Type &o) - { +virtual void +href (Type &o) +{ - this->href (const_cast <Type const &> (o)); - } +this->href (const_cast <Type const &> (o)); +} - virtual void - href (Type const&); +virtual void +href (Type const&); - protected: - ComponentInterfaceDescription (); - }; - } - } +protected: +ComponentInterfaceDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CCD_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/cdd.cpp b/TAO/CIAO/tools/Config_Handlers/cdd.cpp index 2b2f8cb2927..081ff061ea8 100644 --- a/TAO/CIAO/tools/Config_Handlers/cdd.cpp +++ b/TAO/CIAO/tools/Config_Handlers/cdd.cpp @@ -1,14 +1,15 @@ + /* $Id$ * This code was generated by the XML Schema Compiler. * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "cdd.hpp" namespace CIAO @@ -16,32 +17,23 @@ namespace CIAO namespace Config_Handlers { // Domain - // + // Domain:: - Domain (::CIAO::Config_Handlers::Interconnect const& interconnect__, - ::CIAO::Config_Handlers::Bridge const& bridge__) - : - ::XSCRT::Type (), - interconnect_ (new ::CIAO::Config_Handlers::Interconnect (interconnect__)), - bridge_ (new ::CIAO::Config_Handlers::Bridge (bridge__)), - regulator__ () + Domain () + : + ::XSCRT::Type (), + regulator__ () { - interconnect_->container (this); - bridge_->container (this); } Domain:: Domain (::CIAO::Config_Handlers::Domain const& s) - : - ::XSCRT::Type (), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - interconnect_ (new ::CIAO::Config_Handlers::Interconnect (*s.interconnect_)), - bridge_ (new ::CIAO::Config_Handlers::Bridge (*s.bridge_)), - sharedResource_ (s.sharedResource_.get () ? new ::CIAO::Config_Handlers::SharedResource (*s.sharedResource_) : 0), - infoProperty_ (s.infoProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.infoProperty_) : 0), - regulator__ () + : + ::XSCRT::Type (), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + regulator__ () { if (UUID_.get ()) UUID_->container (this); if (label_.get ()) label_->container (this); @@ -49,10 +41,21 @@ namespace CIAO for (node_const_iterator i (s.node_.begin ());i != s.node_.end ();++i) add_node (*i); } - interconnect_->container (this); - bridge_->container (this); - if (sharedResource_.get ()) sharedResource_->container (this); - if (infoProperty_.get ()) infoProperty_->container (this); + { + for (interconnect_const_iterator i (s.interconnect_.begin ());i != s.interconnect_.end ();++i) add_interconnect (*i); + } + + { + for (bridge_const_iterator i (s.bridge_.begin ());i != s.bridge_.end ();++i) add_bridge (*i); + } + + { + for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); + } + + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } } ::CIAO::Config_Handlers::Domain& Domain:: @@ -69,22 +72,32 @@ namespace CIAO for (node_const_iterator i (s.node_.begin ());i != s.node_.end ();++i) add_node (*i); } - interconnect (s.interconnect ()); + interconnect_.clear (); + { + for (interconnect_const_iterator i (s.interconnect_.begin ());i != s.interconnect_.end ();++i) add_interconnect (*i); + } - bridge (s.bridge ()); + bridge_.clear (); + { + for (bridge_const_iterator i (s.bridge_.begin ());i != s.bridge_.end ();++i) add_bridge (*i); + } - if (s.sharedResource_.get ()) sharedResource (*(s.sharedResource_)); - else sharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SharedResource > (0); + sharedResource_.clear (); + { + for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); + } - if (s.infoProperty_.get ()) infoProperty (*(s.infoProperty_)); - else infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); + infoProperty_.clear (); + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } return *this; } // Domain - // + // bool Domain:: UUID_p () const { @@ -101,19 +114,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // Domain - // + // bool Domain:: label_p () const { @@ -130,19 +143,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // Domain - // + // Domain::node_iterator Domain:: begin_node () { @@ -180,2826 +193,3200 @@ namespace CIAO } // Domain - // - ::CIAO::Config_Handlers::Interconnect const& Domain:: - interconnect () const + // + Domain::interconnect_iterator Domain:: + begin_interconnect () { - return *interconnect_; + return interconnect_.begin (); } - void Domain:: - interconnect (::CIAO::Config_Handlers::Interconnect const& e) + Domain::interconnect_iterator Domain:: + end_interconnect () { - *interconnect_ = e; + return interconnect_.end (); } - // Domain - // - ::CIAO::Config_Handlers::Bridge const& Domain:: - bridge () const + Domain::interconnect_const_iterator Domain:: + begin_interconnect () const { - return *bridge_; + return interconnect_.begin (); } - void Domain:: - bridge (::CIAO::Config_Handlers::Bridge const& e) + Domain::interconnect_const_iterator Domain:: + end_interconnect () const { - *bridge_ = e; + return interconnect_.end (); } - // Domain - // - bool Domain:: - sharedResource_p () const + void Domain:: + add_interconnect (::CIAO::Config_Handlers::Interconnect const& e) { - return sharedResource_.get () != 0; + interconnect_.push_back (e); } - ::CIAO::Config_Handlers::SharedResource const& Domain:: - sharedResource () const + size_t Domain:: + count_interconnect(void) const { - return *sharedResource_; + return interconnect_.size (); } - void Domain:: - sharedResource (::CIAO::Config_Handlers::SharedResource const& e) + // Domain + // + Domain::bridge_iterator Domain:: + begin_bridge () { - if (sharedResource_.get ()) - { - *sharedResource_ = e; - } - - else - { - sharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SharedResource > (new ::CIAO::Config_Handlers::SharedResource (e)); - sharedResource_->container (this); - } + return bridge_.begin (); } - // Domain - // - bool Domain:: - infoProperty_p () const + Domain::bridge_iterator Domain:: + end_bridge () { - return infoProperty_.get () != 0; + return bridge_.end (); } - ::CIAO::Config_Handlers::Property const& Domain:: - infoProperty () const + Domain::bridge_const_iterator Domain:: + begin_bridge () const { - return *infoProperty_; + return bridge_.begin (); } - void Domain:: - infoProperty (::CIAO::Config_Handlers::Property const& e) + Domain::bridge_const_iterator Domain:: + end_bridge () const { - if (infoProperty_.get ()) - { - *infoProperty_ = e; - } - - else - { - infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - infoProperty_->container (this); - } + return bridge_.end (); } - - // Bridge - // - - Bridge:: - Bridge (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () + void Domain:: + add_bridge (::CIAO::Config_Handlers::Bridge const& e) { - name_->container (this); + bridge_.push_back (e); } - Bridge:: - Bridge (::CIAO::Config_Handlers::Bridge const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - regulator__ () + size_t Domain:: + count_bridge(void) const { - name_->container (this); - if (label_.get ()) label_->container (this); - { - for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); - } - - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } + return bridge_.size (); } - ::CIAO::Config_Handlers::Bridge& Bridge:: - operator= (::CIAO::Config_Handlers::Bridge const& s) + // Domain + // + Domain::sharedResource_iterator Domain:: + begin_sharedResource () { - name (s.name ()); - - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - - connect_.clear (); - { - for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); - } - - resource_.clear (); - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } - - return *this; + return sharedResource_.begin (); } - - // Bridge - // - ::XMLSchema::string< ACE_TCHAR > const& Bridge:: - name () const + Domain::sharedResource_iterator Domain:: + end_sharedResource () { - return *name_; + return sharedResource_.end (); } - void Bridge:: - name (::XMLSchema::string< ACE_TCHAR > const& e) + Domain::sharedResource_const_iterator Domain:: + begin_sharedResource () const { - *name_ = e; + return sharedResource_.begin (); } - // Bridge - // - bool Bridge:: - label_p () const + Domain::sharedResource_const_iterator Domain:: + end_sharedResource () const { - return label_.get () != 0; + return sharedResource_.end (); } - ::XMLSchema::string< ACE_TCHAR > const& Bridge:: - label () const + void Domain:: + add_sharedResource (::CIAO::Config_Handlers::SharedResource const& e) { - return *label_; + sharedResource_.push_back (e); } - void Bridge:: - label (::XMLSchema::string< ACE_TCHAR > const& e) + size_t Domain:: + count_sharedResource(void) const { - if (label_.get ()) - { - *label_ = e; - } - - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + return sharedResource_.size (); } - // Bridge - // - Bridge::connect_iterator Bridge:: - begin_connect () + // Domain + // + Domain::infoProperty_iterator Domain:: + begin_infoProperty () { - return connect_.begin (); + return infoProperty_.begin (); } - Bridge::connect_iterator Bridge:: - end_connect () + Domain::infoProperty_iterator Domain:: + end_infoProperty () { - return connect_.end (); + return infoProperty_.end (); } - Bridge::connect_const_iterator Bridge:: - begin_connect () const + Domain::infoProperty_const_iterator Domain:: + begin_infoProperty () const { - return connect_.begin (); + return infoProperty_.begin (); } - Bridge::connect_const_iterator Bridge:: - end_connect () const + Domain::infoProperty_const_iterator Domain:: + end_infoProperty () const { - return connect_.end (); + return infoProperty_.end (); } - void Bridge:: - add_connect (::CIAO::Config_Handlers::Interconnect const& e) + void Domain:: + add_infoProperty (::CIAO::Config_Handlers::Property const& e) { - connect_.push_back (e); + infoProperty_.push_back (e); } - size_t Bridge:: - count_connect(void) const + size_t Domain:: + count_infoProperty(void) const { - return connect_.size (); + return infoProperty_.size (); } + // Bridge - // - Bridge::resource_iterator Bridge:: - begin_resource () - { - return resource_.begin (); - } + // - Bridge::resource_iterator Bridge:: - end_resource () - { - return resource_.end (); - } + Bridge:: + Bridge (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - Bridge::resource_const_iterator Bridge:: - begin_resource () const - { - return resource_.begin (); - } +Bridge:: +Bridge (::CIAO::Config_Handlers::Bridge const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +regulator__ () +{ +name_->container (this); +if (label_.get ()) label_->container (this); +{ +for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); +} - Bridge::resource_const_iterator Bridge:: - end_resource () const - { - return resource_.end (); - } +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} +} - void Bridge:: - add_resource (::CIAO::Config_Handlers::Resource const& e) - { - resource_.push_back (e); - } +::CIAO::Config_Handlers::Bridge& Bridge:: +operator= (::CIAO::Config_Handlers::Bridge const& s) +{ +name (s.name ()); - size_t Bridge:: - count_resource(void) const - { - return resource_.size (); - } +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +connect_.clear (); +{ +for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); +} - // Interconnect - // +resource_.clear (); +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} - Interconnect:: - Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } +return *this; +} - Interconnect:: - Interconnect (::CIAO::Config_Handlers::Interconnect const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - regulator__ () - { - name_->container (this); - if (label_.get ()) label_->container (this); - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } - { - for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); - } +// Bridge +// +::XMLSchema::string< ACE_TCHAR > const& Bridge:: +name () const +{ +return *name_; +} - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } - } +void Bridge:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - ::CIAO::Config_Handlers::Interconnect& Interconnect:: - operator= (::CIAO::Config_Handlers::Interconnect const& s) - { - name (s.name ()); +// Bridge +// +bool Bridge:: +label_p () const +{ +return label_.get () != 0; +} - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +::XMLSchema::string< ACE_TCHAR > const& Bridge:: +label () const +{ +return *label_; +} - connection_.clear (); - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } +void Bridge:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - connect_.clear (); - { - for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); - } +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - resource_.clear (); - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } +// Bridge +// +Bridge::connect_iterator Bridge:: +begin_connect () +{ +return connect_.begin (); +} - return *this; - } +Bridge::connect_iterator Bridge:: +end_connect () +{ +return connect_.end (); +} +Bridge::connect_const_iterator Bridge:: +begin_connect () const +{ +return connect_.begin (); +} - // Interconnect - // - ::XMLSchema::string< ACE_TCHAR > const& Interconnect:: - name () const - { - return *name_; - } +Bridge::connect_const_iterator Bridge:: +end_connect () const +{ +return connect_.end (); +} - void Interconnect:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void Bridge:: +add_connect (::CIAO::Config_Handlers::Interconnect const& e) +{ +connect_.push_back (e); +} - // Interconnect - // - bool Interconnect:: - label_p () const - { - return label_.get () != 0; - } +size_t Bridge:: +count_connect(void) const +{ +return connect_.size (); +} - ::XMLSchema::string< ACE_TCHAR > const& Interconnect:: - label () const - { - return *label_; - } +// Bridge +// +Bridge::resource_iterator Bridge:: +begin_resource () +{ +return resource_.begin (); +} - void Interconnect:: - label (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (label_.get ()) - { - *label_ = e; - } +Bridge::resource_iterator Bridge:: +end_resource () +{ +return resource_.end (); +} - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } - } +Bridge::resource_const_iterator Bridge:: +begin_resource () const +{ +return resource_.begin (); +} - // Interconnect - // - Interconnect::connection_iterator Interconnect:: - begin_connection () - { - return connection_.begin (); - } +Bridge::resource_const_iterator Bridge:: +end_resource () const +{ +return resource_.end (); +} - Interconnect::connection_iterator Interconnect:: - end_connection () - { - return connection_.end (); - } +void Bridge:: +add_resource (::CIAO::Config_Handlers::Resource const& e) +{ +resource_.push_back (e); +} - Interconnect::connection_const_iterator Interconnect:: - begin_connection () const - { - return connection_.begin (); - } +size_t Bridge:: +count_resource(void) const +{ +return resource_.size (); +} - Interconnect::connection_const_iterator Interconnect:: - end_connection () const - { - return connection_.end (); - } - void Interconnect:: - add_connection (::CIAO::Config_Handlers::Bridge const& e) - { - connection_.push_back (e); - } +// Interconnect +// - size_t Interconnect:: - count_connection(void) const - { - return connection_.size (); - } +Interconnect:: +Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - // Interconnect - // - Interconnect::connect_iterator Interconnect:: - begin_connect () - { - return connect_.begin (); - } +Interconnect:: +Interconnect (::CIAO::Config_Handlers::Interconnect const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +regulator__ () +{ +name_->container (this); +if (label_.get ()) label_->container (this); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - Interconnect::connect_iterator Interconnect:: - end_connect () - { - return connect_.end (); - } +{ +for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); +} - Interconnect::connect_const_iterator Interconnect:: - begin_connect () const - { - return connect_.begin (); - } +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} +} - Interconnect::connect_const_iterator Interconnect:: - end_connect () const - { - return connect_.end (); - } +::CIAO::Config_Handlers::Interconnect& Interconnect:: +operator= (::CIAO::Config_Handlers::Interconnect const& s) +{ +name (s.name ()); - void Interconnect:: - add_connect (::CIAO::Config_Handlers::Node const& e) - { - connect_.push_back (e); - } +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - size_t Interconnect:: - count_connect(void) const - { - return connect_.size (); - } +connection_.clear (); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - // Interconnect - // - Interconnect::resource_iterator Interconnect:: - begin_resource () - { - return resource_.begin (); - } +connect_.clear (); +{ +for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); +} - Interconnect::resource_iterator Interconnect:: - end_resource () - { - return resource_.end (); - } +resource_.clear (); +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} - Interconnect::resource_const_iterator Interconnect:: - begin_resource () const - { - return resource_.begin (); - } +return *this; +} - Interconnect::resource_const_iterator Interconnect:: - end_resource () const - { - return resource_.end (); - } - void Interconnect:: - add_resource (::CIAO::Config_Handlers::Resource const& e) - { - resource_.push_back (e); - } +// Interconnect +// +::XMLSchema::string< ACE_TCHAR > const& Interconnect:: +name () const +{ +return *name_; +} - size_t Interconnect:: - count_resource(void) const - { - return resource_.size (); - } +void Interconnect:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} +// Interconnect +// +bool Interconnect:: +label_p () const +{ +return label_.get () != 0; +} - // Node - // +::XMLSchema::string< ACE_TCHAR > const& Interconnect:: +label () const +{ +return *label_; +} - Node:: - Node (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () - { - name_->container (this); - } +void Interconnect:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - Node:: - Node (::CIAO::Config_Handlers::Node const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - regulator__ () - { - name_->container (this); - if (label_.get ()) label_->container (this); - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - { - for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); - } +// Interconnect +// +Interconnect::connection_iterator Interconnect:: +begin_connection () +{ +return connection_.begin (); +} - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } - } +Interconnect::connection_iterator Interconnect:: +end_connection () +{ +return connection_.end (); +} - ::CIAO::Config_Handlers::Node& Node:: - operator= (::CIAO::Config_Handlers::Node const& s) - { - name (s.name ()); +Interconnect::connection_const_iterator Interconnect:: +begin_connection () const +{ +return connection_.begin (); +} - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +Interconnect::connection_const_iterator Interconnect:: +end_connection () const +{ +return connection_.end (); +} - connection_.clear (); - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } +void Interconnect:: +add_connection (::CIAO::Config_Handlers::Bridge const& e) +{ +connection_.push_back (e); +} - sharedResource_.clear (); - { - for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); - } +size_t Interconnect:: +count_connection(void) const +{ +return connection_.size (); +} - resource_.clear (); - { - for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); - } +// Interconnect +// +Interconnect::connect_iterator Interconnect:: +begin_connect () +{ +return connect_.begin (); +} - return *this; - } +Interconnect::connect_iterator Interconnect:: +end_connect () +{ +return connect_.end (); +} +Interconnect::connect_const_iterator Interconnect:: +begin_connect () const +{ +return connect_.begin (); +} - // Node - // - ::XMLSchema::string< ACE_TCHAR > const& Node:: - name () const - { - return *name_; - } +Interconnect::connect_const_iterator Interconnect:: +end_connect () const +{ +return connect_.end (); +} - void Node:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void Interconnect:: +add_connect (::CIAO::Config_Handlers::Node const& e) +{ +connect_.push_back (e); +} - // Node - // - bool Node:: - label_p () const - { - return label_.get () != 0; - } +size_t Interconnect:: +count_connect(void) const +{ +return connect_.size (); +} - ::XMLSchema::string< ACE_TCHAR > const& Node:: - label () const - { - return *label_; - } +// Interconnect +// +Interconnect::resource_iterator Interconnect:: +begin_resource () +{ +return resource_.begin (); +} - void Node:: - label (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (label_.get ()) - { - *label_ = e; - } +Interconnect::resource_iterator Interconnect:: +end_resource () +{ +return resource_.end (); +} - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } - } +Interconnect::resource_const_iterator Interconnect:: +begin_resource () const +{ +return resource_.begin (); +} - // Node - // - Node::connection_iterator Node:: - begin_connection () - { - return connection_.begin (); - } +Interconnect::resource_const_iterator Interconnect:: +end_resource () const +{ +return resource_.end (); +} - Node::connection_iterator Node:: - end_connection () - { - return connection_.end (); - } +void Interconnect:: +add_resource (::CIAO::Config_Handlers::Resource const& e) +{ +resource_.push_back (e); +} - Node::connection_const_iterator Node:: - begin_connection () const - { - return connection_.begin (); - } +size_t Interconnect:: +count_resource(void) const +{ +return resource_.size (); +} - Node::connection_const_iterator Node:: - end_connection () const - { - return connection_.end (); - } - void Node:: - add_connection (::CIAO::Config_Handlers::Interconnect const& e) - { - connection_.push_back (e); - } +// Node +// - size_t Node:: - count_connection(void) const - { - return connection_.size (); - } +Node:: +Node (::XMLSchema::string< ACE_TCHAR > const& name__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +regulator__ () +{ +name_->container (this); +} - // Node - // - Node::sharedResource_iterator Node:: - begin_sharedResource () - { - return sharedResource_.begin (); - } +Node:: +Node (::CIAO::Config_Handlers::Node const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +regulator__ () +{ +name_->container (this); +if (label_.get ()) label_->container (this); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - Node::sharedResource_iterator Node:: - end_sharedResource () - { - return sharedResource_.end (); - } +{ +for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); +} - Node::sharedResource_const_iterator Node:: - begin_sharedResource () const - { - return sharedResource_.begin (); - } +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} +} - Node::sharedResource_const_iterator Node:: - end_sharedResource () const - { - return sharedResource_.end (); - } +::CIAO::Config_Handlers::Node& Node:: +operator= (::CIAO::Config_Handlers::Node const& s) +{ +name (s.name ()); - void Node:: - add_sharedResource (::CIAO::Config_Handlers::SharedResource const& e) - { - sharedResource_.push_back (e); - } +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - size_t Node:: - count_sharedResource(void) const - { - return sharedResource_.size (); - } +connection_.clear (); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - // Node - // - Node::resource_iterator Node:: - begin_resource () - { - return resource_.begin (); - } +sharedResource_.clear (); +{ +for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); +} - Node::resource_iterator Node:: - end_resource () - { - return resource_.end (); - } +resource_.clear (); +{ +for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); +} - Node::resource_const_iterator Node:: - begin_resource () const - { - return resource_.begin (); - } +return *this; +} - Node::resource_const_iterator Node:: - end_resource () const - { - return resource_.end (); - } - void Node:: - add_resource (::CIAO::Config_Handlers::Resource const& e) - { - resource_.push_back (e); - } +// Node +// +::XMLSchema::string< ACE_TCHAR > const& Node:: +name () const +{ +return *name_; +} - size_t Node:: - count_resource(void) const - { - return resource_.size (); - } +void Node:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} +// Node +// +bool Node:: +label_p () const +{ +return label_.get () != 0; +} - // SharedResource - // - - SharedResource:: - SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::CIAO::Config_Handlers::Node const& node__, - ::CIAO::Config_Handlers::SatisfierProperty const& property__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), - node_ (new ::CIAO::Config_Handlers::Node (node__)), - property_ (new ::CIAO::Config_Handlers::SatisfierProperty (property__)), - regulator__ () - { - name_->container (this); - resourceType_->container (this); - node_->container (this); - property_->container (this); - } +::XMLSchema::string< ACE_TCHAR > const& Node:: +label () const +{ +return *label_; +} - SharedResource:: - SharedResource (::CIAO::Config_Handlers::SharedResource const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), - node_ (new ::CIAO::Config_Handlers::Node (*s.node_)), - property_ (new ::CIAO::Config_Handlers::SatisfierProperty (*s.property_)), - regulator__ () - { - name_->container (this); - resourceType_->container (this); - node_->container (this); - property_->container (this); - } +void Node:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - ::CIAO::Config_Handlers::SharedResource& SharedResource:: - operator= (::CIAO::Config_Handlers::SharedResource const& s) - { - name (s.name ()); +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - resourceType (s.resourceType ()); +// Node +// +Node::connection_iterator Node:: +begin_connection () +{ +return connection_.begin (); +} - node (s.node ()); +Node::connection_iterator Node:: +end_connection () +{ +return connection_.end (); +} - property (s.property ()); +Node::connection_const_iterator Node:: +begin_connection () const +{ +return connection_.begin (); +} - return *this; - } +Node::connection_const_iterator Node:: +end_connection () const +{ +return connection_.end (); +} +void Node:: +add_connection (::CIAO::Config_Handlers::Interconnect const& e) +{ +connection_.push_back (e); +} - // SharedResource - // - ::XMLSchema::string< ACE_TCHAR > const& SharedResource:: - name () const - { - return *name_; - } +size_t Node:: +count_connection(void) const +{ +return connection_.size (); +} - void SharedResource:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +// Node +// +Node::sharedResource_iterator Node:: +begin_sharedResource () +{ +return sharedResource_.begin (); +} - // SharedResource - // - ::XMLSchema::string< ACE_TCHAR > const& SharedResource:: - resourceType () const - { - return *resourceType_; - } +Node::sharedResource_iterator Node:: +end_sharedResource () +{ +return sharedResource_.end (); +} - void SharedResource:: - resourceType (::XMLSchema::string< ACE_TCHAR > const& e) - { - *resourceType_ = e; - } +Node::sharedResource_const_iterator Node:: +begin_sharedResource () const +{ +return sharedResource_.begin (); +} - // SharedResource - // - ::CIAO::Config_Handlers::Node const& SharedResource:: - node () const - { - return *node_; - } +Node::sharedResource_const_iterator Node:: +end_sharedResource () const +{ +return sharedResource_.end (); +} - void SharedResource:: - node (::CIAO::Config_Handlers::Node const& e) - { - *node_ = e; - } +void Node:: +add_sharedResource (::CIAO::Config_Handlers::SharedResource const& e) +{ +sharedResource_.push_back (e); +} - // SharedResource - // - ::CIAO::Config_Handlers::SatisfierProperty const& SharedResource:: - property () const - { - return *property_; - } +size_t Node:: +count_sharedResource(void) const +{ +return sharedResource_.size (); +} - void SharedResource:: - property (::CIAO::Config_Handlers::SatisfierProperty const& e) - { - *property_ = e; - } - } +// Node +// +Node::resource_iterator Node:: +begin_resource () +{ +return resource_.begin (); +} + +Node::resource_iterator Node:: +end_resource () +{ +return resource_.end (); +} + +Node::resource_const_iterator Node:: +begin_resource () const +{ +return resource_.begin (); +} + +Node::resource_const_iterator Node:: +end_resource () const +{ +return resource_.end (); +} + +void Node:: +add_resource (::CIAO::Config_Handlers::Resource const& e) +{ +resource_.push_back (e); +} + +size_t Node:: +count_resource(void) const +{ +return resource_.size (); +} + + +// SharedResource +// + +SharedResource:: +SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::CIAO::Config_Handlers::Node const& node__, +::CIAO::Config_Handlers::SatisfierProperty const& property__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), +node_ (new ::CIAO::Config_Handlers::Node (node__)), +property_ (new ::CIAO::Config_Handlers::SatisfierProperty (property__)), +regulator__ () +{ +name_->container (this); +resourceType_->container (this); +node_->container (this); +property_->container (this); +} + +SharedResource:: +SharedResource (::CIAO::Config_Handlers::SharedResource const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), +node_ (new ::CIAO::Config_Handlers::Node (*s.node_)), +property_ (new ::CIAO::Config_Handlers::SatisfierProperty (*s.property_)), +regulator__ () +{ +name_->container (this); +resourceType_->container (this); +node_->container (this); +property_->container (this); +} + +::CIAO::Config_Handlers::SharedResource& SharedResource:: +operator= (::CIAO::Config_Handlers::SharedResource const& s) +{ +name (s.name ()); + +resourceType (s.resourceType ()); + +node (s.node ()); + +property (s.property ()); + +return *this; +} + + +// SharedResource +// +::XMLSchema::string< ACE_TCHAR > const& SharedResource:: +name () const +{ +return *name_; +} + +void SharedResource:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} + +// SharedResource +// +::XMLSchema::string< ACE_TCHAR > const& SharedResource:: +resourceType () const +{ +return *resourceType_; +} + +void SharedResource:: +resourceType (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*resourceType_ = e; +} + +// SharedResource +// +::CIAO::Config_Handlers::Node const& SharedResource:: +node () const +{ +return *node_; +} + +void SharedResource:: +node (::CIAO::Config_Handlers::Node const& e) +{ +*node_ = e; +} + +// SharedResource +// +::CIAO::Config_Handlers::SatisfierProperty const& SharedResource:: +property () const +{ +return *property_; +} + +void SharedResource:: +property (::CIAO::Config_Handlers::SatisfierProperty const& e) +{ +*property_ = e; +} +} } namespace CIAO { - namespace Config_Handlers - { - // Domain - // +namespace Config_Handlers +{ +// Domain +// - Domain:: - Domain (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +Domain:: +Domain (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } +if (n == "UUID") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +UUID (t); +} - else if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } +else if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} - else if (n == "node") - { - ::CIAO::Config_Handlers::Node t (e); - add_node (t); - } +else if (n == "node") +{ +::CIAO::Config_Handlers::Node t (e); +add_node (t); +} - else if (n == "interconnect") - { - interconnect_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Interconnect > (new ::CIAO::Config_Handlers::Interconnect (e)); - interconnect_->container (this); - } +else if (n == "interconnect") +{ +::CIAO::Config_Handlers::Interconnect t (e); +add_interconnect (t); +} - else if (n == "bridge") - { - bridge_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Bridge > (new ::CIAO::Config_Handlers::Bridge (e)); - bridge_->container (this); - } +else if (n == "bridge") +{ +::CIAO::Config_Handlers::Bridge t (e); +add_bridge (t); +} - else if (n == "sharedResource") - { - ::CIAO::Config_Handlers::SharedResource t (e); - sharedResource (t); - } +else if (n == "sharedResource") +{ +::CIAO::Config_Handlers::SharedResource t (e); +add_sharedResource (t); +} - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - infoProperty (t); - } +else if (n == "infoProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_infoProperty (t); +} - else - { - } - } - } +else +{ +} +} +} - // Bridge - // +// Bridge +// - Bridge:: - Bridge (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +Bridge:: +Bridge (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } +else if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} - else if (n == "connect") - { - ::CIAO::Config_Handlers::Interconnect t (e); - add_connect (t); - } +else if (n == "connect") +{ +::CIAO::Config_Handlers::Interconnect t (e); +add_connect (t); +} - else if (n == "resource") - { - ::CIAO::Config_Handlers::Resource t (e); - add_resource (t); - } +else if (n == "resource") +{ +::CIAO::Config_Handlers::Resource t (e); +add_resource (t); +} - else - { - } - } - } +else +{ +} +} +} - // Interconnect - // +// Interconnect +// - Interconnect:: - Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +Interconnect:: +Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } +else if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} - else if (n == "connection") - { - ::CIAO::Config_Handlers::Bridge t (e); - add_connection (t); - } +else if (n == "connection") +{ +::CIAO::Config_Handlers::Bridge t (e); +add_connection (t); +} - else if (n == "connect") - { - ::CIAO::Config_Handlers::Node t (e); - add_connect (t); - } +else if (n == "connect") +{ +::CIAO::Config_Handlers::Node t (e); +add_connect (t); +} - else if (n == "resource") - { - ::CIAO::Config_Handlers::Resource t (e); - add_resource (t); - } +else if (n == "resource") +{ +::CIAO::Config_Handlers::Resource t (e); +add_resource (t); +} - else - { - } - } - } +else +{ +} +} +} - // Node - // +// Node +// - Node:: - Node (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +Node:: +Node (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } +else if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} - else if (n == "connection") - { - ::CIAO::Config_Handlers::Interconnect t (e); - add_connection (t); - } +else if (n == "connection") +{ +::CIAO::Config_Handlers::Interconnect t (e); +add_connection (t); +} - else if (n == "sharedResource") - { - ::CIAO::Config_Handlers::SharedResource t (e); - add_sharedResource (t); - } +else if (n == "sharedResource") +{ +::CIAO::Config_Handlers::SharedResource t (e); +add_sharedResource (t); +} - else if (n == "resource") - { - ::CIAO::Config_Handlers::Resource t (e); - add_resource (t); - } +else if (n == "resource") +{ +::CIAO::Config_Handlers::Resource t (e); +add_resource (t); +} - else - { - } - } - } +else +{ +} +} +} - // SharedResource - // +// SharedResource +// - SharedResource:: - SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +SharedResource:: +SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "resourceType") - { - resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - resourceType_->container (this); - } +else if (n == "resourceType") +{ +resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +resourceType_->container (this); +} - else if (n == "node") - { - node_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Node > (new ::CIAO::Config_Handlers::Node (e)); - node_->container (this); - } +else if (n == "node") +{ +node_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Node > (new ::CIAO::Config_Handlers::Node (e)); +node_->container (this); +} - else if (n == "property") - { - property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > (new ::CIAO::Config_Handlers::SatisfierProperty (e)); - property_->container (this); - } +else if (n == "property") +{ +property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > (new ::CIAO::Config_Handlers::SatisfierProperty (e)); +property_->container (this); +} - else - { - } - } - } - } +else +{ +} +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/TypeInfo.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace - { - ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); +namespace Config_Handlers +{ +namespace +{ +::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - struct DomainTypeInfoInitializer - { - DomainTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Domain)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct DomainTypeInfoInitializer +{ +DomainTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Domain)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - DomainTypeInfoInitializer DomainTypeInfoInitializer_; +DomainTypeInfoInitializer DomainTypeInfoInitializer_; - struct BridgeTypeInfoInitializer - { - BridgeTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Bridge)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct BridgeTypeInfoInitializer +{ +BridgeTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Bridge)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - BridgeTypeInfoInitializer BridgeTypeInfoInitializer_; +BridgeTypeInfoInitializer BridgeTypeInfoInitializer_; - struct InterconnectTypeInfoInitializer - { - InterconnectTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Interconnect)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct InterconnectTypeInfoInitializer +{ +InterconnectTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Interconnect)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - InterconnectTypeInfoInitializer InterconnectTypeInfoInitializer_; +InterconnectTypeInfoInitializer InterconnectTypeInfoInitializer_; - struct NodeTypeInfoInitializer - { - NodeTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (Node)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct NodeTypeInfoInitializer +{ +NodeTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (Node)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - NodeTypeInfoInitializer NodeTypeInfoInitializer_; +NodeTypeInfoInitializer NodeTypeInfoInitializer_; - struct SharedResourceTypeInfoInitializer - { - SharedResourceTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SharedResource)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SharedResourceTypeInfoInitializer +{ +SharedResourceTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SharedResource)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SharedResourceTypeInfoInitializer SharedResourceTypeInfoInitializer_; - } - } +SharedResourceTypeInfoInitializer SharedResourceTypeInfoInitializer_; +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - // Domain - // - // +namespace Config_Handlers +{ +namespace Traversal +{ +// Domain +// +// - void Domain:: - traverse (Type& o) - { - pre (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.label_p ()) label (o); - else label_none (o); - node (o); - interconnect (o); - bridge (o); - if (o.sharedResource_p ()) sharedResource (o); - else sharedResource_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - post (o); - } +void Domain:: +traverse (Type& o) +{ +pre (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.label_p ()) label (o); +else label_none (o); +node (o); +interconnect (o); +bridge (o); +sharedResource (o); +infoProperty (o); +post (o); +} - void Domain:: - traverse (Type const& o) - { - pre (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.label_p ()) label (o); - else label_none (o); - node (o); - interconnect (o); - bridge (o); - if (o.sharedResource_p ()) sharedResource (o); - else sharedResource_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - post (o); - } +void Domain:: +traverse (Type const& o) +{ +pre (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.label_p ()) label (o); +else label_none (o); +node (o); +interconnect (o); +bridge (o); +sharedResource (o); +infoProperty (o); +post (o); +} - void Domain:: - pre (Type&) - { - } +void Domain:: +pre (Type&) +{ +} - void Domain:: - pre (Type const&) - { - } +void Domain:: +pre (Type const&) +{ +} - void Domain:: - UUID (Type& o) - { - dispatch (o.UUID ()); - } +void Domain:: +UUID (Type& o) +{ +dispatch (o.UUID ()); +} - void Domain:: - UUID (Type const& o) - { - dispatch (o.UUID ()); - } +void Domain:: +UUID (Type const& o) +{ +dispatch (o.UUID ()); +} - void Domain:: - UUID_none (Type&) - { - } +void Domain:: +UUID_none (Type&) +{ +} - void Domain:: - UUID_none (Type const&) - { - } +void Domain:: +UUID_none (Type const&) +{ +} - void Domain:: - label (Type& o) - { - dispatch (o.label ()); - } +void Domain:: +label (Type& o) +{ +dispatch (o.label ()); +} - void Domain:: - label (Type const& o) - { - dispatch (o.label ()); - } +void Domain:: +label (Type const& o) +{ +dispatch (o.label ()); +} - void Domain:: - label_none (Type&) - { - } +void Domain:: +label_none (Type&) +{ +} - void Domain:: - label_none (Type const&) - { - } +void Domain:: +label_none (Type const&) +{ +} - void Domain:: - node (Type& o) - { - // VC6 anathema strikes again - // - Domain::Type::node_iterator b (o.begin_node()), e (o.end_node()); +void Domain:: +node (Type& o) +{ +// VC6 anathema strikes again +// +Domain::Type::node_iterator b (o.begin_node()), e (o.end_node()); - if (b != e) - { - node_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) node_next (o); - } - - node_post (o); - } - } +if (b != e) +{ +node_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) node_next (o); +} - void Domain:: - node (Type const& o) - { - // VC6 anathema strikes again - // - Domain::Type::node_const_iterator b (o.begin_node()), e (o.end_node()); +node_post (o); +} +} - if (b != e) - { - node_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) node_next (o); - } - - node_post (o); - } - } +void Domain:: +node (Type const& o) +{ +// VC6 anathema strikes again +// +Domain::Type::node_const_iterator b (o.begin_node()), e (o.end_node()); - void Domain:: - node_pre (Type&) - { - } +if (b != e) +{ +node_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) node_next (o); +} - void Domain:: - node_pre (Type const&) - { - } +node_post (o); +} +} - void Domain:: - node_next (Type&) - { - } +void Domain:: +node_pre (Type&) +{ +} - void Domain:: - node_next (Type const&) - { - } +void Domain:: +node_pre (Type const&) +{ +} - void Domain:: - node_post (Type&) - { - } +void Domain:: +node_next (Type&) +{ +} - void Domain:: - node_post (Type const&) - { - } +void Domain:: +node_next (Type const&) +{ +} - void Domain:: - interconnect (Type& o) - { - dispatch (o.interconnect ()); - } +void Domain:: +node_post (Type&) +{ +} - void Domain:: - interconnect (Type const& o) - { - dispatch (o.interconnect ()); - } +void Domain:: +node_post (Type const&) +{ +} - void Domain:: - bridge (Type& o) - { - dispatch (o.bridge ()); - } +void Domain:: +interconnect (Type& o) +{ +// VC6 anathema strikes again +// +Domain::Type::interconnect_iterator b (o.begin_interconnect()), e (o.end_interconnect()); - void Domain:: - bridge (Type const& o) - { - dispatch (o.bridge ()); - } +if (b != e) +{ +interconnect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) interconnect_next (o); +} - void Domain:: - sharedResource (Type& o) - { - dispatch (o.sharedResource ()); - } +interconnect_post (o); +} - void Domain:: - sharedResource (Type const& o) - { - dispatch (o.sharedResource ()); - } +else interconnect_none (o); +} - void Domain:: - sharedResource_none (Type&) - { - } +void Domain:: +interconnect (Type const& o) +{ +// VC6 anathema strikes again +// +Domain::Type::interconnect_const_iterator b (o.begin_interconnect()), e (o.end_interconnect()); - void Domain:: - sharedResource_none (Type const&) - { - } +if (b != e) +{ +interconnect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) interconnect_next (o); +} - void Domain:: - infoProperty (Type& o) - { - dispatch (o.infoProperty ()); - } +interconnect_post (o); +} - void Domain:: - infoProperty (Type const& o) - { - dispatch (o.infoProperty ()); - } +else interconnect_none (o); +} - void Domain:: - infoProperty_none (Type&) - { - } +void Domain:: +interconnect_pre (Type&) +{ +} - void Domain:: - infoProperty_none (Type const&) - { - } +void Domain:: +interconnect_pre (Type const&) +{ +} - void Domain:: - post (Type&) - { - } +void Domain:: +interconnect_next (Type&) +{ +} - void Domain:: - post (Type const&) - { - } +void Domain:: +interconnect_next (Type const&) +{ +} - // Bridge - // - // +void Domain:: +interconnect_post (Type&) +{ +} - void Bridge:: - traverse (Type& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connect (o); - resource (o); - post (o); - } +void Domain:: +interconnect_post (Type const&) +{ +} - void Bridge:: - traverse (Type const& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connect (o); - resource (o); - post (o); - } +void Domain:: +interconnect_none (Type&) +{ +} - void Bridge:: - pre (Type&) - { - } +void Domain:: +interconnect_none (Type const&) +{ +} - void Bridge:: - pre (Type const&) - { - } +void Domain:: +bridge (Type& o) +{ +// VC6 anathema strikes again +// +Domain::Type::bridge_iterator b (o.begin_bridge()), e (o.end_bridge()); - void Bridge:: - name (Type& o) - { - dispatch (o.name ()); - } +if (b != e) +{ +bridge_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) bridge_next (o); +} - void Bridge:: - name (Type const& o) - { - dispatch (o.name ()); - } +bridge_post (o); +} - void Bridge:: - label (Type& o) - { - dispatch (o.label ()); - } +else bridge_none (o); +} - void Bridge:: - label (Type const& o) - { - dispatch (o.label ()); - } +void Domain:: +bridge (Type const& o) +{ +// VC6 anathema strikes again +// +Domain::Type::bridge_const_iterator b (o.begin_bridge()), e (o.end_bridge()); - void Bridge:: - label_none (Type&) - { - } +if (b != e) +{ +bridge_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) bridge_next (o); +} - void Bridge:: - label_none (Type const&) - { - } +bridge_post (o); +} - void Bridge:: - connect (Type& o) - { - // VC6 anathema strikes again - // - Bridge::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); +else bridge_none (o); +} - if (b != e) - { - connect_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connect_next (o); - } - - connect_post (o); - } - } +void Domain:: +bridge_pre (Type&) +{ +} - void Bridge:: - connect (Type const& o) - { - // VC6 anathema strikes again - // - Bridge::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); +void Domain:: +bridge_pre (Type const&) +{ +} - if (b != e) - { - connect_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connect_next (o); - } - - connect_post (o); - } - } +void Domain:: +bridge_next (Type&) +{ +} - void Bridge:: - connect_pre (Type&) - { - } +void Domain:: +bridge_next (Type const&) +{ +} - void Bridge:: - connect_pre (Type const&) - { - } +void Domain:: +bridge_post (Type&) +{ +} - void Bridge:: - connect_next (Type&) - { - } +void Domain:: +bridge_post (Type const&) +{ +} - void Bridge:: - connect_next (Type const&) - { - } +void Domain:: +bridge_none (Type&) +{ +} - void Bridge:: - connect_post (Type&) - { - } +void Domain:: +bridge_none (Type const&) +{ +} - void Bridge:: - connect_post (Type const&) - { - } +void Domain:: +sharedResource (Type& o) +{ +// VC6 anathema strikes again +// +Domain::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); - void Bridge:: - resource (Type& o) - { - // VC6 anathema strikes again - // - Bridge::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); +if (b != e) +{ +sharedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) sharedResource_next (o); +} - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +sharedResource_post (o); +} - else resource_none (o); - } +else sharedResource_none (o); +} - void Bridge:: - resource (Type const& o) - { - // VC6 anathema strikes again - // - Bridge::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); +void Domain:: +sharedResource (Type const& o) +{ +// VC6 anathema strikes again +// +Domain::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +if (b != e) +{ +sharedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) sharedResource_next (o); +} - else resource_none (o); - } +sharedResource_post (o); +} - void Bridge:: - resource_pre (Type&) - { - } +else sharedResource_none (o); +} - void Bridge:: - resource_pre (Type const&) - { - } +void Domain:: +sharedResource_pre (Type&) +{ +} - void Bridge:: - resource_next (Type&) - { - } +void Domain:: +sharedResource_pre (Type const&) +{ +} - void Bridge:: - resource_next (Type const&) - { - } +void Domain:: +sharedResource_next (Type&) +{ +} - void Bridge:: - resource_post (Type&) - { - } +void Domain:: +sharedResource_next (Type const&) +{ +} - void Bridge:: - resource_post (Type const&) - { - } +void Domain:: +sharedResource_post (Type&) +{ +} - void Bridge:: - resource_none (Type&) - { - } +void Domain:: +sharedResource_post (Type const&) +{ +} - void Bridge:: - resource_none (Type const&) - { - } +void Domain:: +sharedResource_none (Type&) +{ +} - void Bridge:: - post (Type&) - { - } +void Domain:: +sharedResource_none (Type const&) +{ +} - void Bridge:: - post (Type const&) - { - } +void Domain:: +infoProperty (Type& o) +{ +// VC6 anathema strikes again +// +Domain::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - // Interconnect - // - // +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} - void Interconnect:: - traverse (Type& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connection (o); - connect (o); - resource (o); - post (o); - } +infoProperty_post (o); +} - void Interconnect:: - traverse (Type const& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connection (o); - connect (o); - resource (o); - post (o); - } +else infoProperty_none (o); +} - void Interconnect:: - pre (Type&) - { - } +void Domain:: +infoProperty (Type const& o) +{ +// VC6 anathema strikes again +// +Domain::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - void Interconnect:: - pre (Type const&) - { - } +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} - void Interconnect:: - name (Type& o) - { - dispatch (o.name ()); - } +infoProperty_post (o); +} - void Interconnect:: - name (Type const& o) - { - dispatch (o.name ()); - } +else infoProperty_none (o); +} - void Interconnect:: - label (Type& o) - { - dispatch (o.label ()); - } +void Domain:: +infoProperty_pre (Type&) +{ +} - void Interconnect:: - label (Type const& o) - { - dispatch (o.label ()); - } +void Domain:: +infoProperty_pre (Type const&) +{ +} - void Interconnect:: - label_none (Type&) - { - } +void Domain:: +infoProperty_next (Type&) +{ +} - void Interconnect:: - label_none (Type const&) - { - } +void Domain:: +infoProperty_next (Type const&) +{ +} - void Interconnect:: - connection (Type& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); +void Domain:: +infoProperty_post (Type&) +{ +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } +void Domain:: +infoProperty_post (Type const&) +{ +} - else connection_none (o); - } +void Domain:: +infoProperty_none (Type&) +{ +} - void Interconnect:: - connection (Type const& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); +void Domain:: +infoProperty_none (Type const&) +{ +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } +void Domain:: +post (Type&) +{ +} - else connection_none (o); - } +void Domain:: +post (Type const&) +{ +} - void Interconnect:: - connection_pre (Type&) - { - } +// Bridge +// +// - void Interconnect:: - connection_pre (Type const&) - { - } +void Bridge:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connect (o); +resource (o); +post (o); +} - void Interconnect:: - connection_next (Type&) - { - } +void Bridge:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connect (o); +resource (o); +post (o); +} - void Interconnect:: - connection_next (Type const&) - { - } +void Bridge:: +pre (Type&) +{ +} - void Interconnect:: - connection_post (Type&) - { - } +void Bridge:: +pre (Type const&) +{ +} - void Interconnect:: - connection_post (Type const&) - { - } +void Bridge:: +name (Type& o) +{ +dispatch (o.name ()); +} - void Interconnect:: - connection_none (Type&) - { - } +void Bridge:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void Interconnect:: - connection_none (Type const&) - { - } +void Bridge:: +label (Type& o) +{ +dispatch (o.label ()); +} - void Interconnect:: - connect (Type& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); +void Bridge:: +label (Type const& o) +{ +dispatch (o.label ()); +} - if (b != e) - { - connect_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connect_next (o); - } - - connect_post (o); - } - } +void Bridge:: +label_none (Type&) +{ +} - void Interconnect:: - connect (Type const& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); +void Bridge:: +label_none (Type const&) +{ +} - if (b != e) - { - connect_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connect_next (o); - } - - connect_post (o); - } - } +void Bridge:: +connect (Type& o) +{ +// VC6 anathema strikes again +// +Bridge::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); - void Interconnect:: - connect_pre (Type&) - { - } +if (b != e) +{ +connect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connect_next (o); +} - void Interconnect:: - connect_pre (Type const&) - { - } +connect_post (o); +} +} - void Interconnect:: - connect_next (Type&) - { - } +void Bridge:: +connect (Type const& o) +{ +// VC6 anathema strikes again +// +Bridge::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); - void Interconnect:: - connect_next (Type const&) - { - } +if (b != e) +{ +connect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connect_next (o); +} - void Interconnect:: - connect_post (Type&) - { - } +connect_post (o); +} +} - void Interconnect:: - connect_post (Type const&) - { - } +void Bridge:: +connect_pre (Type&) +{ +} - void Interconnect:: - resource (Type& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); +void Bridge:: +connect_pre (Type const&) +{ +} - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +void Bridge:: +connect_next (Type&) +{ +} - else resource_none (o); - } +void Bridge:: +connect_next (Type const&) +{ +} - void Interconnect:: - resource (Type const& o) - { - // VC6 anathema strikes again - // - Interconnect::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); +void Bridge:: +connect_post (Type&) +{ +} - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +void Bridge:: +connect_post (Type const&) +{ +} - else resource_none (o); - } +void Bridge:: +resource (Type& o) +{ +// VC6 anathema strikes again +// +Bridge::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); - void Interconnect:: - resource_pre (Type&) - { - } +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} - void Interconnect:: - resource_pre (Type const&) - { - } +resource_post (o); +} - void Interconnect:: - resource_next (Type&) - { - } +else resource_none (o); +} - void Interconnect:: - resource_next (Type const&) - { - } +void Bridge:: +resource (Type const& o) +{ +// VC6 anathema strikes again +// +Bridge::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); - void Interconnect:: - resource_post (Type&) - { - } +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} - void Interconnect:: - resource_post (Type const&) - { - } +resource_post (o); +} - void Interconnect:: - resource_none (Type&) - { - } +else resource_none (o); +} - void Interconnect:: - resource_none (Type const&) - { - } +void Bridge:: +resource_pre (Type&) +{ +} - void Interconnect:: - post (Type&) - { - } +void Bridge:: +resource_pre (Type const&) +{ +} - void Interconnect:: - post (Type const&) - { - } +void Bridge:: +resource_next (Type&) +{ +} - // Node - // - // +void Bridge:: +resource_next (Type const&) +{ +} - void Node:: - traverse (Type& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connection (o); - sharedResource (o); - resource (o); - post (o); - } +void Bridge:: +resource_post (Type&) +{ +} - void Node:: - traverse (Type const& o) - { - pre (o); - name (o); - if (o.label_p ()) label (o); - else label_none (o); - connection (o); - sharedResource (o); - resource (o); - post (o); - } +void Bridge:: +resource_post (Type const&) +{ +} - void Node:: - pre (Type&) - { - } +void Bridge:: +resource_none (Type&) +{ +} - void Node:: - pre (Type const&) - { - } +void Bridge:: +resource_none (Type const&) +{ +} - void Node:: - name (Type& o) - { - dispatch (o.name ()); - } +void Bridge:: +post (Type&) +{ +} - void Node:: - name (Type const& o) - { - dispatch (o.name ()); - } +void Bridge:: +post (Type const&) +{ +} - void Node:: - label (Type& o) - { - dispatch (o.label ()); - } +// Interconnect +// +// - void Node:: - label (Type const& o) - { - dispatch (o.label ()); - } +void Interconnect:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connection (o); +connect (o); +resource (o); +post (o); +} - void Node:: - label_none (Type&) - { - } +void Interconnect:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connection (o); +connect (o); +resource (o); +post (o); +} - void Node:: - label_none (Type const&) - { - } +void Interconnect:: +pre (Type&) +{ +} - void Node:: - connection (Type& o) - { - // VC6 anathema strikes again - // - Node::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); +void Interconnect:: +pre (Type const&) +{ +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } +void Interconnect:: +name (Type& o) +{ +dispatch (o.name ()); +} - else connection_none (o); - } +void Interconnect:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void Node:: - connection (Type const& o) - { - // VC6 anathema strikes again - // - Node::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); +void Interconnect:: +label (Type& o) +{ +dispatch (o.label ()); +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } +void Interconnect:: +label (Type const& o) +{ +dispatch (o.label ()); +} - else connection_none (o); - } +void Interconnect:: +label_none (Type&) +{ +} - void Node:: - connection_pre (Type&) - { - } +void Interconnect:: +label_none (Type const&) +{ +} - void Node:: - connection_pre (Type const&) - { - } +void Interconnect:: +connection (Type& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); - void Node:: - connection_next (Type&) - { - } +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} - void Node:: - connection_next (Type const&) - { - } +connection_post (o); +} - void Node:: - connection_post (Type&) - { - } +else connection_none (o); +} - void Node:: - connection_post (Type const&) - { - } +void Interconnect:: +connection (Type const& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); - void Node:: - connection_none (Type&) - { - } +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} - void Node:: - connection_none (Type const&) - { - } +connection_post (o); +} - void Node:: - sharedResource (Type& o) - { - // VC6 anathema strikes again - // - Node::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); +else connection_none (o); +} - if (b != e) - { - sharedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) sharedResource_next (o); - } - - sharedResource_post (o); - } +void Interconnect:: +connection_pre (Type&) +{ +} - else sharedResource_none (o); - } +void Interconnect:: +connection_pre (Type const&) +{ +} - void Node:: - sharedResource (Type const& o) - { - // VC6 anathema strikes again - // - Node::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); +void Interconnect:: +connection_next (Type&) +{ +} - if (b != e) - { - sharedResource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) sharedResource_next (o); - } - - sharedResource_post (o); - } +void Interconnect:: +connection_next (Type const&) +{ +} - else sharedResource_none (o); - } +void Interconnect:: +connection_post (Type&) +{ +} - void Node:: - sharedResource_pre (Type&) - { - } +void Interconnect:: +connection_post (Type const&) +{ +} - void Node:: - sharedResource_pre (Type const&) - { - } +void Interconnect:: +connection_none (Type&) +{ +} - void Node:: - sharedResource_next (Type&) - { - } +void Interconnect:: +connection_none (Type const&) +{ +} - void Node:: - sharedResource_next (Type const&) - { - } +void Interconnect:: +connect (Type& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); - void Node:: - sharedResource_post (Type&) - { - } +if (b != e) +{ +connect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connect_next (o); +} - void Node:: - sharedResource_post (Type const&) - { - } +connect_post (o); +} +} - void Node:: - sharedResource_none (Type&) - { - } +void Interconnect:: +connect (Type const& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); - void Node:: - sharedResource_none (Type const&) - { - } +if (b != e) +{ +connect_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connect_next (o); +} - void Node:: - resource (Type& o) - { - // VC6 anathema strikes again - // - Node::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); +connect_post (o); +} +} - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +void Interconnect:: +connect_pre (Type&) +{ +} - else resource_none (o); - } +void Interconnect:: +connect_pre (Type const&) +{ +} - void Node:: - resource (Type const& o) - { - // VC6 anathema strikes again - // - Node::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); +void Interconnect:: +connect_next (Type&) +{ +} - if (b != e) - { - resource_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) resource_next (o); - } - - resource_post (o); - } +void Interconnect:: +connect_next (Type const&) +{ +} - else resource_none (o); - } +void Interconnect:: +connect_post (Type&) +{ +} - void Node:: - resource_pre (Type&) - { - } +void Interconnect:: +connect_post (Type const&) +{ +} - void Node:: - resource_pre (Type const&) - { - } +void Interconnect:: +resource (Type& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); - void Node:: - resource_next (Type&) - { - } +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} - void Node:: - resource_next (Type const&) - { - } +resource_post (o); +} - void Node:: - resource_post (Type&) - { - } +else resource_none (o); +} - void Node:: - resource_post (Type const&) - { - } +void Interconnect:: +resource (Type const& o) +{ +// VC6 anathema strikes again +// +Interconnect::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); - void Node:: - resource_none (Type&) - { - } +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} - void Node:: - resource_none (Type const&) - { - } +resource_post (o); +} - void Node:: - post (Type&) - { - } +else resource_none (o); +} - void Node:: - post (Type const&) - { - } +void Interconnect:: +resource_pre (Type&) +{ +} - // SharedResource - // - // +void Interconnect:: +resource_pre (Type const&) +{ +} - void SharedResource:: - traverse (Type& o) - { - pre (o); - name (o); - resourceType (o); - node (o); - property (o); - post (o); - } +void Interconnect:: +resource_next (Type&) +{ +} - void SharedResource:: - traverse (Type const& o) - { - pre (o); - name (o); - resourceType (o); - node (o); - property (o); - post (o); - } +void Interconnect:: +resource_next (Type const&) +{ +} - void SharedResource:: - pre (Type&) - { - } +void Interconnect:: +resource_post (Type&) +{ +} - void SharedResource:: - pre (Type const&) - { - } +void Interconnect:: +resource_post (Type const&) +{ +} - void SharedResource:: - name (Type& o) - { - dispatch (o.name ()); - } +void Interconnect:: +resource_none (Type&) +{ +} - void SharedResource:: - name (Type const& o) - { - dispatch (o.name ()); - } +void Interconnect:: +resource_none (Type const&) +{ +} - void SharedResource:: - resourceType (Type& o) - { - dispatch (o.resourceType ()); - } +void Interconnect:: +post (Type&) +{ +} - void SharedResource:: - resourceType (Type const& o) - { - dispatch (o.resourceType ()); - } +void Interconnect:: +post (Type const&) +{ +} - void SharedResource:: - node (Type& o) - { - dispatch (o.node ()); - } +// Node +// +// - void SharedResource:: - node (Type const& o) - { - dispatch (o.node ()); - } +void Node:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connection (o); +sharedResource (o); +resource (o); +post (o); +} - void SharedResource:: - property (Type& o) - { - dispatch (o.property ()); - } +void Node:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.label_p ()) label (o); +else label_none (o); +connection (o); +sharedResource (o); +resource (o); +post (o); +} - void SharedResource:: - property (Type const& o) - { - dispatch (o.property ()); - } +void Node:: +pre (Type&) +{ +} - void SharedResource:: - post (Type&) - { - } +void Node:: +pre (Type const&) +{ +} - void SharedResource:: - post (Type const&) - { - } - } - } +void Node:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void Node:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void Node:: +label (Type& o) +{ +dispatch (o.label ()); +} + +void Node:: +label (Type const& o) +{ +dispatch (o.label ()); +} + +void Node:: +label_none (Type&) +{ +} + +void Node:: +label_none (Type const&) +{ +} + +void Node:: +connection (Type& o) +{ +// VC6 anathema strikes again +// +Node::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} + +connection_post (o); +} + +else connection_none (o); +} + +void Node:: +connection (Type const& o) +{ +// VC6 anathema strikes again +// +Node::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} + +connection_post (o); +} + +else connection_none (o); +} + +void Node:: +connection_pre (Type&) +{ +} + +void Node:: +connection_pre (Type const&) +{ +} + +void Node:: +connection_next (Type&) +{ +} + +void Node:: +connection_next (Type const&) +{ +} + +void Node:: +connection_post (Type&) +{ +} + +void Node:: +connection_post (Type const&) +{ +} + +void Node:: +connection_none (Type&) +{ +} + +void Node:: +connection_none (Type const&) +{ +} + +void Node:: +sharedResource (Type& o) +{ +// VC6 anathema strikes again +// +Node::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + +if (b != e) +{ +sharedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) sharedResource_next (o); +} + +sharedResource_post (o); +} + +else sharedResource_none (o); +} + +void Node:: +sharedResource (Type const& o) +{ +// VC6 anathema strikes again +// +Node::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + +if (b != e) +{ +sharedResource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) sharedResource_next (o); +} + +sharedResource_post (o); +} + +else sharedResource_none (o); +} + +void Node:: +sharedResource_pre (Type&) +{ +} + +void Node:: +sharedResource_pre (Type const&) +{ +} + +void Node:: +sharedResource_next (Type&) +{ +} + +void Node:: +sharedResource_next (Type const&) +{ +} + +void Node:: +sharedResource_post (Type&) +{ +} + +void Node:: +sharedResource_post (Type const&) +{ +} + +void Node:: +sharedResource_none (Type&) +{ +} + +void Node:: +sharedResource_none (Type const&) +{ +} + +void Node:: +resource (Type& o) +{ +// VC6 anathema strikes again +// +Node::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); + +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} + +resource_post (o); +} + +else resource_none (o); +} + +void Node:: +resource (Type const& o) +{ +// VC6 anathema strikes again +// +Node::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); + +if (b != e) +{ +resource_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) resource_next (o); +} + +resource_post (o); +} + +else resource_none (o); +} + +void Node:: +resource_pre (Type&) +{ +} + +void Node:: +resource_pre (Type const&) +{ +} + +void Node:: +resource_next (Type&) +{ +} + +void Node:: +resource_next (Type const&) +{ +} + +void Node:: +resource_post (Type&) +{ +} + +void Node:: +resource_post (Type const&) +{ +} + +void Node:: +resource_none (Type&) +{ +} + +void Node:: +resource_none (Type const&) +{ +} + +void Node:: +post (Type&) +{ +} + +void Node:: +post (Type const&) +{ +} + +// SharedResource +// +// + +void SharedResource:: +traverse (Type& o) +{ +pre (o); +name (o); +resourceType (o); +node (o); +property (o); +post (o); +} + +void SharedResource:: +traverse (Type const& o) +{ +pre (o); +name (o); +resourceType (o); +node (o); +property (o); +post (o); +} + +void SharedResource:: +pre (Type&) +{ +} + +void SharedResource:: +pre (Type const&) +{ +} + +void SharedResource:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void SharedResource:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void SharedResource:: +resourceType (Type& o) +{ +dispatch (o.resourceType ()); +} + +void SharedResource:: +resourceType (Type const& o) +{ +dispatch (o.resourceType ()); +} + +void SharedResource:: +node (Type& o) +{ +dispatch (o.node ()); +} + +void SharedResource:: +node (Type const& o) +{ +dispatch (o.node ()); +} + +void SharedResource:: +property (Type& o) +{ +dispatch (o.property ()); +} + +void SharedResource:: +property (Type const& o) +{ +dispatch (o.property ()); +} + +void SharedResource:: +post (Type&) +{ +} + +void SharedResource:: +post (Type const&) +{ +} +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - // Domain - // - // +namespace Config_Handlers +{ +namespace Writer +{ +// Domain +// +// - Domain:: - Domain (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +Domain:: +Domain (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - Domain:: - Domain () - { - } +Domain:: +Domain () +{ +} - void Domain:: - traverse (Type const& o) - { - Traversal::Domain::traverse (o); - } +void Domain:: +traverse (Type const& o) +{ +Traversal::Domain::traverse (o); +} - void Domain:: - UUID (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); - Traversal::Domain::UUID (o); - pop_ (); - } +void Domain:: +UUID (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); +Traversal::Domain::UUID (o); +pop_ (); +} - void Domain:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::Domain::label (o); - pop_ (); - } +void Domain:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::Domain::label (o); +pop_ (); +} - void Domain:: - node_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); - } +void Domain:: +node_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); +} - void Domain:: - node_next (Type const& o) - { - node_post (o); - node_pre (o); - } +void Domain:: +node_next (Type const& o) +{ +node_post (o); +node_pre (o); +} - void Domain:: - node_post (Type const&) - { - pop_ (); - } +void Domain:: +node_post (Type const&) +{ +pop_ (); +} - void Domain:: - interconnect (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("interconnect", top_ ())); - Traversal::Domain::interconnect (o); - pop_ (); - } +void Domain:: +interconnect_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("interconnect", top_ ())); +} - void Domain:: - bridge (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("bridge", top_ ())); - Traversal::Domain::bridge (o); - pop_ (); - } +void Domain:: +interconnect_next (Type const& o) +{ +interconnect_post (o); +interconnect_pre (o); +} - void Domain:: - sharedResource (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); - Traversal::Domain::sharedResource (o); - pop_ (); - } +void Domain:: +interconnect_post (Type const&) +{ +pop_ (); +} - void Domain:: - infoProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); - Traversal::Domain::infoProperty (o); - pop_ (); - } +void Domain:: +bridge_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("bridge", top_ ())); +} - // Bridge - // - // +void Domain:: +bridge_next (Type const& o) +{ +bridge_post (o); +bridge_pre (o); +} - Bridge:: - Bridge (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Domain:: +bridge_post (Type const&) +{ +pop_ (); +} - Bridge:: - Bridge () - { - } +void Domain:: +sharedResource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); +} - void Bridge:: - traverse (Type const& o) - { - Traversal::Bridge::traverse (o); - } +void Domain:: +sharedResource_next (Type const& o) +{ +sharedResource_post (o); +sharedResource_pre (o); +} - void Bridge:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Bridge::name (o); - pop_ (); - } +void Domain:: +sharedResource_post (Type const&) +{ +pop_ (); +} - void Bridge:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::Bridge::label (o); - pop_ (); - } +void Domain:: +infoProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); +} - void Bridge:: - connect_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); - } +void Domain:: +infoProperty_next (Type const& o) +{ +infoProperty_post (o); +infoProperty_pre (o); +} - void Bridge:: - connect_next (Type const& o) - { - connect_post (o); - connect_pre (o); - } +void Domain:: +infoProperty_post (Type const&) +{ +pop_ (); +} - void Bridge:: - connect_post (Type const&) - { - pop_ (); - } +// Bridge +// +// - void Bridge:: - resource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); - } +Bridge:: +Bridge (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void Bridge:: - resource_next (Type const& o) - { - resource_post (o); - resource_pre (o); - } +Bridge:: +Bridge () +{ +} - void Bridge:: - resource_post (Type const&) - { - pop_ (); - } +void Bridge:: +traverse (Type const& o) +{ +Traversal::Bridge::traverse (o); +} - // Interconnect - // - // +void Bridge:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Bridge::name (o); +pop_ (); +} - Interconnect:: - Interconnect (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Bridge:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::Bridge::label (o); +pop_ (); +} - Interconnect:: - Interconnect () - { - } +void Bridge:: +connect_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); +} - void Interconnect:: - traverse (Type const& o) - { - Traversal::Interconnect::traverse (o); - } +void Bridge:: +connect_next (Type const& o) +{ +connect_post (o); +connect_pre (o); +} - void Interconnect:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Interconnect::name (o); - pop_ (); - } +void Bridge:: +connect_post (Type const&) +{ +pop_ (); +} - void Interconnect:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::Interconnect::label (o); - pop_ (); - } +void Bridge:: +resource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); +} - void Interconnect:: - connection_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); - } +void Bridge:: +resource_next (Type const& o) +{ +resource_post (o); +resource_pre (o); +} - void Interconnect:: - connection_next (Type const& o) - { - connection_post (o); - connection_pre (o); - } +void Bridge:: +resource_post (Type const&) +{ +pop_ (); +} - void Interconnect:: - connection_post (Type const&) - { - pop_ (); - } +// Interconnect +// +// - void Interconnect:: - connect_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); - } +Interconnect:: +Interconnect (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void Interconnect:: - connect_next (Type const& o) - { - connect_post (o); - connect_pre (o); - } +Interconnect:: +Interconnect () +{ +} - void Interconnect:: - connect_post (Type const&) - { - pop_ (); - } +void Interconnect:: +traverse (Type const& o) +{ +Traversal::Interconnect::traverse (o); +} - void Interconnect:: - resource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); - } +void Interconnect:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Interconnect::name (o); +pop_ (); +} - void Interconnect:: - resource_next (Type const& o) - { - resource_post (o); - resource_pre (o); - } +void Interconnect:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::Interconnect::label (o); +pop_ (); +} - void Interconnect:: - resource_post (Type const&) - { - pop_ (); - } +void Interconnect:: +connection_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); +} - // Node - // - // +void Interconnect:: +connection_next (Type const& o) +{ +connection_post (o); +connection_pre (o); +} - Node:: - Node (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Interconnect:: +connection_post (Type const&) +{ +pop_ (); +} - Node:: - Node () - { - } +void Interconnect:: +connect_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); +} - void Node:: - traverse (Type const& o) - { - Traversal::Node::traverse (o); - } +void Interconnect:: +connect_next (Type const& o) +{ +connect_post (o); +connect_pre (o); +} - void Node:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::Node::name (o); - pop_ (); - } +void Interconnect:: +connect_post (Type const&) +{ +pop_ (); +} - void Node:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::Node::label (o); - pop_ (); - } +void Interconnect:: +resource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); +} - void Node:: - connection_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); - } +void Interconnect:: +resource_next (Type const& o) +{ +resource_post (o); +resource_pre (o); +} - void Node:: - connection_next (Type const& o) - { - connection_post (o); - connection_pre (o); - } +void Interconnect:: +resource_post (Type const&) +{ +pop_ (); +} - void Node:: - connection_post (Type const&) - { - pop_ (); - } +// Node +// +// - void Node:: - sharedResource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); - } +Node:: +Node (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void Node:: - sharedResource_next (Type const& o) - { - sharedResource_post (o); - sharedResource_pre (o); - } +Node:: +Node () +{ +} - void Node:: - sharedResource_post (Type const&) - { - pop_ (); - } +void Node:: +traverse (Type const& o) +{ +Traversal::Node::traverse (o); +} - void Node:: - resource_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); - } +void Node:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::Node::name (o); +pop_ (); +} - void Node:: - resource_next (Type const& o) - { - resource_post (o); - resource_pre (o); - } +void Node:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::Node::label (o); +pop_ (); +} - void Node:: - resource_post (Type const&) - { - pop_ (); - } +void Node:: +connection_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); +} - // SharedResource - // - // +void Node:: +connection_next (Type const& o) +{ +connection_post (o); +connection_pre (o); +} - SharedResource:: - SharedResource (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void Node:: +connection_post (Type const&) +{ +pop_ (); +} - SharedResource:: - SharedResource () - { - } +void Node:: +sharedResource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); +} - void SharedResource:: - traverse (Type const& o) - { - Traversal::SharedResource::traverse (o); - } +void Node:: +sharedResource_next (Type const& o) +{ +sharedResource_post (o); +sharedResource_pre (o); +} - void SharedResource:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::SharedResource::name (o); - pop_ (); - } +void Node:: +sharedResource_post (Type const&) +{ +pop_ (); +} - void SharedResource:: - resourceType (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); - Traversal::SharedResource::resourceType (o); - pop_ (); - } +void Node:: +resource_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); +} - void SharedResource:: - node (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); - Traversal::SharedResource::node (o); - pop_ (); - } +void Node:: +resource_next (Type const& o) +{ +resource_post (o); +resource_pre (o); +} - void SharedResource:: - property (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); - Traversal::SharedResource::property (o); - pop_ (); - } - } - } +void Node:: +resource_post (Type const&) +{ +pop_ (); +} + +// SharedResource +// +// + +SharedResource:: +SharedResource (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +SharedResource:: +SharedResource () +{ +} + +void SharedResource:: +traverse (Type const& o) +{ +Traversal::SharedResource::traverse (o); +} + +void SharedResource:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::SharedResource::name (o); +pop_ (); +} + +void SharedResource:: +resourceType (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); +Traversal::SharedResource::resourceType (o); +pop_ (); +} + +void SharedResource:: +node (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); +Traversal::SharedResource::node (o); +pop_ (); +} + +void SharedResource:: +property (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); +Traversal::SharedResource::property (o); +pop_ (); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } diff --git a/TAO/CIAO/tools/Config_Handlers/cdd.hpp b/TAO/CIAO/tools/Config_Handlers/cdd.hpp index 27ea37d4160..71627524e09 100644 --- a/TAO/CIAO/tools/Config_Handlers/cdd.hpp +++ b/TAO/CIAO/tools/Config_Handlers/cdd.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -20,7 +20,6 @@ #endif #include "XSC_XML_Handlers_Export.h" - #ifndef CDD_HPP #define CDD_HPP @@ -28,14 +27,14 @@ // namespace CIAO { - namespace Config_Handlers - { - class Domain; - class Bridge; - class Interconnect; - class Node; - class SharedResource; - } +namespace Config_Handlers +{ +class Domain; +class Bridge; +class Interconnect; +class Node; +class SharedResource; +} } #include <memory> @@ -46,1501 +45,1694 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export Domain : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // node - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator node_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator node_const_iterator; - node_iterator begin_node (); - node_iterator end_node (); - node_const_iterator begin_node () const; - node_const_iterator end_node () const; - void add_node (::CIAO::Config_Handlers::Node const& ); - size_t count_node (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Node > node_; - - // interconnect - // - public: - ::CIAO::Config_Handlers::Interconnect const& interconnect () const; - void interconnect (::CIAO::Config_Handlers::Interconnect const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Interconnect > interconnect_; - - // bridge - // - public: - ::CIAO::Config_Handlers::Bridge const& bridge () const; - void bridge (::CIAO::Config_Handlers::Bridge const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Bridge > bridge_; - - // sharedResource - // - public: - bool sharedResource_p () const; - ::CIAO::Config_Handlers::SharedResource const& sharedResource () const; - void sharedResource (::CIAO::Config_Handlers::SharedResource const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SharedResource > sharedResource_; - - // infoProperty - // - public: - bool infoProperty_p () const; - ::CIAO::Config_Handlers::Property const& infoProperty () const; - void infoProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > infoProperty_; - - public: - Domain (::CIAO::Config_Handlers::Interconnect const& interconnect__, - ::CIAO::Config_Handlers::Bridge const& bridge__); - - Domain (::XSCRT::XML::Element< ACE_TCHAR > const&); - Domain (Domain const& s); - - Domain& - operator= (Domain const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Bridge : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // connect - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connect_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connect_const_iterator; - connect_iterator begin_connect (); - connect_iterator end_connect (); - connect_const_iterator begin_connect () const; - connect_const_iterator end_connect () const; - void add_connect (::CIAO::Config_Handlers::Interconnect const& ); - size_t count_connect (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Interconnect > connect_; - - // resource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; - resource_iterator begin_resource (); - resource_iterator end_resource (); - resource_const_iterator begin_resource () const; - resource_const_iterator end_resource () const; - void add_resource (::CIAO::Config_Handlers::Resource const& ); - size_t count_resource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Resource > resource_; - - public: - Bridge (::XMLSchema::string< ACE_TCHAR > const& name__); - - Bridge (::XSCRT::XML::Element< ACE_TCHAR > const&); - Bridge (Bridge const& s); - - Bridge& - operator= (Bridge const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Interconnect : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // connection - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator connection_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator connection_const_iterator; - connection_iterator begin_connection (); - connection_iterator end_connection (); - connection_const_iterator begin_connection () const; - connection_const_iterator end_connection () const; - void add_connection (::CIAO::Config_Handlers::Bridge const& ); - size_t count_connection (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Bridge > connection_; - - // connect - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator connect_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator connect_const_iterator; - connect_iterator begin_connect (); - connect_iterator end_connect (); - connect_const_iterator begin_connect () const; - connect_const_iterator end_connect () const; - void add_connect (::CIAO::Config_Handlers::Node const& ); - size_t count_connect (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Node > connect_; - - // resource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; - resource_iterator begin_resource (); - resource_iterator end_resource (); - resource_const_iterator begin_resource () const; - resource_const_iterator end_resource () const; - void add_resource (::CIAO::Config_Handlers::Resource const& ); - size_t count_resource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Resource > resource_; - - public: - Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__); - - Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const&); - Interconnect (Interconnect const& s); - - Interconnect& - operator= (Interconnect const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export Node : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // connection - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connection_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connection_const_iterator; - connection_iterator begin_connection (); - connection_iterator end_connection (); - connection_const_iterator begin_connection () const; - connection_const_iterator end_connection () const; - void add_connection (::CIAO::Config_Handlers::Interconnect const& ); - size_t count_connection (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Interconnect > connection_; - - // sharedResource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; - sharedResource_iterator begin_sharedResource (); - sharedResource_iterator end_sharedResource (); - sharedResource_const_iterator begin_sharedResource () const; - sharedResource_const_iterator end_sharedResource () const; - void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); - size_t count_sharedResource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; - - // resource - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; - resource_iterator begin_resource (); - resource_iterator end_resource (); - resource_const_iterator begin_resource () const; - resource_const_iterator end_resource () const; - void add_resource (::CIAO::Config_Handlers::Resource const& ); - size_t count_resource (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Resource > resource_; - - public: - Node (::XMLSchema::string< ACE_TCHAR > const& name__); - - Node (::XSCRT::XML::Element< ACE_TCHAR > const&); - Node (Node const& s); - - Node& - operator= (Node const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export SharedResource : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // resourceType - // - public: - ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; - void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - - // node - // - public: - ::CIAO::Config_Handlers::Node const& node () const; - void node (::CIAO::Config_Handlers::Node const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Node > node_; - - // property - // - public: - ::CIAO::Config_Handlers::SatisfierProperty const& property () const; - void property (::CIAO::Config_Handlers::SatisfierProperty const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > property_; - - public: - SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& resourceType__, - ::CIAO::Config_Handlers::Node const& node__, - ::CIAO::Config_Handlers::SatisfierProperty const& property__); - - SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const&); - SharedResource (SharedResource const& s); - - SharedResource& - operator= (SharedResource const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export Domain : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// node +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator node_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator node_const_iterator; +node_iterator begin_node (); +node_iterator end_node (); +node_const_iterator begin_node () const; +node_const_iterator end_node () const; +void add_node (::CIAO::Config_Handlers::Node const& ); +size_t count_node (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Node > node_; + +// interconnect +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator interconnect_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator interconnect_const_iterator; +interconnect_iterator begin_interconnect (); +interconnect_iterator end_interconnect (); +interconnect_const_iterator begin_interconnect () const; +interconnect_const_iterator end_interconnect () const; +void add_interconnect (::CIAO::Config_Handlers::Interconnect const& ); +size_t count_interconnect (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Interconnect > interconnect_; + +// bridge +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator bridge_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator bridge_const_iterator; +bridge_iterator begin_bridge (); +bridge_iterator end_bridge (); +bridge_const_iterator begin_bridge () const; +bridge_const_iterator end_bridge () const; +void add_bridge (::CIAO::Config_Handlers::Bridge const& ); +size_t count_bridge (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Bridge > bridge_; + +// sharedResource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; +sharedResource_iterator begin_sharedResource (); +sharedResource_iterator end_sharedResource (); +sharedResource_const_iterator begin_sharedResource () const; +sharedResource_const_iterator end_sharedResource () const; +void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); +size_t count_sharedResource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +public: +Domain (); + +Domain (::XSCRT::XML::Element< ACE_TCHAR > const&); +Domain (Domain const& s); + +Domain& +operator= (Domain const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export Bridge : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// connect +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connect_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connect_const_iterator; +connect_iterator begin_connect (); +connect_iterator end_connect (); +connect_const_iterator begin_connect () const; +connect_const_iterator end_connect () const; +void add_connect (::CIAO::Config_Handlers::Interconnect const& ); +size_t count_connect (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Interconnect > connect_; + +// resource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; +resource_iterator begin_resource (); +resource_iterator end_resource (); +resource_const_iterator begin_resource () const; +resource_const_iterator end_resource () const; +void add_resource (::CIAO::Config_Handlers::Resource const& ); +size_t count_resource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Resource > resource_; + +public: +Bridge (::XMLSchema::string< ACE_TCHAR > const& name__); + +Bridge (::XSCRT::XML::Element< ACE_TCHAR > const&); +Bridge (Bridge const& s); + +Bridge& +operator= (Bridge const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export Interconnect : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// connection +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator connection_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator connection_const_iterator; +connection_iterator begin_connection (); +connection_iterator end_connection (); +connection_const_iterator begin_connection () const; +connection_const_iterator end_connection () const; +void add_connection (::CIAO::Config_Handlers::Bridge const& ); +size_t count_connection (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Bridge > connection_; + +// connect +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator connect_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator connect_const_iterator; +connect_iterator begin_connect (); +connect_iterator end_connect (); +connect_const_iterator begin_connect () const; +connect_const_iterator end_connect () const; +void add_connect (::CIAO::Config_Handlers::Node const& ); +size_t count_connect (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Node > connect_; + +// resource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; +resource_iterator begin_resource (); +resource_iterator end_resource (); +resource_const_iterator begin_resource () const; +resource_const_iterator end_resource () const; +void add_resource (::CIAO::Config_Handlers::Resource const& ); +size_t count_resource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Resource > resource_; + +public: +Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__); + +Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const&); +Interconnect (Interconnect const& s); + +Interconnect& +operator= (Interconnect const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export Node : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// connection +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connection_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connection_const_iterator; +connection_iterator begin_connection (); +connection_iterator end_connection (); +connection_const_iterator begin_connection () const; +connection_const_iterator end_connection () const; +void add_connection (::CIAO::Config_Handlers::Interconnect const& ); +size_t count_connection (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Interconnect > connection_; + +// sharedResource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; +sharedResource_iterator begin_sharedResource (); +sharedResource_iterator end_sharedResource (); +sharedResource_const_iterator begin_sharedResource () const; +sharedResource_const_iterator end_sharedResource () const; +void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); +size_t count_sharedResource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; + +// resource +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; +resource_iterator begin_resource (); +resource_iterator end_resource (); +resource_const_iterator begin_resource () const; +resource_const_iterator end_resource () const; +void add_resource (::CIAO::Config_Handlers::Resource const& ); +size_t count_resource (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Resource > resource_; + +public: +Node (::XMLSchema::string< ACE_TCHAR > const& name__); + +Node (::XSCRT::XML::Element< ACE_TCHAR > const&); +Node (Node const& s); + +Node& +operator= (Node const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export SharedResource : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// resourceType +// +public: +::XMLSchema::string< ACE_TCHAR > const& resourceType () const; +void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + +// node +// +public: +::CIAO::Config_Handlers::Node const& node () const; +void node (::CIAO::Config_Handlers::Node const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::Node > node_; + +// property +// +public: +::CIAO::Config_Handlers::SatisfierProperty const& property () const; +void property (::CIAO::Config_Handlers::SatisfierProperty const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > property_; + +public: +SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& resourceType__, +::CIAO::Config_Handlers::Node const& node__, +::CIAO::Config_Handlers::SatisfierProperty const& property__); + +SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const&); +SharedResource (SharedResource const& s); + +SharedResource& +operator= (SharedResource const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export Domain : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Domain > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export Domain : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Domain > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +UUID (Type&); + +virtual void +UUID (Type const&); + +virtual void +UUID_none (Type&); + +virtual void +UUID_none (Type const&); + +virtual void +label (Type&); + +virtual void +label (Type const&); - virtual void - traverse (Type const&); +virtual void +label_none (Type&); - virtual void - pre (Type&); +virtual void +label_none (Type const&); - virtual void - pre (Type const&); +virtual void +node (Type&); - virtual void - UUID (Type&); +virtual void +node (Type const&); - virtual void - UUID (Type const&); +virtual void +node_pre (Type&); - virtual void - UUID_none (Type&); +virtual void +node_pre (Type const&); - virtual void - UUID_none (Type const&); +virtual void +node_next (Type&); - virtual void - label (Type&); +virtual void +node_next (Type const&); - virtual void - label (Type const&); +virtual void +node_post (Type&); - virtual void - label_none (Type&); +virtual void +node_post (Type const&); - virtual void - label_none (Type const&); +virtual void +interconnect (Type&); - virtual void - node (Type&); +virtual void +interconnect (Type const&); - virtual void - node (Type const&); +virtual void +interconnect_pre (Type&); - virtual void - node_pre (Type&); +virtual void +interconnect_pre (Type const&); - virtual void - node_pre (Type const&); +virtual void +interconnect_next (Type&); - virtual void - node_next (Type&); +virtual void +interconnect_next (Type const&); - virtual void - node_next (Type const&); +virtual void +interconnect_post (Type&); - virtual void - node_post (Type&); +virtual void +interconnect_post (Type const&); - virtual void - node_post (Type const&); +virtual void +interconnect_none (Type&); - virtual void - interconnect (Type&); +virtual void +interconnect_none (Type const&); - virtual void - interconnect (Type const&); +virtual void +bridge (Type&); - virtual void - bridge (Type&); +virtual void +bridge (Type const&); - virtual void - bridge (Type const&); +virtual void +bridge_pre (Type&); - virtual void - sharedResource (Type&); +virtual void +bridge_pre (Type const&); - virtual void - sharedResource (Type const&); +virtual void +bridge_next (Type&); - virtual void - sharedResource_none (Type&); +virtual void +bridge_next (Type const&); - virtual void - sharedResource_none (Type const&); +virtual void +bridge_post (Type&); - virtual void - infoProperty (Type&); +virtual void +bridge_post (Type const&); - virtual void - infoProperty (Type const&); +virtual void +bridge_none (Type&); - virtual void - infoProperty_none (Type&); +virtual void +bridge_none (Type const&); - virtual void - infoProperty_none (Type const&); +virtual void +sharedResource (Type&); - virtual void - post (Type&); +virtual void +sharedResource (Type const&); - virtual void - post (Type const&); - }; +virtual void +sharedResource_pre (Type&); - struct XSC_XML_Handlers_Export Bridge : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Bridge > - { - virtual void - traverse (Type&); +virtual void +sharedResource_pre (Type const&); - virtual void - traverse (Type const&); +virtual void +sharedResource_next (Type&); - virtual void - pre (Type&); +virtual void +sharedResource_next (Type const&); - virtual void - pre (Type const&); +virtual void +sharedResource_post (Type&); - virtual void - name (Type&); +virtual void +sharedResource_post (Type const&); - virtual void - name (Type const&); +virtual void +sharedResource_none (Type&); - virtual void - label (Type&); +virtual void +sharedResource_none (Type const&); - virtual void - label (Type const&); +virtual void +infoProperty (Type&); - virtual void - label_none (Type&); +virtual void +infoProperty (Type const&); - virtual void - label_none (Type const&); +virtual void +infoProperty_pre (Type&); - virtual void - connect (Type&); +virtual void +infoProperty_pre (Type const&); - virtual void - connect (Type const&); +virtual void +infoProperty_next (Type&); - virtual void - connect_pre (Type&); +virtual void +infoProperty_next (Type const&); - virtual void - connect_pre (Type const&); +virtual void +infoProperty_post (Type&); - virtual void - connect_next (Type&); +virtual void +infoProperty_post (Type const&); - virtual void - connect_next (Type const&); +virtual void +infoProperty_none (Type&); - virtual void - connect_post (Type&); +virtual void +infoProperty_none (Type const&); - virtual void - connect_post (Type const&); +virtual void +post (Type&); - virtual void - resource (Type&); +virtual void +post (Type const&); +}; - virtual void - resource (Type const&); +struct XSC_XML_Handlers_Export Bridge : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Bridge > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +name (Type&); + +virtual void +name (Type const&); + +virtual void +label (Type&); + +virtual void +label (Type const&); + +virtual void +label_none (Type&); + +virtual void +label_none (Type const&); + +virtual void +connect (Type&); + +virtual void +connect (Type const&); + +virtual void +connect_pre (Type&); + +virtual void +connect_pre (Type const&); + +virtual void +connect_next (Type&); + +virtual void +connect_next (Type const&); + +virtual void +connect_post (Type&); + +virtual void +connect_post (Type const&); - virtual void - resource_pre (Type&); +virtual void +resource (Type&); - virtual void - resource_pre (Type const&); +virtual void +resource (Type const&); - virtual void - resource_next (Type&); +virtual void +resource_pre (Type&); - virtual void - resource_next (Type const&); +virtual void +resource_pre (Type const&); - virtual void - resource_post (Type&); +virtual void +resource_next (Type&); - virtual void - resource_post (Type const&); +virtual void +resource_next (Type const&); - virtual void - resource_none (Type&); +virtual void +resource_post (Type&); - virtual void - resource_none (Type const&); +virtual void +resource_post (Type const&); - virtual void - post (Type&); +virtual void +resource_none (Type&); - virtual void - post (Type const&); - }; +virtual void +resource_none (Type const&); - struct XSC_XML_Handlers_Export Interconnect : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Interconnect > - { - virtual void - traverse (Type&); +virtual void +post (Type&); - virtual void - traverse (Type const&); +virtual void +post (Type const&); +}; - virtual void - pre (Type&); +struct XSC_XML_Handlers_Export Interconnect : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Interconnect > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); - virtual void - pre (Type const&); +virtual void +pre (Type&); - virtual void - name (Type&); +virtual void +pre (Type const&); - virtual void - name (Type const&); +virtual void +name (Type&); - virtual void - label (Type&); +virtual void +name (Type const&); - virtual void - label (Type const&); +virtual void +label (Type&); - virtual void - label_none (Type&); +virtual void +label (Type const&); - virtual void - label_none (Type const&); +virtual void +label_none (Type&); - virtual void - connection (Type&); +virtual void +label_none (Type const&); - virtual void - connection (Type const&); +virtual void +connection (Type&); - virtual void - connection_pre (Type&); +virtual void +connection (Type const&); - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type&); - virtual void - connection_next (Type&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type const&); +virtual void +connection_next (Type&); - virtual void - connection_post (Type&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type const&); +virtual void +connection_post (Type&); - virtual void - connection_none (Type&); +virtual void +connection_post (Type const&); - virtual void - connection_none (Type const&); +virtual void +connection_none (Type&); - virtual void - connect (Type&); +virtual void +connection_none (Type const&); - virtual void - connect (Type const&); +virtual void +connect (Type&); - virtual void - connect_pre (Type&); +virtual void +connect (Type const&); - virtual void - connect_pre (Type const&); +virtual void +connect_pre (Type&); - virtual void - connect_next (Type&); +virtual void +connect_pre (Type const&); - virtual void - connect_next (Type const&); +virtual void +connect_next (Type&); - virtual void - connect_post (Type&); +virtual void +connect_next (Type const&); - virtual void - connect_post (Type const&); +virtual void +connect_post (Type&); - virtual void - resource (Type&); +virtual void +connect_post (Type const&); - virtual void - resource (Type const&); +virtual void +resource (Type&); - virtual void - resource_pre (Type&); +virtual void +resource (Type const&); - virtual void - resource_pre (Type const&); +virtual void +resource_pre (Type&); - virtual void - resource_next (Type&); +virtual void +resource_pre (Type const&); - virtual void - resource_next (Type const&); +virtual void +resource_next (Type&); - virtual void - resource_post (Type&); +virtual void +resource_next (Type const&); - virtual void - resource_post (Type const&); +virtual void +resource_post (Type&); - virtual void - resource_none (Type&); +virtual void +resource_post (Type const&); - virtual void - resource_none (Type const&); +virtual void +resource_none (Type&); - virtual void - post (Type&); +virtual void +resource_none (Type const&); - virtual void - post (Type const&); - }; +virtual void +post (Type&); - struct XSC_XML_Handlers_Export Node : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Node > - { - virtual void - traverse (Type&); +virtual void +post (Type const&); +}; - virtual void - traverse (Type const&); +struct XSC_XML_Handlers_Export Node : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Node > +{ +virtual void +traverse (Type&); - virtual void - pre (Type&); +virtual void +traverse (Type const&); - virtual void - pre (Type const&); +virtual void +pre (Type&); - virtual void - name (Type&); +virtual void +pre (Type const&); - virtual void - name (Type const&); +virtual void +name (Type&); - virtual void - label (Type&); +virtual void +name (Type const&); - virtual void - label (Type const&); +virtual void +label (Type&); - virtual void - label_none (Type&); +virtual void +label (Type const&); - virtual void - label_none (Type const&); +virtual void +label_none (Type&); - virtual void - connection (Type&); +virtual void +label_none (Type const&); - virtual void - connection (Type const&); +virtual void +connection (Type&); - virtual void - connection_pre (Type&); +virtual void +connection (Type const&); - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type&); - virtual void - connection_next (Type&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type const&); +virtual void +connection_next (Type&); - virtual void - connection_post (Type&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type const&); +virtual void +connection_post (Type&); - virtual void - connection_none (Type&); +virtual void +connection_post (Type const&); - virtual void - connection_none (Type const&); +virtual void +connection_none (Type&); - virtual void - sharedResource (Type&); +virtual void +connection_none (Type const&); - virtual void - sharedResource (Type const&); +virtual void +sharedResource (Type&); - virtual void - sharedResource_pre (Type&); +virtual void +sharedResource (Type const&); - virtual void - sharedResource_pre (Type const&); +virtual void +sharedResource_pre (Type&); - virtual void - sharedResource_next (Type&); +virtual void +sharedResource_pre (Type const&); - virtual void - sharedResource_next (Type const&); +virtual void +sharedResource_next (Type&); - virtual void - sharedResource_post (Type&); +virtual void +sharedResource_next (Type const&); - virtual void - sharedResource_post (Type const&); +virtual void +sharedResource_post (Type&); - virtual void - sharedResource_none (Type&); +virtual void +sharedResource_post (Type const&); - virtual void - sharedResource_none (Type const&); +virtual void +sharedResource_none (Type&); - virtual void - resource (Type&); +virtual void +sharedResource_none (Type const&); - virtual void - resource (Type const&); +virtual void +resource (Type&); - virtual void - resource_pre (Type&); +virtual void +resource (Type const&); - virtual void - resource_pre (Type const&); +virtual void +resource_pre (Type&); - virtual void - resource_next (Type&); +virtual void +resource_pre (Type const&); - virtual void - resource_next (Type const&); +virtual void +resource_next (Type&); - virtual void - resource_post (Type&); +virtual void +resource_next (Type const&); - virtual void - resource_post (Type const&); +virtual void +resource_post (Type&); - virtual void - resource_none (Type&); +virtual void +resource_post (Type const&); - virtual void - resource_none (Type const&); +virtual void +resource_none (Type&); - virtual void - post (Type&); +virtual void +resource_none (Type const&); - virtual void - post (Type const&); - }; +virtual void +post (Type&); - struct XSC_XML_Handlers_Export SharedResource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SharedResource > - { - virtual void - traverse (Type&); +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export SharedResource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SharedResource > +{ +virtual void +traverse (Type&); - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - pre (Type&); +virtual void +pre (Type&); - virtual void - pre (Type const&); +virtual void +pre (Type const&); - virtual void - name (Type&); +virtual void +name (Type&); - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - resourceType (Type&); +virtual void +resourceType (Type&); - virtual void - resourceType (Type const&); +virtual void +resourceType (Type const&); - virtual void - node (Type&); +virtual void +node (Type&); - virtual void - node (Type const&); +virtual void +node (Type const&); - virtual void - property (Type&); +virtual void +property (Type&); - virtual void - property (Type const&); +virtual void +property (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct Domain : Traversal::Domain, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Domain Type; - Domain (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct Domain : Traversal::Domain, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Domain Type; +Domain (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - UUID (Type &o) - { +virtual void +UUID (Type &o) +{ - this->UUID (const_cast <Type const &> (o)); - } +this->UUID (const_cast <Type const &> (o)); +} - virtual void - UUID (Type const&); +virtual void +UUID (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - node_pre (Type &o) - { +virtual void +node_pre (Type &o) +{ - this->node_pre (const_cast <Type const &> (o)); - } +this->node_pre (const_cast <Type const &> (o)); +} - virtual void - node_pre (Type const&); +virtual void +node_pre (Type const&); - virtual void - node_next (Type &o) - { +virtual void +node_next (Type &o) +{ + +this->node_next (const_cast <Type const &> (o)); +} + + +virtual void +node_next (Type const&); + +virtual void +node_post (Type &o) +{ + +this->node_post (const_cast <Type const &> (o)); +} + + +virtual void +node_post (Type const&); + +virtual void +interconnect_pre (Type &o) +{ + +this->interconnect_pre (const_cast <Type const &> (o)); +} + + +virtual void +interconnect_pre (Type const&); + +virtual void +interconnect_next (Type &o) +{ + +this->interconnect_next (const_cast <Type const &> (o)); +} + + +virtual void +interconnect_next (Type const&); + +virtual void +interconnect_post (Type &o) +{ + +this->interconnect_post (const_cast <Type const &> (o)); +} + + +virtual void +interconnect_post (Type const&); + +virtual void +bridge_pre (Type &o) +{ + +this->bridge_pre (const_cast <Type const &> (o)); +} + + +virtual void +bridge_pre (Type const&); + +virtual void +bridge_next (Type &o) +{ + +this->bridge_next (const_cast <Type const &> (o)); +} + + +virtual void +bridge_next (Type const&); + +virtual void +bridge_post (Type &o) +{ + +this->bridge_post (const_cast <Type const &> (o)); +} - this->node_next (const_cast <Type const &> (o)); - } +virtual void +bridge_post (Type const&); - virtual void - node_next (Type const&); +virtual void +sharedResource_pre (Type &o) +{ - virtual void - node_post (Type &o) - { +this->sharedResource_pre (const_cast <Type const &> (o)); +} - this->node_post (const_cast <Type const &> (o)); - } +virtual void +sharedResource_pre (Type const&); - virtual void - node_post (Type const&); +virtual void +sharedResource_next (Type &o) +{ + +this->sharedResource_next (const_cast <Type const &> (o)); +} - virtual void - interconnect (Type &o) - { - this->interconnect (const_cast <Type const &> (o)); - } +virtual void +sharedResource_next (Type const&); + +virtual void +sharedResource_post (Type &o) +{ + +this->sharedResource_post (const_cast <Type const &> (o)); +} - virtual void - interconnect (Type const&); +virtual void +sharedResource_post (Type const&); - virtual void - bridge (Type &o) - { +virtual void +infoProperty_pre (Type &o) +{ - this->bridge (const_cast <Type const &> (o)); - } +this->infoProperty_pre (const_cast <Type const &> (o)); +} - virtual void - bridge (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - sharedResource (Type &o) - { +virtual void +infoProperty_next (Type &o) +{ - this->sharedResource (const_cast <Type const &> (o)); - } +this->infoProperty_next (const_cast <Type const &> (o)); +} - virtual void - sharedResource (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty (Type &o) - { +virtual void +infoProperty_post (Type &o) +{ - this->infoProperty (const_cast <Type const &> (o)); - } +this->infoProperty_post (const_cast <Type const &> (o)); +} - virtual void - infoProperty (Type const&); +virtual void +infoProperty_post (Type const&); - protected: - Domain (); - }; +protected: +Domain (); +}; - struct Bridge : Traversal::Bridge, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Bridge Type; - Bridge (::XSCRT::XML::Element< ACE_TCHAR >&); +struct Bridge : Traversal::Bridge, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Bridge Type; +Bridge (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - connect_pre (Type &o) - { +virtual void +connect_pre (Type &o) +{ - this->connect_pre (const_cast <Type const &> (o)); - } +this->connect_pre (const_cast <Type const &> (o)); +} - virtual void - connect_pre (Type const&); +virtual void +connect_pre (Type const&); - virtual void - connect_next (Type &o) - { +virtual void +connect_next (Type &o) +{ - this->connect_next (const_cast <Type const &> (o)); - } +this->connect_next (const_cast <Type const &> (o)); +} - virtual void - connect_next (Type const&); +virtual void +connect_next (Type const&); - virtual void - connect_post (Type &o) - { +virtual void +connect_post (Type &o) +{ - this->connect_post (const_cast <Type const &> (o)); - } +this->connect_post (const_cast <Type const &> (o)); +} - virtual void - connect_post (Type const&); +virtual void +connect_post (Type const&); - virtual void - resource_pre (Type &o) - { +virtual void +resource_pre (Type &o) +{ - this->resource_pre (const_cast <Type const &> (o)); - } +this->resource_pre (const_cast <Type const &> (o)); +} - virtual void - resource_pre (Type const&); +virtual void +resource_pre (Type const&); - virtual void - resource_next (Type &o) - { +virtual void +resource_next (Type &o) +{ - this->resource_next (const_cast <Type const &> (o)); - } +this->resource_next (const_cast <Type const &> (o)); +} - virtual void - resource_next (Type const&); +virtual void +resource_next (Type const&); - virtual void - resource_post (Type &o) - { +virtual void +resource_post (Type &o) +{ - this->resource_post (const_cast <Type const &> (o)); - } +this->resource_post (const_cast <Type const &> (o)); +} - virtual void - resource_post (Type const&); +virtual void +resource_post (Type const&); - protected: - Bridge (); - }; +protected: +Bridge (); +}; - struct Interconnect : Traversal::Interconnect, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Interconnect Type; - Interconnect (::XSCRT::XML::Element< ACE_TCHAR >&); +struct Interconnect : Traversal::Interconnect, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Interconnect Type; +Interconnect (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - connection_pre (Type &o) - { +virtual void +connection_pre (Type &o) +{ - this->connection_pre (const_cast <Type const &> (o)); - } +this->connection_pre (const_cast <Type const &> (o)); +} - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type &o) - { +virtual void +connection_next (Type &o) +{ - this->connection_next (const_cast <Type const &> (o)); - } +this->connection_next (const_cast <Type const &> (o)); +} - virtual void - connection_next (Type const&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type &o) - { +virtual void +connection_post (Type &o) +{ - this->connection_post (const_cast <Type const &> (o)); - } +this->connection_post (const_cast <Type const &> (o)); +} - virtual void - connection_post (Type const&); +virtual void +connection_post (Type const&); - virtual void - connect_pre (Type &o) - { +virtual void +connect_pre (Type &o) +{ - this->connect_pre (const_cast <Type const &> (o)); - } +this->connect_pre (const_cast <Type const &> (o)); +} - virtual void - connect_pre (Type const&); +virtual void +connect_pre (Type const&); - virtual void - connect_next (Type &o) - { +virtual void +connect_next (Type &o) +{ - this->connect_next (const_cast <Type const &> (o)); - } +this->connect_next (const_cast <Type const &> (o)); +} - virtual void - connect_next (Type const&); +virtual void +connect_next (Type const&); - virtual void - connect_post (Type &o) - { +virtual void +connect_post (Type &o) +{ - this->connect_post (const_cast <Type const &> (o)); - } +this->connect_post (const_cast <Type const &> (o)); +} - virtual void - connect_post (Type const&); +virtual void +connect_post (Type const&); - virtual void - resource_pre (Type &o) - { +virtual void +resource_pre (Type &o) +{ - this->resource_pre (const_cast <Type const &> (o)); - } +this->resource_pre (const_cast <Type const &> (o)); +} - virtual void - resource_pre (Type const&); +virtual void +resource_pre (Type const&); - virtual void - resource_next (Type &o) - { +virtual void +resource_next (Type &o) +{ - this->resource_next (const_cast <Type const &> (o)); - } +this->resource_next (const_cast <Type const &> (o)); +} - virtual void - resource_next (Type const&); +virtual void +resource_next (Type const&); - virtual void - resource_post (Type &o) - { +virtual void +resource_post (Type &o) +{ - this->resource_post (const_cast <Type const &> (o)); - } +this->resource_post (const_cast <Type const &> (o)); +} - virtual void - resource_post (Type const&); +virtual void +resource_post (Type const&); - protected: - Interconnect (); - }; +protected: +Interconnect (); +}; - struct Node : Traversal::Node, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::Node Type; - Node (::XSCRT::XML::Element< ACE_TCHAR >&); +struct Node : Traversal::Node, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::Node Type; +Node (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - connection_pre (Type &o) - { +virtual void +connection_pre (Type &o) +{ - this->connection_pre (const_cast <Type const &> (o)); - } +this->connection_pre (const_cast <Type const &> (o)); +} - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type &o) - { +virtual void +connection_next (Type &o) +{ - this->connection_next (const_cast <Type const &> (o)); - } +this->connection_next (const_cast <Type const &> (o)); +} - virtual void - connection_next (Type const&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type &o) - { +virtual void +connection_post (Type &o) +{ - this->connection_post (const_cast <Type const &> (o)); - } +this->connection_post (const_cast <Type const &> (o)); +} - virtual void - connection_post (Type const&); +virtual void +connection_post (Type const&); - virtual void - sharedResource_pre (Type &o) - { +virtual void +sharedResource_pre (Type &o) +{ - this->sharedResource_pre (const_cast <Type const &> (o)); - } +this->sharedResource_pre (const_cast <Type const &> (o)); +} - virtual void - sharedResource_pre (Type const&); +virtual void +sharedResource_pre (Type const&); - virtual void - sharedResource_next (Type &o) - { +virtual void +sharedResource_next (Type &o) +{ - this->sharedResource_next (const_cast <Type const &> (o)); - } +this->sharedResource_next (const_cast <Type const &> (o)); +} - virtual void - sharedResource_next (Type const&); +virtual void +sharedResource_next (Type const&); - virtual void - sharedResource_post (Type &o) - { +virtual void +sharedResource_post (Type &o) +{ - this->sharedResource_post (const_cast <Type const &> (o)); - } +this->sharedResource_post (const_cast <Type const &> (o)); +} - virtual void - sharedResource_post (Type const&); +virtual void +sharedResource_post (Type const&); - virtual void - resource_pre (Type &o) - { +virtual void +resource_pre (Type &o) +{ - this->resource_pre (const_cast <Type const &> (o)); - } +this->resource_pre (const_cast <Type const &> (o)); +} - virtual void - resource_pre (Type const&); +virtual void +resource_pre (Type const&); - virtual void - resource_next (Type &o) - { +virtual void +resource_next (Type &o) +{ - this->resource_next (const_cast <Type const &> (o)); - } +this->resource_next (const_cast <Type const &> (o)); +} - virtual void - resource_next (Type const&); +virtual void +resource_next (Type const&); - virtual void - resource_post (Type &o) - { +virtual void +resource_post (Type &o) +{ - this->resource_post (const_cast <Type const &> (o)); - } +this->resource_post (const_cast <Type const &> (o)); +} - virtual void - resource_post (Type const&); +virtual void +resource_post (Type const&); - protected: - Node (); - }; +protected: +Node (); +}; - struct SharedResource : Traversal::SharedResource, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::SharedResource Type; - SharedResource (::XSCRT::XML::Element< ACE_TCHAR >&); +struct SharedResource : Traversal::SharedResource, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::SharedResource Type; +SharedResource (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - resourceType (Type &o) - { +virtual void +resourceType (Type &o) +{ - this->resourceType (const_cast <Type const &> (o)); - } +this->resourceType (const_cast <Type const &> (o)); +} - virtual void - resourceType (Type const&); +virtual void +resourceType (Type const&); - virtual void - node (Type &o) - { +virtual void +node (Type &o) +{ - this->node (const_cast <Type const &> (o)); - } +this->node (const_cast <Type const &> (o)); +} - virtual void - node (Type const&); +virtual void +node (Type const&); - virtual void - property (Type &o) - { +virtual void +property (Type &o) +{ - this->property (const_cast <Type const &> (o)); - } +this->property (const_cast <Type const &> (o)); +} - virtual void - property (Type const&); +virtual void +property (Type const&); - protected: - SharedResource (); - }; - } - } +protected: +SharedResource (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CDD_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/cdp.cpp b/TAO/CIAO/tools/Config_Handlers/cdp.cpp index 8603731cd5e..0ba7c13577d 100644 --- a/TAO/CIAO/tools/Config_Handlers/cdp.cpp +++ b/TAO/CIAO/tools/Config_Handlers/cdp.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "cdp.hpp" namespace CIAO @@ -16,24 +16,24 @@ namespace CIAO namespace Config_Handlers { // DeploymentPlan - // + // DeploymentPlan:: DeploymentPlan () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } DeploymentPlan:: DeploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); @@ -110,7 +110,7 @@ namespace CIAO // DeploymentPlan - // + // bool DeploymentPlan:: label_p () const { @@ -127,19 +127,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // DeploymentPlan - // + // bool DeploymentPlan:: UUID_p () const { @@ -156,19 +156,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // DeploymentPlan - // + // bool DeploymentPlan:: realizes_p () const { @@ -185,19 +185,19 @@ namespace CIAO realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) { if (realizes_.get ()) - { - *realizes_ = e; - } + { + *realizes_ = e; + } else - { - realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); - realizes_->container (this); - } + { + realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); + realizes_->container (this); + } } // DeploymentPlan - // + // DeploymentPlan::implementation_iterator DeploymentPlan:: begin_implementation () { @@ -235,7 +235,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::instance_iterator DeploymentPlan:: begin_instance () { @@ -273,7 +273,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::connection_iterator DeploymentPlan:: begin_connection () { @@ -311,7 +311,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::dependsOn_iterator DeploymentPlan:: begin_dependsOn () { @@ -349,7 +349,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::artifact_iterator DeploymentPlan:: begin_artifact () { @@ -387,7 +387,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::infoProperty_iterator DeploymentPlan:: begin_infoProperty () { @@ -435,74 +435,74 @@ namespace CIAO DeploymentPlan:: DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "realizes") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); - realizes (t); - } - - else if (n == "implementation") - { - ::CIAO::Config_Handlers::MonolithicDeploymentDescription t (e); - add_implementation (t); - } - - else if (n == "instance") - { - ::CIAO::Config_Handlers::InstanceDeploymentDescription t (e); - add_instance (t); - } - - else if (n == "connection") - { - ::CIAO::Config_Handlers::PlanConnectionDescription t (e); - add_connection (t); - } - - else if (n == "dependsOn") - { - ::CIAO::Config_Handlers::ImplementationDependency t (e); - add_dependsOn (t); - } - - else if (n == "artifact") - { - ::CIAO::Config_Handlers::ArtifactDeploymentDescription t (e); - add_artifact (t); - } - - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_infoProperty (t); - } - - else { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "realizes") + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); + realizes (t); + } + + else if (n == "implementation") + { + ::CIAO::Config_Handlers::MonolithicDeploymentDescription t (e); + add_implementation (t); + } + + else if (n == "instance") + { + ::CIAO::Config_Handlers::InstanceDeploymentDescription t (e); + add_instance (t); + } + + else if (n == "connection") + { + ::CIAO::Config_Handlers::PlanConnectionDescription t (e); + add_connection (t); + } + + else if (n == "dependsOn") + { + ::CIAO::Config_Handlers::ImplementationDependency t (e); + add_dependsOn (t); + } + + else if (n == "artifact") + { + ::CIAO::Config_Handlers::ArtifactDeploymentDescription t (e); + add_artifact (t); + } + + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } + + else + { + } } - } } } } @@ -673,16 +673,16 @@ namespace CIAO DeploymentPlan::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation()); if (b != e) - { - implementation_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) implementation_next (o); + implementation_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) implementation_next (o); + } + + implementation_post (o); } - - implementation_post (o); - } } void DeploymentPlan:: @@ -693,16 +693,16 @@ namespace CIAO DeploymentPlan::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation()); if (b != e) - { - implementation_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) implementation_next (o); + implementation_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) implementation_next (o); + } + + implementation_post (o); } - - implementation_post (o); - } } void DeploymentPlan:: @@ -743,17 +743,17 @@ namespace CIAO DeploymentPlan::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); if (b != e) - { - instance_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) instance_next (o); + instance_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); } - instance_post (o); - } - else instance_none (o); } @@ -765,17 +765,17 @@ namespace CIAO DeploymentPlan::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); if (b != e) - { - instance_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) instance_next (o); + instance_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); } - instance_post (o); - } - else instance_none (o); } @@ -827,17 +827,17 @@ namespace CIAO DeploymentPlan::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); if (b != e) - { - connection_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) connection_next (o); + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); } - connection_post (o); - } - else connection_none (o); } @@ -849,17 +849,17 @@ namespace CIAO DeploymentPlan::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); if (b != e) - { - connection_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) connection_next (o); + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); } - connection_post (o); - } - else connection_none (o); } @@ -911,17 +911,17 @@ namespace CIAO DeploymentPlan::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); if (b != e) - { - dependsOn_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) dependsOn_next (o); + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); } - dependsOn_post (o); - } - else dependsOn_none (o); } @@ -933,17 +933,17 @@ namespace CIAO DeploymentPlan::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); if (b != e) - { - dependsOn_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) dependsOn_next (o); + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); } - dependsOn_post (o); - } - else dependsOn_none (o); } @@ -995,17 +995,17 @@ namespace CIAO DeploymentPlan::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); if (b != e) - { - artifact_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) artifact_next (o); + artifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); } - artifact_post (o); - } - else artifact_none (o); } @@ -1017,17 +1017,17 @@ namespace CIAO DeploymentPlan::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); if (b != e) - { - artifact_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) artifact_next (o); + artifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); } - artifact_post (o); - } - else artifact_none (o); } @@ -1079,17 +1079,17 @@ namespace CIAO DeploymentPlan::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) - { - infoProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) infoProperty_next (o); + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); } - infoProperty_post (o); - } - else infoProperty_none (o); } @@ -1101,17 +1101,17 @@ namespace CIAO DeploymentPlan::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) - { - infoProperty_pre (o); - for (; b != e;) { - dispatch (*b); - if (++b != e) infoProperty_next (o); + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); } - infoProperty_post (o); - } - else infoProperty_none (o); } @@ -1180,7 +1180,7 @@ namespace CIAO DeploymentPlan:: DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } diff --git a/TAO/CIAO/tools/Config_Handlers/cdp.hpp b/TAO/CIAO/tools/Config_Handlers/cdp.hpp index dc449ab6031..e48eafe1af4 100644 --- a/TAO/CIAO/tools/Config_Handlers/cdp.hpp +++ b/TAO/CIAO/tools/Config_Handlers/cdp.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -28,10 +28,10 @@ // namespace CIAO { - namespace Config_Handlers - { - class DeploymentPlan; - } +namespace Config_Handlers +{ +class DeploymentPlan; +} } #include <memory> @@ -42,665 +42,665 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export DeploymentPlan : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // realizes - // - public: - bool realizes_p () const; - ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; - void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; - - // implementation - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::iterator implementation_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::const_iterator implementation_const_iterator; - implementation_iterator begin_implementation (); - implementation_iterator end_implementation (); - implementation_const_iterator begin_implementation () const; - implementation_const_iterator end_implementation () const; - void add_implementation (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& ); - size_t count_implementation (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > implementation_; - - // instance - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::iterator instance_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::const_iterator instance_const_iterator; - instance_iterator begin_instance (); - instance_iterator end_instance (); - instance_const_iterator begin_instance () const; - instance_const_iterator end_instance () const; - void add_instance (::CIAO::Config_Handlers::InstanceDeploymentDescription const& ); - size_t count_instance (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription > instance_; - - // connection - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::iterator connection_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::const_iterator connection_const_iterator; - connection_iterator begin_connection (); - connection_iterator end_connection (); - connection_const_iterator begin_connection () const; - connection_const_iterator end_connection () const; - void add_connection (::CIAO::Config_Handlers::PlanConnectionDescription const& ); - size_t count_connection (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription > connection_; - - // dependsOn - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; - dependsOn_iterator begin_dependsOn (); - dependsOn_iterator end_dependsOn (); - dependsOn_const_iterator begin_dependsOn () const; - dependsOn_const_iterator end_dependsOn () const; - void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); - size_t count_dependsOn (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; - - // artifact - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::iterator artifact_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::const_iterator artifact_const_iterator; - artifact_iterator begin_artifact (); - artifact_iterator end_artifact (); - artifact_const_iterator begin_artifact () const; - artifact_const_iterator end_artifact () const; - void add_artifact (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& ); - size_t count_artifact (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > artifact_; - - // infoProperty - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; - infoProperty_iterator begin_infoProperty (); - infoProperty_iterator end_infoProperty (); - infoProperty_const_iterator begin_infoProperty () const; - infoProperty_const_iterator end_infoProperty () const; - void add_infoProperty (::CIAO::Config_Handlers::Property const& ); - size_t count_infoProperty (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - - public: - DeploymentPlan (); - - DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR > const&); - DeploymentPlan (DeploymentPlan const& s); - - DeploymentPlan& - operator= (DeploymentPlan const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export DeploymentPlan : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// realizes +// +public: +bool realizes_p () const; +::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; +void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; + +// implementation +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::iterator implementation_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::const_iterator implementation_const_iterator; +implementation_iterator begin_implementation (); +implementation_iterator end_implementation (); +implementation_const_iterator begin_implementation () const; +implementation_const_iterator end_implementation () const; +void add_implementation (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& ); +size_t count_implementation (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > implementation_; + +// instance +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::iterator instance_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::const_iterator instance_const_iterator; +instance_iterator begin_instance (); +instance_iterator end_instance (); +instance_const_iterator begin_instance () const; +instance_const_iterator end_instance () const; +void add_instance (::CIAO::Config_Handlers::InstanceDeploymentDescription const& ); +size_t count_instance (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription > instance_; + +// connection +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::iterator connection_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::const_iterator connection_const_iterator; +connection_iterator begin_connection (); +connection_iterator end_connection (); +connection_const_iterator begin_connection () const; +connection_const_iterator end_connection () const; +void add_connection (::CIAO::Config_Handlers::PlanConnectionDescription const& ); +size_t count_connection (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription > connection_; + +// dependsOn +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; +dependsOn_iterator begin_dependsOn (); +dependsOn_iterator end_dependsOn (); +dependsOn_const_iterator begin_dependsOn () const; +dependsOn_const_iterator end_dependsOn () const; +void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); +size_t count_dependsOn (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; + +// artifact +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::iterator artifact_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::const_iterator artifact_const_iterator; +artifact_iterator begin_artifact (); +artifact_iterator end_artifact (); +artifact_const_iterator begin_artifact () const; +artifact_const_iterator end_artifact () const; +void add_artifact (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& ); +size_t count_artifact (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > artifact_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +public: +DeploymentPlan (); + +DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR > const&); +DeploymentPlan (DeploymentPlan const& s); + +DeploymentPlan& +operator= (DeploymentPlan const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export DeploymentPlan : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DeploymentPlan > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export DeploymentPlan : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DeploymentPlan > +{ +virtual void +traverse (Type&); - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - pre (Type&); +virtual void +pre (Type&); - virtual void - pre (Type const&); +virtual void +pre (Type const&); - virtual void - label (Type&); +virtual void +label (Type&); - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - label_none (Type&); +virtual void +label_none (Type&); - virtual void - label_none (Type const&); +virtual void +label_none (Type const&); - virtual void - UUID (Type&); +virtual void +UUID (Type&); - virtual void - UUID (Type const&); +virtual void +UUID (Type const&); - virtual void - UUID_none (Type&); +virtual void +UUID_none (Type&); - virtual void - UUID_none (Type const&); +virtual void +UUID_none (Type const&); - virtual void - realizes (Type&); +virtual void +realizes (Type&); - virtual void - realizes (Type const&); +virtual void +realizes (Type const&); - virtual void - realizes_none (Type&); +virtual void +realizes_none (Type&); - virtual void - realizes_none (Type const&); +virtual void +realizes_none (Type const&); - virtual void - implementation (Type&); +virtual void +implementation (Type&); - virtual void - implementation (Type const&); +virtual void +implementation (Type const&); - virtual void - implementation_pre (Type&); +virtual void +implementation_pre (Type&); - virtual void - implementation_pre (Type const&); +virtual void +implementation_pre (Type const&); - virtual void - implementation_next (Type&); +virtual void +implementation_next (Type&); - virtual void - implementation_next (Type const&); +virtual void +implementation_next (Type const&); - virtual void - implementation_post (Type&); +virtual void +implementation_post (Type&); - virtual void - implementation_post (Type const&); +virtual void +implementation_post (Type const&); - virtual void - instance (Type&); +virtual void +instance (Type&); - virtual void - instance (Type const&); +virtual void +instance (Type const&); - virtual void - instance_pre (Type&); +virtual void +instance_pre (Type&); - virtual void - instance_pre (Type const&); +virtual void +instance_pre (Type const&); - virtual void - instance_next (Type&); +virtual void +instance_next (Type&); - virtual void - instance_next (Type const&); +virtual void +instance_next (Type const&); - virtual void - instance_post (Type&); +virtual void +instance_post (Type&); - virtual void - instance_post (Type const&); +virtual void +instance_post (Type const&); - virtual void - instance_none (Type&); +virtual void +instance_none (Type&); - virtual void - instance_none (Type const&); +virtual void +instance_none (Type const&); - virtual void - connection (Type&); +virtual void +connection (Type&); - virtual void - connection (Type const&); +virtual void +connection (Type const&); - virtual void - connection_pre (Type&); +virtual void +connection_pre (Type&); - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type&); +virtual void +connection_next (Type&); - virtual void - connection_next (Type const&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type&); +virtual void +connection_post (Type&); - virtual void - connection_post (Type const&); +virtual void +connection_post (Type const&); - virtual void - connection_none (Type&); +virtual void +connection_none (Type&); - virtual void - connection_none (Type const&); +virtual void +connection_none (Type const&); - virtual void - dependsOn (Type&); +virtual void +dependsOn (Type&); - virtual void - dependsOn (Type const&); +virtual void +dependsOn (Type const&); - virtual void - dependsOn_pre (Type&); +virtual void +dependsOn_pre (Type&); - virtual void - dependsOn_pre (Type const&); +virtual void +dependsOn_pre (Type const&); - virtual void - dependsOn_next (Type&); +virtual void +dependsOn_next (Type&); - virtual void - dependsOn_next (Type const&); +virtual void +dependsOn_next (Type const&); - virtual void - dependsOn_post (Type&); +virtual void +dependsOn_post (Type&); - virtual void - dependsOn_post (Type const&); +virtual void +dependsOn_post (Type const&); - virtual void - dependsOn_none (Type&); +virtual void +dependsOn_none (Type&); - virtual void - dependsOn_none (Type const&); +virtual void +dependsOn_none (Type const&); - virtual void - artifact (Type&); +virtual void +artifact (Type&); - virtual void - artifact (Type const&); +virtual void +artifact (Type const&); - virtual void - artifact_pre (Type&); +virtual void +artifact_pre (Type&); - virtual void - artifact_pre (Type const&); +virtual void +artifact_pre (Type const&); - virtual void - artifact_next (Type&); +virtual void +artifact_next (Type&); - virtual void - artifact_next (Type const&); +virtual void +artifact_next (Type const&); - virtual void - artifact_post (Type&); +virtual void +artifact_post (Type&); - virtual void - artifact_post (Type const&); +virtual void +artifact_post (Type const&); - virtual void - artifact_none (Type&); +virtual void +artifact_none (Type&); - virtual void - artifact_none (Type const&); +virtual void +artifact_none (Type const&); - virtual void - infoProperty (Type&); +virtual void +infoProperty (Type&); - virtual void - infoProperty (Type const&); +virtual void +infoProperty (Type const&); - virtual void - infoProperty_pre (Type&); +virtual void +infoProperty_pre (Type&); - virtual void - infoProperty_pre (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type&); +virtual void +infoProperty_next (Type&); - virtual void - infoProperty_next (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty_post (Type&); +virtual void +infoProperty_post (Type&); - virtual void - infoProperty_post (Type const&); +virtual void +infoProperty_post (Type const&); - virtual void - infoProperty_none (Type&); +virtual void +infoProperty_none (Type&); - virtual void - infoProperty_none (Type const&); +virtual void +infoProperty_none (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct DeploymentPlan : Traversal::DeploymentPlan, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::DeploymentPlan Type; - DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct DeploymentPlan : Traversal::DeploymentPlan, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::DeploymentPlan Type; +DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - label (Type &o) - { +virtual void +label (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->label (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +label (Type const&); - virtual void - UUID (Type &o) - { +virtual void +UUID (Type &o) +{ - this->UUID (const_cast <Type const &> (o)); - } +this->UUID (const_cast <Type const &> (o)); +} - virtual void - UUID (Type const&); +virtual void +UUID (Type const&); - virtual void - realizes (Type &o) - { +virtual void +realizes (Type &o) +{ - this->realizes (const_cast <Type const &> (o)); - } +this->realizes (const_cast <Type const &> (o)); +} - virtual void - realizes (Type const&); +virtual void +realizes (Type const&); - virtual void - implementation_pre (Type &o) - { +virtual void +implementation_pre (Type &o) +{ - this->implementation_pre (const_cast <Type const &> (o)); - } +this->implementation_pre (const_cast <Type const &> (o)); +} - virtual void - implementation_pre (Type const&); +virtual void +implementation_pre (Type const&); - virtual void - implementation_next (Type &o) - { +virtual void +implementation_next (Type &o) +{ - this->implementation_next (const_cast <Type const &> (o)); - } +this->implementation_next (const_cast <Type const &> (o)); +} - virtual void - implementation_next (Type const&); +virtual void +implementation_next (Type const&); - virtual void - implementation_post (Type &o) - { +virtual void +implementation_post (Type &o) +{ - this->implementation_post (const_cast <Type const &> (o)); - } +this->implementation_post (const_cast <Type const &> (o)); +} - virtual void - implementation_post (Type const&); +virtual void +implementation_post (Type const&); - virtual void - instance_pre (Type &o) - { +virtual void +instance_pre (Type &o) +{ - this->instance_pre (const_cast <Type const &> (o)); - } +this->instance_pre (const_cast <Type const &> (o)); +} - virtual void - instance_pre (Type const&); +virtual void +instance_pre (Type const&); - virtual void - instance_next (Type &o) - { +virtual void +instance_next (Type &o) +{ - this->instance_next (const_cast <Type const &> (o)); - } +this->instance_next (const_cast <Type const &> (o)); +} - virtual void - instance_next (Type const&); +virtual void +instance_next (Type const&); - virtual void - instance_post (Type &o) - { +virtual void +instance_post (Type &o) +{ - this->instance_post (const_cast <Type const &> (o)); - } +this->instance_post (const_cast <Type const &> (o)); +} - virtual void - instance_post (Type const&); +virtual void +instance_post (Type const&); - virtual void - connection_pre (Type &o) - { +virtual void +connection_pre (Type &o) +{ - this->connection_pre (const_cast <Type const &> (o)); - } +this->connection_pre (const_cast <Type const &> (o)); +} - virtual void - connection_pre (Type const&); +virtual void +connection_pre (Type const&); - virtual void - connection_next (Type &o) - { +virtual void +connection_next (Type &o) +{ - this->connection_next (const_cast <Type const &> (o)); - } +this->connection_next (const_cast <Type const &> (o)); +} - virtual void - connection_next (Type const&); +virtual void +connection_next (Type const&); - virtual void - connection_post (Type &o) - { +virtual void +connection_post (Type &o) +{ - this->connection_post (const_cast <Type const &> (o)); - } +this->connection_post (const_cast <Type const &> (o)); +} - virtual void - connection_post (Type const&); +virtual void +connection_post (Type const&); - virtual void - dependsOn_pre (Type &o) - { +virtual void +dependsOn_pre (Type &o) +{ - this->dependsOn_pre (const_cast <Type const &> (o)); - } +this->dependsOn_pre (const_cast <Type const &> (o)); +} - virtual void - dependsOn_pre (Type const&); +virtual void +dependsOn_pre (Type const&); - virtual void - dependsOn_next (Type &o) - { +virtual void +dependsOn_next (Type &o) +{ - this->dependsOn_next (const_cast <Type const &> (o)); - } +this->dependsOn_next (const_cast <Type const &> (o)); +} - virtual void - dependsOn_next (Type const&); +virtual void +dependsOn_next (Type const&); - virtual void - dependsOn_post (Type &o) - { +virtual void +dependsOn_post (Type &o) +{ - this->dependsOn_post (const_cast <Type const &> (o)); - } +this->dependsOn_post (const_cast <Type const &> (o)); +} - virtual void - dependsOn_post (Type const&); +virtual void +dependsOn_post (Type const&); - virtual void - artifact_pre (Type &o) - { +virtual void +artifact_pre (Type &o) +{ - this->artifact_pre (const_cast <Type const &> (o)); - } +this->artifact_pre (const_cast <Type const &> (o)); +} - virtual void - artifact_pre (Type const&); +virtual void +artifact_pre (Type const&); - virtual void - artifact_next (Type &o) - { +virtual void +artifact_next (Type &o) +{ - this->artifact_next (const_cast <Type const &> (o)); - } +this->artifact_next (const_cast <Type const &> (o)); +} - virtual void - artifact_next (Type const&); +virtual void +artifact_next (Type const&); - virtual void - artifact_post (Type &o) - { +virtual void +artifact_post (Type &o) +{ - this->artifact_post (const_cast <Type const &> (o)); - } +this->artifact_post (const_cast <Type const &> (o)); +} - virtual void - artifact_post (Type const&); +virtual void +artifact_post (Type const&); - virtual void - infoProperty_pre (Type &o) - { +virtual void +infoProperty_pre (Type &o) +{ - this->infoProperty_pre (const_cast <Type const &> (o)); - } +this->infoProperty_pre (const_cast <Type const &> (o)); +} - virtual void - infoProperty_pre (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type &o) - { +virtual void +infoProperty_next (Type &o) +{ - this->infoProperty_next (const_cast <Type const &> (o)); - } +this->infoProperty_next (const_cast <Type const &> (o)); +} - virtual void - infoProperty_next (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty_post (Type &o) - { +virtual void +infoProperty_post (Type &o) +{ - this->infoProperty_post (const_cast <Type const &> (o)); - } +this->infoProperty_post (const_cast <Type const &> (o)); +} - virtual void - infoProperty_post (Type const&); +virtual void +infoProperty_post (Type const&); - protected: - DeploymentPlan (); - }; - } - } +protected: +DeploymentPlan (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CDP_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/cid.cpp b/TAO/CIAO/tools/Config_Handlers/cid.cpp index 37c49aabe18..5cfd51e40d5 100644 --- a/TAO/CIAO/tools/Config_Handlers/cid.cpp +++ b/TAO/CIAO/tools/Config_Handlers/cid.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "cid.hpp" namespace CIAO @@ -16,38 +16,43 @@ namespace CIAO namespace Config_Handlers { // SubcomponentInstantiationDescription - // + // SubcomponentInstantiationDescription:: - SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::ComponentPackageDescription const& package__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - package_ (new ::CIAO::Config_Handlers::ComponentPackageDescription (package__)), - regulator__ () + SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () { name_->container (this); - package_->container (this); } SubcomponentInstantiationDescription:: SubcomponentInstantiationDescription (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - package_ (new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.package_)), - configProperty_ (s.configProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.configProperty_) : 0), - selectRequirement_ (s.selectRequirement_.get () ? new ::CIAO::Config_Handlers::Requirement (*s.selectRequirement_) : 0), - reference_ (s.reference_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.reference_) : 0), - id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), + specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), + referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), + importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () { name_->container (this); - package_->container (this); - if (configProperty_.get ()) configProperty_->container (this); - if (selectRequirement_.get ()) selectRequirement_->container (this); - if (reference_.get ()) reference_->container (this); + if (basePackage_.get ()) basePackage_->container (this); + if (specializedConfig_.get ()) specializedConfig_->container (this); + { + for (selectRequirement_const_iterator i (s.selectRequirement_.begin ());i != s.selectRequirement_.end ();++i) add_selectRequirement (*i); + } + + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } + + if (referencedPackage_.get ()) referencedPackage_->container (this); + if (importedPackage_.get ()) importedPackage_->container (this); if (id_.get ()) id_->container (this); } @@ -56,16 +61,27 @@ namespace CIAO { name (s.name ()); - package (s.package ()); + if (s.basePackage_.get ()) basePackage (*(s.basePackage_)); + else basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (0); - if (s.configProperty_.get ()) configProperty (*(s.configProperty_)); - else configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); + if (s.specializedConfig_.get ()) specializedConfig (*(s.specializedConfig_)); + else specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (0); - if (s.selectRequirement_.get ()) selectRequirement (*(s.selectRequirement_)); - else selectRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (0); + selectRequirement_.clear (); + { + for (selectRequirement_const_iterator i (s.selectRequirement_.begin ());i != s.selectRequirement_.end ();++i) add_selectRequirement (*i); + } + + configProperty_.clear (); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } + + if (s.referencedPackage_.get ()) referencedPackage (*(s.referencedPackage_)); + else referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (0); - if (s.reference_.get ()) reference (*(s.reference_)); - else reference_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (0); + if (s.importedPackage_.get ()) importedPackage (*(s.importedPackage_)); + else importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (0); if (s.id_.get ()) id (*(s.id_)); else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); @@ -75,7 +91,7 @@ namespace CIAO // SubcomponentInstantiationDescription - // + // ::XMLSchema::string< ACE_TCHAR > const& SubcomponentInstantiationDescription:: name () const { @@ -89,108 +105,199 @@ namespace CIAO } // SubcomponentInstantiationDescription - // + // + bool SubcomponentInstantiationDescription:: + basePackage_p () const + { + return basePackage_.get () != 0; + } + ::CIAO::Config_Handlers::ComponentPackageDescription const& SubcomponentInstantiationDescription:: - package () const + basePackage () const { - return *package_; + return *basePackage_; } void SubcomponentInstantiationDescription:: - package (::CIAO::Config_Handlers::ComponentPackageDescription const& e) + basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& e) { - *package_ = e; + if (basePackage_.get ()) + { + *basePackage_ = e; + } + + else + { + basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); + basePackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: - configProperty_p () const + specializedConfig_p () const { - return configProperty_.get () != 0; + return specializedConfig_.get () != 0; } - ::CIAO::Config_Handlers::Property const& SubcomponentInstantiationDescription:: - configProperty () const + ::CIAO::Config_Handlers::PackageConfiguration const& SubcomponentInstantiationDescription:: + specializedConfig () const { - return *configProperty_; + return *specializedConfig_; } void SubcomponentInstantiationDescription:: - configProperty (::CIAO::Config_Handlers::Property const& e) + specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& e) { - if (configProperty_.get ()) - { - *configProperty_ = e; - } + if (specializedConfig_.get ()) + { + *specializedConfig_ = e; + } else - { - configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - configProperty_->container (this); - } + { + specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); + specializedConfig_->container (this); + } } // SubcomponentInstantiationDescription - // + // + SubcomponentInstantiationDescription::selectRequirement_iterator SubcomponentInstantiationDescription:: + begin_selectRequirement () + { + return selectRequirement_.begin (); + } + + SubcomponentInstantiationDescription::selectRequirement_iterator SubcomponentInstantiationDescription:: + end_selectRequirement () + { + return selectRequirement_.end (); + } + + SubcomponentInstantiationDescription::selectRequirement_const_iterator SubcomponentInstantiationDescription:: + begin_selectRequirement () const + { + return selectRequirement_.begin (); + } + + SubcomponentInstantiationDescription::selectRequirement_const_iterator SubcomponentInstantiationDescription:: + end_selectRequirement () const + { + return selectRequirement_.end (); + } + + void SubcomponentInstantiationDescription:: + add_selectRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + selectRequirement_.push_back (e); + } + + size_t SubcomponentInstantiationDescription:: + count_selectRequirement(void) const + { + return selectRequirement_.size (); + } + + // SubcomponentInstantiationDescription + // + SubcomponentInstantiationDescription::configProperty_iterator SubcomponentInstantiationDescription:: + begin_configProperty () + { + return configProperty_.begin (); + } + + SubcomponentInstantiationDescription::configProperty_iterator SubcomponentInstantiationDescription:: + end_configProperty () + { + return configProperty_.end (); + } + + SubcomponentInstantiationDescription::configProperty_const_iterator SubcomponentInstantiationDescription:: + begin_configProperty () const + { + return configProperty_.begin (); + } + + SubcomponentInstantiationDescription::configProperty_const_iterator SubcomponentInstantiationDescription:: + end_configProperty () const + { + return configProperty_.end (); + } + + void SubcomponentInstantiationDescription:: + add_configProperty (::CIAO::Config_Handlers::Property const& e) + { + configProperty_.push_back (e); + } + + size_t SubcomponentInstantiationDescription:: + count_configProperty(void) const + { + return configProperty_.size (); + } + + // SubcomponentInstantiationDescription + // bool SubcomponentInstantiationDescription:: - selectRequirement_p () const + referencedPackage_p () const { - return selectRequirement_.get () != 0; + return referencedPackage_.get () != 0; } - ::CIAO::Config_Handlers::Requirement const& SubcomponentInstantiationDescription:: - selectRequirement () const + ::CIAO::Config_Handlers::ComponentPackageReference const& SubcomponentInstantiationDescription:: + referencedPackage () const { - return *selectRequirement_; + return *referencedPackage_; } void SubcomponentInstantiationDescription:: - selectRequirement (::CIAO::Config_Handlers::Requirement const& e) + referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& e) { - if (selectRequirement_.get ()) - { - *selectRequirement_ = e; - } + if (referencedPackage_.get ()) + { + *referencedPackage_ = e; + } else - { - selectRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (new ::CIAO::Config_Handlers::Requirement (e)); - selectRequirement_->container (this); - } + { + referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); + referencedPackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: - reference_p () const + importedPackage_p () const { - return reference_.get () != 0; + return importedPackage_.get () != 0; } - ::CIAO::Config_Handlers::ComponentPackageReference const& SubcomponentInstantiationDescription:: - reference () const + ::CIAO::Config_Handlers::ComponentPackageImport const& SubcomponentInstantiationDescription:: + importedPackage () const { - return *reference_; + return *importedPackage_; } void SubcomponentInstantiationDescription:: - reference (::CIAO::Config_Handlers::ComponentPackageReference const& e) + importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& e) { - if (reference_.get ()) - { - *reference_ = e; - } + if (importedPackage_.get ()) + { + *importedPackage_ = e; + } else - { - reference_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); - reference_->container (this); - } + { + importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); + importedPackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: id_p () const { @@ -213,2719 +320,3805 @@ namespace CIAO id (::XMLSchema::ID< ACE_TCHAR > const& e) { if (id_.get ()) - { - *id_ = e; - } + { + *id_ = e; + } else - { - id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); - id_->container (this); - } + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } } // SubcomponentPropertyReference - // + // SubcomponentPropertyReference:: SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, - ::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& instance__) - : - ::XSCRT::Type (), - propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (propertyName__)), - instance_ (new ::CIAO::Config_Handlers::SubcomponentInstantiationDescription (instance__)), - regulator__ () - { - propertyName_->container (this); - instance_->container (this); - } + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) + : + ::XSCRT::Type (), +propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (propertyName__)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), +regulator__ () +{ +propertyName_->container (this); +instance_->container (this); +} - SubcomponentPropertyReference:: - SubcomponentPropertyReference (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) - : - ::XSCRT::Type (), - propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.propertyName_)), - instance_ (new ::CIAO::Config_Handlers::SubcomponentInstantiationDescription (*s.instance_)), - regulator__ () - { - propertyName_->container (this); - instance_->container (this); - } +SubcomponentPropertyReference:: +SubcomponentPropertyReference (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) +: +::XSCRT::Type (), +propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.propertyName_)), +instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), +regulator__ () +{ +propertyName_->container (this); +instance_->container (this); +} - ::CIAO::Config_Handlers::SubcomponentPropertyReference& SubcomponentPropertyReference:: - operator= (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) - { - propertyName (s.propertyName ()); +::CIAO::Config_Handlers::SubcomponentPropertyReference& SubcomponentPropertyReference:: +operator= (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) +{ +propertyName (s.propertyName ()); - instance (s.instance ()); +instance (s.instance ()); - return *this; - } +return *this; +} - // SubcomponentPropertyReference - // - ::XMLSchema::string< ACE_TCHAR > const& SubcomponentPropertyReference:: - propertyName () const - { - return *propertyName_; - } +// SubcomponentPropertyReference +// +::XMLSchema::string< ACE_TCHAR > const& SubcomponentPropertyReference:: +propertyName () const +{ +return *propertyName_; +} - void SubcomponentPropertyReference:: - propertyName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *propertyName_ = e; - } +void SubcomponentPropertyReference:: +propertyName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*propertyName_ = e; +} - // SubcomponentPropertyReference - // - ::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& SubcomponentPropertyReference:: - instance () const - { - return *instance_; - } +// SubcomponentPropertyReference +// +::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPropertyReference:: +instance () const +{ +return *instance_; +} - void SubcomponentPropertyReference:: - instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& e) - { - *instance_ = e; - } +void SubcomponentPropertyReference:: +instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) +{ +*instance_ = e; +} - // AssemblyPropertyMapping - // +// AssemblyPropertyMapping +// - AssemblyPropertyMapping:: - AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& externalName__, - ::CIAO::Config_Handlers::SubcomponentPropertyReference const& delegatesTo__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - externalName_ (new ::XMLSchema::string< ACE_TCHAR > (externalName__)), - delegatesTo_ (new ::CIAO::Config_Handlers::SubcomponentPropertyReference (delegatesTo__)), - regulator__ () - { - name_->container (this); - externalName_->container (this); - delegatesTo_->container (this); - } +AssemblyPropertyMapping:: +AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& externalName__) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), +externalName_ (new ::XMLSchema::string< ACE_TCHAR > (externalName__)), +regulator__ () +{ +name_->container (this); +externalName_->container (this); +} - AssemblyPropertyMapping:: - AssemblyPropertyMapping (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - externalName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.externalName_)), - delegatesTo_ (new ::CIAO::Config_Handlers::SubcomponentPropertyReference (*s.delegatesTo_)), - regulator__ () - { - name_->container (this); - externalName_->container (this); - delegatesTo_->container (this); - } +AssemblyPropertyMapping:: +AssemblyPropertyMapping (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) +: +::XSCRT::Type (), +name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +externalName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.externalName_)), +regulator__ () +{ +name_->container (this); +externalName_->container (this); +{ +for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); +} +} - ::CIAO::Config_Handlers::AssemblyPropertyMapping& AssemblyPropertyMapping:: - operator= (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::AssemblyPropertyMapping& AssemblyPropertyMapping:: +operator= (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) +{ +name (s.name ()); - externalName (s.externalName ()); +externalName (s.externalName ()); - delegatesTo (s.delegatesTo ()); +delegatesTo_.clear (); +{ +for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); +} - return *this; - } +return *this; +} - // AssemblyPropertyMapping - // - ::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: - name () const - { - return *name_; - } +// AssemblyPropertyMapping +// +::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: +name () const +{ +return *name_; +} - void AssemblyPropertyMapping:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void AssemblyPropertyMapping:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // AssemblyPropertyMapping - // - ::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: - externalName () const - { - return *externalName_; - } +// AssemblyPropertyMapping +// +::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: +externalName () const +{ +return *externalName_; +} - void AssemblyPropertyMapping:: - externalName (::XMLSchema::string< ACE_TCHAR > const& e) - { - *externalName_ = e; - } +void AssemblyPropertyMapping:: +externalName (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*externalName_ = e; +} - // AssemblyPropertyMapping - // - ::CIAO::Config_Handlers::SubcomponentPropertyReference const& AssemblyPropertyMapping:: - delegatesTo () const - { - return *delegatesTo_; - } +// AssemblyPropertyMapping +// +AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: +begin_delegatesTo () +{ +return delegatesTo_.begin (); +} - void AssemblyPropertyMapping:: - delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& e) - { - *delegatesTo_ = e; - } +AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: +end_delegatesTo () +{ +return delegatesTo_.end (); +} +AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: +begin_delegatesTo () const +{ +return delegatesTo_.begin (); +} - // ComponentAssemblyDescription - // +AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: +end_delegatesTo () const +{ +return delegatesTo_.end (); +} - ComponentAssemblyDescription:: - ComponentAssemblyDescription () - : - ::XSCRT::Type (), - regulator__ () - { - } +void AssemblyPropertyMapping:: +add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& e) +{ +delegatesTo_.push_back (e); +} - ComponentAssemblyDescription:: - ComponentAssemblyDescription (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) - : - ::XSCRT::Type (), - externalProperty_ (s.externalProperty_.get () ? new ::CIAO::Config_Handlers::AssemblyPropertyMapping (*s.externalProperty_) : 0), - regulator__ () - { - { - for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); - } +size_t AssemblyPropertyMapping:: +count_delegatesTo(void) const +{ +return delegatesTo_.size (); +} - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } - if (externalProperty_.get ()) externalProperty_->container (this); - } +// ComponentAssemblyDescription +// - ::CIAO::Config_Handlers::ComponentAssemblyDescription& ComponentAssemblyDescription:: - operator= (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) - { - instance_.clear (); - { - for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); - } +ComponentAssemblyDescription:: +ComponentAssemblyDescription () +: +::XSCRT::Type (), +regulator__ () +{ +} - connection_.clear (); - { - for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); - } +ComponentAssemblyDescription:: +ComponentAssemblyDescription (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) +: +::XSCRT::Type (), +regulator__ () +{ +{ +for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); +} - if (s.externalProperty_.get ()) externalProperty (*(s.externalProperty_)); - else externalProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::AssemblyPropertyMapping > (0); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - return *this; - } +{ +for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); +} +} +::CIAO::Config_Handlers::ComponentAssemblyDescription& ComponentAssemblyDescription:: +operator= (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) +{ +instance_.clear (); +{ +for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); +} - // ComponentAssemblyDescription - // - ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: - begin_instance () - { - return instance_.begin (); - } +connection_.clear (); +{ +for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); +} - ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: - end_instance () - { - return instance_.end (); - } +externalProperty_.clear (); +{ +for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); +} - ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: - begin_instance () const - { - return instance_.begin (); - } +return *this; +} - ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: - end_instance () const - { - return instance_.end (); - } - void ComponentAssemblyDescription:: - add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& e) - { - instance_.push_back (e); - } +// ComponentAssemblyDescription +// +ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: +begin_instance () +{ +return instance_.begin (); +} - size_t ComponentAssemblyDescription:: - count_instance(void) const - { - return instance_.size (); - } +ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: +end_instance () +{ +return instance_.end (); +} - // ComponentAssemblyDescription - // - ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: - begin_connection () - { - return connection_.begin (); - } +ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: +begin_instance () const +{ +return instance_.begin (); +} - ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: - end_connection () - { - return connection_.end (); - } +ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: +end_instance () const +{ +return instance_.end (); +} - ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: - begin_connection () const - { - return connection_.begin (); - } +void ComponentAssemblyDescription:: +add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& e) +{ +instance_.push_back (e); +} - ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: - end_connection () const - { - return connection_.end (); - } +size_t ComponentAssemblyDescription:: +count_instance(void) const +{ +return instance_.size (); +} - void ComponentAssemblyDescription:: - add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& e) - { - connection_.push_back (e); - } +// ComponentAssemblyDescription +// +ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: +begin_connection () +{ +return connection_.begin (); +} - size_t ComponentAssemblyDescription:: - count_connection(void) const - { - return connection_.size (); - } +ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: +end_connection () +{ +return connection_.end (); +} - // ComponentAssemblyDescription - // - bool ComponentAssemblyDescription:: - externalProperty_p () const - { - return externalProperty_.get () != 0; - } +ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: +begin_connection () const +{ +return connection_.begin (); +} - ::CIAO::Config_Handlers::AssemblyPropertyMapping const& ComponentAssemblyDescription:: - externalProperty () const - { - return *externalProperty_; - } +ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: +end_connection () const +{ +return connection_.end (); +} - void ComponentAssemblyDescription:: - externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& e) - { - if (externalProperty_.get ()) - { - *externalProperty_ = e; - } +void ComponentAssemblyDescription:: +add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& e) +{ +connection_.push_back (e); +} - else - { - externalProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::AssemblyPropertyMapping > (new ::CIAO::Config_Handlers::AssemblyPropertyMapping (e)); - externalProperty_->container (this); - } - } +size_t ComponentAssemblyDescription:: +count_connection(void) const +{ +return connection_.size (); +} +// ComponentAssemblyDescription +// +ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: +begin_externalProperty () +{ +return externalProperty_.begin (); +} - // MonolithicImplementationDescription - // +ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: +end_externalProperty () +{ +return externalProperty_.end (); +} - MonolithicImplementationDescription:: - MonolithicImplementationDescription () - : - ::XSCRT::Type (), - regulator__ () - { - } +ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: +begin_externalProperty () const +{ +return externalProperty_.begin (); +} - MonolithicImplementationDescription:: - MonolithicImplementationDescription (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) - : - ::XSCRT::Type (), - execParameter_ (s.execParameter_.get () ? new ::CIAO::Config_Handlers::Property (*s.execParameter_) : 0), - deployRequirement_ (s.deployRequirement_.get () ? new ::CIAO::Config_Handlers::ImplementationRequirement (*s.deployRequirement_) : 0), - regulator__ () - { - if (execParameter_.get ()) execParameter_->container (this); - { - for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); - } +ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: +end_externalProperty () const +{ +return externalProperty_.end (); +} - if (deployRequirement_.get ()) deployRequirement_->container (this); - } +void ComponentAssemblyDescription:: +add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& e) +{ +externalProperty_.push_back (e); +} - ::CIAO::Config_Handlers::MonolithicImplementationDescription& MonolithicImplementationDescription:: - operator= (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) - { - if (s.execParameter_.get ()) execParameter (*(s.execParameter_)); - else execParameter_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +size_t ComponentAssemblyDescription:: +count_externalProperty(void) const +{ +return externalProperty_.size (); +} - primaryArtifact_.clear (); - { - for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); - } - if (s.deployRequirement_.get ()) deployRequirement (*(s.deployRequirement_)); - else deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationRequirement > (0); +// MonolithicImplementationDescription +// - return *this; - } +MonolithicImplementationDescription:: +MonolithicImplementationDescription () +: +::XSCRT::Type (), +regulator__ () +{ +} +MonolithicImplementationDescription:: +MonolithicImplementationDescription (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) +: +::XSCRT::Type (), +regulator__ () +{ +{ +for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); +} - // MonolithicImplementationDescription - // - bool MonolithicImplementationDescription:: - execParameter_p () const - { - return execParameter_.get () != 0; - } +{ +for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); +} - ::CIAO::Config_Handlers::Property const& MonolithicImplementationDescription:: - execParameter () const - { - return *execParameter_; - } +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - void MonolithicImplementationDescription:: - execParameter (::CIAO::Config_Handlers::Property const& e) - { - if (execParameter_.get ()) - { - *execParameter_ = e; - } +{ +for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); +} +} - else - { - execParameter_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - execParameter_->container (this); - } - } +::CIAO::Config_Handlers::MonolithicImplementationDescription& MonolithicImplementationDescription:: +operator= (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) +{ +nodeExecParameter_.clear (); +{ +for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); +} - // MonolithicImplementationDescription - // - MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: - begin_primaryArtifact () - { - return primaryArtifact_.begin (); - } +componentExecParameter_.clear (); +{ +for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); +} - MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: - end_primaryArtifact () - { - return primaryArtifact_.end (); - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: - begin_primaryArtifact () const - { - return primaryArtifact_.begin (); - } +primaryArtifact_.clear (); +{ +for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); +} - MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: - end_primaryArtifact () const - { - return primaryArtifact_.end (); - } +return *this; +} - void MonolithicImplementationDescription:: - add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) - { - primaryArtifact_.push_back (e); - } - size_t MonolithicImplementationDescription:: - count_primaryArtifact(void) const - { - return primaryArtifact_.size (); - } +// MonolithicImplementationDescription +// +MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: +begin_nodeExecParameter () +{ +return nodeExecParameter_.begin (); +} - // MonolithicImplementationDescription - // - bool MonolithicImplementationDescription:: - deployRequirement_p () const - { - return deployRequirement_.get () != 0; - } +MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: +end_nodeExecParameter () +{ +return nodeExecParameter_.end (); +} - ::CIAO::Config_Handlers::ImplementationRequirement const& MonolithicImplementationDescription:: - deployRequirement () const - { - return *deployRequirement_; - } +MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: +begin_nodeExecParameter () const +{ +return nodeExecParameter_.begin (); +} - void MonolithicImplementationDescription:: - deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& e) - { - if (deployRequirement_.get ()) - { - *deployRequirement_ = e; - } +MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: +end_nodeExecParameter () const +{ +return nodeExecParameter_.end (); +} - else - { - deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationRequirement > (new ::CIAO::Config_Handlers::ImplementationRequirement (e)); - deployRequirement_->container (this); - } - } +void MonolithicImplementationDescription:: +add_nodeExecParameter (::CIAO::Config_Handlers::Property const& e) +{ +nodeExecParameter_.push_back (e); +} +size_t MonolithicImplementationDescription:: +count_nodeExecParameter(void) const +{ +return nodeExecParameter_.size (); +} - // ComponentImplementationDescription - // +// MonolithicImplementationDescription +// +MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: +begin_componentExecParameter () +{ +return componentExecParameter_.begin (); +} - ComponentImplementationDescription:: - ComponentImplementationDescription () - : - ::XSCRT::Type (), - regulator__ () - { - } +MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: +end_componentExecParameter () +{ +return componentExecParameter_.end (); +} - ComponentImplementationDescription:: - ComponentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - implements_ (s.implements_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.implements_) : 0), - assemblyImpl_ (s.assemblyImpl_.get () ? new ::CIAO::Config_Handlers::ComponentAssemblyDescription (*s.assemblyImpl_) : 0), - monolithicImpl_ (s.monolithicImpl_.get () ? new ::CIAO::Config_Handlers::MonolithicImplementationDescription (*s.monolithicImpl_) : 0), - configProperty_ (s.configProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.configProperty_) : 0), - capability_ (s.capability_.get () ? new ::CIAO::Config_Handlers::Capability (*s.capability_) : 0), - dependsOn_ (s.dependsOn_.get () ? new ::CIAO::Config_Handlers::ImplementationDependency (*s.dependsOn_) : 0), - infoProperty_ (s.infoProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.infoProperty_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () - { - if (label_.get ()) label_->container (this); - if (UUID_.get ()) UUID_->container (this); - if (implements_.get ()) implements_->container (this); - if (assemblyImpl_.get ()) assemblyImpl_->container (this); - if (monolithicImpl_.get ()) monolithicImpl_->container (this); - if (configProperty_.get ()) configProperty_->container (this); - if (capability_.get ()) capability_->container (this); - if (dependsOn_.get ()) dependsOn_->container (this); - if (infoProperty_.get ()) infoProperty_->container (this); - if (contentLocation_.get ()) contentLocation_->container (this); - if (href_.get ()) href_->container (this); - } +MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: +begin_componentExecParameter () const +{ +return componentExecParameter_.begin (); +} - ::CIAO::Config_Handlers::ComponentImplementationDescription& ComponentImplementationDescription:: - operator= (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) - { - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: +end_componentExecParameter () const +{ +return componentExecParameter_.end (); +} - if (s.UUID_.get ()) UUID (*(s.UUID_)); - else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +void MonolithicImplementationDescription:: +add_componentExecParameter (::CIAO::Config_Handlers::Property const& e) +{ +componentExecParameter_.push_back (e); +} - if (s.implements_.get ()) implements (*(s.implements_)); - else implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); +size_t MonolithicImplementationDescription:: +count_componentExecParameter(void) const +{ +return componentExecParameter_.size (); +} - if (s.assemblyImpl_.get ()) assemblyImpl (*(s.assemblyImpl_)); - else assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (0); +// MonolithicImplementationDescription +// +MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} - if (s.monolithicImpl_.get ()) monolithicImpl (*(s.monolithicImpl_)); - else monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (0); +MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} - if (s.configProperty_.get ()) configProperty (*(s.configProperty_)); - else configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} - if (s.capability_.get ()) capability (*(s.capability_)); - else capability_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Capability > (0); +MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} - if (s.dependsOn_.get ()) dependsOn (*(s.dependsOn_)); - else dependsOn_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationDependency > (0); +void MonolithicImplementationDescription:: +add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& e) +{ +deployRequirement_.push_back (e); +} - if (s.infoProperty_.get ()) infoProperty (*(s.infoProperty_)); - else infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +size_t MonolithicImplementationDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} - if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); - else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +// MonolithicImplementationDescription +// +MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: +begin_primaryArtifact () +{ +return primaryArtifact_.begin (); +} - if (s.href_.get ()) href (*(s.href_)); - else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: +end_primaryArtifact () +{ +return primaryArtifact_.end (); +} - return *this; - } +MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: +begin_primaryArtifact () const +{ +return primaryArtifact_.begin (); +} +MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: +end_primaryArtifact () const +{ +return primaryArtifact_.end (); +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - label_p () const - { - return label_.get () != 0; - } +void MonolithicImplementationDescription:: +add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) +{ +primaryArtifact_.push_back (e); +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: - label () const - { - return *label_; - } +size_t MonolithicImplementationDescription:: +count_primaryArtifact(void) const +{ +return primaryArtifact_.size (); +} - void ComponentImplementationDescription:: - label (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (label_.get ()) - { - *label_ = e; - } - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } - } +// ComponentImplementationDescription +// - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - UUID_p () const - { - return UUID_.get () != 0; - } +ComponentImplementationDescription:: +ComponentImplementationDescription () +: +::XSCRT::Type (), +regulator__ () +{ +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: - UUID () const - { - return *UUID_; - } +ComponentImplementationDescription:: +ComponentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) +: +::XSCRT::Type (), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), +implements_ (s.implements_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.implements_) : 0), +assemblyImpl_ (s.assemblyImpl_.get () ? new ::CIAO::Config_Handlers::ComponentAssemblyDescription (*s.assemblyImpl_) : 0), +monolithicImpl_ (s.monolithicImpl_.get () ? new ::CIAO::Config_Handlers::MonolithicImplementationDescription (*s.monolithicImpl_) : 0), +contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), +href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), +regulator__ () +{ +if (label_.get ()) label_->container (this); +if (UUID_.get ()) UUID_->container (this); +if (implements_.get ()) implements_->container (this); +if (assemblyImpl_.get ()) assemblyImpl_->container (this); +if (monolithicImpl_.get ()) monolithicImpl_->container (this); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - void ComponentImplementationDescription:: - UUID (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (UUID_.get ()) - { - *UUID_ = e; - } +{ +for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); +} - else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } - } +{ +for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - implements_p () const - { - return implements_.get () != 0; - } +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} - ::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentImplementationDescription:: - implements () const - { - return *implements_; - } +if (contentLocation_.get ()) contentLocation_->container (this); +if (href_.get ()) href_->container (this); +} - void ComponentImplementationDescription:: - implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) - { - if (implements_.get ()) - { - *implements_ = e; - } +::CIAO::Config_Handlers::ComponentImplementationDescription& ComponentImplementationDescription:: +operator= (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) +{ +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - else - { - implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); - implements_->container (this); - } - } +if (s.UUID_.get ()) UUID (*(s.UUID_)); +else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - assemblyImpl_p () const - { - return assemblyImpl_.get () != 0; - } +if (s.implements_.get ()) implements (*(s.implements_)); +else implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); - ::CIAO::Config_Handlers::ComponentAssemblyDescription const& ComponentImplementationDescription:: - assemblyImpl () const - { - return *assemblyImpl_; - } +if (s.assemblyImpl_.get ()) assemblyImpl (*(s.assemblyImpl_)); +else assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (0); - void ComponentImplementationDescription:: - assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& e) - { - if (assemblyImpl_.get ()) - { - *assemblyImpl_ = e; - } +if (s.monolithicImpl_.get ()) monolithicImpl (*(s.monolithicImpl_)); +else monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (0); - else - { - assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (new ::CIAO::Config_Handlers::ComponentAssemblyDescription (e)); - assemblyImpl_->container (this); - } - } +configProperty_.clear (); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - monolithicImpl_p () const - { - return monolithicImpl_.get () != 0; - } +capability_.clear (); +{ +for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); +} - ::CIAO::Config_Handlers::MonolithicImplementationDescription const& ComponentImplementationDescription:: - monolithicImpl () const - { - return *monolithicImpl_; - } +dependsOn_.clear (); +{ +for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); +} - void ComponentImplementationDescription:: - monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& e) - { - if (monolithicImpl_.get ()) - { - *monolithicImpl_ = e; - } +infoProperty_.clear (); +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} - else - { - monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (new ::CIAO::Config_Handlers::MonolithicImplementationDescription (e)); - monolithicImpl_->container (this); - } - } +if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); +else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - configProperty_p () const - { - return configProperty_.get () != 0; - } +if (s.href_.get ()) href (*(s.href_)); +else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - ::CIAO::Config_Handlers::Property const& ComponentImplementationDescription:: - configProperty () const - { - return *configProperty_; - } +return *this; +} - void ComponentImplementationDescription:: - configProperty (::CIAO::Config_Handlers::Property const& e) - { - if (configProperty_.get ()) - { - *configProperty_ = e; - } - else - { - configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - configProperty_->container (this); - } - } +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +label_p () const +{ +return label_.get () != 0; +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - capability_p () const - { - return capability_.get () != 0; - } +::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: +label () const +{ +return *label_; +} - ::CIAO::Config_Handlers::Capability const& ComponentImplementationDescription:: - capability () const - { - return *capability_; - } +void ComponentImplementationDescription:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - void ComponentImplementationDescription:: - capability (::CIAO::Config_Handlers::Capability const& e) - { - if (capability_.get ()) - { - *capability_ = e; - } +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - else - { - capability_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Capability > (new ::CIAO::Config_Handlers::Capability (e)); - capability_->container (this); - } - } +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +UUID_p () const +{ +return UUID_.get () != 0; +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - dependsOn_p () const - { - return dependsOn_.get () != 0; - } +::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: +UUID () const +{ +return *UUID_; +} - ::CIAO::Config_Handlers::ImplementationDependency const& ComponentImplementationDescription:: - dependsOn () const - { - return *dependsOn_; - } +void ComponentImplementationDescription:: +UUID (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (UUID_.get ()) +{ +*UUID_ = e; +} - void ComponentImplementationDescription:: - dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& e) - { - if (dependsOn_.get ()) - { - *dependsOn_ = e; - } +else +{ +UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +UUID_->container (this); +} +} - else - { - dependsOn_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationDependency > (new ::CIAO::Config_Handlers::ImplementationDependency (e)); - dependsOn_->container (this); - } - } +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +implements_p () const +{ +return implements_.get () != 0; +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - infoProperty_p () const - { - return infoProperty_.get () != 0; - } +::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentImplementationDescription:: +implements () const +{ +return *implements_; +} - ::CIAO::Config_Handlers::Property const& ComponentImplementationDescription:: - infoProperty () const - { - return *infoProperty_; - } +void ComponentImplementationDescription:: +implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) +{ +if (implements_.get ()) +{ +*implements_ = e; +} - void ComponentImplementationDescription:: - infoProperty (::CIAO::Config_Handlers::Property const& e) - { - if (infoProperty_.get ()) - { - *infoProperty_ = e; - } +else +{ +implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); +implements_->container (this); +} +} - else - { - infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - infoProperty_->container (this); - } - } +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +assemblyImpl_p () const +{ +return assemblyImpl_.get () != 0; +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - contentLocation_p () const - { - return contentLocation_.get () != 0; - } +::CIAO::Config_Handlers::ComponentAssemblyDescription const& ComponentImplementationDescription:: +assemblyImpl () const +{ +return *assemblyImpl_; +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: - contentLocation () const - { - return *contentLocation_; - } +void ComponentImplementationDescription:: +assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& e) +{ +if (assemblyImpl_.get ()) +{ +*assemblyImpl_ = e; +} - void ComponentImplementationDescription:: - contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (contentLocation_.get ()) - { - *contentLocation_ = e; - } +else +{ +assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (new ::CIAO::Config_Handlers::ComponentAssemblyDescription (e)); +assemblyImpl_->container (this); +} +} - else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } - } +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +monolithicImpl_p () const +{ +return monolithicImpl_.get () != 0; +} - // ComponentImplementationDescription - // - bool ComponentImplementationDescription:: - href_p () const - { - return href_.get () != 0; - } +::CIAO::Config_Handlers::MonolithicImplementationDescription const& ComponentImplementationDescription:: +monolithicImpl () const +{ +return *monolithicImpl_; +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: - href () const - { - return *href_; - } +void ComponentImplementationDescription:: +monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& e) +{ +if (monolithicImpl_.get ()) +{ +*monolithicImpl_ = e; +} - ::XMLSchema::string< ACE_TCHAR >& ComponentImplementationDescription:: - href () - { - return *href_; - } +else +{ +monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (new ::CIAO::Config_Handlers::MonolithicImplementationDescription (e)); +monolithicImpl_->container (this); +} +} - void ComponentImplementationDescription:: - href (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (href_.get ()) - { - *href_ = e; - } +// ComponentImplementationDescription +// +ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: +begin_configProperty () +{ +return configProperty_.begin (); +} - else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } - } - } +ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: +end_configProperty () +{ +return configProperty_.end (); +} + +ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: +begin_configProperty () const +{ +return configProperty_.begin (); +} + +ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: +end_configProperty () const +{ +return configProperty_.end (); +} + +void ComponentImplementationDescription:: +add_configProperty (::CIAO::Config_Handlers::Property const& e) +{ +configProperty_.push_back (e); +} + +size_t ComponentImplementationDescription:: +count_configProperty(void) const +{ +return configProperty_.size (); +} + +// ComponentImplementationDescription +// +ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: +begin_capability () +{ +return capability_.begin (); +} + +ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: +end_capability () +{ +return capability_.end (); +} + +ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: +begin_capability () const +{ +return capability_.begin (); +} + +ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: +end_capability () const +{ +return capability_.end (); +} + +void ComponentImplementationDescription:: +add_capability (::CIAO::Config_Handlers::Capability const& e) +{ +capability_.push_back (e); +} + +size_t ComponentImplementationDescription:: +count_capability(void) const +{ +return capability_.size (); +} + +// ComponentImplementationDescription +// +ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: +begin_dependsOn () +{ +return dependsOn_.begin (); +} + +ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: +end_dependsOn () +{ +return dependsOn_.end (); +} + +ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: +begin_dependsOn () const +{ +return dependsOn_.begin (); +} + +ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: +end_dependsOn () const +{ +return dependsOn_.end (); +} + +void ComponentImplementationDescription:: +add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& e) +{ +dependsOn_.push_back (e); +} + +size_t ComponentImplementationDescription:: +count_dependsOn(void) const +{ +return dependsOn_.size (); +} + +// ComponentImplementationDescription +// +ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: +begin_infoProperty () +{ +return infoProperty_.begin (); +} + +ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: +end_infoProperty () +{ +return infoProperty_.end (); +} + +ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: +begin_infoProperty () const +{ +return infoProperty_.begin (); +} + +ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: +end_infoProperty () const +{ +return infoProperty_.end (); +} + +void ComponentImplementationDescription:: +add_infoProperty (::CIAO::Config_Handlers::Property const& e) +{ +infoProperty_.push_back (e); +} + +size_t ComponentImplementationDescription:: +count_infoProperty(void) const +{ +return infoProperty_.size (); +} + +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +contentLocation_p () const +{ +return contentLocation_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: +contentLocation () const +{ +return *contentLocation_; +} + +void ComponentImplementationDescription:: +contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (contentLocation_.get ()) +{ +*contentLocation_ = e; +} + +else +{ +contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +contentLocation_->container (this); +} +} + +// ComponentImplementationDescription +// +bool ComponentImplementationDescription:: +href_p () const +{ +return href_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: +href () const +{ +return *href_; +} + +::XMLSchema::string< ACE_TCHAR >& ComponentImplementationDescription:: +href () +{ +return *href_; +} + +void ComponentImplementationDescription:: +href (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (href_.get ()) +{ +*href_ = e; +} + +else +{ +href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +href_->container (this); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - // SubcomponentInstantiationDescription - // +namespace Config_Handlers +{ +// SubcomponentInstantiationDescription +// - SubcomponentInstantiationDescription:: - SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +SubcomponentInstantiationDescription:: +SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); +::XSCRT::Parser< ACE_TCHAR > p (e); - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else if (n == "package") - { - package_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); - package_->container (this); - } +else if (n == "basePackage") +{ +::CIAO::Config_Handlers::ComponentPackageDescription t (e); +basePackage (t); +} - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - configProperty (t); - } +else if (n == "specializedConfig") +{ +::CIAO::Config_Handlers::PackageConfiguration t (e); +specializedConfig (t); +} - else if (n == "selectRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - selectRequirement (t); - } +else if (n == "selectRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_selectRequirement (t); +} - else if (n == "reference") - { - ::CIAO::Config_Handlers::ComponentPackageReference t (e); - reference (t); - } +else if (n == "configProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_configProperty (t); +} - else - { - } - } +else if (n == "referencedPackage") +{ +::CIAO::Config_Handlers::ComponentPackageReference t (e); +referencedPackage (t); +} - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "id") - { - ::XMLSchema::ID< ACE_TCHAR > t (a); - id (t); - } +else if (n == "importedPackage") +{ +::CIAO::Config_Handlers::ComponentPackageImport t (e); +importedPackage (t); +} - else - { - } - } - } +else +{ +} +} - // SubcomponentPropertyReference - // +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "id") +{ +::XMLSchema::ID< ACE_TCHAR > t (a); +id (t); +} - SubcomponentPropertyReference:: - SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// SubcomponentPropertyReference +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +SubcomponentPropertyReference:: +SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "propertyName") - { - propertyName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - propertyName_->container (this); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "instance") - { - instance_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > (new ::CIAO::Config_Handlers::SubcomponentInstantiationDescription (e)); - instance_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else - { - } - } - } +if (n == "propertyName") +{ +propertyName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +propertyName_->container (this); +} - // AssemblyPropertyMapping - // +else if (n == "instance") +{ +instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); +instance_->container (this); +} - AssemblyPropertyMapping:: - AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// AssemblyPropertyMapping +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +AssemblyPropertyMapping:: +AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "externalName") - { - externalName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - externalName_->container (this); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "delegatesTo") - { - delegatesTo_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SubcomponentPropertyReference > (new ::CIAO::Config_Handlers::SubcomponentPropertyReference (e)); - delegatesTo_->container (this); - } +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - else - { - } - } - } +else if (n == "externalName") +{ +externalName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +externalName_->container (this); +} - // ComponentAssemblyDescription - // +else if (n == "delegatesTo") +{ +::CIAO::Config_Handlers::SubcomponentPropertyReference t (e); +add_delegatesTo (t); +} - ComponentAssemblyDescription:: - ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// ComponentAssemblyDescription +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +ComponentAssemblyDescription:: +ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "instance") - { - ::CIAO::Config_Handlers::SubcomponentInstantiationDescription t (e); - add_instance (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "connection") - { - ::CIAO::Config_Handlers::AssemblyConnectionDescription t (e); - add_connection (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "externalProperty") - { - ::CIAO::Config_Handlers::AssemblyPropertyMapping t (e); - externalProperty (t); - } +if (n == "instance") +{ +::CIAO::Config_Handlers::SubcomponentInstantiationDescription t (e); +add_instance (t); +} - else - { - } - } - } +else if (n == "connection") +{ +::CIAO::Config_Handlers::AssemblyConnectionDescription t (e); +add_connection (t); +} - // MonolithicImplementationDescription - // +else if (n == "externalProperty") +{ +::CIAO::Config_Handlers::AssemblyPropertyMapping t (e); +add_externalProperty (t); +} - MonolithicImplementationDescription:: - MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else +{ +} +} +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +// MonolithicImplementationDescription +// - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +MonolithicImplementationDescription:: +MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - if (n == "execParameter") - { - ::CIAO::Config_Handlers::Property t (e); - execParameter (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "primaryArtifact") - { - ::CIAO::Config_Handlers::NamedImplementationArtifact t (e); - add_primaryArtifact (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::ImplementationRequirement t (e); - deployRequirement (t); - } +if (n == "nodeExecParameter") +{ +::CIAO::Config_Handlers::Property t (e); +add_nodeExecParameter (t); +} - else - { - } - } - } +else if (n == "componentExecParameter") +{ +::CIAO::Config_Handlers::Property t (e); +add_componentExecParameter (t); +} - // ComponentImplementationDescription - // +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::ImplementationRequirement t (e); +add_deployRequirement (t); +} - ComponentImplementationDescription:: - ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +else if (n == "primaryArtifact") +{ +::CIAO::Config_Handlers::NamedImplementationArtifact t (e); +add_primaryArtifact (t); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); +else +{ +} +} +} - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); +// ComponentImplementationDescription +// - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } +ComponentImplementationDescription:: +ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } +::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "implements") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); - implements (t); - } +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - else if (n == "assemblyImpl") - { - ::CIAO::Config_Handlers::ComponentAssemblyDescription t (e); - assemblyImpl (t); - } +if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} - else if (n == "monolithicImpl") - { - ::CIAO::Config_Handlers::MonolithicImplementationDescription t (e); - monolithicImpl (t); - } +else if (n == "UUID") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +UUID (t); +} - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - configProperty (t); - } +else if (n == "implements") +{ +::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); +implements (t); +} - else if (n == "capability") - { - ::CIAO::Config_Handlers::Capability t (e); - capability (t); - } +else if (n == "assemblyImpl") +{ +::CIAO::Config_Handlers::ComponentAssemblyDescription t (e); +assemblyImpl (t); +} - else if (n == "dependsOn") - { - ::CIAO::Config_Handlers::ImplementationDependency t (e); - dependsOn (t); - } +else if (n == "monolithicImpl") +{ +::CIAO::Config_Handlers::MonolithicImplementationDescription t (e); +monolithicImpl (t); +} - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - infoProperty (t); - } +else if (n == "configProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_configProperty (t); +} - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } +else if (n == "capability") +{ +::CIAO::Config_Handlers::Capability t (e); +add_capability (t); +} - else - { - } - } +else if (n == "dependsOn") +{ +::CIAO::Config_Handlers::ImplementationDependency t (e); +add_dependsOn (t); +} - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") - { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); - } +else if (n == "infoProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_infoProperty (t); +} - else - { - } - } - } - } +else if (n == "contentLocation") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +contentLocation (t); +} + +else +{ +} +} + +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "href") +{ +::XMLSchema::string< ACE_TCHAR > t (a); +href (t); +} + +else +{ +} +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/TypeInfo.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace - { - ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); +namespace Config_Handlers +{ +namespace +{ +::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - struct SubcomponentInstantiationDescriptionTypeInfoInitializer - { - SubcomponentInstantiationDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SubcomponentInstantiationDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SubcomponentInstantiationDescriptionTypeInfoInitializer +{ +SubcomponentInstantiationDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SubcomponentInstantiationDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SubcomponentInstantiationDescriptionTypeInfoInitializer SubcomponentInstantiationDescriptionTypeInfoInitializer_; +SubcomponentInstantiationDescriptionTypeInfoInitializer SubcomponentInstantiationDescriptionTypeInfoInitializer_; - struct SubcomponentPropertyReferenceTypeInfoInitializer - { - SubcomponentPropertyReferenceTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (SubcomponentPropertyReference)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct SubcomponentPropertyReferenceTypeInfoInitializer +{ +SubcomponentPropertyReferenceTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (SubcomponentPropertyReference)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - SubcomponentPropertyReferenceTypeInfoInitializer SubcomponentPropertyReferenceTypeInfoInitializer_; +SubcomponentPropertyReferenceTypeInfoInitializer SubcomponentPropertyReferenceTypeInfoInitializer_; - struct AssemblyPropertyMappingTypeInfoInitializer - { - AssemblyPropertyMappingTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (AssemblyPropertyMapping)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct AssemblyPropertyMappingTypeInfoInitializer +{ +AssemblyPropertyMappingTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (AssemblyPropertyMapping)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - AssemblyPropertyMappingTypeInfoInitializer AssemblyPropertyMappingTypeInfoInitializer_; +AssemblyPropertyMappingTypeInfoInitializer AssemblyPropertyMappingTypeInfoInitializer_; - struct ComponentAssemblyDescriptionTypeInfoInitializer - { - ComponentAssemblyDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentAssemblyDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentAssemblyDescriptionTypeInfoInitializer +{ +ComponentAssemblyDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentAssemblyDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentAssemblyDescriptionTypeInfoInitializer ComponentAssemblyDescriptionTypeInfoInitializer_; +ComponentAssemblyDescriptionTypeInfoInitializer ComponentAssemblyDescriptionTypeInfoInitializer_; - struct MonolithicImplementationDescriptionTypeInfoInitializer - { - MonolithicImplementationDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (MonolithicImplementationDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct MonolithicImplementationDescriptionTypeInfoInitializer +{ +MonolithicImplementationDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (MonolithicImplementationDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - MonolithicImplementationDescriptionTypeInfoInitializer MonolithicImplementationDescriptionTypeInfoInitializer_; +MonolithicImplementationDescriptionTypeInfoInitializer MonolithicImplementationDescriptionTypeInfoInitializer_; - struct ComponentImplementationDescriptionTypeInfoInitializer - { - ComponentImplementationDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentImplementationDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); +struct ComponentImplementationDescriptionTypeInfoInitializer +{ +ComponentImplementationDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentImplementationDescription)); +::XSCRT::ExtendedTypeInfo nf (id); - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; - ComponentImplementationDescriptionTypeInfoInitializer ComponentImplementationDescriptionTypeInfoInitializer_; - } - } +ComponentImplementationDescriptionTypeInfoInitializer ComponentImplementationDescriptionTypeInfoInitializer_; +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - // SubcomponentInstantiationDescription - // - // +namespace Config_Handlers +{ +namespace Traversal +{ +// SubcomponentInstantiationDescription +// +// - void SubcomponentInstantiationDescription:: - traverse (Type& o) - { - pre (o); - name (o); - package (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.selectRequirement_p ()) selectRequirement (o); - else selectRequirement_none (o); - if (o.reference_p ()) reference (o); - else reference_none (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void SubcomponentInstantiationDescription:: +traverse (Type& o) +{ +pre (o); +name (o); +if (o.basePackage_p ()) basePackage (o); +else basePackage_none (o); +if (o.specializedConfig_p ()) specializedConfig (o); +else specializedConfig_none (o); +selectRequirement (o); +configProperty (o); +if (o.referencedPackage_p ()) referencedPackage (o); +else referencedPackage_none (o); +if (o.importedPackage_p ()) importedPackage (o); +else importedPackage_none (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void SubcomponentInstantiationDescription:: - traverse (Type const& o) - { - pre (o); - name (o); - package (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.selectRequirement_p ()) selectRequirement (o); - else selectRequirement_none (o); - if (o.reference_p ()) reference (o); - else reference_none (o); - if (o.id_p ()) id (o); - else id_none (o); - post (o); - } +void SubcomponentInstantiationDescription:: +traverse (Type const& o) +{ +pre (o); +name (o); +if (o.basePackage_p ()) basePackage (o); +else basePackage_none (o); +if (o.specializedConfig_p ()) specializedConfig (o); +else specializedConfig_none (o); +selectRequirement (o); +configProperty (o); +if (o.referencedPackage_p ()) referencedPackage (o); +else referencedPackage_none (o); +if (o.importedPackage_p ()) importedPackage (o); +else importedPackage_none (o); +if (o.id_p ()) id (o); +else id_none (o); +post (o); +} - void SubcomponentInstantiationDescription:: - pre (Type&) - { - } +void SubcomponentInstantiationDescription:: +pre (Type&) +{ +} - void SubcomponentInstantiationDescription:: - pre (Type const&) - { - } +void SubcomponentInstantiationDescription:: +pre (Type const&) +{ +} - void SubcomponentInstantiationDescription:: - name (Type& o) - { - dispatch (o.name ()); - } +void SubcomponentInstantiationDescription:: +name (Type& o) +{ +dispatch (o.name ()); +} - void SubcomponentInstantiationDescription:: - name (Type const& o) - { - dispatch (o.name ()); - } +void SubcomponentInstantiationDescription:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void SubcomponentInstantiationDescription:: - package (Type& o) - { - dispatch (o.package ()); - } +void SubcomponentInstantiationDescription:: +basePackage (Type& o) +{ +dispatch (o.basePackage ()); +} - void SubcomponentInstantiationDescription:: - package (Type const& o) - { - dispatch (o.package ()); - } +void SubcomponentInstantiationDescription:: +basePackage (Type const& o) +{ +dispatch (o.basePackage ()); +} - void SubcomponentInstantiationDescription:: - configProperty (Type& o) - { - dispatch (o.configProperty ()); - } +void SubcomponentInstantiationDescription:: +basePackage_none (Type&) +{ +} - void SubcomponentInstantiationDescription:: - configProperty (Type const& o) - { - dispatch (o.configProperty ()); - } +void SubcomponentInstantiationDescription:: +basePackage_none (Type const&) +{ +} - void SubcomponentInstantiationDescription:: - configProperty_none (Type&) - { - } +void SubcomponentInstantiationDescription:: +specializedConfig (Type& o) +{ +dispatch (o.specializedConfig ()); +} - void SubcomponentInstantiationDescription:: - configProperty_none (Type const&) - { - } +void SubcomponentInstantiationDescription:: +specializedConfig (Type const& o) +{ +dispatch (o.specializedConfig ()); +} - void SubcomponentInstantiationDescription:: - selectRequirement (Type& o) - { - dispatch (o.selectRequirement ()); - } +void SubcomponentInstantiationDescription:: +specializedConfig_none (Type&) +{ +} - void SubcomponentInstantiationDescription:: - selectRequirement (Type const& o) - { - dispatch (o.selectRequirement ()); - } +void SubcomponentInstantiationDescription:: +specializedConfig_none (Type const&) +{ +} - void SubcomponentInstantiationDescription:: - selectRequirement_none (Type&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement (Type& o) +{ +// VC6 anathema strikes again +// +SubcomponentInstantiationDescription::Type::selectRequirement_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); - void SubcomponentInstantiationDescription:: - selectRequirement_none (Type const&) - { - } +if (b != e) +{ +selectRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) selectRequirement_next (o); +} - void SubcomponentInstantiationDescription:: - reference (Type& o) - { - dispatch (o.reference ()); - } +selectRequirement_post (o); +} - void SubcomponentInstantiationDescription:: - reference (Type const& o) - { - dispatch (o.reference ()); - } +else selectRequirement_none (o); +} - void SubcomponentInstantiationDescription:: - reference_none (Type&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +SubcomponentInstantiationDescription::Type::selectRequirement_const_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); - void SubcomponentInstantiationDescription:: - reference_none (Type const&) - { - } +if (b != e) +{ +selectRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) selectRequirement_next (o); +} - void SubcomponentInstantiationDescription:: - id (Type& o) - { - dispatch (o.id ()); - } +selectRequirement_post (o); +} - void SubcomponentInstantiationDescription:: - id (Type const& o) - { - dispatch (o.id ()); - } +else selectRequirement_none (o); +} - void SubcomponentInstantiationDescription:: - id_none (Type&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement_pre (Type&) +{ +} - void SubcomponentInstantiationDescription:: - id_none (Type const&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement_pre (Type const&) +{ +} - void SubcomponentInstantiationDescription:: - post (Type&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement_next (Type&) +{ +} - void SubcomponentInstantiationDescription:: - post (Type const&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement_next (Type const&) +{ +} - // SubcomponentPropertyReference - // - // +void SubcomponentInstantiationDescription:: +selectRequirement_post (Type&) +{ +} - void SubcomponentPropertyReference:: - traverse (Type& o) - { - pre (o); - propertyName (o); - instance (o); - post (o); - } +void SubcomponentInstantiationDescription:: +selectRequirement_post (Type const&) +{ +} - void SubcomponentPropertyReference:: - traverse (Type const& o) - { - pre (o); - propertyName (o); - instance (o); - post (o); - } +void SubcomponentInstantiationDescription:: +selectRequirement_none (Type&) +{ +} - void SubcomponentPropertyReference:: - pre (Type&) - { - } +void SubcomponentInstantiationDescription:: +selectRequirement_none (Type const&) +{ +} - void SubcomponentPropertyReference:: - pre (Type const&) - { - } +void SubcomponentInstantiationDescription:: +configProperty (Type& o) +{ +// VC6 anathema strikes again +// +SubcomponentInstantiationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - void SubcomponentPropertyReference:: - propertyName (Type& o) - { - dispatch (o.propertyName ()); - } +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} - void SubcomponentPropertyReference:: - propertyName (Type const& o) - { - dispatch (o.propertyName ()); - } +configProperty_post (o); +} - void SubcomponentPropertyReference:: - instance (Type& o) - { - dispatch (o.instance ()); - } +else configProperty_none (o); +} - void SubcomponentPropertyReference:: - instance (Type const& o) - { - dispatch (o.instance ()); - } +void SubcomponentInstantiationDescription:: +configProperty (Type const& o) +{ +// VC6 anathema strikes again +// +SubcomponentInstantiationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - void SubcomponentPropertyReference:: - post (Type&) - { - } +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} - void SubcomponentPropertyReference:: - post (Type const&) - { - } +configProperty_post (o); +} - // AssemblyPropertyMapping - // - // +else configProperty_none (o); +} - void AssemblyPropertyMapping:: - traverse (Type& o) - { - pre (o); - name (o); - externalName (o); - delegatesTo (o); - post (o); - } +void SubcomponentInstantiationDescription:: +configProperty_pre (Type&) +{ +} - void AssemblyPropertyMapping:: - traverse (Type const& o) - { - pre (o); - name (o); - externalName (o); - delegatesTo (o); - post (o); - } +void SubcomponentInstantiationDescription:: +configProperty_pre (Type const&) +{ +} - void AssemblyPropertyMapping:: - pre (Type&) - { - } +void SubcomponentInstantiationDescription:: +configProperty_next (Type&) +{ +} - void AssemblyPropertyMapping:: - pre (Type const&) - { - } +void SubcomponentInstantiationDescription:: +configProperty_next (Type const&) +{ +} - void AssemblyPropertyMapping:: - name (Type& o) - { - dispatch (o.name ()); - } +void SubcomponentInstantiationDescription:: +configProperty_post (Type&) +{ +} - void AssemblyPropertyMapping:: - name (Type const& o) - { - dispatch (o.name ()); - } +void SubcomponentInstantiationDescription:: +configProperty_post (Type const&) +{ +} - void AssemblyPropertyMapping:: - externalName (Type& o) - { - dispatch (o.externalName ()); - } +void SubcomponentInstantiationDescription:: +configProperty_none (Type&) +{ +} - void AssemblyPropertyMapping:: - externalName (Type const& o) - { - dispatch (o.externalName ()); - } +void SubcomponentInstantiationDescription:: +configProperty_none (Type const&) +{ +} - void AssemblyPropertyMapping:: - delegatesTo (Type& o) - { - dispatch (o.delegatesTo ()); - } +void SubcomponentInstantiationDescription:: +referencedPackage (Type& o) +{ +dispatch (o.referencedPackage ()); +} - void AssemblyPropertyMapping:: - delegatesTo (Type const& o) - { - dispatch (o.delegatesTo ()); - } +void SubcomponentInstantiationDescription:: +referencedPackage (Type const& o) +{ +dispatch (o.referencedPackage ()); +} - void AssemblyPropertyMapping:: - post (Type&) - { - } +void SubcomponentInstantiationDescription:: +referencedPackage_none (Type&) +{ +} - void AssemblyPropertyMapping:: - post (Type const&) - { - } +void SubcomponentInstantiationDescription:: +referencedPackage_none (Type const&) +{ +} - // ComponentAssemblyDescription - // - // +void SubcomponentInstantiationDescription:: +importedPackage (Type& o) +{ +dispatch (o.importedPackage ()); +} - void ComponentAssemblyDescription:: - traverse (Type& o) - { - pre (o); - instance (o); - connection (o); - if (o.externalProperty_p ()) externalProperty (o); - else externalProperty_none (o); - post (o); - } +void SubcomponentInstantiationDescription:: +importedPackage (Type const& o) +{ +dispatch (o.importedPackage ()); +} - void ComponentAssemblyDescription:: - traverse (Type const& o) - { - pre (o); - instance (o); - connection (o); - if (o.externalProperty_p ()) externalProperty (o); - else externalProperty_none (o); - post (o); - } +void SubcomponentInstantiationDescription:: +importedPackage_none (Type&) +{ +} - void ComponentAssemblyDescription:: - pre (Type&) - { - } +void SubcomponentInstantiationDescription:: +importedPackage_none (Type const&) +{ +} - void ComponentAssemblyDescription:: - pre (Type const&) - { - } +void SubcomponentInstantiationDescription:: +id (Type& o) +{ +dispatch (o.id ()); +} - void ComponentAssemblyDescription:: - instance (Type& o) - { - // VC6 anathema strikes again - // - ComponentAssemblyDescription::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); +void SubcomponentInstantiationDescription:: +id (Type const& o) +{ +dispatch (o.id ()); +} - if (b != e) - { - instance_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) instance_next (o); - } - - instance_post (o); - } - } +void SubcomponentInstantiationDescription:: +id_none (Type&) +{ +} - void ComponentAssemblyDescription:: - instance (Type const& o) - { - // VC6 anathema strikes again - // - ComponentAssemblyDescription::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); +void SubcomponentInstantiationDescription:: +id_none (Type const&) +{ +} - if (b != e) - { - instance_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) instance_next (o); - } - - instance_post (o); - } - } +void SubcomponentInstantiationDescription:: +post (Type&) +{ +} - void ComponentAssemblyDescription:: - instance_pre (Type&) - { - } +void SubcomponentInstantiationDescription:: +post (Type const&) +{ +} - void ComponentAssemblyDescription:: - instance_pre (Type const&) - { - } +// SubcomponentPropertyReference +// +// - void ComponentAssemblyDescription:: - instance_next (Type&) - { - } +void SubcomponentPropertyReference:: +traverse (Type& o) +{ +pre (o); +propertyName (o); +instance (o); +post (o); +} - void ComponentAssemblyDescription:: - instance_next (Type const&) - { - } +void SubcomponentPropertyReference:: +traverse (Type const& o) +{ +pre (o); +propertyName (o); +instance (o); +post (o); +} - void ComponentAssemblyDescription:: - instance_post (Type&) - { - } +void SubcomponentPropertyReference:: +pre (Type&) +{ +} - void ComponentAssemblyDescription:: - instance_post (Type const&) - { - } +void SubcomponentPropertyReference:: +pre (Type const&) +{ +} - void ComponentAssemblyDescription:: - connection (Type& o) - { - // VC6 anathema strikes again - // - ComponentAssemblyDescription::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); +void SubcomponentPropertyReference:: +propertyName (Type& o) +{ +dispatch (o.propertyName ()); +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } - } +void SubcomponentPropertyReference:: +propertyName (Type const& o) +{ +dispatch (o.propertyName ()); +} - void ComponentAssemblyDescription:: - connection (Type const& o) - { - // VC6 anathema strikes again - // - ComponentAssemblyDescription::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); +void SubcomponentPropertyReference:: +instance (Type& o) +{ +dispatch (o.instance ()); +} - if (b != e) - { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); - } - } +void SubcomponentPropertyReference:: +instance (Type const& o) +{ +dispatch (o.instance ()); +} - void ComponentAssemblyDescription:: - connection_pre (Type&) - { - } +void SubcomponentPropertyReference:: +post (Type&) +{ +} - void ComponentAssemblyDescription:: - connection_pre (Type const&) - { - } +void SubcomponentPropertyReference:: +post (Type const&) +{ +} - void ComponentAssemblyDescription:: - connection_next (Type&) - { - } +// AssemblyPropertyMapping +// +// - void ComponentAssemblyDescription:: - connection_next (Type const&) - { - } +void AssemblyPropertyMapping:: +traverse (Type& o) +{ +pre (o); +name (o); +externalName (o); +delegatesTo (o); +post (o); +} - void ComponentAssemblyDescription:: - connection_post (Type&) - { - } +void AssemblyPropertyMapping:: +traverse (Type const& o) +{ +pre (o); +name (o); +externalName (o); +delegatesTo (o); +post (o); +} - void ComponentAssemblyDescription:: - connection_post (Type const&) - { - } +void AssemblyPropertyMapping:: +pre (Type&) +{ +} - void ComponentAssemblyDescription:: - externalProperty (Type& o) - { - dispatch (o.externalProperty ()); - } +void AssemblyPropertyMapping:: +pre (Type const&) +{ +} - void ComponentAssemblyDescription:: - externalProperty (Type const& o) - { - dispatch (o.externalProperty ()); - } +void AssemblyPropertyMapping:: +name (Type& o) +{ +dispatch (o.name ()); +} - void ComponentAssemblyDescription:: - externalProperty_none (Type&) - { - } +void AssemblyPropertyMapping:: +name (Type const& o) +{ +dispatch (o.name ()); +} - void ComponentAssemblyDescription:: - externalProperty_none (Type const&) - { - } +void AssemblyPropertyMapping:: +externalName (Type& o) +{ +dispatch (o.externalName ()); +} - void ComponentAssemblyDescription:: - post (Type&) - { - } +void AssemblyPropertyMapping:: +externalName (Type const& o) +{ +dispatch (o.externalName ()); +} - void ComponentAssemblyDescription:: - post (Type const&) - { - } +void AssemblyPropertyMapping:: +delegatesTo (Type& o) +{ +// VC6 anathema strikes again +// +AssemblyPropertyMapping::Type::delegatesTo_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); - // MonolithicImplementationDescription - // - // +if (b != e) +{ +delegatesTo_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) delegatesTo_next (o); +} - void MonolithicImplementationDescription:: - traverse (Type& o) - { - pre (o); - if (o.execParameter_p ()) execParameter (o); - else execParameter_none (o); - primaryArtifact (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - post (o); - } +delegatesTo_post (o); +} +} - void MonolithicImplementationDescription:: - traverse (Type const& o) - { - pre (o); - if (o.execParameter_p ()) execParameter (o); - else execParameter_none (o); - primaryArtifact (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - post (o); - } +void AssemblyPropertyMapping:: +delegatesTo (Type const& o) +{ +// VC6 anathema strikes again +// +AssemblyPropertyMapping::Type::delegatesTo_const_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); - void MonolithicImplementationDescription:: - pre (Type&) - { - } +if (b != e) +{ +delegatesTo_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) delegatesTo_next (o); +} - void MonolithicImplementationDescription:: - pre (Type const&) - { - } +delegatesTo_post (o); +} +} - void MonolithicImplementationDescription:: - execParameter (Type& o) - { - dispatch (o.execParameter ()); - } +void AssemblyPropertyMapping:: +delegatesTo_pre (Type&) +{ +} - void MonolithicImplementationDescription:: - execParameter (Type const& o) - { - dispatch (o.execParameter ()); - } +void AssemblyPropertyMapping:: +delegatesTo_pre (Type const&) +{ +} - void MonolithicImplementationDescription:: - execParameter_none (Type&) - { - } +void AssemblyPropertyMapping:: +delegatesTo_next (Type&) +{ +} - void MonolithicImplementationDescription:: - execParameter_none (Type const&) - { - } +void AssemblyPropertyMapping:: +delegatesTo_next (Type const&) +{ +} - void MonolithicImplementationDescription:: - primaryArtifact (Type& o) - { - // VC6 anathema strikes again - // - MonolithicImplementationDescription::Type::primaryArtifact_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); +void AssemblyPropertyMapping:: +delegatesTo_post (Type&) +{ +} - if (b != e) - { - primaryArtifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) primaryArtifact_next (o); - } - - primaryArtifact_post (o); - } - } +void AssemblyPropertyMapping:: +delegatesTo_post (Type const&) +{ +} - void MonolithicImplementationDescription:: - primaryArtifact (Type const& o) - { - // VC6 anathema strikes again - // - MonolithicImplementationDescription::Type::primaryArtifact_const_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); +void AssemblyPropertyMapping:: +post (Type&) +{ +} - if (b != e) - { - primaryArtifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) primaryArtifact_next (o); - } - - primaryArtifact_post (o); - } - } +void AssemblyPropertyMapping:: +post (Type const&) +{ +} - void MonolithicImplementationDescription:: - primaryArtifact_pre (Type&) - { - } +// ComponentAssemblyDescription +// +// - void MonolithicImplementationDescription:: - primaryArtifact_pre (Type const&) - { - } +void ComponentAssemblyDescription:: +traverse (Type& o) +{ +pre (o); +instance (o); +connection (o); +externalProperty (o); +post (o); +} - void MonolithicImplementationDescription:: - primaryArtifact_next (Type&) - { - } +void ComponentAssemblyDescription:: +traverse (Type const& o) +{ +pre (o); +instance (o); +connection (o); +externalProperty (o); +post (o); +} - void MonolithicImplementationDescription:: - primaryArtifact_next (Type const&) - { - } +void ComponentAssemblyDescription:: +pre (Type&) +{ +} - void MonolithicImplementationDescription:: - primaryArtifact_post (Type&) - { - } +void ComponentAssemblyDescription:: +pre (Type const&) +{ +} - void MonolithicImplementationDescription:: - primaryArtifact_post (Type const&) - { - } +void ComponentAssemblyDescription:: +instance (Type& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); - void MonolithicImplementationDescription:: - deployRequirement (Type& o) - { - dispatch (o.deployRequirement ()); - } +if (b != e) +{ +instance_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) instance_next (o); +} - void MonolithicImplementationDescription:: - deployRequirement (Type const& o) - { - dispatch (o.deployRequirement ()); - } +instance_post (o); +} +} - void MonolithicImplementationDescription:: - deployRequirement_none (Type&) - { - } +void ComponentAssemblyDescription:: +instance (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); - void MonolithicImplementationDescription:: - deployRequirement_none (Type const&) - { - } +if (b != e) +{ +instance_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) instance_next (o); +} - void MonolithicImplementationDescription:: - post (Type&) - { - } +instance_post (o); +} +} - void MonolithicImplementationDescription:: - post (Type const&) - { - } +void ComponentAssemblyDescription:: +instance_pre (Type&) +{ +} - // ComponentImplementationDescription - // - // +void ComponentAssemblyDescription:: +instance_pre (Type const&) +{ +} - void ComponentImplementationDescription:: - traverse (Type& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.implements_p ()) implements (o); - else implements_none (o); - if (o.assemblyImpl_p ()) assemblyImpl (o); - else assemblyImpl_none (o); - if (o.monolithicImpl_p ()) monolithicImpl (o); - else monolithicImpl_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.capability_p ()) capability (o); - else capability_none (o); - if (o.dependsOn_p ()) dependsOn (o); - else dependsOn_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } +void ComponentAssemblyDescription:: +instance_next (Type&) +{ +} - void ComponentImplementationDescription:: - traverse (Type const& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.implements_p ()) implements (o); - else implements_none (o); - if (o.assemblyImpl_p ()) assemblyImpl (o); - else assemblyImpl_none (o); - if (o.monolithicImpl_p ()) monolithicImpl (o); - else monolithicImpl_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.capability_p ()) capability (o); - else capability_none (o); - if (o.dependsOn_p ()) dependsOn (o); - else dependsOn_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } +void ComponentAssemblyDescription:: +instance_next (Type const&) +{ +} - void ComponentImplementationDescription:: - pre (Type&) - { - } +void ComponentAssemblyDescription:: +instance_post (Type&) +{ +} - void ComponentImplementationDescription:: - pre (Type const&) - { - } +void ComponentAssemblyDescription:: +instance_post (Type const&) +{ +} - void ComponentImplementationDescription:: - label (Type& o) - { - dispatch (o.label ()); - } +void ComponentAssemblyDescription:: +connection (Type& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); - void ComponentImplementationDescription:: - label (Type const& o) - { - dispatch (o.label ()); - } +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} - void ComponentImplementationDescription:: - label_none (Type&) - { - } +connection_post (o); +} - void ComponentImplementationDescription:: - label_none (Type const&) - { - } +else connection_none (o); +} - void ComponentImplementationDescription:: - UUID (Type& o) - { - dispatch (o.UUID ()); - } +void ComponentAssemblyDescription:: +connection (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); - void ComponentImplementationDescription:: - UUID (Type const& o) - { - dispatch (o.UUID ()); - } +if (b != e) +{ +connection_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) connection_next (o); +} - void ComponentImplementationDescription:: - UUID_none (Type&) - { - } +connection_post (o); +} - void ComponentImplementationDescription:: - UUID_none (Type const&) - { - } +else connection_none (o); +} - void ComponentImplementationDescription:: - implements (Type& o) - { - dispatch (o.implements ()); - } +void ComponentAssemblyDescription:: +connection_pre (Type&) +{ +} - void ComponentImplementationDescription:: - implements (Type const& o) - { - dispatch (o.implements ()); - } +void ComponentAssemblyDescription:: +connection_pre (Type const&) +{ +} - void ComponentImplementationDescription:: - implements_none (Type&) - { - } +void ComponentAssemblyDescription:: +connection_next (Type&) +{ +} - void ComponentImplementationDescription:: - implements_none (Type const&) - { - } +void ComponentAssemblyDescription:: +connection_next (Type const&) +{ +} - void ComponentImplementationDescription:: - assemblyImpl (Type& o) - { - dispatch (o.assemblyImpl ()); - } +void ComponentAssemblyDescription:: +connection_post (Type&) +{ +} - void ComponentImplementationDescription:: - assemblyImpl (Type const& o) - { - dispatch (o.assemblyImpl ()); - } +void ComponentAssemblyDescription:: +connection_post (Type const&) +{ +} - void ComponentImplementationDescription:: - assemblyImpl_none (Type&) - { - } +void ComponentAssemblyDescription:: +connection_none (Type&) +{ +} - void ComponentImplementationDescription:: - assemblyImpl_none (Type const&) - { - } +void ComponentAssemblyDescription:: +connection_none (Type const&) +{ +} - void ComponentImplementationDescription:: - monolithicImpl (Type& o) - { - dispatch (o.monolithicImpl ()); - } +void ComponentAssemblyDescription:: +externalProperty (Type& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::externalProperty_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); - void ComponentImplementationDescription:: - monolithicImpl (Type const& o) - { - dispatch (o.monolithicImpl ()); - } +if (b != e) +{ +externalProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalProperty_next (o); +} - void ComponentImplementationDescription:: - monolithicImpl_none (Type&) - { - } +externalProperty_post (o); +} - void ComponentImplementationDescription:: - monolithicImpl_none (Type const&) - { - } +else externalProperty_none (o); +} - void ComponentImplementationDescription:: - configProperty (Type& o) - { - dispatch (o.configProperty ()); - } +void ComponentAssemblyDescription:: +externalProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentAssemblyDescription::Type::externalProperty_const_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); - void ComponentImplementationDescription:: - configProperty (Type const& o) - { - dispatch (o.configProperty ()); - } +if (b != e) +{ +externalProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) externalProperty_next (o); +} - void ComponentImplementationDescription:: - configProperty_none (Type&) - { - } +externalProperty_post (o); +} - void ComponentImplementationDescription:: - configProperty_none (Type const&) - { - } +else externalProperty_none (o); +} - void ComponentImplementationDescription:: - capability (Type& o) - { - dispatch (o.capability ()); - } +void ComponentAssemblyDescription:: +externalProperty_pre (Type&) +{ +} - void ComponentImplementationDescription:: - capability (Type const& o) - { - dispatch (o.capability ()); - } +void ComponentAssemblyDescription:: +externalProperty_pre (Type const&) +{ +} - void ComponentImplementationDescription:: - capability_none (Type&) - { - } +void ComponentAssemblyDescription:: +externalProperty_next (Type&) +{ +} - void ComponentImplementationDescription:: - capability_none (Type const&) - { - } +void ComponentAssemblyDescription:: +externalProperty_next (Type const&) +{ +} - void ComponentImplementationDescription:: - dependsOn (Type& o) - { - dispatch (o.dependsOn ()); - } +void ComponentAssemblyDescription:: +externalProperty_post (Type&) +{ +} - void ComponentImplementationDescription:: - dependsOn (Type const& o) - { - dispatch (o.dependsOn ()); - } +void ComponentAssemblyDescription:: +externalProperty_post (Type const&) +{ +} - void ComponentImplementationDescription:: - dependsOn_none (Type&) - { - } +void ComponentAssemblyDescription:: +externalProperty_none (Type&) +{ +} - void ComponentImplementationDescription:: - dependsOn_none (Type const&) - { - } +void ComponentAssemblyDescription:: +externalProperty_none (Type const&) +{ +} - void ComponentImplementationDescription:: - infoProperty (Type& o) - { - dispatch (o.infoProperty ()); - } +void ComponentAssemblyDescription:: +post (Type&) +{ +} - void ComponentImplementationDescription:: - infoProperty (Type const& o) - { - dispatch (o.infoProperty ()); - } +void ComponentAssemblyDescription:: +post (Type const&) +{ +} - void ComponentImplementationDescription:: - infoProperty_none (Type&) - { - } +// MonolithicImplementationDescription +// +// - void ComponentImplementationDescription:: - infoProperty_none (Type const&) - { - } +void MonolithicImplementationDescription:: +traverse (Type& o) +{ +pre (o); +nodeExecParameter (o); +componentExecParameter (o); +deployRequirement (o); +primaryArtifact (o); +post (o); +} - void ComponentImplementationDescription:: - contentLocation (Type& o) - { - dispatch (o.contentLocation ()); - } +void MonolithicImplementationDescription:: +traverse (Type const& o) +{ +pre (o); +nodeExecParameter (o); +componentExecParameter (o); +deployRequirement (o); +primaryArtifact (o); +post (o); +} - void ComponentImplementationDescription:: - contentLocation (Type const& o) - { - dispatch (o.contentLocation ()); - } +void MonolithicImplementationDescription:: +pre (Type&) +{ +} - void ComponentImplementationDescription:: - contentLocation_none (Type&) - { - } +void MonolithicImplementationDescription:: +pre (Type const&) +{ +} - void ComponentImplementationDescription:: - contentLocation_none (Type const&) - { - } +void MonolithicImplementationDescription:: +nodeExecParameter (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::nodeExecParameter_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); - void ComponentImplementationDescription:: - href (Type& o) - { - dispatch (o.href ()); - } +if (b != e) +{ +nodeExecParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) nodeExecParameter_next (o); +} - void ComponentImplementationDescription:: - href (Type const& o) - { - dispatch (o.href ()); - } +nodeExecParameter_post (o); +} - void ComponentImplementationDescription:: - href_none (Type&) - { - } +else nodeExecParameter_none (o); +} - void ComponentImplementationDescription:: - href_none (Type const&) - { - } +void MonolithicImplementationDescription:: +nodeExecParameter (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::nodeExecParameter_const_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); - void ComponentImplementationDescription:: - post (Type&) - { - } +if (b != e) +{ +nodeExecParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) nodeExecParameter_next (o); +} - void ComponentImplementationDescription:: - post (Type const&) - { - } - } - } +nodeExecParameter_post (o); +} + +else nodeExecParameter_none (o); +} + +void MonolithicImplementationDescription:: +nodeExecParameter_pre (Type&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_pre (Type const&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_next (Type&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_next (Type const&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_post (Type&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_post (Type const&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_none (Type&) +{ +} + +void MonolithicImplementationDescription:: +nodeExecParameter_none (Type const&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::componentExecParameter_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); + +if (b != e) +{ +componentExecParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) componentExecParameter_next (o); +} + +componentExecParameter_post (o); +} + +else componentExecParameter_none (o); +} + +void MonolithicImplementationDescription:: +componentExecParameter (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::componentExecParameter_const_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); + +if (b != e) +{ +componentExecParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) componentExecParameter_next (o); +} + +componentExecParameter_post (o); +} + +else componentExecParameter_none (o); +} + +void MonolithicImplementationDescription:: +componentExecParameter_pre (Type&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_pre (Type const&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_next (Type&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_next (Type const&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_post (Type&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_post (Type const&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_none (Type&) +{ +} + +void MonolithicImplementationDescription:: +componentExecParameter_none (Type const&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void MonolithicImplementationDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void MonolithicImplementationDescription:: +deployRequirement_pre (Type&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_pre (Type const&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_next (Type&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_next (Type const&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_post (Type&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_post (Type const&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_none (Type&) +{ +} + +void MonolithicImplementationDescription:: +deployRequirement_none (Type const&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact (Type& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::primaryArtifact_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + +if (b != e) +{ +primaryArtifact_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) primaryArtifact_next (o); +} + +primaryArtifact_post (o); +} +} + +void MonolithicImplementationDescription:: +primaryArtifact (Type const& o) +{ +// VC6 anathema strikes again +// +MonolithicImplementationDescription::Type::primaryArtifact_const_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + +if (b != e) +{ +primaryArtifact_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) primaryArtifact_next (o); +} + +primaryArtifact_post (o); +} +} + +void MonolithicImplementationDescription:: +primaryArtifact_pre (Type&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact_pre (Type const&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact_next (Type&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact_next (Type const&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact_post (Type&) +{ +} + +void MonolithicImplementationDescription:: +primaryArtifact_post (Type const&) +{ +} + +void MonolithicImplementationDescription:: +post (Type&) +{ +} + +void MonolithicImplementationDescription:: +post (Type const&) +{ +} + +// ComponentImplementationDescription +// +// + +void ComponentImplementationDescription:: +traverse (Type& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.implements_p ()) implements (o); +else implements_none (o); +if (o.assemblyImpl_p ()) assemblyImpl (o); +else assemblyImpl_none (o); +if (o.monolithicImpl_p ()) monolithicImpl (o); +else monolithicImpl_none (o); +configProperty (o); +capability (o); +dependsOn (o); +infoProperty (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ComponentImplementationDescription:: +traverse (Type const& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.implements_p ()) implements (o); +else implements_none (o); +if (o.assemblyImpl_p ()) assemblyImpl (o); +else assemblyImpl_none (o); +if (o.monolithicImpl_p ()) monolithicImpl (o); +else monolithicImpl_none (o); +configProperty (o); +capability (o); +dependsOn (o); +infoProperty (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ComponentImplementationDescription:: +pre (Type&) +{ +} + +void ComponentImplementationDescription:: +pre (Type const&) +{ +} + +void ComponentImplementationDescription:: +label (Type& o) +{ +dispatch (o.label ()); +} + +void ComponentImplementationDescription:: +label (Type const& o) +{ +dispatch (o.label ()); +} + +void ComponentImplementationDescription:: +label_none (Type&) +{ +} + +void ComponentImplementationDescription:: +label_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +UUID (Type& o) +{ +dispatch (o.UUID ()); +} + +void ComponentImplementationDescription:: +UUID (Type const& o) +{ +dispatch (o.UUID ()); +} + +void ComponentImplementationDescription:: +UUID_none (Type&) +{ +} + +void ComponentImplementationDescription:: +UUID_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +implements (Type& o) +{ +dispatch (o.implements ()); +} + +void ComponentImplementationDescription:: +implements (Type const& o) +{ +dispatch (o.implements ()); +} + +void ComponentImplementationDescription:: +implements_none (Type&) +{ +} + +void ComponentImplementationDescription:: +implements_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +assemblyImpl (Type& o) +{ +dispatch (o.assemblyImpl ()); +} + +void ComponentImplementationDescription:: +assemblyImpl (Type const& o) +{ +dispatch (o.assemblyImpl ()); +} + +void ComponentImplementationDescription:: +assemblyImpl_none (Type&) +{ +} + +void ComponentImplementationDescription:: +assemblyImpl_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +monolithicImpl (Type& o) +{ +dispatch (o.monolithicImpl ()); +} + +void ComponentImplementationDescription:: +monolithicImpl (Type const& o) +{ +dispatch (o.monolithicImpl ()); +} + +void ComponentImplementationDescription:: +monolithicImpl_none (Type&) +{ +} + +void ComponentImplementationDescription:: +monolithicImpl_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +configProperty (Type& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} + +configProperty_post (o); +} + +else configProperty_none (o); +} + +void ComponentImplementationDescription:: +configProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} + +configProperty_post (o); +} + +else configProperty_none (o); +} + +void ComponentImplementationDescription:: +configProperty_pre (Type&) +{ +} + +void ComponentImplementationDescription:: +configProperty_pre (Type const&) +{ +} + +void ComponentImplementationDescription:: +configProperty_next (Type&) +{ +} + +void ComponentImplementationDescription:: +configProperty_next (Type const&) +{ +} + +void ComponentImplementationDescription:: +configProperty_post (Type&) +{ +} + +void ComponentImplementationDescription:: +configProperty_post (Type const&) +{ +} + +void ComponentImplementationDescription:: +configProperty_none (Type&) +{ +} + +void ComponentImplementationDescription:: +configProperty_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +capability (Type& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::capability_iterator b (o.begin_capability()), e (o.end_capability()); + +if (b != e) +{ +capability_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) capability_next (o); +} + +capability_post (o); +} + +else capability_none (o); +} + +void ComponentImplementationDescription:: +capability (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::capability_const_iterator b (o.begin_capability()), e (o.end_capability()); + +if (b != e) +{ +capability_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) capability_next (o); +} + +capability_post (o); +} + +else capability_none (o); +} + +void ComponentImplementationDescription:: +capability_pre (Type&) +{ +} + +void ComponentImplementationDescription:: +capability_pre (Type const&) +{ +} + +void ComponentImplementationDescription:: +capability_next (Type&) +{ +} + +void ComponentImplementationDescription:: +capability_next (Type const&) +{ +} + +void ComponentImplementationDescription:: +capability_post (Type&) +{ +} + +void ComponentImplementationDescription:: +capability_post (Type const&) +{ +} + +void ComponentImplementationDescription:: +capability_none (Type&) +{ +} + +void ComponentImplementationDescription:: +capability_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +dependsOn (Type& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + +if (b != e) +{ +dependsOn_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) dependsOn_next (o); +} + +dependsOn_post (o); +} + +else dependsOn_none (o); +} + +void ComponentImplementationDescription:: +dependsOn (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + +if (b != e) +{ +dependsOn_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) dependsOn_next (o); +} + +dependsOn_post (o); +} + +else dependsOn_none (o); +} + +void ComponentImplementationDescription:: +dependsOn_pre (Type&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_pre (Type const&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_next (Type&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_next (Type const&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_post (Type&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_post (Type const&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_none (Type&) +{ +} + +void ComponentImplementationDescription:: +dependsOn_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +infoProperty (Type& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ComponentImplementationDescription:: +infoProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentImplementationDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ComponentImplementationDescription:: +infoProperty_pre (Type&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_pre (Type const&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_next (Type&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_next (Type const&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_post (Type&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_post (Type const&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_none (Type&) +{ +} + +void ComponentImplementationDescription:: +infoProperty_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +contentLocation (Type& o) +{ +dispatch (o.contentLocation ()); +} + +void ComponentImplementationDescription:: +contentLocation (Type const& o) +{ +dispatch (o.contentLocation ()); +} + +void ComponentImplementationDescription:: +contentLocation_none (Type&) +{ +} + +void ComponentImplementationDescription:: +contentLocation_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +href (Type& o) +{ +dispatch (o.href ()); +} + +void ComponentImplementationDescription:: +href (Type const& o) +{ +dispatch (o.href ()); +} + +void ComponentImplementationDescription:: +href_none (Type&) +{ +} + +void ComponentImplementationDescription:: +href_none (Type const&) +{ +} + +void ComponentImplementationDescription:: +post (Type&) +{ +} + +void ComponentImplementationDescription:: +post (Type const&) +{ +} +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - // SubcomponentInstantiationDescription - // - // +namespace Config_Handlers +{ +namespace Writer +{ +// SubcomponentInstantiationDescription +// +// - SubcomponentInstantiationDescription:: - SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +SubcomponentInstantiationDescription:: +SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - SubcomponentInstantiationDescription:: - SubcomponentInstantiationDescription () - { - } +SubcomponentInstantiationDescription:: +SubcomponentInstantiationDescription () +{ +} - void SubcomponentInstantiationDescription:: - traverse (Type const& o) - { - Traversal::SubcomponentInstantiationDescription::traverse (o); - } +void SubcomponentInstantiationDescription:: +traverse (Type const& o) +{ +Traversal::SubcomponentInstantiationDescription::traverse (o); +} - void SubcomponentInstantiationDescription:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::SubcomponentInstantiationDescription::name (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::SubcomponentInstantiationDescription::name (o); +pop_ (); +} - void SubcomponentInstantiationDescription:: - package (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("package", top_ ())); - Traversal::SubcomponentInstantiationDescription::package (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +basePackage (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("basePackage", top_ ())); +Traversal::SubcomponentInstantiationDescription::basePackage (o); +pop_ (); +} - void SubcomponentInstantiationDescription:: - configProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); - Traversal::SubcomponentInstantiationDescription::configProperty (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +specializedConfig (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specializedConfig", top_ ())); +Traversal::SubcomponentInstantiationDescription::specializedConfig (o); +pop_ (); +} - void SubcomponentInstantiationDescription:: - selectRequirement (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("selectRequirement", top_ ())); - Traversal::SubcomponentInstantiationDescription::selectRequirement (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +selectRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("selectRequirement", top_ ())); +} - void SubcomponentInstantiationDescription:: - reference (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("reference", top_ ())); - Traversal::SubcomponentInstantiationDescription::reference (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +selectRequirement_next (Type const& o) +{ +selectRequirement_post (o); +selectRequirement_pre (o); +} - void SubcomponentInstantiationDescription:: - id (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); - attr_ (&a); - Traversal::SubcomponentInstantiationDescription::id (o); - attr_ (0); - } +void SubcomponentInstantiationDescription:: +selectRequirement_post (Type const&) +{ +pop_ (); +} - // SubcomponentPropertyReference - // - // +void SubcomponentInstantiationDescription:: +configProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); +} - SubcomponentPropertyReference:: - SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void SubcomponentInstantiationDescription:: +configProperty_next (Type const& o) +{ +configProperty_post (o); +configProperty_pre (o); +} - SubcomponentPropertyReference:: - SubcomponentPropertyReference () - { - } +void SubcomponentInstantiationDescription:: +configProperty_post (Type const&) +{ +pop_ (); +} - void SubcomponentPropertyReference:: - traverse (Type const& o) - { - Traversal::SubcomponentPropertyReference::traverse (o); - } +void SubcomponentInstantiationDescription:: +referencedPackage (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedPackage", top_ ())); +Traversal::SubcomponentInstantiationDescription::referencedPackage (o); +pop_ (); +} - void SubcomponentPropertyReference:: - propertyName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("propertyName", top_ ())); - Traversal::SubcomponentPropertyReference::propertyName (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +importedPackage (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("importedPackage", top_ ())); +Traversal::SubcomponentInstantiationDescription::importedPackage (o); +pop_ (); +} - void SubcomponentPropertyReference:: - instance (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); - Traversal::SubcomponentPropertyReference::instance (o); - pop_ (); - } +void SubcomponentInstantiationDescription:: +id (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); +attr_ (&a); +Traversal::SubcomponentInstantiationDescription::id (o); +attr_ (0); +} - // AssemblyPropertyMapping - // - // +// SubcomponentPropertyReference +// +// - AssemblyPropertyMapping:: - AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +SubcomponentPropertyReference:: +SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - AssemblyPropertyMapping:: - AssemblyPropertyMapping () - { - } +SubcomponentPropertyReference:: +SubcomponentPropertyReference () +{ +} - void AssemblyPropertyMapping:: - traverse (Type const& o) - { - Traversal::AssemblyPropertyMapping::traverse (o); - } +void SubcomponentPropertyReference:: +traverse (Type const& o) +{ +Traversal::SubcomponentPropertyReference::traverse (o); +} - void AssemblyPropertyMapping:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::AssemblyPropertyMapping::name (o); - pop_ (); - } +void SubcomponentPropertyReference:: +propertyName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("propertyName", top_ ())); +Traversal::SubcomponentPropertyReference::propertyName (o); +pop_ (); +} - void AssemblyPropertyMapping:: - externalName (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalName", top_ ())); - Traversal::AssemblyPropertyMapping::externalName (o); - pop_ (); - } +void SubcomponentPropertyReference:: +instance (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); +Traversal::SubcomponentPropertyReference::instance (o); +pop_ (); +} - void AssemblyPropertyMapping:: - delegatesTo (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("delegatesTo", top_ ())); - Traversal::AssemblyPropertyMapping::delegatesTo (o); - pop_ (); - } +// AssemblyPropertyMapping +// +// - // ComponentAssemblyDescription - // - // +AssemblyPropertyMapping:: +AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - ComponentAssemblyDescription:: - ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +AssemblyPropertyMapping:: +AssemblyPropertyMapping () +{ +} - ComponentAssemblyDescription:: - ComponentAssemblyDescription () - { - } +void AssemblyPropertyMapping:: +traverse (Type const& o) +{ +Traversal::AssemblyPropertyMapping::traverse (o); +} - void ComponentAssemblyDescription:: - traverse (Type const& o) - { - Traversal::ComponentAssemblyDescription::traverse (o); - } +void AssemblyPropertyMapping:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::AssemblyPropertyMapping::name (o); +pop_ (); +} - void ComponentAssemblyDescription:: - instance_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); - } +void AssemblyPropertyMapping:: +externalName (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalName", top_ ())); +Traversal::AssemblyPropertyMapping::externalName (o); +pop_ (); +} - void ComponentAssemblyDescription:: - instance_next (Type const& o) - { - instance_post (o); - instance_pre (o); - } +void AssemblyPropertyMapping:: +delegatesTo_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("delegatesTo", top_ ())); +} - void ComponentAssemblyDescription:: - instance_post (Type const&) - { - pop_ (); - } +void AssemblyPropertyMapping:: +delegatesTo_next (Type const& o) +{ +delegatesTo_post (o); +delegatesTo_pre (o); +} - void ComponentAssemblyDescription:: - connection_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); - } +void AssemblyPropertyMapping:: +delegatesTo_post (Type const&) +{ +pop_ (); +} - void ComponentAssemblyDescription:: - connection_next (Type const& o) - { - connection_post (o); - connection_pre (o); - } +// ComponentAssemblyDescription +// +// - void ComponentAssemblyDescription:: - connection_post (Type const&) - { - pop_ (); - } +ComponentAssemblyDescription:: +ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ComponentAssemblyDescription:: - externalProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalProperty", top_ ())); - Traversal::ComponentAssemblyDescription::externalProperty (o); - pop_ (); - } +ComponentAssemblyDescription:: +ComponentAssemblyDescription () +{ +} - // MonolithicImplementationDescription - // - // +void ComponentAssemblyDescription:: +traverse (Type const& o) +{ +Traversal::ComponentAssemblyDescription::traverse (o); +} - MonolithicImplementationDescription:: - MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +void ComponentAssemblyDescription:: +instance_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); +} - MonolithicImplementationDescription:: - MonolithicImplementationDescription () - { - } +void ComponentAssemblyDescription:: +instance_next (Type const& o) +{ +instance_post (o); +instance_pre (o); +} - void MonolithicImplementationDescription:: - traverse (Type const& o) - { - Traversal::MonolithicImplementationDescription::traverse (o); - } +void ComponentAssemblyDescription:: +instance_post (Type const&) +{ +pop_ (); +} - void MonolithicImplementationDescription:: - execParameter (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); - Traversal::MonolithicImplementationDescription::execParameter (o); - pop_ (); - } +void ComponentAssemblyDescription:: +connection_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); +} - void MonolithicImplementationDescription:: - primaryArtifact_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("primaryArtifact", top_ ())); - } +void ComponentAssemblyDescription:: +connection_next (Type const& o) +{ +connection_post (o); +connection_pre (o); +} - void MonolithicImplementationDescription:: - primaryArtifact_next (Type const& o) - { - primaryArtifact_post (o); - primaryArtifact_pre (o); - } +void ComponentAssemblyDescription:: +connection_post (Type const&) +{ +pop_ (); +} - void MonolithicImplementationDescription:: - primaryArtifact_post (Type const&) - { - pop_ (); - } +void ComponentAssemblyDescription:: +externalProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalProperty", top_ ())); +} - void MonolithicImplementationDescription:: - deployRequirement (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - Traversal::MonolithicImplementationDescription::deployRequirement (o); - pop_ (); - } +void ComponentAssemblyDescription:: +externalProperty_next (Type const& o) +{ +externalProperty_post (o); +externalProperty_pre (o); +} - // ComponentImplementationDescription - // - // +void ComponentAssemblyDescription:: +externalProperty_post (Type const&) +{ +pop_ (); +} - ComponentImplementationDescription:: - ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } +// MonolithicImplementationDescription +// +// - ComponentImplementationDescription:: - ComponentImplementationDescription () - { - } +MonolithicImplementationDescription:: +MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} - void ComponentImplementationDescription:: - traverse (Type const& o) - { - Traversal::ComponentImplementationDescription::traverse (o); - } +MonolithicImplementationDescription:: +MonolithicImplementationDescription () +{ +} - void ComponentImplementationDescription:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::ComponentImplementationDescription::label (o); - pop_ (); - } +void MonolithicImplementationDescription:: +traverse (Type const& o) +{ +Traversal::MonolithicImplementationDescription::traverse (o); +} - void ComponentImplementationDescription:: - UUID (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); - Traversal::ComponentImplementationDescription::UUID (o); - pop_ (); - } +void MonolithicImplementationDescription:: +nodeExecParameter_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("nodeExecParameter", top_ ())); +} - void ComponentImplementationDescription:: - implements (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implements", top_ ())); - Traversal::ComponentImplementationDescription::implements (o); - pop_ (); - } +void MonolithicImplementationDescription:: +nodeExecParameter_next (Type const& o) +{ +nodeExecParameter_post (o); +nodeExecParameter_pre (o); +} - void ComponentImplementationDescription:: - assemblyImpl (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("assemblyImpl", top_ ())); - Traversal::ComponentImplementationDescription::assemblyImpl (o); - pop_ (); - } +void MonolithicImplementationDescription:: +nodeExecParameter_post (Type const&) +{ +pop_ (); +} - void ComponentImplementationDescription:: - monolithicImpl (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("monolithicImpl", top_ ())); - Traversal::ComponentImplementationDescription::monolithicImpl (o); - pop_ (); - } +void MonolithicImplementationDescription:: +componentExecParameter_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentExecParameter", top_ ())); +} - void ComponentImplementationDescription:: - configProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); - Traversal::ComponentImplementationDescription::configProperty (o); - pop_ (); - } +void MonolithicImplementationDescription:: +componentExecParameter_next (Type const& o) +{ +componentExecParameter_post (o); +componentExecParameter_pre (o); +} - void ComponentImplementationDescription:: - capability (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("capability", top_ ())); - Traversal::ComponentImplementationDescription::capability (o); - pop_ (); - } +void MonolithicImplementationDescription:: +componentExecParameter_post (Type const&) +{ +pop_ (); +} - void ComponentImplementationDescription:: - dependsOn (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); - Traversal::ComponentImplementationDescription::dependsOn (o); - pop_ (); - } +void MonolithicImplementationDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} - void ComponentImplementationDescription:: - infoProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); - Traversal::ComponentImplementationDescription::infoProperty (o); - pop_ (); - } +void MonolithicImplementationDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} - void ComponentImplementationDescription:: - contentLocation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); - Traversal::ComponentImplementationDescription::contentLocation (o); - pop_ (); - } +void MonolithicImplementationDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} - void ComponentImplementationDescription:: - href (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); - attr_ (&a); - Traversal::ComponentImplementationDescription::href (o); - attr_ (0); - } - } - } +void MonolithicImplementationDescription:: +primaryArtifact_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("primaryArtifact", top_ ())); +} + +void MonolithicImplementationDescription:: +primaryArtifact_next (Type const& o) +{ +primaryArtifact_post (o); +primaryArtifact_pre (o); +} + +void MonolithicImplementationDescription:: +primaryArtifact_post (Type const&) +{ +pop_ (); +} + +// ComponentImplementationDescription +// +// + +ComponentImplementationDescription:: +ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +ComponentImplementationDescription:: +ComponentImplementationDescription () +{ +} + +void ComponentImplementationDescription:: +traverse (Type const& o) +{ +Traversal::ComponentImplementationDescription::traverse (o); +} + +void ComponentImplementationDescription:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::ComponentImplementationDescription::label (o); +pop_ (); +} + +void ComponentImplementationDescription:: +UUID (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); +Traversal::ComponentImplementationDescription::UUID (o); +pop_ (); +} + +void ComponentImplementationDescription:: +implements (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implements", top_ ())); +Traversal::ComponentImplementationDescription::implements (o); +pop_ (); +} + +void ComponentImplementationDescription:: +assemblyImpl (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("assemblyImpl", top_ ())); +Traversal::ComponentImplementationDescription::assemblyImpl (o); +pop_ (); +} + +void ComponentImplementationDescription:: +monolithicImpl (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("monolithicImpl", top_ ())); +Traversal::ComponentImplementationDescription::monolithicImpl (o); +pop_ (); +} + +void ComponentImplementationDescription:: +configProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); +} + +void ComponentImplementationDescription:: +configProperty_next (Type const& o) +{ +configProperty_post (o); +configProperty_pre (o); +} + +void ComponentImplementationDescription:: +configProperty_post (Type const&) +{ +pop_ (); +} + +void ComponentImplementationDescription:: +capability_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("capability", top_ ())); +} + +void ComponentImplementationDescription:: +capability_next (Type const& o) +{ +capability_post (o); +capability_pre (o); +} + +void ComponentImplementationDescription:: +capability_post (Type const&) +{ +pop_ (); +} + +void ComponentImplementationDescription:: +dependsOn_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); +} + +void ComponentImplementationDescription:: +dependsOn_next (Type const& o) +{ +dependsOn_post (o); +dependsOn_pre (o); +} + +void ComponentImplementationDescription:: +dependsOn_post (Type const&) +{ +pop_ (); +} + +void ComponentImplementationDescription:: +infoProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); +} + +void ComponentImplementationDescription:: +infoProperty_next (Type const& o) +{ +infoProperty_post (o); +infoProperty_pre (o); +} + +void ComponentImplementationDescription:: +infoProperty_post (Type const&) +{ +pop_ (); +} + +void ComponentImplementationDescription:: +contentLocation (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); +Traversal::ComponentImplementationDescription::contentLocation (o); +pop_ (); +} + +void ComponentImplementationDescription:: +href (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); +attr_ (&a); +Traversal::ComponentImplementationDescription::href (o); +attr_ (0); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } diff --git a/TAO/CIAO/tools/Config_Handlers/cid.hpp b/TAO/CIAO/tools/Config_Handlers/cid.hpp index 7439935c8df..478892ad630 100644 --- a/TAO/CIAO/tools/Config_Handlers/cid.hpp +++ b/TAO/CIAO/tools/Config_Handlers/cid.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,15 +27,15 @@ // namespace CIAO { - namespace Config_Handlers - { - class SubcomponentInstantiationDescription; - class SubcomponentPropertyReference; - class AssemblyPropertyMapping; - class ComponentAssemblyDescription; - class MonolithicImplementationDescription; - class ComponentImplementationDescription; - } +namespace Config_Handlers +{ +class SubcomponentInstantiationDescription; +class SubcomponentPropertyReference; +class AssemblyPropertyMapping; +class ComponentAssemblyDescription; +class MonolithicImplementationDescription; +class ComponentImplementationDescription; +} } #include <memory> @@ -48,1409 +48,2017 @@ namespace CIAO #include "iad.hpp" +#include "pcd.hpp" + namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export SubcomponentInstantiationDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // package - // - public: - ::CIAO::Config_Handlers::ComponentPackageDescription const& package () const; - void package (::CIAO::Config_Handlers::ComponentPackageDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > package_; - - // configProperty - // - public: - bool configProperty_p () const; - ::CIAO::Config_Handlers::Property const& configProperty () const; - void configProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > configProperty_; - - // selectRequirement - // - public: - bool selectRequirement_p () const; - ::CIAO::Config_Handlers::Requirement const& selectRequirement () const; - void selectRequirement (::CIAO::Config_Handlers::Requirement const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > selectRequirement_; - - // reference - // - public: - bool reference_p () const; - ::CIAO::Config_Handlers::ComponentPackageReference const& reference () const; - void reference (::CIAO::Config_Handlers::ComponentPackageReference const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > reference_; - - // id - // - public: - bool id_p () const; - ::XMLSchema::ID< ACE_TCHAR > const& id () const; - ::XMLSchema::ID< ACE_TCHAR >& id (); - void id (::XMLSchema::ID< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - - public: - SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::ComponentPackageDescription const& package__); - - SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - SubcomponentInstantiationDescription (SubcomponentInstantiationDescription const& s); - - SubcomponentInstantiationDescription& - operator= (SubcomponentInstantiationDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export SubcomponentPropertyReference : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // propertyName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& propertyName () const; - void propertyName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > propertyName_; - - // instance - // - public: - ::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& instance () const; - void instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > instance_; - - public: - SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, - ::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& instance__); - - SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const&); - SubcomponentPropertyReference (SubcomponentPropertyReference const& s); - - SubcomponentPropertyReference& - operator= (SubcomponentPropertyReference const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export AssemblyPropertyMapping : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // externalName - // - public: - ::XMLSchema::string< ACE_TCHAR > const& externalName () const; - void externalName (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > externalName_; - - // delegatesTo - // - public: - ::CIAO::Config_Handlers::SubcomponentPropertyReference const& delegatesTo () const; - void delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::SubcomponentPropertyReference > delegatesTo_; - - public: - AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, - ::XMLSchema::string< ACE_TCHAR > const& externalName__, - ::CIAO::Config_Handlers::SubcomponentPropertyReference const& delegatesTo__); - - AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const&); - AssemblyPropertyMapping (AssemblyPropertyMapping const& s); - - AssemblyPropertyMapping& - operator= (AssemblyPropertyMapping const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ComponentAssemblyDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // instance - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::iterator instance_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::const_iterator instance_const_iterator; - instance_iterator begin_instance (); - instance_iterator end_instance (); - instance_const_iterator begin_instance () const; - instance_const_iterator end_instance () const; - void add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& ); - size_t count_instance (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > instance_; - - // connection - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::iterator connection_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::const_iterator connection_const_iterator; - connection_iterator begin_connection (); - connection_iterator end_connection (); - connection_const_iterator begin_connection () const; - connection_const_iterator end_connection () const; - void add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& ); - size_t count_connection (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription > connection_; - - // externalProperty - // - public: - bool externalProperty_p () const; - ::CIAO::Config_Handlers::AssemblyPropertyMapping const& externalProperty () const; - void externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::AssemblyPropertyMapping > externalProperty_; - - public: - ComponentAssemblyDescription (); - - ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentAssemblyDescription (ComponentAssemblyDescription const& s); - - ComponentAssemblyDescription& - operator= (ComponentAssemblyDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export MonolithicImplementationDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // execParameter - // - public: - bool execParameter_p () const; - ::CIAO::Config_Handlers::Property const& execParameter () const; - void execParameter (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > execParameter_; - - // primaryArtifact - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator primaryArtifact_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator primaryArtifact_const_iterator; - primaryArtifact_iterator begin_primaryArtifact (); - primaryArtifact_iterator end_primaryArtifact (); - primaryArtifact_const_iterator begin_primaryArtifact () const; - primaryArtifact_const_iterator end_primaryArtifact () const; - void add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); - size_t count_primaryArtifact (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > primaryArtifact_; - - // deployRequirement - // - public: - bool deployRequirement_p () const; - ::CIAO::Config_Handlers::ImplementationRequirement const& deployRequirement () const; - void deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationRequirement > deployRequirement_; - - public: - MonolithicImplementationDescription (); - - MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - MonolithicImplementationDescription (MonolithicImplementationDescription const& s); - - MonolithicImplementationDescription& - operator= (MonolithicImplementationDescription const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ComponentImplementationDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // implements - // - public: - bool implements_p () const; - ::CIAO::Config_Handlers::ComponentInterfaceDescription const& implements () const; - void implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > implements_; - - // assemblyImpl - // - public: - bool assemblyImpl_p () const; - ::CIAO::Config_Handlers::ComponentAssemblyDescription const& assemblyImpl () const; - void assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > assemblyImpl_; - - // monolithicImpl - // - public: - bool monolithicImpl_p () const; - ::CIAO::Config_Handlers::MonolithicImplementationDescription const& monolithicImpl () const; - void monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > monolithicImpl_; - - // configProperty - // - public: - bool configProperty_p () const; - ::CIAO::Config_Handlers::Property const& configProperty () const; - void configProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > configProperty_; - - // capability - // - public: - bool capability_p () const; - ::CIAO::Config_Handlers::Capability const& capability () const; - void capability (::CIAO::Config_Handlers::Capability const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Capability > capability_; - - // dependsOn - // - public: - bool dependsOn_p () const; - ::CIAO::Config_Handlers::ImplementationDependency const& dependsOn () const; - void dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; - - // infoProperty - // - public: - bool infoProperty_p () const; - ::CIAO::Config_Handlers::Property const& infoProperty () const; - void infoProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > infoProperty_; - - // contentLocation - // - public: - bool contentLocation_p () const; - ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; - void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - - // href - // - public: - bool href_p () const; - ::XMLSchema::string< ACE_TCHAR > const& href () const; - ::XMLSchema::string< ACE_TCHAR >& href (); - void href (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - - public: - ComponentImplementationDescription (); - - ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentImplementationDescription (ComponentImplementationDescription const& s); - - ComponentImplementationDescription& - operator= (ComponentImplementationDescription const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export SubcomponentInstantiationDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// basePackage +// +public: +bool basePackage_p () const; +::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; +void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; + +// specializedConfig +// +public: +bool specializedConfig_p () const; +::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; +void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; + +// selectRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; +selectRequirement_iterator begin_selectRequirement (); +selectRequirement_iterator end_selectRequirement (); +selectRequirement_const_iterator begin_selectRequirement () const; +selectRequirement_const_iterator end_selectRequirement () const; +void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_selectRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// referencedPackage +// +public: +bool referencedPackage_p () const; +::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; +void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; + +// importedPackage +// +public: +bool importedPackage_p () const; +::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; +void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; + +// id +// +public: +bool id_p () const; +::XMLSchema::ID< ACE_TCHAR > const& id () const; +::XMLSchema::ID< ACE_TCHAR >& id (); +void id (::XMLSchema::ID< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + +public: +SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + +SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +SubcomponentInstantiationDescription (SubcomponentInstantiationDescription const& s); + +SubcomponentInstantiationDescription& +operator= (SubcomponentInstantiationDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export SubcomponentPropertyReference : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// propertyName +// +public: +::XMLSchema::string< ACE_TCHAR > const& propertyName () const; +void propertyName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > propertyName_; + +// instance +// +public: +::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; +void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + +public: +SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, +::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + +SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const&); +SubcomponentPropertyReference (SubcomponentPropertyReference const& s); + +SubcomponentPropertyReference& +operator= (SubcomponentPropertyReference const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export AssemblyPropertyMapping : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// externalName +// +public: +::XMLSchema::string< ACE_TCHAR > const& externalName () const; +void externalName (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > externalName_; + +// delegatesTo +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::iterator delegatesTo_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::const_iterator delegatesTo_const_iterator; +delegatesTo_iterator begin_delegatesTo (); +delegatesTo_iterator end_delegatesTo (); +delegatesTo_const_iterator begin_delegatesTo () const; +delegatesTo_const_iterator end_delegatesTo () const; +void add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& ); +size_t count_delegatesTo (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference > delegatesTo_; + +public: +AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, +::XMLSchema::string< ACE_TCHAR > const& externalName__); + +AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const&); +AssemblyPropertyMapping (AssemblyPropertyMapping const& s); + +AssemblyPropertyMapping& +operator= (AssemblyPropertyMapping const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentAssemblyDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// instance +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::iterator instance_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::const_iterator instance_const_iterator; +instance_iterator begin_instance (); +instance_iterator end_instance (); +instance_const_iterator begin_instance () const; +instance_const_iterator end_instance () const; +void add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& ); +size_t count_instance (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > instance_; + +// connection +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::iterator connection_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::const_iterator connection_const_iterator; +connection_iterator begin_connection (); +connection_iterator end_connection (); +connection_const_iterator begin_connection () const; +connection_const_iterator end_connection () const; +void add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& ); +size_t count_connection (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription > connection_; + +// externalProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::iterator externalProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::const_iterator externalProperty_const_iterator; +externalProperty_iterator begin_externalProperty (); +externalProperty_iterator end_externalProperty (); +externalProperty_const_iterator begin_externalProperty () const; +externalProperty_const_iterator end_externalProperty () const; +void add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& ); +size_t count_externalProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping > externalProperty_; + +public: +ComponentAssemblyDescription (); + +ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentAssemblyDescription (ComponentAssemblyDescription const& s); + +ComponentAssemblyDescription& +operator= (ComponentAssemblyDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export MonolithicImplementationDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// nodeExecParameter +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator nodeExecParameter_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator nodeExecParameter_const_iterator; +nodeExecParameter_iterator begin_nodeExecParameter (); +nodeExecParameter_iterator end_nodeExecParameter (); +nodeExecParameter_const_iterator begin_nodeExecParameter () const; +nodeExecParameter_const_iterator end_nodeExecParameter () const; +void add_nodeExecParameter (::CIAO::Config_Handlers::Property const& ); +size_t count_nodeExecParameter (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > nodeExecParameter_; + +// componentExecParameter +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator componentExecParameter_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator componentExecParameter_const_iterator; +componentExecParameter_iterator begin_componentExecParameter (); +componentExecParameter_iterator end_componentExecParameter (); +componentExecParameter_const_iterator begin_componentExecParameter () const; +componentExecParameter_const_iterator end_componentExecParameter () const; +void add_componentExecParameter (::CIAO::Config_Handlers::Property const& ); +size_t count_componentExecParameter (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > componentExecParameter_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ImplementationRequirement > deployRequirement_; + +// primaryArtifact +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator primaryArtifact_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator primaryArtifact_const_iterator; +primaryArtifact_iterator begin_primaryArtifact (); +primaryArtifact_iterator end_primaryArtifact (); +primaryArtifact_const_iterator begin_primaryArtifact () const; +primaryArtifact_const_iterator end_primaryArtifact () const; +void add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); +size_t count_primaryArtifact (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > primaryArtifact_; + +public: +MonolithicImplementationDescription (); + +MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +MonolithicImplementationDescription (MonolithicImplementationDescription const& s); + +MonolithicImplementationDescription& +operator= (MonolithicImplementationDescription const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentImplementationDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// implements +// +public: +bool implements_p () const; +::CIAO::Config_Handlers::ComponentInterfaceDescription const& implements () const; +void implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > implements_; + +// assemblyImpl +// +public: +bool assemblyImpl_p () const; +::CIAO::Config_Handlers::ComponentAssemblyDescription const& assemblyImpl () const; +void assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > assemblyImpl_; + +// monolithicImpl +// +public: +bool monolithicImpl_p () const; +::CIAO::Config_Handlers::MonolithicImplementationDescription const& monolithicImpl () const; +void monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > monolithicImpl_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// capability +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Capability >::iterator capability_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Capability >::const_iterator capability_const_iterator; +capability_iterator begin_capability (); +capability_iterator end_capability (); +capability_const_iterator begin_capability () const; +capability_const_iterator end_capability () const; +void add_capability (::CIAO::Config_Handlers::Capability const& ); +size_t count_capability (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Capability > capability_; + +// dependsOn +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; +dependsOn_iterator begin_dependsOn (); +dependsOn_iterator end_dependsOn (); +dependsOn_const_iterator begin_dependsOn () const; +dependsOn_const_iterator end_dependsOn () const; +void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); +size_t count_dependsOn (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +// contentLocation +// +public: +bool contentLocation_p () const; +::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; +void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + +// href +// +public: +bool href_p () const; +::XMLSchema::string< ACE_TCHAR > const& href () const; +::XMLSchema::string< ACE_TCHAR >& href (); +void href (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + +public: +ComponentImplementationDescription (); + +ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentImplementationDescription (ComponentImplementationDescription const& s); + +ComponentImplementationDescription& +operator= (ComponentImplementationDescription const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export SubcomponentInstantiationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export SubcomponentInstantiationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > +{ +virtual void +traverse (Type&); - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - pre (Type&); +virtual void +pre (Type&); - virtual void - pre (Type const&); +virtual void +pre (Type const&); - virtual void - name (Type&); +virtual void +name (Type&); - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - package (Type&); +virtual void +basePackage (Type&); - virtual void - package (Type const&); +virtual void +basePackage (Type const&); - virtual void - configProperty (Type&); +virtual void +basePackage_none (Type&); - virtual void - configProperty (Type const&); +virtual void +basePackage_none (Type const&); - virtual void - configProperty_none (Type&); +virtual void +specializedConfig (Type&); - virtual void - configProperty_none (Type const&); +virtual void +specializedConfig (Type const&); - virtual void - selectRequirement (Type&); +virtual void +specializedConfig_none (Type&); - virtual void - selectRequirement (Type const&); +virtual void +specializedConfig_none (Type const&); - virtual void - selectRequirement_none (Type&); +virtual void +selectRequirement (Type&); - virtual void - selectRequirement_none (Type const&); +virtual void +selectRequirement (Type const&); - virtual void - reference (Type&); +virtual void +selectRequirement_pre (Type&); - virtual void - reference (Type const&); +virtual void +selectRequirement_pre (Type const&); - virtual void - reference_none (Type&); +virtual void +selectRequirement_next (Type&); - virtual void - reference_none (Type const&); +virtual void +selectRequirement_next (Type const&); - virtual void - id (Type&); +virtual void +selectRequirement_post (Type&); - virtual void - id (Type const&); +virtual void +selectRequirement_post (Type const&); - virtual void - id_none (Type&); +virtual void +selectRequirement_none (Type&); - virtual void - id_none (Type const&); +virtual void +selectRequirement_none (Type const&); - virtual void - post (Type&); +virtual void +configProperty (Type&); - virtual void - post (Type const&); - }; +virtual void +configProperty (Type const&); - struct XSC_XML_Handlers_Export SubcomponentPropertyReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPropertyReference > - { - virtual void - traverse (Type&); +virtual void +configProperty_pre (Type&); - virtual void - traverse (Type const&); +virtual void +configProperty_pre (Type const&); - virtual void - pre (Type&); +virtual void +configProperty_next (Type&); - virtual void - pre (Type const&); +virtual void +configProperty_next (Type const&); - virtual void - propertyName (Type&); +virtual void +configProperty_post (Type&); - virtual void - propertyName (Type const&); +virtual void +configProperty_post (Type const&); - virtual void - instance (Type&); +virtual void +configProperty_none (Type&); - virtual void - instance (Type const&); +virtual void +configProperty_none (Type const&); - virtual void - post (Type&); +virtual void +referencedPackage (Type&); - virtual void - post (Type const&); - }; +virtual void +referencedPackage (Type const&); - struct XSC_XML_Handlers_Export AssemblyPropertyMapping : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyPropertyMapping > - { - virtual void - traverse (Type&); +virtual void +referencedPackage_none (Type&); - virtual void - traverse (Type const&); +virtual void +referencedPackage_none (Type const&); - virtual void - pre (Type&); +virtual void +importedPackage (Type&); - virtual void - pre (Type const&); +virtual void +importedPackage (Type const&); - virtual void - name (Type&); +virtual void +importedPackage_none (Type&); - virtual void - name (Type const&); +virtual void +importedPackage_none (Type const&); - virtual void - externalName (Type&); +virtual void +id (Type&); - virtual void - externalName (Type const&); +virtual void +id (Type const&); - virtual void - delegatesTo (Type&); +virtual void +id_none (Type&); - virtual void - delegatesTo (Type const&); +virtual void +id_none (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); - virtual void - post (Type const&); - }; +virtual void +post (Type const&); +}; - struct XSC_XML_Handlers_Export ComponentAssemblyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentAssemblyDescription > - { - virtual void - traverse (Type&); +struct XSC_XML_Handlers_Export SubcomponentPropertyReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPropertyReference > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); - virtual void - traverse (Type const&); +virtual void +pre (Type&); - virtual void - pre (Type&); +virtual void +pre (Type const&); - virtual void - pre (Type const&); +virtual void +propertyName (Type&); - virtual void - instance (Type&); +virtual void +propertyName (Type const&); - virtual void - instance (Type const&); +virtual void +instance (Type&); - virtual void - instance_pre (Type&); +virtual void +instance (Type const&); - virtual void - instance_pre (Type const&); +virtual void +post (Type&); - virtual void - instance_next (Type&); +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export AssemblyPropertyMapping : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyPropertyMapping > +{ +virtual void +traverse (Type&); - virtual void - instance_next (Type const&); +virtual void +traverse (Type const&); - virtual void - instance_post (Type&); +virtual void +pre (Type&); - virtual void - instance_post (Type const&); +virtual void +pre (Type const&); - virtual void - connection (Type&); +virtual void +name (Type&); - virtual void - connection (Type const&); +virtual void +name (Type const&); - virtual void - connection_pre (Type&); +virtual void +externalName (Type&); - virtual void - connection_pre (Type const&); +virtual void +externalName (Type const&); - virtual void - connection_next (Type&); +virtual void +delegatesTo (Type&); - virtual void - connection_next (Type const&); +virtual void +delegatesTo (Type const&); - virtual void - connection_post (Type&); +virtual void +delegatesTo_pre (Type&); - virtual void - connection_post (Type const&); +virtual void +delegatesTo_pre (Type const&); - virtual void - externalProperty (Type&); +virtual void +delegatesTo_next (Type&); - virtual void - externalProperty (Type const&); +virtual void +delegatesTo_next (Type const&); - virtual void - externalProperty_none (Type&); +virtual void +delegatesTo_post (Type&); - virtual void - externalProperty_none (Type const&); +virtual void +delegatesTo_post (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export ComponentAssemblyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentAssemblyDescription > +{ +virtual void +traverse (Type&); - virtual void - post (Type const&); - }; +virtual void +traverse (Type const&); - struct XSC_XML_Handlers_Export MonolithicImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicImplementationDescription > - { - virtual void - traverse (Type&); +virtual void +pre (Type&); - virtual void - traverse (Type const&); +virtual void +pre (Type const&); - virtual void - pre (Type&); +virtual void +instance (Type&); - virtual void - pre (Type const&); +virtual void +instance (Type const&); - virtual void - execParameter (Type&); +virtual void +instance_pre (Type&); - virtual void - execParameter (Type const&); +virtual void +instance_pre (Type const&); - virtual void - execParameter_none (Type&); +virtual void +instance_next (Type&); - virtual void - execParameter_none (Type const&); +virtual void +instance_next (Type const&); - virtual void - primaryArtifact (Type&); +virtual void +instance_post (Type&); - virtual void - primaryArtifact (Type const&); +virtual void +instance_post (Type const&); - virtual void - primaryArtifact_pre (Type&); +virtual void +connection (Type&); - virtual void - primaryArtifact_pre (Type const&); +virtual void +connection (Type const&); - virtual void - primaryArtifact_next (Type&); +virtual void +connection_pre (Type&); - virtual void - primaryArtifact_next (Type const&); +virtual void +connection_pre (Type const&); - virtual void - primaryArtifact_post (Type&); +virtual void +connection_next (Type&); - virtual void - primaryArtifact_post (Type const&); +virtual void +connection_next (Type const&); - virtual void - deployRequirement (Type&); +virtual void +connection_post (Type&); - virtual void - deployRequirement (Type const&); +virtual void +connection_post (Type const&); - virtual void - deployRequirement_none (Type&); +virtual void +connection_none (Type&); - virtual void - deployRequirement_none (Type const&); +virtual void +connection_none (Type const&); + +virtual void +externalProperty (Type&); + +virtual void +externalProperty (Type const&); + +virtual void +externalProperty_pre (Type&); + +virtual void +externalProperty_pre (Type const&); + +virtual void +externalProperty_next (Type&); + +virtual void +externalProperty_next (Type const&); + +virtual void +externalProperty_post (Type&); + +virtual void +externalProperty_post (Type const&); + +virtual void +externalProperty_none (Type&); + +virtual void +externalProperty_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export MonolithicImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicImplementationDescription > +{ +virtual void +traverse (Type&); - virtual void - post (Type&); +virtual void +traverse (Type const&); - virtual void - post (Type const&); - }; +virtual void +pre (Type&); - struct XSC_XML_Handlers_Export ComponentImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentImplementationDescription > - { - virtual void - traverse (Type&); +virtual void +pre (Type const&); - virtual void - traverse (Type const&); +virtual void +nodeExecParameter (Type&); - virtual void - pre (Type&); +virtual void +nodeExecParameter (Type const&); - virtual void - pre (Type const&); +virtual void +nodeExecParameter_pre (Type&); - virtual void - label (Type&); +virtual void +nodeExecParameter_pre (Type const&); - virtual void - label (Type const&); +virtual void +nodeExecParameter_next (Type&); - virtual void - label_none (Type&); +virtual void +nodeExecParameter_next (Type const&); - virtual void - label_none (Type const&); +virtual void +nodeExecParameter_post (Type&); - virtual void - UUID (Type&); +virtual void +nodeExecParameter_post (Type const&); - virtual void - UUID (Type const&); +virtual void +nodeExecParameter_none (Type&); - virtual void - UUID_none (Type&); +virtual void +nodeExecParameter_none (Type const&); - virtual void - UUID_none (Type const&); +virtual void +componentExecParameter (Type&); - virtual void - implements (Type&); +virtual void +componentExecParameter (Type const&); - virtual void - implements (Type const&); +virtual void +componentExecParameter_pre (Type&); - virtual void - implements_none (Type&); +virtual void +componentExecParameter_pre (Type const&); + +virtual void +componentExecParameter_next (Type&); + +virtual void +componentExecParameter_next (Type const&); + +virtual void +componentExecParameter_post (Type&); + +virtual void +componentExecParameter_post (Type const&); + +virtual void +componentExecParameter_none (Type&); + +virtual void +componentExecParameter_none (Type const&); + +virtual void +deployRequirement (Type&); + +virtual void +deployRequirement (Type const&); + +virtual void +deployRequirement_pre (Type&); + +virtual void +deployRequirement_pre (Type const&); + +virtual void +deployRequirement_next (Type&); + +virtual void +deployRequirement_next (Type const&); + +virtual void +deployRequirement_post (Type&); + +virtual void +deployRequirement_post (Type const&); + +virtual void +deployRequirement_none (Type&); + +virtual void +deployRequirement_none (Type const&); + +virtual void +primaryArtifact (Type&); + +virtual void +primaryArtifact (Type const&); + +virtual void +primaryArtifact_pre (Type&); + +virtual void +primaryArtifact_pre (Type const&); + +virtual void +primaryArtifact_next (Type&); + +virtual void +primaryArtifact_next (Type const&); + +virtual void +primaryArtifact_post (Type&); + +virtual void +primaryArtifact_post (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export ComponentImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentImplementationDescription > +{ +virtual void +traverse (Type&); - virtual void - implements_none (Type const&); +virtual void +traverse (Type const&); - virtual void - assemblyImpl (Type&); +virtual void +pre (Type&); - virtual void - assemblyImpl (Type const&); +virtual void +pre (Type const&); - virtual void - assemblyImpl_none (Type&); +virtual void +label (Type&); - virtual void - assemblyImpl_none (Type const&); +virtual void +label (Type const&); - virtual void - monolithicImpl (Type&); +virtual void +label_none (Type&); - virtual void - monolithicImpl (Type const&); +virtual void +label_none (Type const&); - virtual void - monolithicImpl_none (Type&); +virtual void +UUID (Type&); - virtual void - monolithicImpl_none (Type const&); +virtual void +UUID (Type const&); - virtual void - configProperty (Type&); +virtual void +UUID_none (Type&); - virtual void - configProperty (Type const&); +virtual void +UUID_none (Type const&); - virtual void - configProperty_none (Type&); +virtual void +implements (Type&); - virtual void - configProperty_none (Type const&); +virtual void +implements (Type const&); - virtual void - capability (Type&); +virtual void +implements_none (Type&); - virtual void - capability (Type const&); +virtual void +implements_none (Type const&); - virtual void - capability_none (Type&); +virtual void +assemblyImpl (Type&); - virtual void - capability_none (Type const&); +virtual void +assemblyImpl (Type const&); - virtual void - dependsOn (Type&); +virtual void +assemblyImpl_none (Type&); - virtual void - dependsOn (Type const&); +virtual void +assemblyImpl_none (Type const&); - virtual void - dependsOn_none (Type&); +virtual void +monolithicImpl (Type&); - virtual void - dependsOn_none (Type const&); +virtual void +monolithicImpl (Type const&); - virtual void - infoProperty (Type&); +virtual void +monolithicImpl_none (Type&); - virtual void - infoProperty (Type const&); +virtual void +monolithicImpl_none (Type const&); - virtual void - infoProperty_none (Type&); +virtual void +configProperty (Type&); - virtual void - infoProperty_none (Type const&); +virtual void +configProperty (Type const&); - virtual void - contentLocation (Type&); +virtual void +configProperty_pre (Type&); - virtual void - contentLocation (Type const&); +virtual void +configProperty_pre (Type const&); - virtual void - contentLocation_none (Type&); +virtual void +configProperty_next (Type&); - virtual void - contentLocation_none (Type const&); +virtual void +configProperty_next (Type const&); - virtual void - href (Type&); +virtual void +configProperty_post (Type&); - virtual void - href (Type const&); +virtual void +configProperty_post (Type const&); - virtual void - href_none (Type&); +virtual void +configProperty_none (Type&); - virtual void - href_none (Type const&); +virtual void +configProperty_none (Type const&); - virtual void - post (Type&); +virtual void +capability (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +capability (Type const&); + +virtual void +capability_pre (Type&); + +virtual void +capability_pre (Type const&); + +virtual void +capability_next (Type&); + +virtual void +capability_next (Type const&); + +virtual void +capability_post (Type&); + +virtual void +capability_post (Type const&); + +virtual void +capability_none (Type&); + +virtual void +capability_none (Type const&); + +virtual void +dependsOn (Type&); + +virtual void +dependsOn (Type const&); + +virtual void +dependsOn_pre (Type&); + +virtual void +dependsOn_pre (Type const&); + +virtual void +dependsOn_next (Type&); + +virtual void +dependsOn_next (Type const&); + +virtual void +dependsOn_post (Type&); + +virtual void +dependsOn_post (Type const&); + +virtual void +dependsOn_none (Type&); + +virtual void +dependsOn_none (Type const&); + +virtual void +infoProperty (Type&); + +virtual void +infoProperty (Type const&); + +virtual void +infoProperty_pre (Type&); + +virtual void +infoProperty_pre (Type const&); + +virtual void +infoProperty_next (Type&); + +virtual void +infoProperty_next (Type const&); + +virtual void +infoProperty_post (Type&); + +virtual void +infoProperty_post (Type const&); + +virtual void +infoProperty_none (Type&); + +virtual void +infoProperty_none (Type const&); + +virtual void +contentLocation (Type&); + +virtual void +contentLocation (Type const&); + +virtual void +contentLocation_none (Type&); + +virtual void +contentLocation_none (Type const&); + +virtual void +href (Type&); + +virtual void +href (Type const&); + +virtual void +href_none (Type&); + +virtual void +href_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct SubcomponentInstantiationDescription : Traversal::SubcomponentInstantiationDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::SubcomponentInstantiationDescription Type; - SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct SubcomponentInstantiationDescription : Traversal::SubcomponentInstantiationDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::SubcomponentInstantiationDescription Type; +SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - package (Type &o) - { +virtual void +basePackage (Type &o) +{ - this->package (const_cast <Type const &> (o)); - } +this->basePackage (const_cast <Type const &> (o)); +} - virtual void - package (Type const&); +virtual void +basePackage (Type const&); - virtual void - configProperty (Type &o) - { +virtual void +specializedConfig (Type &o) +{ - this->configProperty (const_cast <Type const &> (o)); - } +this->specializedConfig (const_cast <Type const &> (o)); +} - virtual void - configProperty (Type const&); +virtual void +specializedConfig (Type const&); - virtual void - selectRequirement (Type &o) - { +virtual void +selectRequirement_pre (Type &o) +{ - this->selectRequirement (const_cast <Type const &> (o)); - } +this->selectRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - selectRequirement (Type const&); +virtual void +selectRequirement_pre (Type const&); - virtual void - reference (Type &o) - { +virtual void +selectRequirement_next (Type &o) +{ - this->reference (const_cast <Type const &> (o)); - } +this->selectRequirement_next (const_cast <Type const &> (o)); +} - virtual void - reference (Type const&); +virtual void +selectRequirement_next (Type const&); - virtual void - id (Type &o) - { +virtual void +selectRequirement_post (Type &o) +{ + +this->selectRequirement_post (const_cast <Type const &> (o)); +} + + +virtual void +selectRequirement_post (Type const&); + +virtual void +configProperty_pre (Type &o) +{ + +this->configProperty_pre (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_pre (Type const&); + +virtual void +configProperty_next (Type &o) +{ + +this->configProperty_next (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_next (Type const&); + +virtual void +configProperty_post (Type &o) +{ + +this->configProperty_post (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_post (Type const&); + +virtual void +referencedPackage (Type &o) +{ + +this->referencedPackage (const_cast <Type const &> (o)); +} + + +virtual void +referencedPackage (Type const&); + +virtual void +importedPackage (Type &o) +{ + +this->importedPackage (const_cast <Type const &> (o)); +} + + +virtual void +importedPackage (Type const&); + +virtual void +id (Type &o) +{ + +this->id (const_cast <Type const &> (o)); +} + + +virtual void +id (Type const&); + +protected: +SubcomponentInstantiationDescription (); +}; + +struct SubcomponentPropertyReference : Traversal::SubcomponentPropertyReference, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::SubcomponentPropertyReference Type; +SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +propertyName (Type &o) +{ + +this->propertyName (const_cast <Type const &> (o)); +} + + +virtual void +propertyName (Type const&); + +virtual void +instance (Type &o) +{ + +this->instance (const_cast <Type const &> (o)); +} + + +virtual void +instance (Type const&); + +protected: +SubcomponentPropertyReference (); +}; + +struct AssemblyPropertyMapping : Traversal::AssemblyPropertyMapping, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::AssemblyPropertyMapping Type; +AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +name (Type &o) +{ + +this->name (const_cast <Type const &> (o)); +} + + +virtual void +name (Type const&); + +virtual void +externalName (Type &o) +{ + +this->externalName (const_cast <Type const &> (o)); +} + + +virtual void +externalName (Type const&); + +virtual void +delegatesTo_pre (Type &o) +{ + +this->delegatesTo_pre (const_cast <Type const &> (o)); +} + + +virtual void +delegatesTo_pre (Type const&); + +virtual void +delegatesTo_next (Type &o) +{ + +this->delegatesTo_next (const_cast <Type const &> (o)); +} + + +virtual void +delegatesTo_next (Type const&); + +virtual void +delegatesTo_post (Type &o) +{ + +this->delegatesTo_post (const_cast <Type const &> (o)); +} + + +virtual void +delegatesTo_post (Type const&); + +protected: +AssemblyPropertyMapping (); +}; + +struct ComponentAssemblyDescription : Traversal::ComponentAssemblyDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentAssemblyDescription Type; +ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +instance_pre (Type &o) +{ + +this->instance_pre (const_cast <Type const &> (o)); +} - this->id (const_cast <Type const &> (o)); - } +virtual void +instance_pre (Type const&); - virtual void - id (Type const&); +virtual void +instance_next (Type &o) +{ - protected: - SubcomponentInstantiationDescription (); - }; +this->instance_next (const_cast <Type const &> (o)); +} - struct SubcomponentPropertyReference : Traversal::SubcomponentPropertyReference, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::SubcomponentPropertyReference Type; - SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +instance_next (Type const&); - this->traverse (const_cast <Type const &> (o)); - } +virtual void +instance_post (Type &o) +{ +this->instance_post (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); - virtual void - propertyName (Type &o) - { +virtual void +instance_post (Type const&); - this->propertyName (const_cast <Type const &> (o)); - } +virtual void +connection_pre (Type &o) +{ +this->connection_pre (const_cast <Type const &> (o)); +} - virtual void - propertyName (Type const&); - virtual void - instance (Type &o) - { +virtual void +connection_pre (Type const&); - this->instance (const_cast <Type const &> (o)); - } +virtual void +connection_next (Type &o) +{ +this->connection_next (const_cast <Type const &> (o)); +} - virtual void - instance (Type const&); - protected: - SubcomponentPropertyReference (); - }; +virtual void +connection_next (Type const&); - struct AssemblyPropertyMapping : Traversal::AssemblyPropertyMapping, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::AssemblyPropertyMapping Type; - AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +connection_post (Type &o) +{ - virtual void - traverse (Type &o) - { +this->connection_post (const_cast <Type const &> (o)); +} - this->traverse (const_cast <Type const &> (o)); - } +virtual void +connection_post (Type const&); - virtual void - traverse (Type const&); +virtual void +externalProperty_pre (Type &o) +{ - virtual void - name (Type &o) - { +this->externalProperty_pre (const_cast <Type const &> (o)); +} - this->name (const_cast <Type const &> (o)); - } +virtual void +externalProperty_pre (Type const&); - virtual void - name (Type const&); +virtual void +externalProperty_next (Type &o) +{ - virtual void - externalName (Type &o) - { +this->externalProperty_next (const_cast <Type const &> (o)); +} - this->externalName (const_cast <Type const &> (o)); - } +virtual void +externalProperty_next (Type const&); - virtual void - externalName (Type const&); +virtual void +externalProperty_post (Type &o) +{ - virtual void - delegatesTo (Type &o) - { +this->externalProperty_post (const_cast <Type const &> (o)); +} - this->delegatesTo (const_cast <Type const &> (o)); - } +virtual void +externalProperty_post (Type const&); - virtual void - delegatesTo (Type const&); +protected: +ComponentAssemblyDescription (); +}; - protected: - AssemblyPropertyMapping (); - }; +struct MonolithicImplementationDescription : Traversal::MonolithicImplementationDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::MonolithicImplementationDescription Type; +MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - struct ComponentAssemblyDescription : Traversal::ComponentAssemblyDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentAssemblyDescription Type; - ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +traverse (Type &o) +{ - virtual void - traverse (Type &o) - { +this->traverse (const_cast <Type const &> (o)); +} - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); - virtual void - traverse (Type const&); +virtual void +nodeExecParameter_pre (Type &o) +{ - virtual void - instance_pre (Type &o) - { +this->nodeExecParameter_pre (const_cast <Type const &> (o)); +} - this->instance_pre (const_cast <Type const &> (o)); - } +virtual void +nodeExecParameter_pre (Type const&); - virtual void - instance_pre (Type const&); +virtual void +nodeExecParameter_next (Type &o) +{ - virtual void - instance_next (Type &o) - { +this->nodeExecParameter_next (const_cast <Type const &> (o)); +} - this->instance_next (const_cast <Type const &> (o)); - } +virtual void +nodeExecParameter_next (Type const&); - virtual void - instance_next (Type const&); +virtual void +nodeExecParameter_post (Type &o) +{ - virtual void - instance_post (Type &o) - { +this->nodeExecParameter_post (const_cast <Type const &> (o)); +} - this->instance_post (const_cast <Type const &> (o)); - } +virtual void +nodeExecParameter_post (Type const&); - virtual void - instance_post (Type const&); +virtual void +componentExecParameter_pre (Type &o) +{ - virtual void - connection_pre (Type &o) - { +this->componentExecParameter_pre (const_cast <Type const &> (o)); +} - this->connection_pre (const_cast <Type const &> (o)); - } +virtual void +componentExecParameter_pre (Type const&); - virtual void - connection_pre (Type const&); +virtual void +componentExecParameter_next (Type &o) +{ - virtual void - connection_next (Type &o) - { +this->componentExecParameter_next (const_cast <Type const &> (o)); +} - this->connection_next (const_cast <Type const &> (o)); - } +virtual void +componentExecParameter_next (Type const&); - virtual void - connection_next (Type const&); +virtual void +componentExecParameter_post (Type &o) +{ - virtual void - connection_post (Type &o) - { +this->componentExecParameter_post (const_cast <Type const &> (o)); +} - this->connection_post (const_cast <Type const &> (o)); - } +virtual void +componentExecParameter_post (Type const&); - virtual void - connection_post (Type const&); +virtual void +deployRequirement_pre (Type &o) +{ - virtual void - externalProperty (Type &o) - { +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - this->externalProperty (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_pre (Type const&); - virtual void - externalProperty (Type const&); +virtual void +deployRequirement_next (Type &o) +{ - protected: - ComponentAssemblyDescription (); - }; +this->deployRequirement_next (const_cast <Type const &> (o)); +} - struct MonolithicImplementationDescription : Traversal::MonolithicImplementationDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::MonolithicImplementationDescription Type; - MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +deployRequirement_next (Type const&); - this->traverse (const_cast <Type const &> (o)); - } +virtual void +deployRequirement_post (Type &o) +{ +this->deployRequirement_post (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); - virtual void - execParameter (Type &o) - { +virtual void +deployRequirement_post (Type const&); - this->execParameter (const_cast <Type const &> (o)); - } +virtual void +primaryArtifact_pre (Type &o) +{ +this->primaryArtifact_pre (const_cast <Type const &> (o)); +} - virtual void - execParameter (Type const&); - virtual void - primaryArtifact_pre (Type &o) - { +virtual void +primaryArtifact_pre (Type const&); - this->primaryArtifact_pre (const_cast <Type const &> (o)); - } +virtual void +primaryArtifact_next (Type &o) +{ +this->primaryArtifact_next (const_cast <Type const &> (o)); +} - virtual void - primaryArtifact_pre (Type const&); - virtual void - primaryArtifact_next (Type &o) - { +virtual void +primaryArtifact_next (Type const&); - this->primaryArtifact_next (const_cast <Type const &> (o)); - } +virtual void +primaryArtifact_post (Type &o) +{ +this->primaryArtifact_post (const_cast <Type const &> (o)); +} - virtual void - primaryArtifact_next (Type const&); - virtual void - primaryArtifact_post (Type &o) - { +virtual void +primaryArtifact_post (Type const&); - this->primaryArtifact_post (const_cast <Type const &> (o)); - } +protected: +MonolithicImplementationDescription (); +}; +struct ComponentImplementationDescription : Traversal::ComponentImplementationDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentImplementationDescription Type; +ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - primaryArtifact_post (Type const&); +virtual void +traverse (Type &o) +{ - virtual void - deployRequirement (Type &o) - { +this->traverse (const_cast <Type const &> (o)); +} - this->deployRequirement (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); - virtual void - deployRequirement (Type const&); +virtual void +label (Type &o) +{ - protected: - MonolithicImplementationDescription (); - }; +this->label (const_cast <Type const &> (o)); +} - struct ComponentImplementationDescription : Traversal::ComponentImplementationDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentImplementationDescription Type; - ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +label (Type const&); - this->traverse (const_cast <Type const &> (o)); - } +virtual void +UUID (Type &o) +{ +this->UUID (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); - virtual void - label (Type &o) - { +virtual void +UUID (Type const&); - this->label (const_cast <Type const &> (o)); - } +virtual void +implements (Type &o) +{ +this->implements (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); - virtual void - UUID (Type &o) - { +virtual void +implements (Type const&); - this->UUID (const_cast <Type const &> (o)); - } +virtual void +assemblyImpl (Type &o) +{ +this->assemblyImpl (const_cast <Type const &> (o)); +} - virtual void - UUID (Type const&); - virtual void - implements (Type &o) - { +virtual void +assemblyImpl (Type const&); - this->implements (const_cast <Type const &> (o)); - } +virtual void +monolithicImpl (Type &o) +{ +this->monolithicImpl (const_cast <Type const &> (o)); +} - virtual void - implements (Type const&); - virtual void - assemblyImpl (Type &o) - { +virtual void +monolithicImpl (Type const&); - this->assemblyImpl (const_cast <Type const &> (o)); - } +virtual void +configProperty_pre (Type &o) +{ +this->configProperty_pre (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_pre (Type const&); + +virtual void +configProperty_next (Type &o) +{ + +this->configProperty_next (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_next (Type const&); + +virtual void +configProperty_post (Type &o) +{ + +this->configProperty_post (const_cast <Type const &> (o)); +} + + +virtual void +configProperty_post (Type const&); + +virtual void +capability_pre (Type &o) +{ + +this->capability_pre (const_cast <Type const &> (o)); +} + + +virtual void +capability_pre (Type const&); + +virtual void +capability_next (Type &o) +{ + +this->capability_next (const_cast <Type const &> (o)); +} + + +virtual void +capability_next (Type const&); + +virtual void +capability_post (Type &o) +{ + +this->capability_post (const_cast <Type const &> (o)); +} + + +virtual void +capability_post (Type const&); + +virtual void +dependsOn_pre (Type &o) +{ + +this->dependsOn_pre (const_cast <Type const &> (o)); +} - virtual void - assemblyImpl (Type const&); - virtual void - monolithicImpl (Type &o) - { +virtual void +dependsOn_pre (Type const&); - this->monolithicImpl (const_cast <Type const &> (o)); - } +virtual void +dependsOn_next (Type &o) +{ +this->dependsOn_next (const_cast <Type const &> (o)); +} - virtual void - monolithicImpl (Type const&); - virtual void - configProperty (Type &o) - { +virtual void +dependsOn_next (Type const&); - this->configProperty (const_cast <Type const &> (o)); - } +virtual void +dependsOn_post (Type &o) +{ + +this->dependsOn_post (const_cast <Type const &> (o)); +} - virtual void - configProperty (Type const&); +virtual void +dependsOn_post (Type const&); - virtual void - capability (Type &o) - { +virtual void +infoProperty_pre (Type &o) +{ - this->capability (const_cast <Type const &> (o)); - } +this->infoProperty_pre (const_cast <Type const &> (o)); +} - virtual void - capability (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - dependsOn (Type &o) - { +virtual void +infoProperty_next (Type &o) +{ - this->dependsOn (const_cast <Type const &> (o)); - } +this->infoProperty_next (const_cast <Type const &> (o)); +} - virtual void - dependsOn (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - infoProperty (Type &o) - { +virtual void +infoProperty_post (Type &o) +{ - this->infoProperty (const_cast <Type const &> (o)); - } +this->infoProperty_post (const_cast <Type const &> (o)); +} - virtual void - infoProperty (Type const&); +virtual void +infoProperty_post (Type const&); - virtual void - contentLocation (Type &o) - { +virtual void +contentLocation (Type &o) +{ - this->contentLocation (const_cast <Type const &> (o)); - } +this->contentLocation (const_cast <Type const &> (o)); +} - virtual void - contentLocation (Type const&); +virtual void +contentLocation (Type const&); - virtual void - href (Type &o) - { +virtual void +href (Type &o) +{ - this->href (const_cast <Type const &> (o)); - } +this->href (const_cast <Type const &> (o)); +} - virtual void - href (Type const&); +virtual void +href (Type const&); - protected: - ComponentImplementationDescription (); - }; - } - } +protected: +ComponentImplementationDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CID_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/cpd.cpp b/TAO/CIAO/tools/Config_Handlers/cpd.cpp index f4e49fad6de..234843d14d4 100644 --- a/TAO/CIAO/tools/Config_Handlers/cpd.cpp +++ b/TAO/CIAO/tools/Config_Handlers/cpd.cpp @@ -3,29 +3,29 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - -#include "cpd.hpp" +#include "cpd.hpp" +#include <iostream> namespace CIAO { namespace Config_Handlers { // PackagedComponentImplementation - // + // PackagedComponentImplementation:: PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)), + regulator__ () { name_->container (this); referencedImplementation_->container (this); @@ -33,984 +33,1236 @@ namespace CIAO PackagedComponentImplementation:: PackagedComponentImplementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)), - regulator__ () - { - name_->container (this); - referencedImplementation_->container (this); - } + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)), +regulator__ () +{ +name_->container (this); +referencedImplementation_->container (this); +} - ::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation:: - operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation:: +operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) +{ +name (s.name ()); - referencedImplementation (s.referencedImplementation ()); +referencedImplementation (s.referencedImplementation ()); - return *this; - } +return *this; +} - // PackagedComponentImplementation - // - ::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation:: - name () const - { - return *name_; - } +// PackagedComponentImplementation +// +::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation:: +name () const +{ +return *name_; +} - void PackagedComponentImplementation:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void PackagedComponentImplementation:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // PackagedComponentImplementation - // - ::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation:: - referencedImplementation () const - { - return *referencedImplementation_; - } +// PackagedComponentImplementation +// +::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation:: +referencedImplementation () const +{ +return *referencedImplementation_; +} - void PackagedComponentImplementation:: - referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e) - { - *referencedImplementation_ = e; - } +void PackagedComponentImplementation:: +referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e) +{ +*referencedImplementation_ = e; +} - // ComponentPackageDescription - // +// ComponentPackageDescription +// - ComponentPackageDescription:: - ComponentPackageDescription () - : - ::XSCRT::Type (), - regulator__ () - { - } +ComponentPackageDescription:: +ComponentPackageDescription () +: +::XSCRT::Type (), +regulator__ () +{ +} - ComponentPackageDescription:: - ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), - configProperty_ (s.configProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.configProperty_) : 0), - implementation_ (s.implementation_.get () ? new ::CIAO::Config_Handlers::PackagedComponentImplementation (*s.implementation_) : 0), - infoProperty_ (s.infoProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.infoProperty_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () - { - if (label_.get ()) label_->container (this); - if (UUID_.get ()) UUID_->container (this); - if (realizes_.get ()) realizes_->container (this); - if (configProperty_.get ()) configProperty_->container (this); - if (implementation_.get ()) implementation_->container (this); - if (infoProperty_.get ()) infoProperty_->container (this); - if (contentLocation_.get ()) contentLocation_->container (this); - if (href_.get ()) href_->container (this); - } +ComponentPackageDescription:: +ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s) +: +::XSCRT::Type (), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), +realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), +contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), +href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), +regulator__ () +{ +if (label_.get ()) label_->container (this); +if (UUID_.get ()) UUID_->container (this); +if (realizes_.get ()) realizes_->container (this); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - ::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription:: - operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s) - { - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +{ +for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); +} - if (s.UUID_.get ()) UUID (*(s.UUID_)); - else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} - if (s.realizes_.get ()) realizes (*(s.realizes_)); - else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); +if (contentLocation_.get ()) contentLocation_->container (this); +if (href_.get ()) href_->container (this); +} - if (s.configProperty_.get ()) configProperty (*(s.configProperty_)); - else configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription:: +operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s) +{ +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - if (s.implementation_.get ()) implementation (*(s.implementation_)); - else implementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackagedComponentImplementation > (0); +if (s.UUID_.get ()) UUID (*(s.UUID_)); +else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - if (s.infoProperty_.get ()) infoProperty (*(s.infoProperty_)); - else infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +if (s.realizes_.get ()) realizes (*(s.realizes_)); +else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); - if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); - else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +configProperty_.clear (); +{ +for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); +} - if (s.href_.get ()) href (*(s.href_)); - else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +implementation_.clear (); +{ +for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); +} - return *this; - } +infoProperty_.clear (); +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} +if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); +else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - label_p () const - { - return label_.get () != 0; - } +if (s.href_.get ()) href (*(s.href_)); +else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: - label () const - { - return *label_; - } +return *this; +} - void ComponentPackageDescription:: - label (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (label_.get ()) - { - *label_ = e; - } - - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } - } - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - UUID_p () const - { - return UUID_.get () != 0; - } +// ComponentPackageDescription +// +bool ComponentPackageDescription:: +label_p () const +{ +return label_.get () != 0; +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: - UUID () const - { - return *UUID_; - } +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: +label () const +{ +return *label_; +} - void ComponentPackageDescription:: - UUID (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (UUID_.get ()) - { - *UUID_ = e; - } - - else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } - } +void ComponentPackageDescription:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - realizes_p () const - { - return realizes_.get () != 0; - } +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - ::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription:: - realizes () const - { - return *realizes_; - } +// ComponentPackageDescription +// +bool ComponentPackageDescription:: +UUID_p () const +{ +return UUID_.get () != 0; +} - void ComponentPackageDescription:: - realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) - { - if (realizes_.get ()) - { - *realizes_ = e; - } - - else - { - realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); - realizes_->container (this); - } - } +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: +UUID () const +{ +return *UUID_; +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - configProperty_p () const - { - return configProperty_.get () != 0; - } +void ComponentPackageDescription:: +UUID (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (UUID_.get ()) +{ +*UUID_ = e; +} - ::CIAO::Config_Handlers::Property const& ComponentPackageDescription:: - configProperty () const - { - return *configProperty_; - } +else +{ +UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +UUID_->container (this); +} +} - void ComponentPackageDescription:: - configProperty (::CIAO::Config_Handlers::Property const& e) - { - if (configProperty_.get ()) - { - *configProperty_ = e; - } - - else - { - configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - configProperty_->container (this); - } - } +// ComponentPackageDescription +// +bool ComponentPackageDescription:: +realizes_p () const +{ +return realizes_.get () != 0; +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - implementation_p () const - { - return implementation_.get () != 0; - } +::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription:: +realizes () const +{ +return *realizes_; +} - ::CIAO::Config_Handlers::PackagedComponentImplementation const& ComponentPackageDescription:: - implementation () const - { - return *implementation_; - } +void ComponentPackageDescription:: +realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) +{ +if (realizes_.get ()) +{ +*realizes_ = e; +} - void ComponentPackageDescription:: - implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e) - { - if (implementation_.get ()) - { - *implementation_ = e; - } - - else - { - implementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackagedComponentImplementation > (new ::CIAO::Config_Handlers::PackagedComponentImplementation (e)); - implementation_->container (this); - } - } +else +{ +realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); +realizes_->container (this); +} +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - infoProperty_p () const - { - return infoProperty_.get () != 0; - } +// ComponentPackageDescription +// +ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: +begin_configProperty () +{ +return configProperty_.begin (); +} - ::CIAO::Config_Handlers::Property const& ComponentPackageDescription:: - infoProperty () const - { - return *infoProperty_; - } +ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: +end_configProperty () +{ +return configProperty_.end (); +} - void ComponentPackageDescription:: - infoProperty (::CIAO::Config_Handlers::Property const& e) - { - if (infoProperty_.get ()) - { - *infoProperty_ = e; - } - - else - { - infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - infoProperty_->container (this); - } - } +ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: +begin_configProperty () const +{ +return configProperty_.begin (); +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - contentLocation_p () const - { - return contentLocation_.get () != 0; - } +ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: +end_configProperty () const +{ +return configProperty_.end (); +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: - contentLocation () const - { - return *contentLocation_; - } +void ComponentPackageDescription:: +add_configProperty (::CIAO::Config_Handlers::Property const& e) +{ +configProperty_.push_back (e); +} - void ComponentPackageDescription:: - contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (contentLocation_.get ()) - { - *contentLocation_ = e; - } - - else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } - } +size_t ComponentPackageDescription:: +count_configProperty(void) const +{ +return configProperty_.size (); +} - // ComponentPackageDescription - // - bool ComponentPackageDescription:: - href_p () const - { - return href_.get () != 0; - } +// ComponentPackageDescription +// +ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: +begin_implementation () +{ +return implementation_.begin (); +} - ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: - href () const - { - return *href_; - } +ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: +end_implementation () +{ +return implementation_.end (); +} - ::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription:: - href () - { - return *href_; - } +ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: +begin_implementation () const +{ +return implementation_.begin (); +} - void ComponentPackageDescription:: - href (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (href_.get ()) - { - *href_ = e; - } - - else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } - } - } +ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: +end_implementation () const +{ +return implementation_.end (); +} + +void ComponentPackageDescription:: +add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e) +{ +implementation_.push_back (e); +} + +size_t ComponentPackageDescription:: +count_implementation(void) const +{ +return implementation_.size (); +} + +// ComponentPackageDescription +// +ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: +begin_infoProperty () +{ +return infoProperty_.begin (); +} + +ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: +end_infoProperty () +{ +return infoProperty_.end (); +} + +ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: +begin_infoProperty () const +{ +return infoProperty_.begin (); +} + +ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: +end_infoProperty () const +{ +return infoProperty_.end (); +} + +void ComponentPackageDescription:: +add_infoProperty (::CIAO::Config_Handlers::Property const& e) +{ +infoProperty_.push_back (e); +} + +size_t ComponentPackageDescription:: +count_infoProperty(void) const +{ +return infoProperty_.size (); +} + +// ComponentPackageDescription +// +bool ComponentPackageDescription:: +contentLocation_p () const +{ +return contentLocation_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: +contentLocation () const +{ +return *contentLocation_; +} + +void ComponentPackageDescription:: +contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (contentLocation_.get ()) +{ +*contentLocation_ = e; +} + +else +{ +contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +contentLocation_->container (this); +} +} + +// ComponentPackageDescription +// +bool ComponentPackageDescription:: +href_p () const +{ +return href_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: +href () const +{ +return *href_; +} + +::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription:: +href () +{ +return *href_; +} + +void ComponentPackageDescription:: +href (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (href_.get ()) +{ +*href_ = e; +} + +else +{ +href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +href_->container (this); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - // PackagedComponentImplementation - // +namespace Config_Handlers +{ +// PackagedComponentImplementation +// - PackagedComponentImplementation:: - PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +PackagedComponentImplementation:: +PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); - - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } - - else if (n == "referencedImplementation") - { - referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e)); - referencedImplementation_->container (this); - } - - else - { - } - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - // ComponentPackageDescription - // +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ComponentPackageDescription:: - ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); - - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "realizes") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); - realizes (t); - } - - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - configProperty (t); - } - - else if (n == "implementation") - { - ::CIAO::Config_Handlers::PackagedComponentImplementation t (e); - implementation (t); - } - - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - infoProperty (t); - } - - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } - - else - { - } - } - - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") - { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); - } - - else - { - } - } - } - } +else if (n == "referencedImplementation") +{ +referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e)); +referencedImplementation_->container (this); +} + +else +{ +} +} +} + +// ComponentPackageDescription +// + +ComponentPackageDescription:: +ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} + +else if (n == "UUID") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +UUID (t); +} + +else if (n == "realizes") +{ +::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); +realizes (t); +} + +else if (n == "configProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_configProperty (t); +} + +else if (n == "implementation") +{ +::CIAO::Config_Handlers::PackagedComponentImplementation t (e); +add_implementation (t); +} + +else if (n == "infoProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_infoProperty (t); +} + +else if (n == "contentLocation") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +contentLocation (t); +} + +else +{ +} +} + +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "href") +{ +::XMLSchema::string< ACE_TCHAR > t (a); +href (t); +} + +else +{ +} +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/TypeInfo.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace - { - ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - - struct PackagedComponentImplementationTypeInfoInitializer - { - PackagedComponentImplementationTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (PackagedComponentImplementation)); - ::XSCRT::ExtendedTypeInfo nf (id); - - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; - - PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_; - - struct ComponentPackageDescriptionTypeInfoInitializer - { - ComponentPackageDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ComponentPackageDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); - - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; - - ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_; - } - } +namespace Config_Handlers +{ +namespace +{ +::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + +struct PackagedComponentImplementationTypeInfoInitializer +{ +PackagedComponentImplementationTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (PackagedComponentImplementation)); +::XSCRT::ExtendedTypeInfo nf (id); + +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; + +PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_; + +struct ComponentPackageDescriptionTypeInfoInitializer +{ +ComponentPackageDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ComponentPackageDescription)); +::XSCRT::ExtendedTypeInfo nf (id); + +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; + +ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_; +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - // PackagedComponentImplementation - // - // - - void PackagedComponentImplementation:: - traverse (Type& o) - { - pre (o); - name (o); - referencedImplementation (o); - post (o); - } - - void PackagedComponentImplementation:: - traverse (Type const& o) - { - pre (o); - name (o); - referencedImplementation (o); - post (o); - } - - void PackagedComponentImplementation:: - pre (Type&) - { - } - - void PackagedComponentImplementation:: - pre (Type const&) - { - } - - void PackagedComponentImplementation:: - name (Type& o) - { - dispatch (o.name ()); - } - - void PackagedComponentImplementation:: - name (Type const& o) - { - dispatch (o.name ()); - } - - void PackagedComponentImplementation:: - referencedImplementation (Type& o) - { - dispatch (o.referencedImplementation ()); - } - - void PackagedComponentImplementation:: - referencedImplementation (Type const& o) - { - dispatch (o.referencedImplementation ()); - } - - void PackagedComponentImplementation:: - post (Type&) - { - } - - void PackagedComponentImplementation:: - post (Type const&) - { - } - - // ComponentPackageDescription - // - // - - void ComponentPackageDescription:: - traverse (Type& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.realizes_p ()) realizes (o); - else realizes_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.implementation_p ()) implementation (o); - else implementation_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } - - void ComponentPackageDescription:: - traverse (Type const& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - if (o.realizes_p ()) realizes (o); - else realizes_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); - if (o.implementation_p ()) implementation (o); - else implementation_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } - - void ComponentPackageDescription:: - pre (Type&) - { - } - - void ComponentPackageDescription:: - pre (Type const&) - { - } - - void ComponentPackageDescription:: - label (Type& o) - { - dispatch (o.label ()); - } - - void ComponentPackageDescription:: - label (Type const& o) - { - dispatch (o.label ()); - } - - void ComponentPackageDescription:: - label_none (Type&) - { - } - - void ComponentPackageDescription:: - label_none (Type const&) - { - } - - void ComponentPackageDescription:: - UUID (Type& o) - { - dispatch (o.UUID ()); - } - - void ComponentPackageDescription:: - UUID (Type const& o) - { - dispatch (o.UUID ()); - } - - void ComponentPackageDescription:: - UUID_none (Type&) - { - } - - void ComponentPackageDescription:: - UUID_none (Type const&) - { - } - - void ComponentPackageDescription:: - realizes (Type& o) - { - dispatch (o.realizes ()); - } - - void ComponentPackageDescription:: - realizes (Type const& o) - { - dispatch (o.realizes ()); - } - - void ComponentPackageDescription:: - realizes_none (Type&) - { - } - - void ComponentPackageDescription:: - realizes_none (Type const&) - { - } - - void ComponentPackageDescription:: - configProperty (Type& o) - { - dispatch (o.configProperty ()); - } - - void ComponentPackageDescription:: - configProperty (Type const& o) - { - dispatch (o.configProperty ()); - } - - void ComponentPackageDescription:: - configProperty_none (Type&) - { - } - - void ComponentPackageDescription:: - configProperty_none (Type const&) - { - } - - void ComponentPackageDescription:: - implementation (Type& o) - { - dispatch (o.implementation ()); - } - - void ComponentPackageDescription:: - implementation (Type const& o) - { - dispatch (o.implementation ()); - } - - void ComponentPackageDescription:: - implementation_none (Type&) - { - } - - void ComponentPackageDescription:: - implementation_none (Type const&) - { - } - - void ComponentPackageDescription:: - infoProperty (Type& o) - { - dispatch (o.infoProperty ()); - } - - void ComponentPackageDescription:: - infoProperty (Type const& o) - { - dispatch (o.infoProperty ()); - } - - void ComponentPackageDescription:: - infoProperty_none (Type&) - { - } - - void ComponentPackageDescription:: - infoProperty_none (Type const&) - { - } - - void ComponentPackageDescription:: - contentLocation (Type& o) - { - dispatch (o.contentLocation ()); - } - - void ComponentPackageDescription:: - contentLocation (Type const& o) - { - dispatch (o.contentLocation ()); - } - - void ComponentPackageDescription:: - contentLocation_none (Type&) - { - } - - void ComponentPackageDescription:: - contentLocation_none (Type const&) - { - } - - void ComponentPackageDescription:: - href (Type& o) - { - dispatch (o.href ()); - } - - void ComponentPackageDescription:: - href (Type const& o) - { - dispatch (o.href ()); - } - - void ComponentPackageDescription:: - href_none (Type&) - { - } - - void ComponentPackageDescription:: - href_none (Type const&) - { - } - - void ComponentPackageDescription:: - post (Type&) - { - } - - void ComponentPackageDescription:: - post (Type const&) - { - } - } - } +namespace Config_Handlers +{ +namespace Traversal +{ +// PackagedComponentImplementation +// +// + +void PackagedComponentImplementation:: +traverse (Type& o) +{ +pre (o); +name (o); +referencedImplementation (o); +post (o); +} + +void PackagedComponentImplementation:: +traverse (Type const& o) +{ +pre (o); +name (o); +referencedImplementation (o); +post (o); +} + +void PackagedComponentImplementation:: +pre (Type&) +{ +} + +void PackagedComponentImplementation:: +pre (Type const&) +{ +} + +void PackagedComponentImplementation:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void PackagedComponentImplementation:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void PackagedComponentImplementation:: +referencedImplementation (Type& o) +{ +dispatch (o.referencedImplementation ()); +} + +void PackagedComponentImplementation:: +referencedImplementation (Type const& o) +{ +dispatch (o.referencedImplementation ()); +} + +void PackagedComponentImplementation:: +post (Type&) +{ +} + +void PackagedComponentImplementation:: +post (Type const&) +{ +} + +// ComponentPackageDescription +// +// + +void ComponentPackageDescription:: +traverse (Type& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.realizes_p ()) realizes (o); +else realizes_none (o); +configProperty (o); +implementation (o); +infoProperty (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ComponentPackageDescription:: +traverse (Type const& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +if (o.realizes_p ()) realizes (o); +else realizes_none (o); +configProperty (o); +implementation (o); +infoProperty (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ComponentPackageDescription:: +pre (Type&) +{ +} + +void ComponentPackageDescription:: +pre (Type const&) +{ +} + +void ComponentPackageDescription:: +label (Type& o) +{ +dispatch (o.label ()); +} + +void ComponentPackageDescription:: +label (Type const& o) +{ +dispatch (o.label ()); +} + +void ComponentPackageDescription:: +label_none (Type&) +{ +} + +void ComponentPackageDescription:: +label_none (Type const&) +{ +} + +void ComponentPackageDescription:: +UUID (Type& o) +{ +dispatch (o.UUID ()); +} + +void ComponentPackageDescription:: +UUID (Type const& o) +{ +dispatch (o.UUID ()); +} + +void ComponentPackageDescription:: +UUID_none (Type&) +{ +} + +void ComponentPackageDescription:: +UUID_none (Type const&) +{ +} + +void ComponentPackageDescription:: +realizes (Type& o) +{ +dispatch (o.realizes ()); +} + +void ComponentPackageDescription:: +realizes (Type const& o) +{ +dispatch (o.realizes ()); +} + +void ComponentPackageDescription:: +realizes_none (Type&) +{ +} + +void ComponentPackageDescription:: +realizes_none (Type const&) +{ +} + +void ComponentPackageDescription:: +configProperty (Type& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} + +configProperty_post (o); +} + +else configProperty_none (o); +} + +void ComponentPackageDescription:: +configProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + +if (b != e) +{ +configProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) configProperty_next (o); +} + +configProperty_post (o); +} + +else configProperty_none (o); +} + +void ComponentPackageDescription:: +configProperty_pre (Type&) +{ +} + +void ComponentPackageDescription:: +configProperty_pre (Type const&) +{ +} + +void ComponentPackageDescription:: +configProperty_next (Type&) +{ +} + +void ComponentPackageDescription:: +configProperty_next (Type const&) +{ +} + +void ComponentPackageDescription:: +configProperty_post (Type&) +{ +} + +void ComponentPackageDescription:: +configProperty_post (Type const&) +{ +} + +void ComponentPackageDescription:: +configProperty_none (Type&) +{ +} + +void ComponentPackageDescription:: +configProperty_none (Type const&) +{ +} + +void ComponentPackageDescription:: +implementation (Type& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation()); + +if (b != e) +{ +implementation_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) implementation_next (o); +} + +implementation_post (o); +} + +else implementation_none (o); +} + +void ComponentPackageDescription:: +implementation (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation()); + +if (b != e) +{ +implementation_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) implementation_next (o); +} + +implementation_post (o); +} + +else implementation_none (o); +} + +void ComponentPackageDescription:: +implementation_pre (Type&) +{ +} + +void ComponentPackageDescription:: +implementation_pre (Type const&) +{ +} + +void ComponentPackageDescription:: +implementation_next (Type&) +{ +} + +void ComponentPackageDescription:: +implementation_next (Type const&) +{ +} + +void ComponentPackageDescription:: +implementation_post (Type&) +{ +} + +void ComponentPackageDescription:: +implementation_post (Type const&) +{ +} + +void ComponentPackageDescription:: +implementation_none (Type&) +{ +} + +void ComponentPackageDescription:: +implementation_none (Type const&) +{ +} + +void ComponentPackageDescription:: +infoProperty (Type& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ComponentPackageDescription:: +infoProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ComponentPackageDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ComponentPackageDescription:: +infoProperty_pre (Type&) +{ +} + +void ComponentPackageDescription:: +infoProperty_pre (Type const&) +{ +} + +void ComponentPackageDescription:: +infoProperty_next (Type&) +{ +} + +void ComponentPackageDescription:: +infoProperty_next (Type const&) +{ +} + +void ComponentPackageDescription:: +infoProperty_post (Type&) +{ +} + +void ComponentPackageDescription:: +infoProperty_post (Type const&) +{ +} + +void ComponentPackageDescription:: +infoProperty_none (Type&) +{ +} + +void ComponentPackageDescription:: +infoProperty_none (Type const&) +{ +} + +void ComponentPackageDescription:: +contentLocation (Type& o) +{ +dispatch (o.contentLocation ()); +} + +void ComponentPackageDescription:: +contentLocation (Type const& o) +{ +dispatch (o.contentLocation ()); +} + +void ComponentPackageDescription:: +contentLocation_none (Type&) +{ +} + +void ComponentPackageDescription:: +contentLocation_none (Type const&) +{ +} + +void ComponentPackageDescription:: +href (Type& o) +{ +dispatch (o.href ()); +} + +void ComponentPackageDescription:: +href (Type const& o) +{ +dispatch (o.href ()); +} + +void ComponentPackageDescription:: +href_none (Type&) +{ +} + +void ComponentPackageDescription:: +href_none (Type const&) +{ +} + +void ComponentPackageDescription:: +post (Type&) +{ +} + +void ComponentPackageDescription:: +post (Type const&) +{ +} +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - // PackagedComponentImplementation - // - // - - PackagedComponentImplementation:: - PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } - - PackagedComponentImplementation:: - PackagedComponentImplementation () - { - } - - void PackagedComponentImplementation:: - traverse (Type const& o) - { - Traversal::PackagedComponentImplementation::traverse (o); - } - - void PackagedComponentImplementation:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::PackagedComponentImplementation::name (o); - pop_ (); - } - - void PackagedComponentImplementation:: - referencedImplementation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ())); - Traversal::PackagedComponentImplementation::referencedImplementation (o); - pop_ (); - } - - // ComponentPackageDescription - // - // - - ComponentPackageDescription:: - ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } - - ComponentPackageDescription:: - ComponentPackageDescription () - { - } - - void ComponentPackageDescription:: - traverse (Type const& o) - { - Traversal::ComponentPackageDescription::traverse (o); - } - - void ComponentPackageDescription:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::ComponentPackageDescription::label (o); - pop_ (); - } - - void ComponentPackageDescription:: - UUID (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); - Traversal::ComponentPackageDescription::UUID (o); - pop_ (); - } - - void ComponentPackageDescription:: - realizes (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ())); - Traversal::ComponentPackageDescription::realizes (o); - pop_ (); - } - - void ComponentPackageDescription:: - configProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); - Traversal::ComponentPackageDescription::configProperty (o); - pop_ (); - } - - void ComponentPackageDescription:: - implementation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); - Traversal::ComponentPackageDescription::implementation (o); - pop_ (); - } - - void ComponentPackageDescription:: - infoProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); - Traversal::ComponentPackageDescription::infoProperty (o); - pop_ (); - } - - void ComponentPackageDescription:: - contentLocation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); - Traversal::ComponentPackageDescription::contentLocation (o); - pop_ (); - } - - void ComponentPackageDescription:: - href (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); - attr_ (&a); - Traversal::ComponentPackageDescription::href (o); - attr_ (0); - } - } - } +namespace Config_Handlers +{ +namespace Writer +{ +// PackagedComponentImplementation +// +// + +PackagedComponentImplementation:: +PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +PackagedComponentImplementation:: +PackagedComponentImplementation () +{ +} + +void PackagedComponentImplementation:: +traverse (Type const& o) +{ +Traversal::PackagedComponentImplementation::traverse (o); +} + +void PackagedComponentImplementation:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::PackagedComponentImplementation::name (o); +pop_ (); +} + +void PackagedComponentImplementation:: +referencedImplementation (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ())); +Traversal::PackagedComponentImplementation::referencedImplementation (o); +pop_ (); +} + +// ComponentPackageDescription +// +// + +ComponentPackageDescription:: +ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +ComponentPackageDescription:: +ComponentPackageDescription () +{ +} + +void ComponentPackageDescription:: +traverse (Type const& o) +{ +Traversal::ComponentPackageDescription::traverse (o); +} + +void ComponentPackageDescription:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::ComponentPackageDescription::label (o); +pop_ (); +} + +void ComponentPackageDescription:: +UUID (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); +Traversal::ComponentPackageDescription::UUID (o); +pop_ (); +} + +void ComponentPackageDescription:: +realizes (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ())); +Traversal::ComponentPackageDescription::realizes (o); +pop_ (); +} + +void ComponentPackageDescription:: +configProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); +} + +void ComponentPackageDescription:: +configProperty_next (Type const& o) +{ +configProperty_post (o); +configProperty_pre (o); +} + +void ComponentPackageDescription:: +configProperty_post (Type const&) +{ +pop_ (); +} + +void ComponentPackageDescription:: +implementation_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); +} + +void ComponentPackageDescription:: +implementation_next (Type const& o) +{ +implementation_post (o); +implementation_pre (o); +} + +void ComponentPackageDescription:: +implementation_post (Type const&) +{ +pop_ (); +} + +void ComponentPackageDescription:: +infoProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); +} + +void ComponentPackageDescription:: +infoProperty_next (Type const& o) +{ +infoProperty_post (o); +infoProperty_pre (o); +} + +void ComponentPackageDescription:: +infoProperty_post (Type const&) +{ +pop_ (); +} + +void ComponentPackageDescription:: +contentLocation (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); +Traversal::ComponentPackageDescription::contentLocation (o); +pop_ (); +} + +void ComponentPackageDescription:: +href (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); +attr_ (&a); +Traversal::ComponentPackageDescription::href (o); +attr_ (0); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } diff --git a/TAO/CIAO/tools/Config_Handlers/cpd.hpp b/TAO/CIAO/tools/Config_Handlers/cpd.hpp index 5fc156ff616..d8418345115 100644 --- a/TAO/CIAO/tools/Config_Handlers/cpd.hpp +++ b/TAO/CIAO/tools/Config_Handlers/cpd.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,11 +27,11 @@ // namespace CIAO { - namespace Config_Handlers - { - class PackagedComponentImplementation; - class ComponentPackageDescription; - } +namespace Config_Handlers +{ +class PackagedComponentImplementation; +class ComponentPackageDescription; +} } #include <memory> @@ -44,483 +44,618 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // referencedImplementation - // - public: - ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; - void referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; - - public: - PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__); - - PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const&); - PackagedComponentImplementation (PackagedComponentImplementation const& s); - - PackagedComponentImplementation& - operator= (PackagedComponentImplementation const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ComponentPackageDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // realizes - // - public: - bool realizes_p () const; - ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; - void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; - - // configProperty - // - public: - bool configProperty_p () const; - ::CIAO::Config_Handlers::Property const& configProperty () const; - void configProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > configProperty_; - - // implementation - // - public: - bool implementation_p () const; - ::CIAO::Config_Handlers::PackagedComponentImplementation const& implementation () const; - void implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; - - // infoProperty - // - public: - bool infoProperty_p () const; - ::CIAO::Config_Handlers::Property const& infoProperty () const; - void infoProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > infoProperty_; - - // contentLocation - // - public: - bool contentLocation_p () const; - ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; - void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - - // href - // - public: - bool href_p () const; - ::XMLSchema::string< ACE_TCHAR > const& href () const; - ::XMLSchema::string< ACE_TCHAR >& href (); - void href (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - - public: - ComponentPackageDescription (); - - ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ComponentPackageDescription (ComponentPackageDescription const& s); - - ComponentPackageDescription& - operator= (ComponentPackageDescription const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// referencedImplementation +// +public: +::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; +void referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; + +public: +PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__); + +PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const&); +PackagedComponentImplementation (PackagedComponentImplementation const& s); + +PackagedComponentImplementation& +operator= (PackagedComponentImplementation const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ComponentPackageDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// realizes +// +public: +bool realizes_p () const; +::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; +void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// implementation +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::iterator implementation_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::const_iterator implementation_const_iterator; +implementation_iterator begin_implementation (); +implementation_iterator end_implementation (); +implementation_const_iterator begin_implementation () const; +implementation_const_iterator end_implementation () const; +void add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); +size_t count_implementation (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +// contentLocation +// +public: +bool contentLocation_p () const; +::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; +void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + +// href +// +public: +bool href_p () const; +::XMLSchema::string< ACE_TCHAR > const& href () const; +::XMLSchema::string< ACE_TCHAR >& href (); +void href (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + +public: +ComponentPackageDescription (); + +ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentPackageDescription (ComponentPackageDescription const& s); + +ComponentPackageDescription& +operator= (ComponentPackageDescription const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackagedComponentImplementation > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackagedComponentImplementation > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +name (Type&); + +virtual void +name (Type const&); + +virtual void +referencedImplementation (Type&); + +virtual void +referencedImplementation (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); - virtual void - traverse (Type const&); +virtual void +label (Type&); - virtual void - pre (Type&); +virtual void +label (Type const&); - virtual void - pre (Type const&); +virtual void +label_none (Type&); - virtual void - name (Type&); +virtual void +label_none (Type const&); - virtual void - name (Type const&); +virtual void +UUID (Type&); - virtual void - referencedImplementation (Type&); +virtual void +UUID (Type const&); - virtual void - referencedImplementation (Type const&); +virtual void +UUID_none (Type&); - virtual void - post (Type&); +virtual void +UUID_none (Type const&); - virtual void - post (Type const&); - }; +virtual void +realizes (Type&); - struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > - { - virtual void - traverse (Type&); +virtual void +realizes (Type const&); - virtual void - traverse (Type const&); +virtual void +realizes_none (Type&); - virtual void - pre (Type&); +virtual void +realizes_none (Type const&); - virtual void - pre (Type const&); +virtual void +configProperty (Type&); - virtual void - label (Type&); +virtual void +configProperty (Type const&); - virtual void - label (Type const&); +virtual void +configProperty_pre (Type&); - virtual void - label_none (Type&); +virtual void +configProperty_pre (Type const&); - virtual void - label_none (Type const&); +virtual void +configProperty_next (Type&); - virtual void - UUID (Type&); +virtual void +configProperty_next (Type const&); - virtual void - UUID (Type const&); +virtual void +configProperty_post (Type&); - virtual void - UUID_none (Type&); +virtual void +configProperty_post (Type const&); - virtual void - UUID_none (Type const&); +virtual void +configProperty_none (Type&); - virtual void - realizes (Type&); +virtual void +configProperty_none (Type const&); - virtual void - realizes (Type const&); +virtual void +implementation (Type&); - virtual void - realizes_none (Type&); +virtual void +implementation (Type const&); - virtual void - realizes_none (Type const&); +virtual void +implementation_pre (Type&); - virtual void - configProperty (Type&); +virtual void +implementation_pre (Type const&); - virtual void - configProperty (Type const&); +virtual void +implementation_next (Type&); - virtual void - configProperty_none (Type&); +virtual void +implementation_next (Type const&); - virtual void - configProperty_none (Type const&); +virtual void +implementation_post (Type&); - virtual void - implementation (Type&); +virtual void +implementation_post (Type const&); - virtual void - implementation (Type const&); +virtual void +implementation_none (Type&); - virtual void - implementation_none (Type&); +virtual void +implementation_none (Type const&); - virtual void - implementation_none (Type const&); +virtual void +infoProperty (Type&); - virtual void - infoProperty (Type&); +virtual void +infoProperty (Type const&); - virtual void - infoProperty (Type const&); +virtual void +infoProperty_pre (Type&); - virtual void - infoProperty_none (Type&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_none (Type const&); +virtual void +infoProperty_next (Type&); - virtual void - contentLocation (Type&); +virtual void +infoProperty_next (Type const&); - virtual void - contentLocation (Type const&); +virtual void +infoProperty_post (Type&); - virtual void - contentLocation_none (Type&); +virtual void +infoProperty_post (Type const&); - virtual void - contentLocation_none (Type const&); +virtual void +infoProperty_none (Type&); - virtual void - href (Type&); +virtual void +infoProperty_none (Type const&); - virtual void - href (Type const&); +virtual void +contentLocation (Type&); - virtual void - href_none (Type&); +virtual void +contentLocation (Type const&); - virtual void - href_none (Type const&); +virtual void +contentLocation_none (Type&); - virtual void - post (Type&); +virtual void +contentLocation_none (Type const&); - virtual void - post (Type const&); - }; - } - } +virtual void +href (Type&); + +virtual void +href (Type const&); + +virtual void +href_none (Type&); + +virtual void +href_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::PackagedComponentImplementation Type; - PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::PackagedComponentImplementation Type; +PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - referencedImplementation (Type &o) - { +virtual void +referencedImplementation (Type &o) +{ - this->referencedImplementation (const_cast <Type const &> (o)); - } +this->referencedImplementation (const_cast <Type const &> (o)); +} - virtual void - referencedImplementation (Type const&); +virtual void +referencedImplementation (Type const&); - protected: - PackagedComponentImplementation (); - }; +protected: +PackagedComponentImplementation (); +}; - struct ComponentPackageDescription : Traversal::ComponentPackageDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; - ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +struct ComponentPackageDescription : Traversal::ComponentPackageDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; +ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); - virtual void - traverse (Type const&); +virtual void +label (Type &o) +{ - virtual void - label (Type &o) - { +this->label (const_cast <Type const &> (o)); +} - this->label (const_cast <Type const &> (o)); - } +virtual void +label (Type const&); - virtual void - label (Type const&); +virtual void +UUID (Type &o) +{ - virtual void - UUID (Type &o) - { +this->UUID (const_cast <Type const &> (o)); +} - this->UUID (const_cast <Type const &> (o)); - } +virtual void +UUID (Type const&); - virtual void - UUID (Type const&); +virtual void +realizes (Type &o) +{ - virtual void - realizes (Type &o) - { +this->realizes (const_cast <Type const &> (o)); +} - this->realizes (const_cast <Type const &> (o)); - } +virtual void +realizes (Type const&); - virtual void - realizes (Type const&); +virtual void +configProperty_pre (Type &o) +{ - virtual void - configProperty (Type &o) - { +this->configProperty_pre (const_cast <Type const &> (o)); +} - this->configProperty (const_cast <Type const &> (o)); - } +virtual void +configProperty_pre (Type const&); - virtual void - configProperty (Type const&); +virtual void +configProperty_next (Type &o) +{ - virtual void - implementation (Type &o) - { +this->configProperty_next (const_cast <Type const &> (o)); +} - this->implementation (const_cast <Type const &> (o)); - } +virtual void +configProperty_next (Type const&); - virtual void - implementation (Type const&); +virtual void +configProperty_post (Type &o) +{ - virtual void - infoProperty (Type &o) - { +this->configProperty_post (const_cast <Type const &> (o)); +} - this->infoProperty (const_cast <Type const &> (o)); - } +virtual void +configProperty_post (Type const&); - virtual void - infoProperty (Type const&); +virtual void +implementation_pre (Type &o) +{ - virtual void - contentLocation (Type &o) - { +this->implementation_pre (const_cast <Type const &> (o)); +} - this->contentLocation (const_cast <Type const &> (o)); - } +virtual void +implementation_pre (Type const&); - virtual void - contentLocation (Type const&); +virtual void +implementation_next (Type &o) +{ - virtual void - href (Type &o) - { +this->implementation_next (const_cast <Type const &> (o)); +} - this->href (const_cast <Type const &> (o)); - } +virtual void +implementation_next (Type const&); - virtual void - href (Type const&); +virtual void +implementation_post (Type &o) +{ - protected: - ComponentPackageDescription (); - }; - } - } +this->implementation_post (const_cast <Type const &> (o)); +} + + +virtual void +implementation_post (Type const&); + +virtual void +infoProperty_pre (Type &o) +{ + +this->infoProperty_pre (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_pre (Type const&); + +virtual void +infoProperty_next (Type &o) +{ + +this->infoProperty_next (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_next (Type const&); + +virtual void +infoProperty_post (Type &o) +{ + +this->infoProperty_post (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_post (Type const&); + +virtual void +contentLocation (Type &o) +{ + +this->contentLocation (const_cast <Type const &> (o)); +} + + +virtual void +contentLocation (Type const&); + +virtual void +href (Type &o) +{ + +this->href (const_cast <Type const &> (o)); +} + + +virtual void +href (Type const&); + +protected: +ComponentPackageDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CPD_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/iad.cpp b/TAO/CIAO/tools/Config_Handlers/iad.cpp index 0c0b1f32942..e799fd544fb 100644 --- a/TAO/CIAO/tools/Config_Handlers/iad.cpp +++ b/TAO/CIAO/tools/Config_Handlers/iad.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "iad.hpp" namespace CIAO @@ -16,16 +16,16 @@ namespace CIAO namespace Config_Handlers { // NamedImplementationArtifact - // + // NamedImplementationArtifact:: NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (referencedArtifact__)), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (referencedArtifact__)), + regulator__ () { name_->container (this); referencedArtifact_->container (this); @@ -33,1226 +33,1478 @@ namespace CIAO NamedImplementationArtifact:: NamedImplementationArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (*s.referencedArtifact_)), - regulator__ () - { - name_->container (this); - referencedArtifact_->container (this); - } + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), +referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (*s.referencedArtifact_)), +regulator__ () +{ +name_->container (this); +referencedArtifact_->container (this); +} - ::CIAO::Config_Handlers::NamedImplementationArtifact& NamedImplementationArtifact:: - operator= (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) - { - name (s.name ()); +::CIAO::Config_Handlers::NamedImplementationArtifact& NamedImplementationArtifact:: +operator= (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) +{ +name (s.name ()); - referencedArtifact (s.referencedArtifact ()); +referencedArtifact (s.referencedArtifact ()); - return *this; - } +return *this; +} - // NamedImplementationArtifact - // - ::XMLSchema::string< ACE_TCHAR > const& NamedImplementationArtifact:: - name () const - { - return *name_; - } +// NamedImplementationArtifact +// +::XMLSchema::string< ACE_TCHAR > const& NamedImplementationArtifact:: +name () const +{ +return *name_; +} - void NamedImplementationArtifact:: - name (::XMLSchema::string< ACE_TCHAR > const& e) - { - *name_ = e; - } +void NamedImplementationArtifact:: +name (::XMLSchema::string< ACE_TCHAR > const& e) +{ +*name_ = e; +} - // NamedImplementationArtifact - // - ::CIAO::Config_Handlers::ImplementationArtifactDescription const& NamedImplementationArtifact:: - referencedArtifact () const - { - return *referencedArtifact_; - } +// NamedImplementationArtifact +// +::CIAO::Config_Handlers::ImplementationArtifactDescription const& NamedImplementationArtifact:: +referencedArtifact () const +{ +return *referencedArtifact_; +} - void NamedImplementationArtifact:: - referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& e) - { - *referencedArtifact_ = e; - } +void NamedImplementationArtifact:: +referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& e) +{ +*referencedArtifact_ = e; +} - // ImplementationArtifactDescription - // +// ImplementationArtifactDescription +// - ImplementationArtifactDescription:: - ImplementationArtifactDescription () - : - ::XSCRT::Type (), - regulator__ () - { - } +ImplementationArtifactDescription:: +ImplementationArtifactDescription () +: +::XSCRT::Type (), +regulator__ () +{ +} - ImplementationArtifactDescription:: - ImplementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - execParameter_ (s.execParameter_.get () ? new ::CIAO::Config_Handlers::Property (*s.execParameter_) : 0), - deployRequirement_ (s.deployRequirement_.get () ? new ::CIAO::Config_Handlers::Requirement (*s.deployRequirement_) : 0), - infoProperty_ (s.infoProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.infoProperty_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () - { - if (label_.get ()) label_->container (this); - if (UUID_.get ()) UUID_->container (this); - { - for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); - } - - { - for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); - } - - if (execParameter_.get ()) execParameter_->container (this); - if (deployRequirement_.get ()) deployRequirement_->container (this); - if (infoProperty_.get ()) infoProperty_->container (this); - if (contentLocation_.get ()) contentLocation_->container (this); - if (href_.get ()) href_->container (this); - } +ImplementationArtifactDescription:: +ImplementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) +: +::XSCRT::Type (), +label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), +UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), +contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), +href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), +regulator__ () +{ +if (label_.get ()) label_->container (this); +if (UUID_.get ()) UUID_->container (this); +{ +for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); +} - ::CIAO::Config_Handlers::ImplementationArtifactDescription& ImplementationArtifactDescription:: - operator= (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) - { - if (s.label_.get ()) label (*(s.label_)); - else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +{ +for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); +} - if (s.UUID_.get ()) UUID (*(s.UUID_)); - else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} - location_.clear (); - { - for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); - } +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} - dependsOn_.clear (); - { - for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); - } +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - if (s.execParameter_.get ()) execParameter (*(s.execParameter_)); - else execParameter_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +if (contentLocation_.get ()) contentLocation_->container (this); +if (href_.get ()) href_->container (this); +} - if (s.deployRequirement_.get ()) deployRequirement (*(s.deployRequirement_)); - else deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (0); +::CIAO::Config_Handlers::ImplementationArtifactDescription& ImplementationArtifactDescription:: +operator= (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) +{ +if (s.label_.get ()) label (*(s.label_)); +else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - if (s.infoProperty_.get ()) infoProperty (*(s.infoProperty_)); - else infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); +if (s.UUID_.get ()) UUID (*(s.UUID_)); +else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); - else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +location_.clear (); +{ +for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); +} - if (s.href_.get ()) href (*(s.href_)); - else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); +dependsOn_.clear (); +{ +for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); +} - return *this; - } +execParameter_.clear (); +{ +for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); +} +infoProperty_.clear (); +{ +for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - label_p () const - { - return label_.get () != 0; - } +deployRequirement_.clear (); +{ +for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); +} - ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: - label () const - { - return *label_; - } +if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); +else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - void ImplementationArtifactDescription:: - label (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (label_.get ()) - { - *label_ = e; - } - - else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } - } +if (s.href_.get ()) href (*(s.href_)); +else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - UUID_p () const - { - return UUID_.get () != 0; - } +return *this; +} - ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: - UUID () const - { - return *UUID_; - } - void ImplementationArtifactDescription:: - UUID (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (UUID_.get ()) - { - *UUID_ = e; - } - - else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } - } +// ImplementationArtifactDescription +// +bool ImplementationArtifactDescription:: +label_p () const +{ +return label_.get () != 0; +} - // ImplementationArtifactDescription - // - ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: - begin_location () - { - return location_.begin (); - } +::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: +label () const +{ +return *label_; +} - ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: - end_location () - { - return location_.end (); - } +void ImplementationArtifactDescription:: +label (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (label_.get ()) +{ +*label_ = e; +} - ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: - begin_location () const - { - return location_.begin (); - } +else +{ +label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +label_->container (this); +} +} - ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: - end_location () const - { - return location_.end (); - } +// ImplementationArtifactDescription +// +bool ImplementationArtifactDescription:: +UUID_p () const +{ +return UUID_.get () != 0; +} - void ImplementationArtifactDescription:: - add_location (::XMLSchema::string< ACE_TCHAR > const& e) - { - location_.push_back (e); - } +::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: +UUID () const +{ +return *UUID_; +} - size_t ImplementationArtifactDescription:: - count_location(void) const - { - return location_.size (); - } +void ImplementationArtifactDescription:: +UUID (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (UUID_.get ()) +{ +*UUID_ = e; +} - // ImplementationArtifactDescription - // - ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: - begin_dependsOn () - { - return dependsOn_.begin (); - } +else +{ +UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +UUID_->container (this); +} +} - ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: - end_dependsOn () - { - return dependsOn_.end (); - } +// ImplementationArtifactDescription +// +ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: +begin_location () +{ +return location_.begin (); +} - ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: - begin_dependsOn () const - { - return dependsOn_.begin (); - } +ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: +end_location () +{ +return location_.end (); +} - ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: - end_dependsOn () const - { - return dependsOn_.end (); - } +ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: +begin_location () const +{ +return location_.begin (); +} - void ImplementationArtifactDescription:: - add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) - { - dependsOn_.push_back (e); - } +ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: +end_location () const +{ +return location_.end (); +} - size_t ImplementationArtifactDescription:: - count_dependsOn(void) const - { - return dependsOn_.size (); - } +void ImplementationArtifactDescription:: +add_location (::XMLSchema::string< ACE_TCHAR > const& e) +{ +location_.push_back (e); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - execParameter_p () const - { - return execParameter_.get () != 0; - } +size_t ImplementationArtifactDescription:: +count_location(void) const +{ +return location_.size (); +} - ::CIAO::Config_Handlers::Property const& ImplementationArtifactDescription:: - execParameter () const - { - return *execParameter_; - } +// ImplementationArtifactDescription +// +ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: +begin_dependsOn () +{ +return dependsOn_.begin (); +} - void ImplementationArtifactDescription:: - execParameter (::CIAO::Config_Handlers::Property const& e) - { - if (execParameter_.get ()) - { - *execParameter_ = e; - } - - else - { - execParameter_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - execParameter_->container (this); - } - } +ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: +end_dependsOn () +{ +return dependsOn_.end (); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - deployRequirement_p () const - { - return deployRequirement_.get () != 0; - } +ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: +begin_dependsOn () const +{ +return dependsOn_.begin (); +} - ::CIAO::Config_Handlers::Requirement const& ImplementationArtifactDescription:: - deployRequirement () const - { - return *deployRequirement_; - } +ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: +end_dependsOn () const +{ +return dependsOn_.end (); +} - void ImplementationArtifactDescription:: - deployRequirement (::CIAO::Config_Handlers::Requirement const& e) - { - if (deployRequirement_.get ()) - { - *deployRequirement_ = e; - } - - else - { - deployRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (new ::CIAO::Config_Handlers::Requirement (e)); - deployRequirement_->container (this); - } - } +void ImplementationArtifactDescription:: +add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) +{ +dependsOn_.push_back (e); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - infoProperty_p () const - { - return infoProperty_.get () != 0; - } +size_t ImplementationArtifactDescription:: +count_dependsOn(void) const +{ +return dependsOn_.size (); +} - ::CIAO::Config_Handlers::Property const& ImplementationArtifactDescription:: - infoProperty () const - { - return *infoProperty_; - } +// ImplementationArtifactDescription +// +ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: +begin_execParameter () +{ +return execParameter_.begin (); +} - void ImplementationArtifactDescription:: - infoProperty (::CIAO::Config_Handlers::Property const& e) - { - if (infoProperty_.get ()) - { - *infoProperty_ = e; - } - - else - { - infoProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - infoProperty_->container (this); - } - } +ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: +end_execParameter () +{ +return execParameter_.end (); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - contentLocation_p () const - { - return contentLocation_.get () != 0; - } +ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: +begin_execParameter () const +{ +return execParameter_.begin (); +} - ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: - contentLocation () const - { - return *contentLocation_; - } +ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: +end_execParameter () const +{ +return execParameter_.end (); +} - void ImplementationArtifactDescription:: - contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (contentLocation_.get ()) - { - *contentLocation_ = e; - } - - else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } - } +void ImplementationArtifactDescription:: +add_execParameter (::CIAO::Config_Handlers::Property const& e) +{ +execParameter_.push_back (e); +} - // ImplementationArtifactDescription - // - bool ImplementationArtifactDescription:: - href_p () const - { - return href_.get () != 0; - } +size_t ImplementationArtifactDescription:: +count_execParameter(void) const +{ +return execParameter_.size (); +} - ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: - href () const - { - return *href_; - } +// ImplementationArtifactDescription +// +ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: +begin_infoProperty () +{ +return infoProperty_.begin (); +} - ::XMLSchema::string< ACE_TCHAR >& ImplementationArtifactDescription:: - href () - { - return *href_; - } +ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: +end_infoProperty () +{ +return infoProperty_.end (); +} - void ImplementationArtifactDescription:: - href (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (href_.get ()) - { - *href_ = e; - } - - else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } - } - } +ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: +begin_infoProperty () const +{ +return infoProperty_.begin (); +} + +ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: +end_infoProperty () const +{ +return infoProperty_.end (); +} + +void ImplementationArtifactDescription:: +add_infoProperty (::CIAO::Config_Handlers::Property const& e) +{ +infoProperty_.push_back (e); +} + +size_t ImplementationArtifactDescription:: +count_infoProperty(void) const +{ +return infoProperty_.size (); +} + +// ImplementationArtifactDescription +// +ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: +begin_deployRequirement () +{ +return deployRequirement_.begin (); +} + +ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: +end_deployRequirement () +{ +return deployRequirement_.end (); +} + +ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: +begin_deployRequirement () const +{ +return deployRequirement_.begin (); +} + +ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: +end_deployRequirement () const +{ +return deployRequirement_.end (); +} + +void ImplementationArtifactDescription:: +add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) +{ +deployRequirement_.push_back (e); +} + +size_t ImplementationArtifactDescription:: +count_deployRequirement(void) const +{ +return deployRequirement_.size (); +} + +// ImplementationArtifactDescription +// +bool ImplementationArtifactDescription:: +contentLocation_p () const +{ +return contentLocation_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: +contentLocation () const +{ +return *contentLocation_; +} + +void ImplementationArtifactDescription:: +contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (contentLocation_.get ()) +{ +*contentLocation_ = e; +} + +else +{ +contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +contentLocation_->container (this); +} +} + +// ImplementationArtifactDescription +// +bool ImplementationArtifactDescription:: +href_p () const +{ +return href_.get () != 0; +} + +::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: +href () const +{ +return *href_; +} + +::XMLSchema::string< ACE_TCHAR >& ImplementationArtifactDescription:: +href () +{ +return *href_; +} + +void ImplementationArtifactDescription:: +href (::XMLSchema::string< ACE_TCHAR > const& e) +{ +if (href_.get ()) +{ +*href_ = e; +} + +else +{ +href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +href_->container (this); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - // NamedImplementationArtifact - // +namespace Config_Handlers +{ +// NamedImplementationArtifact +// - NamedImplementationArtifact:: - NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +NamedImplementationArtifact:: +NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ - ::XSCRT::Parser< ACE_TCHAR > p (e); - - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "name") - { - name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - name_->container (this); - } - - else if (n == "referencedArtifact") - { - referencedArtifact_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (e)); - referencedArtifact_->container (this); - } - - else - { - } - } - } +::XSCRT::Parser< ACE_TCHAR > p (e); - // ImplementationArtifactDescription - // +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - ImplementationArtifactDescription:: - ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () - { +if (n == "name") +{ +name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); +name_->container (this); +} - ::XSCRT::Parser< ACE_TCHAR > p (e); - - while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "location") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_location (t); - } - - else if (n == "dependsOn") - { - ::CIAO::Config_Handlers::NamedImplementationArtifact t (e); - add_dependsOn (t); - } - - else if (n == "execParameter") - { - ::CIAO::Config_Handlers::Property t (e); - execParameter (t); - } - - else if (n == "deployRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - deployRequirement (t); - } - - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - infoProperty (t); - } - - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } - - else - { - } - } - - while (p.more_attributes ()) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") - { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); - } - - else - { - } - } - } - } +else if (n == "referencedArtifact") +{ +referencedArtifact_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (e)); +referencedArtifact_->container (this); +} + +else +{ +} +} +} + +// ImplementationArtifactDescription +// + +ImplementationArtifactDescription:: +ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) +:Base__ (e), regulator__ () +{ + +::XSCRT::Parser< ACE_TCHAR > p (e); + +while (p.more_elements ()) +{ +::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + +if (n == "label") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +label (t); +} + +else if (n == "UUID") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +UUID (t); +} + +else if (n == "location") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +add_location (t); +} + +else if (n == "dependsOn") +{ +::CIAO::Config_Handlers::NamedImplementationArtifact t (e); +add_dependsOn (t); +} + +else if (n == "execParameter") +{ +::CIAO::Config_Handlers::Property t (e); +add_execParameter (t); +} + +else if (n == "infoProperty") +{ +::CIAO::Config_Handlers::Property t (e); +add_infoProperty (t); +} + +else if (n == "deployRequirement") +{ +::CIAO::Config_Handlers::Requirement t (e); +add_deployRequirement (t); +} + +else if (n == "contentLocation") +{ +::XMLSchema::string< ACE_TCHAR > t (e); +contentLocation (t); +} + +else +{ +} +} + +while (p.more_attributes ()) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); +::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); +if (n == "href") +{ +::XMLSchema::string< ACE_TCHAR > t (a); +href (t); +} + +else +{ +} +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/TypeInfo.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace - { - ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - - struct NamedImplementationArtifactTypeInfoInitializer - { - NamedImplementationArtifactTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (NamedImplementationArtifact)); - ::XSCRT::ExtendedTypeInfo nf (id); - - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; - - NamedImplementationArtifactTypeInfoInitializer NamedImplementationArtifactTypeInfoInitializer_; - - struct ImplementationArtifactDescriptionTypeInfoInitializer - { - ImplementationArtifactDescriptionTypeInfoInitializer () - { - ::XSCRT::TypeId id (typeid (ImplementationArtifactDescription)); - ::XSCRT::ExtendedTypeInfo nf (id); - - nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); - ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); - } - }; - - ImplementationArtifactDescriptionTypeInfoInitializer ImplementationArtifactDescriptionTypeInfoInitializer_; - } - } +namespace Config_Handlers +{ +namespace +{ +::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + +struct NamedImplementationArtifactTypeInfoInitializer +{ +NamedImplementationArtifactTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (NamedImplementationArtifact)); +::XSCRT::ExtendedTypeInfo nf (id); + +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; + +NamedImplementationArtifactTypeInfoInitializer NamedImplementationArtifactTypeInfoInitializer_; + +struct ImplementationArtifactDescriptionTypeInfoInitializer +{ +ImplementationArtifactDescriptionTypeInfoInitializer () +{ +::XSCRT::TypeId id (typeid (ImplementationArtifactDescription)); +::XSCRT::ExtendedTypeInfo nf (id); + +nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); +::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); +} +}; + +ImplementationArtifactDescriptionTypeInfoInitializer ImplementationArtifactDescriptionTypeInfoInitializer_; +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - // NamedImplementationArtifact - // - // - - void NamedImplementationArtifact:: - traverse (Type& o) - { - pre (o); - name (o); - referencedArtifact (o); - post (o); - } - - void NamedImplementationArtifact:: - traverse (Type const& o) - { - pre (o); - name (o); - referencedArtifact (o); - post (o); - } - - void NamedImplementationArtifact:: - pre (Type&) - { - } - - void NamedImplementationArtifact:: - pre (Type const&) - { - } - - void NamedImplementationArtifact:: - name (Type& o) - { - dispatch (o.name ()); - } - - void NamedImplementationArtifact:: - name (Type const& o) - { - dispatch (o.name ()); - } - - void NamedImplementationArtifact:: - referencedArtifact (Type& o) - { - dispatch (o.referencedArtifact ()); - } - - void NamedImplementationArtifact:: - referencedArtifact (Type const& o) - { - dispatch (o.referencedArtifact ()); - } - - void NamedImplementationArtifact:: - post (Type&) - { - } - - void NamedImplementationArtifact:: - post (Type const&) - { - } - - // ImplementationArtifactDescription - // - // - - void ImplementationArtifactDescription:: - traverse (Type& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - location (o); - dependsOn (o); - if (o.execParameter_p ()) execParameter (o); - else execParameter_none (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } - - void ImplementationArtifactDescription:: - traverse (Type const& o) - { - pre (o); - if (o.label_p ()) label (o); - else label_none (o); - if (o.UUID_p ()) UUID (o); - else UUID_none (o); - location (o); - dependsOn (o); - if (o.execParameter_p ()) execParameter (o); - else execParameter_none (o); - if (o.deployRequirement_p ()) deployRequirement (o); - else deployRequirement_none (o); - if (o.infoProperty_p ()) infoProperty (o); - else infoProperty_none (o); - if (o.contentLocation_p ()) contentLocation (o); - else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); - post (o); - } - - void ImplementationArtifactDescription:: - pre (Type&) - { - } - - void ImplementationArtifactDescription:: - pre (Type const&) - { - } - - void ImplementationArtifactDescription:: - label (Type& o) - { - dispatch (o.label ()); - } - - void ImplementationArtifactDescription:: - label (Type const& o) - { - dispatch (o.label ()); - } - - void ImplementationArtifactDescription:: - label_none (Type&) - { - } - - void ImplementationArtifactDescription:: - label_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - UUID (Type& o) - { - dispatch (o.UUID ()); - } - - void ImplementationArtifactDescription:: - UUID (Type const& o) - { - dispatch (o.UUID ()); - } - - void ImplementationArtifactDescription:: - UUID_none (Type&) - { - } - - void ImplementationArtifactDescription:: - UUID_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - location (Type& o) - { - // VC6 anathema strikes again - // - ImplementationArtifactDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); - - if (b != e) - { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); - } - - else location_none (o); - } - - void ImplementationArtifactDescription:: - location (Type const& o) - { - // VC6 anathema strikes again - // - ImplementationArtifactDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); - - if (b != e) - { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); - } - - else location_none (o); - } - - void ImplementationArtifactDescription:: - location_pre (Type&) - { - } - - void ImplementationArtifactDescription:: - location_pre (Type const&) - { - } - - void ImplementationArtifactDescription:: - location_next (Type&) - { - } - - void ImplementationArtifactDescription:: - location_next (Type const&) - { - } - - void ImplementationArtifactDescription:: - location_post (Type&) - { - } - - void ImplementationArtifactDescription:: - location_post (Type const&) - { - } - - void ImplementationArtifactDescription:: - location_none (Type&) - { - } - - void ImplementationArtifactDescription:: - location_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - dependsOn (Type& o) - { - // VC6 anathema strikes again - // - ImplementationArtifactDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); - - if (b != e) - { - dependsOn_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) dependsOn_next (o); - } - - dependsOn_post (o); - } - - else dependsOn_none (o); - } - - void ImplementationArtifactDescription:: - dependsOn (Type const& o) - { - // VC6 anathema strikes again - // - ImplementationArtifactDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); - - if (b != e) - { - dependsOn_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) dependsOn_next (o); - } - - dependsOn_post (o); - } - - else dependsOn_none (o); - } - - void ImplementationArtifactDescription:: - dependsOn_pre (Type&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_pre (Type const&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_next (Type&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_next (Type const&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_post (Type&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_post (Type const&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_none (Type&) - { - } - - void ImplementationArtifactDescription:: - dependsOn_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - execParameter (Type& o) - { - dispatch (o.execParameter ()); - } - - void ImplementationArtifactDescription:: - execParameter (Type const& o) - { - dispatch (o.execParameter ()); - } - - void ImplementationArtifactDescription:: - execParameter_none (Type&) - { - } - - void ImplementationArtifactDescription:: - execParameter_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - deployRequirement (Type& o) - { - dispatch (o.deployRequirement ()); - } - - void ImplementationArtifactDescription:: - deployRequirement (Type const& o) - { - dispatch (o.deployRequirement ()); - } - - void ImplementationArtifactDescription:: - deployRequirement_none (Type&) - { - } - - void ImplementationArtifactDescription:: - deployRequirement_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - infoProperty (Type& o) - { - dispatch (o.infoProperty ()); - } - - void ImplementationArtifactDescription:: - infoProperty (Type const& o) - { - dispatch (o.infoProperty ()); - } - - void ImplementationArtifactDescription:: - infoProperty_none (Type&) - { - } - - void ImplementationArtifactDescription:: - infoProperty_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - contentLocation (Type& o) - { - dispatch (o.contentLocation ()); - } - - void ImplementationArtifactDescription:: - contentLocation (Type const& o) - { - dispatch (o.contentLocation ()); - } - - void ImplementationArtifactDescription:: - contentLocation_none (Type&) - { - } - - void ImplementationArtifactDescription:: - contentLocation_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - href (Type& o) - { - dispatch (o.href ()); - } - - void ImplementationArtifactDescription:: - href (Type const& o) - { - dispatch (o.href ()); - } - - void ImplementationArtifactDescription:: - href_none (Type&) - { - } - - void ImplementationArtifactDescription:: - href_none (Type const&) - { - } - - void ImplementationArtifactDescription:: - post (Type&) - { - } - - void ImplementationArtifactDescription:: - post (Type const&) - { - } - } - } +namespace Config_Handlers +{ +namespace Traversal +{ +// NamedImplementationArtifact +// +// + +void NamedImplementationArtifact:: +traverse (Type& o) +{ +pre (o); +name (o); +referencedArtifact (o); +post (o); +} + +void NamedImplementationArtifact:: +traverse (Type const& o) +{ +pre (o); +name (o); +referencedArtifact (o); +post (o); +} + +void NamedImplementationArtifact:: +pre (Type&) +{ +} + +void NamedImplementationArtifact:: +pre (Type const&) +{ +} + +void NamedImplementationArtifact:: +name (Type& o) +{ +dispatch (o.name ()); +} + +void NamedImplementationArtifact:: +name (Type const& o) +{ +dispatch (o.name ()); +} + +void NamedImplementationArtifact:: +referencedArtifact (Type& o) +{ +dispatch (o.referencedArtifact ()); +} + +void NamedImplementationArtifact:: +referencedArtifact (Type const& o) +{ +dispatch (o.referencedArtifact ()); +} + +void NamedImplementationArtifact:: +post (Type&) +{ +} + +void NamedImplementationArtifact:: +post (Type const&) +{ +} + +// ImplementationArtifactDescription +// +// + +void ImplementationArtifactDescription:: +traverse (Type& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +location (o); +dependsOn (o); +execParameter (o); +infoProperty (o); +deployRequirement (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ImplementationArtifactDescription:: +traverse (Type const& o) +{ +pre (o); +if (o.label_p ()) label (o); +else label_none (o); +if (o.UUID_p ()) UUID (o); +else UUID_none (o); +location (o); +dependsOn (o); +execParameter (o); +infoProperty (o); +deployRequirement (o); +if (o.contentLocation_p ()) contentLocation (o); +else contentLocation_none (o); +if (o.href_p ()) href (o); +else href_none (o); +post (o); +} + +void ImplementationArtifactDescription:: +pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +label (Type& o) +{ +dispatch (o.label ()); +} + +void ImplementationArtifactDescription:: +label (Type const& o) +{ +dispatch (o.label ()); +} + +void ImplementationArtifactDescription:: +label_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +label_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +UUID (Type& o) +{ +dispatch (o.UUID ()); +} + +void ImplementationArtifactDescription:: +UUID (Type const& o) +{ +dispatch (o.UUID ()); +} + +void ImplementationArtifactDescription:: +UUID_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +UUID_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +location (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); + +if (b != e) +{ +location_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) location_next (o); +} + +location_post (o); +} + +else location_none (o); +} + +void ImplementationArtifactDescription:: +location (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); + +if (b != e) +{ +location_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) location_next (o); +} + +location_post (o); +} + +else location_none (o); +} + +void ImplementationArtifactDescription:: +location_pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +location_pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +location_next (Type&) +{ +} + +void ImplementationArtifactDescription:: +location_next (Type const&) +{ +} + +void ImplementationArtifactDescription:: +location_post (Type&) +{ +} + +void ImplementationArtifactDescription:: +location_post (Type const&) +{ +} + +void ImplementationArtifactDescription:: +location_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +location_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + +if (b != e) +{ +dependsOn_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) dependsOn_next (o); +} + +dependsOn_post (o); +} + +else dependsOn_none (o); +} + +void ImplementationArtifactDescription:: +dependsOn (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + +if (b != e) +{ +dependsOn_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) dependsOn_next (o); +} + +dependsOn_post (o); +} + +else dependsOn_none (o); +} + +void ImplementationArtifactDescription:: +dependsOn_pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_next (Type&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_next (Type const&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_post (Type&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_post (Type const&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +dependsOn_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +execParameter (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} + +execParameter_post (o); +} + +else execParameter_none (o); +} + +void ImplementationArtifactDescription:: +execParameter (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + +if (b != e) +{ +execParameter_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) execParameter_next (o); +} + +execParameter_post (o); +} + +else execParameter_none (o); +} + +void ImplementationArtifactDescription:: +execParameter_pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_next (Type&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_next (Type const&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_post (Type&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_post (Type const&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +execParameter_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ImplementationArtifactDescription:: +infoProperty (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + +if (b != e) +{ +infoProperty_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) infoProperty_next (o); +} + +infoProperty_post (o); +} + +else infoProperty_none (o); +} + +void ImplementationArtifactDescription:: +infoProperty_pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_next (Type&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_next (Type const&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_post (Type&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_post (Type const&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +infoProperty_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement (Type& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void ImplementationArtifactDescription:: +deployRequirement (Type const& o) +{ +// VC6 anathema strikes again +// +ImplementationArtifactDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + +if (b != e) +{ +deployRequirement_pre (o); +for (; b != e;) +{ +dispatch (*b); +if (++b != e) deployRequirement_next (o); +} + +deployRequirement_post (o); +} + +else deployRequirement_none (o); +} + +void ImplementationArtifactDescription:: +deployRequirement_pre (Type&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_pre (Type const&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_next (Type&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_next (Type const&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_post (Type&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_post (Type const&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +deployRequirement_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +contentLocation (Type& o) +{ +dispatch (o.contentLocation ()); +} + +void ImplementationArtifactDescription:: +contentLocation (Type const& o) +{ +dispatch (o.contentLocation ()); +} + +void ImplementationArtifactDescription:: +contentLocation_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +contentLocation_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +href (Type& o) +{ +dispatch (o.href ()); +} + +void ImplementationArtifactDescription:: +href (Type const& o) +{ +dispatch (o.href ()); +} + +void ImplementationArtifactDescription:: +href_none (Type&) +{ +} + +void ImplementationArtifactDescription:: +href_none (Type const&) +{ +} + +void ImplementationArtifactDescription:: +post (Type&) +{ +} + +void ImplementationArtifactDescription:: +post (Type const&) +{ +} +} +} } namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - // NamedImplementationArtifact - // - // - - NamedImplementationArtifact:: - NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } - - NamedImplementationArtifact:: - NamedImplementationArtifact () - { - } - - void NamedImplementationArtifact:: - traverse (Type const& o) - { - Traversal::NamedImplementationArtifact::traverse (o); - } - - void NamedImplementationArtifact:: - name (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); - Traversal::NamedImplementationArtifact::name (o); - pop_ (); - } - - void NamedImplementationArtifact:: - referencedArtifact (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedArtifact", top_ ())); - Traversal::NamedImplementationArtifact::referencedArtifact (o); - pop_ (); - } - - // ImplementationArtifactDescription - // - // - - ImplementationArtifactDescription:: - ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) - { - } - - ImplementationArtifactDescription:: - ImplementationArtifactDescription () - { - } - - void ImplementationArtifactDescription:: - traverse (Type const& o) - { - Traversal::ImplementationArtifactDescription::traverse (o); - } - - void ImplementationArtifactDescription:: - label (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); - Traversal::ImplementationArtifactDescription::label (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - UUID (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); - Traversal::ImplementationArtifactDescription::UUID (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - location_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); - } - - void ImplementationArtifactDescription:: - location_next (Type const& o) - { - location_post (o); - location_pre (o); - } - - void ImplementationArtifactDescription:: - location_post (Type const&) - { - pop_ (); - } - - void ImplementationArtifactDescription:: - dependsOn_pre (Type const&) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); - } - - void ImplementationArtifactDescription:: - dependsOn_next (Type const& o) - { - dependsOn_post (o); - dependsOn_pre (o); - } - - void ImplementationArtifactDescription:: - dependsOn_post (Type const&) - { - pop_ (); - } - - void ImplementationArtifactDescription:: - execParameter (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); - Traversal::ImplementationArtifactDescription::execParameter (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - deployRequirement (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); - Traversal::ImplementationArtifactDescription::deployRequirement (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - infoProperty (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); - Traversal::ImplementationArtifactDescription::infoProperty (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - contentLocation (Type const& o) - { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); - Traversal::ImplementationArtifactDescription::contentLocation (o); - pop_ (); - } - - void ImplementationArtifactDescription:: - href (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); - attr_ (&a); - Traversal::ImplementationArtifactDescription::href (o); - attr_ (0); - } - } - } +namespace Config_Handlers +{ +namespace Writer +{ +// NamedImplementationArtifact +// +// + +NamedImplementationArtifact:: +NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +NamedImplementationArtifact:: +NamedImplementationArtifact () +{ +} + +void NamedImplementationArtifact:: +traverse (Type const& o) +{ +Traversal::NamedImplementationArtifact::traverse (o); +} + +void NamedImplementationArtifact:: +name (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); +Traversal::NamedImplementationArtifact::name (o); +pop_ (); +} + +void NamedImplementationArtifact:: +referencedArtifact (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedArtifact", top_ ())); +Traversal::NamedImplementationArtifact::referencedArtifact (o); +pop_ (); +} + +// ImplementationArtifactDescription +// +// + +ImplementationArtifactDescription:: +ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) +: ::XSCRT::Writer< ACE_TCHAR > (e) +{ +} + +ImplementationArtifactDescription:: +ImplementationArtifactDescription () +{ +} + +void ImplementationArtifactDescription:: +traverse (Type const& o) +{ +Traversal::ImplementationArtifactDescription::traverse (o); +} + +void ImplementationArtifactDescription:: +label (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); +Traversal::ImplementationArtifactDescription::label (o); +pop_ (); +} + +void ImplementationArtifactDescription:: +UUID (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); +Traversal::ImplementationArtifactDescription::UUID (o); +pop_ (); +} + +void ImplementationArtifactDescription:: +location_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); +} + +void ImplementationArtifactDescription:: +location_next (Type const& o) +{ +location_post (o); +location_pre (o); +} + +void ImplementationArtifactDescription:: +location_post (Type const&) +{ +pop_ (); +} + +void ImplementationArtifactDescription:: +dependsOn_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); +} + +void ImplementationArtifactDescription:: +dependsOn_next (Type const& o) +{ +dependsOn_post (o); +dependsOn_pre (o); +} + +void ImplementationArtifactDescription:: +dependsOn_post (Type const&) +{ +pop_ (); +} + +void ImplementationArtifactDescription:: +execParameter_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); +} + +void ImplementationArtifactDescription:: +execParameter_next (Type const& o) +{ +execParameter_post (o); +execParameter_pre (o); +} + +void ImplementationArtifactDescription:: +execParameter_post (Type const&) +{ +pop_ (); +} + +void ImplementationArtifactDescription:: +infoProperty_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); +} + +void ImplementationArtifactDescription:: +infoProperty_next (Type const& o) +{ +infoProperty_post (o); +infoProperty_pre (o); +} + +void ImplementationArtifactDescription:: +infoProperty_post (Type const&) +{ +pop_ (); +} + +void ImplementationArtifactDescription:: +deployRequirement_pre (Type const&) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); +} + +void ImplementationArtifactDescription:: +deployRequirement_next (Type const& o) +{ +deployRequirement_post (o); +deployRequirement_pre (o); +} + +void ImplementationArtifactDescription:: +deployRequirement_post (Type const&) +{ +pop_ (); +} + +void ImplementationArtifactDescription:: +contentLocation (Type const& o) +{ +push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); +Traversal::ImplementationArtifactDescription::contentLocation (o); +pop_ (); +} + +void ImplementationArtifactDescription:: +href (Type const& o) +{ +::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); +attr_ (&a); +Traversal::ImplementationArtifactDescription::href (o); +attr_ (0); +} +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } diff --git a/TAO/CIAO/tools/Config_Handlers/iad.hpp b/TAO/CIAO/tools/Config_Handlers/iad.hpp index c45b689338e..e4583f0fc7e 100644 --- a/TAO/CIAO/tools/Config_Handlers/iad.hpp +++ b/TAO/CIAO/tools/Config_Handlers/iad.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,11 +27,11 @@ // namespace CIAO { - namespace Config_Handlers - { - class NamedImplementationArtifact; - class ImplementationArtifactDescription; - } +namespace Config_Handlers +{ +class NamedImplementationArtifact; +class ImplementationArtifactDescription; +} } #include <memory> @@ -42,606 +42,741 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export NamedImplementationArtifact : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // name - // - public: - ::XMLSchema::string< ACE_TCHAR > const& name () const; - void name (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - - // referencedArtifact - // - public: - ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact () const; - void referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > referencedArtifact_; - - public: - NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, - ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__); - - NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const&); - NamedImplementationArtifact (NamedImplementationArtifact const& s); - - NamedImplementationArtifact& - operator= (NamedImplementationArtifact const& s); - - private: - char regulator__; - }; - - - class XSC_XML_Handlers_Export ImplementationArtifactDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // location - // - public: - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; - typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; - location_iterator begin_location (); - location_iterator end_location (); - location_const_iterator begin_location () const; - location_const_iterator end_location () const; - void add_location (::XMLSchema::string< ACE_TCHAR > const& ); - size_t count_location (void) const; - - protected: - ::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; - - // dependsOn - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator dependsOn_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator dependsOn_const_iterator; - dependsOn_iterator begin_dependsOn (); - dependsOn_iterator end_dependsOn (); - dependsOn_const_iterator begin_dependsOn () const; - dependsOn_const_iterator end_dependsOn () const; - void add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); - size_t count_dependsOn (void) const; - - protected: - ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > dependsOn_; - - // execParameter - // - public: - bool execParameter_p () const; - ::CIAO::Config_Handlers::Property const& execParameter () const; - void execParameter (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > execParameter_; - - // deployRequirement - // - public: - bool deployRequirement_p () const; - ::CIAO::Config_Handlers::Requirement const& deployRequirement () const; - void deployRequirement (::CIAO::Config_Handlers::Requirement const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - - // infoProperty - // - public: - bool infoProperty_p () const; - ::CIAO::Config_Handlers::Property const& infoProperty () const; - void infoProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > infoProperty_; - - // contentLocation - // - public: - bool contentLocation_p () const; - ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; - void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - - // href - // - public: - bool href_p () const; - ::XMLSchema::string< ACE_TCHAR > const& href () const; - ::XMLSchema::string< ACE_TCHAR >& href (); - void href (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - - public: - ImplementationArtifactDescription (); - - ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - ImplementationArtifactDescription (ImplementationArtifactDescription const& s); - - ImplementationArtifactDescription& - operator= (ImplementationArtifactDescription const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export NamedImplementationArtifact : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// name +// +public: +::XMLSchema::string< ACE_TCHAR > const& name () const; +void name (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + +// referencedArtifact +// +public: +::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact () const; +void referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > referencedArtifact_; + +public: +NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, +::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__); + +NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const&); +NamedImplementationArtifact (NamedImplementationArtifact const& s); + +NamedImplementationArtifact& +operator= (NamedImplementationArtifact const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export ImplementationArtifactDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// location +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; +location_iterator begin_location (); +location_iterator end_location (); +location_const_iterator begin_location () const; +location_const_iterator end_location () const; +void add_location (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_location (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + +// dependsOn +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator dependsOn_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator dependsOn_const_iterator; +dependsOn_iterator begin_dependsOn (); +dependsOn_iterator end_dependsOn (); +dependsOn_const_iterator begin_dependsOn () const; +dependsOn_const_iterator end_dependsOn () const; +void add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); +size_t count_dependsOn (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > dependsOn_; + +// execParameter +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; +execParameter_iterator begin_execParameter (); +execParameter_iterator end_execParameter (); +execParameter_const_iterator begin_execParameter () const; +execParameter_const_iterator end_execParameter () const; +void add_execParameter (::CIAO::Config_Handlers::Property const& ); +size_t count_execParameter (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + +// infoProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; +infoProperty_iterator begin_infoProperty (); +infoProperty_iterator end_infoProperty (); +infoProperty_const_iterator begin_infoProperty () const; +infoProperty_const_iterator end_infoProperty () const; +void add_infoProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_infoProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + +// deployRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; +deployRequirement_iterator begin_deployRequirement (); +deployRequirement_iterator end_deployRequirement (); +deployRequirement_const_iterator begin_deployRequirement () const; +deployRequirement_const_iterator end_deployRequirement () const; +void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_deployRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + +// contentLocation +// +public: +bool contentLocation_p () const; +::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; +void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + +// href +// +public: +bool href_p () const; +::XMLSchema::string< ACE_TCHAR > const& href () const; +::XMLSchema::string< ACE_TCHAR >& href (); +void href (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + +public: +ImplementationArtifactDescription (); + +ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +ImplementationArtifactDescription (ImplementationArtifactDescription const& s); + +ImplementationArtifactDescription& +operator= (ImplementationArtifactDescription const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export NamedImplementationArtifact : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedImplementationArtifact > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export NamedImplementationArtifact : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedImplementationArtifact > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +name (Type&); + +virtual void +name (Type const&); + +virtual void +referencedArtifact (Type&); + +virtual void +referencedArtifact (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export ImplementationArtifactDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationArtifactDescription > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +label (Type&); + +virtual void +label (Type const&); + +virtual void +label_none (Type&); + +virtual void +label_none (Type const&); - virtual void - traverse (Type const&); +virtual void +UUID (Type&); - virtual void - pre (Type&); +virtual void +UUID (Type const&); - virtual void - pre (Type const&); +virtual void +UUID_none (Type&); - virtual void - name (Type&); +virtual void +UUID_none (Type const&); - virtual void - name (Type const&); +virtual void +location (Type&); - virtual void - referencedArtifact (Type&); +virtual void +location (Type const&); - virtual void - referencedArtifact (Type const&); +virtual void +location_pre (Type&); - virtual void - post (Type&); +virtual void +location_pre (Type const&); - virtual void - post (Type const&); - }; +virtual void +location_next (Type&); - struct XSC_XML_Handlers_Export ImplementationArtifactDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationArtifactDescription > - { - virtual void - traverse (Type&); +virtual void +location_next (Type const&); - virtual void - traverse (Type const&); +virtual void +location_post (Type&); - virtual void - pre (Type&); +virtual void +location_post (Type const&); - virtual void - pre (Type const&); +virtual void +location_none (Type&); - virtual void - label (Type&); +virtual void +location_none (Type const&); - virtual void - label (Type const&); +virtual void +dependsOn (Type&); - virtual void - label_none (Type&); +virtual void +dependsOn (Type const&); - virtual void - label_none (Type const&); +virtual void +dependsOn_pre (Type&); - virtual void - UUID (Type&); +virtual void +dependsOn_pre (Type const&); - virtual void - UUID (Type const&); +virtual void +dependsOn_next (Type&); - virtual void - UUID_none (Type&); +virtual void +dependsOn_next (Type const&); - virtual void - UUID_none (Type const&); +virtual void +dependsOn_post (Type&); - virtual void - location (Type&); +virtual void +dependsOn_post (Type const&); - virtual void - location (Type const&); +virtual void +dependsOn_none (Type&); - virtual void - location_pre (Type&); +virtual void +dependsOn_none (Type const&); - virtual void - location_pre (Type const&); +virtual void +execParameter (Type&); - virtual void - location_next (Type&); +virtual void +execParameter (Type const&); - virtual void - location_next (Type const&); +virtual void +execParameter_pre (Type&); - virtual void - location_post (Type&); +virtual void +execParameter_pre (Type const&); - virtual void - location_post (Type const&); +virtual void +execParameter_next (Type&); - virtual void - location_none (Type&); +virtual void +execParameter_next (Type const&); - virtual void - location_none (Type const&); +virtual void +execParameter_post (Type&); - virtual void - dependsOn (Type&); +virtual void +execParameter_post (Type const&); - virtual void - dependsOn (Type const&); +virtual void +execParameter_none (Type&); - virtual void - dependsOn_pre (Type&); +virtual void +execParameter_none (Type const&); - virtual void - dependsOn_pre (Type const&); +virtual void +infoProperty (Type&); - virtual void - dependsOn_next (Type&); +virtual void +infoProperty (Type const&); - virtual void - dependsOn_next (Type const&); +virtual void +infoProperty_pre (Type&); - virtual void - dependsOn_post (Type&); +virtual void +infoProperty_pre (Type const&); - virtual void - dependsOn_post (Type const&); +virtual void +infoProperty_next (Type&); - virtual void - dependsOn_none (Type&); +virtual void +infoProperty_next (Type const&); - virtual void - dependsOn_none (Type const&); +virtual void +infoProperty_post (Type&); - virtual void - execParameter (Type&); +virtual void +infoProperty_post (Type const&); - virtual void - execParameter (Type const&); +virtual void +infoProperty_none (Type&); - virtual void - execParameter_none (Type&); +virtual void +infoProperty_none (Type const&); - virtual void - execParameter_none (Type const&); +virtual void +deployRequirement (Type&); - virtual void - deployRequirement (Type&); +virtual void +deployRequirement (Type const&); - virtual void - deployRequirement (Type const&); +virtual void +deployRequirement_pre (Type&); - virtual void - deployRequirement_none (Type&); +virtual void +deployRequirement_pre (Type const&); - virtual void - deployRequirement_none (Type const&); +virtual void +deployRequirement_next (Type&); - virtual void - infoProperty (Type&); +virtual void +deployRequirement_next (Type const&); - virtual void - infoProperty (Type const&); +virtual void +deployRequirement_post (Type&); - virtual void - infoProperty_none (Type&); +virtual void +deployRequirement_post (Type const&); - virtual void - infoProperty_none (Type const&); +virtual void +deployRequirement_none (Type&); - virtual void - contentLocation (Type&); +virtual void +deployRequirement_none (Type const&); - virtual void - contentLocation (Type const&); +virtual void +contentLocation (Type&); - virtual void - contentLocation_none (Type&); +virtual void +contentLocation (Type const&); - virtual void - contentLocation_none (Type const&); +virtual void +contentLocation_none (Type&); - virtual void - href (Type&); +virtual void +contentLocation_none (Type const&); - virtual void - href (Type const&); +virtual void +href (Type&); - virtual void - href_none (Type&); +virtual void +href (Type const&); - virtual void - href_none (Type const&); +virtual void +href_none (Type&); - virtual void - post (Type&); +virtual void +href_none (Type const&); - virtual void - post (Type const&); - }; - } - } +virtual void +post (Type&); + +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct NamedImplementationArtifact : Traversal::NamedImplementationArtifact, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::NamedImplementationArtifact Type; - NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct NamedImplementationArtifact : Traversal::NamedImplementationArtifact, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::NamedImplementationArtifact Type; +NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +name (Type &o) +{ + +this->name (const_cast <Type const &> (o)); +} + + +virtual void +name (Type const&); + +virtual void +referencedArtifact (Type &o) +{ + +this->referencedArtifact (const_cast <Type const &> (o)); +} + + +virtual void +referencedArtifact (Type const&); + +protected: +NamedImplementationArtifact (); +}; + +struct ImplementationArtifactDescription : Traversal::ImplementationArtifactDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ImplementationArtifactDescription Type; +ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +label (Type &o) +{ + +this->label (const_cast <Type const &> (o)); +} - this->traverse (const_cast <Type const &> (o)); - } +virtual void +label (Type const&); - virtual void - traverse (Type const&); +virtual void +UUID (Type &o) +{ + +this->UUID (const_cast <Type const &> (o)); +} + + +virtual void +UUID (Type const&); + +virtual void +location_pre (Type &o) +{ + +this->location_pre (const_cast <Type const &> (o)); +} - virtual void - name (Type &o) - { - this->name (const_cast <Type const &> (o)); - } +virtual void +location_pre (Type const&); +virtual void +location_next (Type &o) +{ - virtual void - name (Type const&); +this->location_next (const_cast <Type const &> (o)); +} - virtual void - referencedArtifact (Type &o) - { - this->referencedArtifact (const_cast <Type const &> (o)); - } +virtual void +location_next (Type const&); +virtual void +location_post (Type &o) +{ - virtual void - referencedArtifact (Type const&); +this->location_post (const_cast <Type const &> (o)); +} - protected: - NamedImplementationArtifact (); - }; - struct ImplementationArtifactDescription : Traversal::ImplementationArtifactDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ImplementationArtifactDescription Type; - ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +virtual void +location_post (Type const&); - virtual void - traverse (Type &o) - { +virtual void +dependsOn_pre (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->dependsOn_pre (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +dependsOn_pre (Type const&); - virtual void - label (Type &o) - { +virtual void +dependsOn_next (Type &o) +{ - this->label (const_cast <Type const &> (o)); - } +this->dependsOn_next (const_cast <Type const &> (o)); +} - virtual void - label (Type const&); +virtual void +dependsOn_next (Type const&); - virtual void - UUID (Type &o) - { +virtual void +dependsOn_post (Type &o) +{ - this->UUID (const_cast <Type const &> (o)); - } +this->dependsOn_post (const_cast <Type const &> (o)); +} - virtual void - UUID (Type const&); +virtual void +dependsOn_post (Type const&); - virtual void - location_pre (Type &o) - { +virtual void +execParameter_pre (Type &o) +{ - this->location_pre (const_cast <Type const &> (o)); - } +this->execParameter_pre (const_cast <Type const &> (o)); +} - virtual void - location_pre (Type const&); +virtual void +execParameter_pre (Type const&); - virtual void - location_next (Type &o) - { +virtual void +execParameter_next (Type &o) +{ - this->location_next (const_cast <Type const &> (o)); - } +this->execParameter_next (const_cast <Type const &> (o)); +} - virtual void - location_next (Type const&); +virtual void +execParameter_next (Type const&); - virtual void - location_post (Type &o) - { +virtual void +execParameter_post (Type &o) +{ - this->location_post (const_cast <Type const &> (o)); - } +this->execParameter_post (const_cast <Type const &> (o)); +} - virtual void - location_post (Type const&); +virtual void +execParameter_post (Type const&); - virtual void - dependsOn_pre (Type &o) - { +virtual void +infoProperty_pre (Type &o) +{ - this->dependsOn_pre (const_cast <Type const &> (o)); - } +this->infoProperty_pre (const_cast <Type const &> (o)); +} - virtual void - dependsOn_pre (Type const&); +virtual void +infoProperty_pre (Type const&); - virtual void - dependsOn_next (Type &o) - { +virtual void +infoProperty_next (Type &o) +{ - this->dependsOn_next (const_cast <Type const &> (o)); - } +this->infoProperty_next (const_cast <Type const &> (o)); +} - virtual void - dependsOn_next (Type const&); +virtual void +infoProperty_next (Type const&); - virtual void - dependsOn_post (Type &o) - { +virtual void +infoProperty_post (Type &o) +{ - this->dependsOn_post (const_cast <Type const &> (o)); - } +this->infoProperty_post (const_cast <Type const &> (o)); +} - virtual void - dependsOn_post (Type const&); +virtual void +infoProperty_post (Type const&); - virtual void - execParameter (Type &o) - { +virtual void +deployRequirement_pre (Type &o) +{ - this->execParameter (const_cast <Type const &> (o)); - } +this->deployRequirement_pre (const_cast <Type const &> (o)); +} - virtual void - execParameter (Type const&); +virtual void +deployRequirement_pre (Type const&); - virtual void - deployRequirement (Type &o) - { +virtual void +deployRequirement_next (Type &o) +{ - this->deployRequirement (const_cast <Type const &> (o)); - } +this->deployRequirement_next (const_cast <Type const &> (o)); +} - virtual void - deployRequirement (Type const&); +virtual void +deployRequirement_next (Type const&); - virtual void - infoProperty (Type &o) - { +virtual void +deployRequirement_post (Type &o) +{ - this->infoProperty (const_cast <Type const &> (o)); - } +this->deployRequirement_post (const_cast <Type const &> (o)); +} - virtual void - infoProperty (Type const&); +virtual void +deployRequirement_post (Type const&); - virtual void - contentLocation (Type &o) - { +virtual void +contentLocation (Type &o) +{ - this->contentLocation (const_cast <Type const &> (o)); - } +this->contentLocation (const_cast <Type const &> (o)); +} - virtual void - contentLocation (Type const&); +virtual void +contentLocation (Type const&); - virtual void - href (Type &o) - { +virtual void +href (Type &o) +{ - this->href (const_cast <Type const &> (o)); - } +this->href (const_cast <Type const &> (o)); +} - virtual void - href (Type const&); +virtual void +href (Type const&); - protected: - ImplementationArtifactDescription (); - }; - } - } +protected: +ImplementationArtifactDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // IAD_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/pcd.cpp b/TAO/CIAO/tools/Config_Handlers/pcd.cpp index 7403102c879..1021d178ad6 100644 --- a/TAO/CIAO/tools/Config_Handlers/pcd.cpp +++ b/TAO/CIAO/tools/Config_Handlers/pcd.cpp @@ -3,49 +3,132 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "pcd.hpp" namespace CIAO { namespace Config_Handlers { + // ComponentPackageImport + // + + ComponentPackageImport:: + ComponentPackageImport () + : + ::XSCRT::Type (), + regulator__ () + { + } + + ComponentPackageImport:: + ComponentPackageImport (::CIAO::Config_Handlers::ComponentPackageImport const& s) + : + ::XSCRT::Type (), + regulator__ () + { + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } + } + + ::CIAO::Config_Handlers::ComponentPackageImport& ComponentPackageImport:: + operator= (::CIAO::Config_Handlers::ComponentPackageImport const& s) + { + location_.clear (); + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } + + return *this; + } + + + // ComponentPackageImport + // + ComponentPackageImport::location_iterator ComponentPackageImport:: + begin_location () + { + return location_.begin (); + } + + ComponentPackageImport::location_iterator ComponentPackageImport:: + end_location () + { + return location_.end (); + } + + ComponentPackageImport::location_const_iterator ComponentPackageImport:: + begin_location () const + { + return location_.begin (); + } + + ComponentPackageImport::location_const_iterator ComponentPackageImport:: + end_location () const + { + return location_.end (); + } + + void ComponentPackageImport:: + add_location (::XMLSchema::string< ACE_TCHAR > const& e) + { + location_.push_back (e); + } + + size_t ComponentPackageImport:: + count_location(void) const + { + return location_.size (); + } + + // PackageConfiguration - // + // PackageConfiguration:: PackageConfiguration () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } PackageConfiguration:: PackageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), - reference_ (s.reference_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.reference_) : 0), - selectRequirement_ (s.selectRequirement_.get () ? new ::CIAO::Config_Handlers::Requirement (*s.selectRequirement_) : 0), - configProperty_ (s.configProperty_.get () ? new ::CIAO::Config_Handlers::Property (*s.configProperty_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), + specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), + importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), + referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); if (basePackage_.get ()) basePackage_->container (this); - if (reference_.get ()) reference_->container (this); - if (selectRequirement_.get ()) selectRequirement_->container (this); - if (configProperty_.get ()) configProperty_->container (this); + if (specializedConfig_.get ()) specializedConfig_->container (this); + if (importedPackage_.get ()) importedPackage_->container (this); + if (referencedPackage_.get ()) referencedPackage_->container (this); + { + for (selectRequirement_const_iterator i (s.selectRequirement_.begin ());i != s.selectRequirement_.end ();++i) add_selectRequirement (*i); + } + + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } + if (contentLocation_.get ()) contentLocation_->container (this); + if (href_.get ()) href_->container (this); } ::CIAO::Config_Handlers::PackageConfiguration& PackageConfiguration:: @@ -60,24 +143,37 @@ namespace CIAO if (s.basePackage_.get ()) basePackage (*(s.basePackage_)); else basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (0); - if (s.reference_.get ()) reference (*(s.reference_)); - else reference_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (0); + if (s.specializedConfig_.get ()) specializedConfig (*(s.specializedConfig_)); + else specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (0); - if (s.selectRequirement_.get ()) selectRequirement (*(s.selectRequirement_)); - else selectRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (0); + if (s.importedPackage_.get ()) importedPackage (*(s.importedPackage_)); + else importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (0); - if (s.configProperty_.get ()) configProperty (*(s.configProperty_)); - else configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (0); + if (s.referencedPackage_.get ()) referencedPackage (*(s.referencedPackage_)); + else referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (0); + + selectRequirement_.clear (); + { + for (selectRequirement_const_iterator i (s.selectRequirement_.begin ());i != s.selectRequirement_.end ();++i) add_selectRequirement (*i); + } + + configProperty_.clear (); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.href_.get ()) href (*(s.href_)); + else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + return *this; } // PackageConfiguration - // + // bool PackageConfiguration:: label_p () const { @@ -94,19 +190,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: UUID_p () const { @@ -123,19 +219,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: basePackage_p () const { @@ -152,106 +248,182 @@ namespace CIAO basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& e) { if (basePackage_.get ()) - { - *basePackage_ = e; - } + { + *basePackage_ = e; + } else - { - basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); - basePackage_->container (this); - } + { + basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); + basePackage_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: - reference_p () const + specializedConfig_p () const { - return reference_.get () != 0; + return specializedConfig_.get () != 0; } - ::CIAO::Config_Handlers::ComponentPackageReference const& PackageConfiguration:: - reference () const + ::CIAO::Config_Handlers::PackageConfiguration const& PackageConfiguration:: + specializedConfig () const { - return *reference_; + return *specializedConfig_; } void PackageConfiguration:: - reference (::CIAO::Config_Handlers::ComponentPackageReference const& e) + specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& e) { - if (reference_.get ()) - { - *reference_ = e; - } + if (specializedConfig_.get ()) + { + *specializedConfig_ = e; + } else - { - reference_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); - reference_->container (this); - } + { + specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); + specializedConfig_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: - selectRequirement_p () const + importedPackage_p () const { - return selectRequirement_.get () != 0; + return importedPackage_.get () != 0; } - ::CIAO::Config_Handlers::Requirement const& PackageConfiguration:: - selectRequirement () const + ::CIAO::Config_Handlers::ComponentPackageImport const& PackageConfiguration:: + importedPackage () const { - return *selectRequirement_; + return *importedPackage_; } void PackageConfiguration:: - selectRequirement (::CIAO::Config_Handlers::Requirement const& e) + importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& e) { - if (selectRequirement_.get ()) - { - *selectRequirement_ = e; - } + if (importedPackage_.get ()) + { + *importedPackage_ = e; + } else - { - selectRequirement_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > (new ::CIAO::Config_Handlers::Requirement (e)); - selectRequirement_->container (this); - } + { + importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); + importedPackage_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: - configProperty_p () const + referencedPackage_p () const { - return configProperty_.get () != 0; + return referencedPackage_.get () != 0; } - ::CIAO::Config_Handlers::Property const& PackageConfiguration:: - configProperty () const + ::CIAO::Config_Handlers::ComponentPackageReference const& PackageConfiguration:: + referencedPackage () const { - return *configProperty_; + return *referencedPackage_; } void PackageConfiguration:: - configProperty (::CIAO::Config_Handlers::Property const& e) + referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& e) { - if (configProperty_.get ()) - { - *configProperty_ = e; - } + if (referencedPackage_.get ()) + { + *referencedPackage_ = e; + } else - { - configProperty_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Property > (new ::CIAO::Config_Handlers::Property (e)); - configProperty_->container (this); - } + { + referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); + referencedPackage_->container (this); + } } // PackageConfiguration - // + // + PackageConfiguration::selectRequirement_iterator PackageConfiguration:: + begin_selectRequirement () + { + return selectRequirement_.begin (); + } + + PackageConfiguration::selectRequirement_iterator PackageConfiguration:: + end_selectRequirement () + { + return selectRequirement_.end (); + } + + PackageConfiguration::selectRequirement_const_iterator PackageConfiguration:: + begin_selectRequirement () const + { + return selectRequirement_.begin (); + } + + PackageConfiguration::selectRequirement_const_iterator PackageConfiguration:: + end_selectRequirement () const + { + return selectRequirement_.end (); + } + + void PackageConfiguration:: + add_selectRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + selectRequirement_.push_back (e); + } + + size_t PackageConfiguration:: + count_selectRequirement(void) const + { + return selectRequirement_.size (); + } + + // PackageConfiguration + // + PackageConfiguration::configProperty_iterator PackageConfiguration:: + begin_configProperty () + { + return configProperty_.begin (); + } + + PackageConfiguration::configProperty_iterator PackageConfiguration:: + end_configProperty () + { + return configProperty_.end (); + } + + PackageConfiguration::configProperty_const_iterator PackageConfiguration:: + begin_configProperty () const + { + return configProperty_.begin (); + } + + PackageConfiguration::configProperty_const_iterator PackageConfiguration:: + end_configProperty () const + { + return configProperty_.end (); + } + + void PackageConfiguration:: + add_configProperty (::CIAO::Config_Handlers::Property const& e) + { + configProperty_.push_back (e); + } + + size_t PackageConfiguration:: + count_configProperty(void) const + { + return configProperty_.size (); + } + + // PackageConfiguration + // bool PackageConfiguration:: contentLocation_p () const { @@ -268,15 +440,50 @@ namespace CIAO contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) { if (contentLocation_.get ()) - { - *contentLocation_ = e; - } + { + *contentLocation_ = e; + } else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } + } + + // PackageConfiguration + // + bool PackageConfiguration:: + href_p () const + { + return href_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& PackageConfiguration:: + href () const + { + return *href_; + } + + ::XMLSchema::string< ACE_TCHAR >& PackageConfiguration:: + href () + { + return *href_; + } + + void PackageConfiguration:: + href (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (href_.get ()) + { + *href_ = e; + } + + else + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } } } } @@ -285,67 +492,121 @@ namespace CIAO { namespace Config_Handlers { - // PackageConfiguration + // ComponentPackageImport // - PackageConfiguration:: - PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + ComponentPackageImport:: + ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "basePackage") - { - ::CIAO::Config_Handlers::ComponentPackageDescription t (e); - basePackage (t); + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "location") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_location (t); + } + + else + { + } } + } - else if (n == "reference") - { - ::CIAO::Config_Handlers::ComponentPackageReference t (e); - reference (t); - } + // PackageConfiguration + // - else if (n == "selectRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - selectRequirement (t); - } + PackageConfiguration:: + PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - configProperty (t); - } + ::XSCRT::Parser< ACE_TCHAR > p (e); - else if (n == "contentLocation") + while (p.more_elements ()) { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "basePackage") + { + ::CIAO::Config_Handlers::ComponentPackageDescription t (e); + basePackage (t); + } + + else if (n == "specializedConfig") + { + ::CIAO::Config_Handlers::PackageConfiguration t (e); + specializedConfig (t); + } + + else if (n == "importedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageImport t (e); + importedPackage (t); + } + + else if (n == "referencedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageReference t (e); + referencedPackage (t); + } + + else if (n == "selectRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_selectRequirement (t); + } + + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } + + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } + + else + { + } } - else + while (p.more_attributes ()) { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") + { + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); + } + + else + { + } } - } } } } @@ -367,6 +628,20 @@ namespace CIAO { ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + struct ComponentPackageImportTypeInfoInitializer + { + ComponentPackageImportTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPackageImport)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ComponentPackageImportTypeInfoInitializer ComponentPackageImportTypeInfoInitializer_; + struct PackageConfigurationTypeInfoInitializer { PackageConfigurationTypeInfoInitializer () @@ -390,6 +665,116 @@ namespace CIAO { namespace Traversal { + // ComponentPackageImport + // + // + + void ComponentPackageImport:: + traverse (Type& o) + { + pre (o); + location (o); + post (o); + } + + void ComponentPackageImport:: + traverse (Type const& o) + { + pre (o); + location (o); + post (o); + } + + void ComponentPackageImport:: + pre (Type&) + { + } + + void ComponentPackageImport:: + pre (Type const&) + { + } + + void ComponentPackageImport:: + location (Type& o) + { + // VC6 anathema strikes again + // + ComponentPackageImport::Type::location_iterator b (o.begin_location()), e (o.end_location()); + + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + } + + void ComponentPackageImport:: + location (Type const& o) + { + // VC6 anathema strikes again + // + ComponentPackageImport::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); + + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + } + + void ComponentPackageImport:: + location_pre (Type&) + { + } + + void ComponentPackageImport:: + location_pre (Type const&) + { + } + + void ComponentPackageImport:: + location_next (Type&) + { + } + + void ComponentPackageImport:: + location_next (Type const&) + { + } + + void ComponentPackageImport:: + location_post (Type&) + { + } + + void ComponentPackageImport:: + location_post (Type const&) + { + } + + void ComponentPackageImport:: + post (Type&) + { + } + + void ComponentPackageImport:: + post (Type const&) + { + } + // PackageConfiguration // // @@ -404,14 +789,18 @@ namespace CIAO else UUID_none (o); if (o.basePackage_p ()) basePackage (o); else basePackage_none (o); - if (o.reference_p ()) reference (o); - else reference_none (o); - if (o.selectRequirement_p ()) selectRequirement (o); - else selectRequirement_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); + if (o.specializedConfig_p ()) specializedConfig (o); + else specializedConfig_none (o); + if (o.importedPackage_p ()) importedPackage (o); + else importedPackage_none (o); + if (o.referencedPackage_p ()) referencedPackage (o); + else referencedPackage_none (o); + selectRequirement (o); + configProperty (o); if (o.contentLocation_p ()) contentLocation (o); else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); post (o); } @@ -425,14 +814,18 @@ namespace CIAO else UUID_none (o); if (o.basePackage_p ()) basePackage (o); else basePackage_none (o); - if (o.reference_p ()) reference (o); - else reference_none (o); - if (o.selectRequirement_p ()) selectRequirement (o); - else selectRequirement_none (o); - if (o.configProperty_p ()) configProperty (o); - else configProperty_none (o); + if (o.specializedConfig_p ()) specializedConfig (o); + else specializedConfig_none (o); + if (o.importedPackage_p ()) importedPackage (o); + else importedPackage_none (o); + if (o.referencedPackage_p ()) referencedPackage (o); + else referencedPackage_none (o); + selectRequirement (o); + configProperty (o); if (o.contentLocation_p ()) contentLocation (o); else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); post (o); } @@ -513,37 +906,143 @@ namespace CIAO } void PackageConfiguration:: - reference (Type& o) + specializedConfig (Type& o) + { + dispatch (o.specializedConfig ()); + } + + void PackageConfiguration:: + specializedConfig (Type const& o) + { + dispatch (o.specializedConfig ()); + } + + void PackageConfiguration:: + specializedConfig_none (Type&) + { + } + + void PackageConfiguration:: + specializedConfig_none (Type const&) + { + } + + void PackageConfiguration:: + importedPackage (Type& o) { - dispatch (o.reference ()); + dispatch (o.importedPackage ()); } void PackageConfiguration:: - reference (Type const& o) + importedPackage (Type const& o) { - dispatch (o.reference ()); + dispatch (o.importedPackage ()); } void PackageConfiguration:: - reference_none (Type&) + importedPackage_none (Type&) { } void PackageConfiguration:: - reference_none (Type const&) + importedPackage_none (Type const&) + { + } + + void PackageConfiguration:: + referencedPackage (Type& o) + { + dispatch (o.referencedPackage ()); + } + + void PackageConfiguration:: + referencedPackage (Type const& o) + { + dispatch (o.referencedPackage ()); + } + + void PackageConfiguration:: + referencedPackage_none (Type&) + { + } + + void PackageConfiguration:: + referencedPackage_none (Type const&) { } void PackageConfiguration:: selectRequirement (Type& o) { - dispatch (o.selectRequirement ()); + // VC6 anathema strikes again + // + PackageConfiguration::Type::selectRequirement_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); + + if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) selectRequirement_next (o); + } + + selectRequirement_post (o); + } + + else selectRequirement_none (o); } void PackageConfiguration:: selectRequirement (Type const& o) { - dispatch (o.selectRequirement ()); + // VC6 anathema strikes again + // + PackageConfiguration::Type::selectRequirement_const_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); + + if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) selectRequirement_next (o); + } + + selectRequirement_post (o); + } + + else selectRequirement_none (o); + } + + void PackageConfiguration:: + selectRequirement_pre (Type&) + { + } + + void PackageConfiguration:: + selectRequirement_pre (Type const&) + { + } + + void PackageConfiguration:: + selectRequirement_next (Type&) + { + } + + void PackageConfiguration:: + selectRequirement_next (Type const&) + { + } + + void PackageConfiguration:: + selectRequirement_post (Type&) + { + } + + void PackageConfiguration:: + selectRequirement_post (Type const&) + { } void PackageConfiguration:: @@ -559,13 +1058,75 @@ namespace CIAO void PackageConfiguration:: configProperty (Type& o) { - dispatch (o.configProperty ()); + // VC6 anathema strikes again + // + PackageConfiguration::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } + + else configProperty_none (o); } void PackageConfiguration:: configProperty (Type const& o) { - dispatch (o.configProperty ()); + // VC6 anathema strikes again + // + PackageConfiguration::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } + + else configProperty_none (o); + } + + void PackageConfiguration:: + configProperty_pre (Type&) + { + } + + void PackageConfiguration:: + configProperty_pre (Type const&) + { + } + + void PackageConfiguration:: + configProperty_next (Type&) + { + } + + void PackageConfiguration:: + configProperty_next (Type const&) + { + } + + void PackageConfiguration:: + configProperty_post (Type&) + { + } + + void PackageConfiguration:: + configProperty_post (Type const&) + { } void PackageConfiguration:: @@ -601,6 +1162,28 @@ namespace CIAO } void PackageConfiguration:: + href (Type& o) + { + dispatch (o.href ()); + } + + void PackageConfiguration:: + href (Type const& o) + { + dispatch (o.href ()); + } + + void PackageConfiguration:: + href_none (Type&) + { + } + + void PackageConfiguration:: + href_none (Type const&) + { + } + + void PackageConfiguration:: post (Type&) { } @@ -619,13 +1202,53 @@ namespace CIAO { namespace Writer { + // ComponentPackageImport + // + // + + ComponentPackageImport:: + ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ComponentPackageImport:: + ComponentPackageImport () + { + } + + void ComponentPackageImport:: + traverse (Type const& o) + { + Traversal::ComponentPackageImport::traverse (o); + } + + void ComponentPackageImport:: + location_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); + } + + void ComponentPackageImport:: + location_next (Type const& o) + { + location_post (o); + location_pre (o); + } + + void ComponentPackageImport:: + location_post (Type const&) + { + pop_ (); + } + // PackageConfiguration // // PackageConfiguration:: PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } @@ -665,26 +1288,64 @@ namespace CIAO } void PackageConfiguration:: - reference (Type const& o) + specializedConfig (Type const& o) { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("reference", top_ ())); - Traversal::PackageConfiguration::reference (o); + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specializedConfig", top_ ())); + Traversal::PackageConfiguration::specializedConfig (o); pop_ (); } void PackageConfiguration:: - selectRequirement (Type const& o) + importedPackage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("importedPackage", top_ ())); + Traversal::PackageConfiguration::importedPackage (o); + pop_ (); + } + + void PackageConfiguration:: + referencedPackage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedPackage", top_ ())); + Traversal::PackageConfiguration::referencedPackage (o); + pop_ (); + } + + void PackageConfiguration:: + selectRequirement_pre (Type const&) { push_ (::XSCRT::XML::Element< ACE_TCHAR > ("selectRequirement", top_ ())); - Traversal::PackageConfiguration::selectRequirement (o); + } + + void PackageConfiguration:: + selectRequirement_next (Type const& o) + { + selectRequirement_post (o); + selectRequirement_pre (o); + } + + void PackageConfiguration:: + selectRequirement_post (Type const&) + { pop_ (); } void PackageConfiguration:: - configProperty (Type const& o) + configProperty_pre (Type const&) { push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); - Traversal::PackageConfiguration::configProperty (o); + } + + void PackageConfiguration:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } + + void PackageConfiguration:: + configProperty_post (Type const&) + { pop_ (); } @@ -695,6 +1356,15 @@ namespace CIAO Traversal::PackageConfiguration::contentLocation (o); pop_ (); } + + void PackageConfiguration:: + href (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); + attr_ (&a); + Traversal::PackageConfiguration::href (o); + attr_ (0); + } } } } diff --git a/TAO/CIAO/tools/Config_Handlers/pcd.hpp b/TAO/CIAO/tools/Config_Handlers/pcd.hpp index ff4d123c6b0..3288de6aac6 100644 --- a/TAO/CIAO/tools/Config_Handlers/pcd.hpp +++ b/TAO/CIAO/tools/Config_Handlers/pcd.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,10 +27,11 @@ // namespace CIAO { - namespace Config_Handlers - { - class PackageConfiguration; - } +namespace Config_Handlers +{ +class ComponentPackageImport; +class PackageConfiguration; +} } #include <memory> @@ -43,335 +44,658 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export PackageConfiguration : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; - - // label - // - public: - bool label_p () const; - ::XMLSchema::string< ACE_TCHAR > const& label () const; - void label (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - - // UUID - // - public: - bool UUID_p () const; - ::XMLSchema::string< ACE_TCHAR > const& UUID () const; - void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - - // basePackage - // - public: - bool basePackage_p () const; - ::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; - void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; - - // reference - // - public: - bool reference_p () const; - ::CIAO::Config_Handlers::ComponentPackageReference const& reference () const; - void reference (::CIAO::Config_Handlers::ComponentPackageReference const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > reference_; - - // selectRequirement - // - public: - bool selectRequirement_p () const; - ::CIAO::Config_Handlers::Requirement const& selectRequirement () const; - void selectRequirement (::CIAO::Config_Handlers::Requirement const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > selectRequirement_; - - // configProperty - // - public: - bool configProperty_p () const; - ::CIAO::Config_Handlers::Property const& configProperty () const; - void configProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > configProperty_; - - // contentLocation - // - public: - bool contentLocation_p () const; - ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; - void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - - protected: - ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - - public: - PackageConfiguration (); - - PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const&); - PackageConfiguration (PackageConfiguration const& s); - - PackageConfiguration& - operator= (PackageConfiguration const& s); - - private: - char regulator__; - }; - } +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export ComponentPackageImport : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// location +// +public: +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; +typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; +location_iterator begin_location (); +location_iterator end_location (); +location_const_iterator begin_location () const; +location_const_iterator end_location () const; +void add_location (::XMLSchema::string< ACE_TCHAR > const& ); +size_t count_location (void) const; + +protected: +::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + +public: +ComponentPackageImport (); + +ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR > const&); +ComponentPackageImport (ComponentPackageImport const& s); + +ComponentPackageImport& +operator= (ComponentPackageImport const& s); + +private: +char regulator__; +}; + + +class XSC_XML_Handlers_Export PackageConfiguration : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; + +// label +// +public: +bool label_p () const; +::XMLSchema::string< ACE_TCHAR > const& label () const; +void label (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + +// UUID +// +public: +bool UUID_p () const; +::XMLSchema::string< ACE_TCHAR > const& UUID () const; +void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + +// basePackage +// +public: +bool basePackage_p () const; +::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; +void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; + +// specializedConfig +// +public: +bool specializedConfig_p () const; +::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; +void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; + +// importedPackage +// +public: +bool importedPackage_p () const; +::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; +void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; + +// referencedPackage +// +public: +bool referencedPackage_p () const; +::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; +void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); + +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; + +// selectRequirement +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; +selectRequirement_iterator begin_selectRequirement (); +selectRequirement_iterator end_selectRequirement (); +selectRequirement_const_iterator begin_selectRequirement () const; +selectRequirement_const_iterator end_selectRequirement () const; +void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); +size_t count_selectRequirement (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; + +// configProperty +// +public: +typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; +typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; +configProperty_iterator begin_configProperty (); +configProperty_iterator end_configProperty (); +configProperty_const_iterator begin_configProperty () const; +configProperty_const_iterator end_configProperty () const; +void add_configProperty (::CIAO::Config_Handlers::Property const& ); +size_t count_configProperty (void) const; + +protected: +::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + +// contentLocation +// +public: +bool contentLocation_p () const; +::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; +void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + +// href +// +public: +bool href_p () const; +::XMLSchema::string< ACE_TCHAR > const& href () const; +::XMLSchema::string< ACE_TCHAR >& href (); +void href (::XMLSchema::string< ACE_TCHAR > const& ); + +protected: +::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + +public: +PackageConfiguration (); + +PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const&); +PackageConfiguration (PackageConfiguration const& s); + +PackageConfiguration& +operator= (PackageConfiguration const& s); + +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export PackageConfiguration : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackageConfiguration > - { - virtual void - traverse (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export ComponentPackageImport : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageImport > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); + +virtual void +location (Type&); + +virtual void +location (Type const&); + +virtual void +location_pre (Type&); + +virtual void +location_pre (Type const&); + +virtual void +location_next (Type&); + +virtual void +location_next (Type const&); + +virtual void +location_post (Type&); + +virtual void +location_post (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; + +struct XSC_XML_Handlers_Export PackageConfiguration : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackageConfiguration > +{ +virtual void +traverse (Type&); + +virtual void +traverse (Type const&); + +virtual void +pre (Type&); + +virtual void +pre (Type const&); - virtual void - traverse (Type const&); +virtual void +label (Type&); - virtual void - pre (Type&); +virtual void +label (Type const&); - virtual void - pre (Type const&); +virtual void +label_none (Type&); - virtual void - label (Type&); +virtual void +label_none (Type const&); - virtual void - label (Type const&); +virtual void +UUID (Type&); - virtual void - label_none (Type&); +virtual void +UUID (Type const&); - virtual void - label_none (Type const&); +virtual void +UUID_none (Type&); - virtual void - UUID (Type&); +virtual void +UUID_none (Type const&); - virtual void - UUID (Type const&); +virtual void +basePackage (Type&); - virtual void - UUID_none (Type&); +virtual void +basePackage (Type const&); - virtual void - UUID_none (Type const&); +virtual void +basePackage_none (Type&); - virtual void - basePackage (Type&); +virtual void +basePackage_none (Type const&); - virtual void - basePackage (Type const&); +virtual void +specializedConfig (Type&); - virtual void - basePackage_none (Type&); +virtual void +specializedConfig (Type const&); - virtual void - basePackage_none (Type const&); +virtual void +specializedConfig_none (Type&); - virtual void - reference (Type&); +virtual void +specializedConfig_none (Type const&); - virtual void - reference (Type const&); +virtual void +importedPackage (Type&); - virtual void - reference_none (Type&); +virtual void +importedPackage (Type const&); - virtual void - reference_none (Type const&); +virtual void +importedPackage_none (Type&); - virtual void - selectRequirement (Type&); +virtual void +importedPackage_none (Type const&); - virtual void - selectRequirement (Type const&); +virtual void +referencedPackage (Type&); - virtual void - selectRequirement_none (Type&); +virtual void +referencedPackage (Type const&); - virtual void - selectRequirement_none (Type const&); +virtual void +referencedPackage_none (Type&); - virtual void - configProperty (Type&); +virtual void +referencedPackage_none (Type const&); - virtual void - configProperty (Type const&); +virtual void +selectRequirement (Type&); - virtual void - configProperty_none (Type&); +virtual void +selectRequirement (Type const&); - virtual void - configProperty_none (Type const&); +virtual void +selectRequirement_pre (Type&); - virtual void - contentLocation (Type&); +virtual void +selectRequirement_pre (Type const&); - virtual void - contentLocation (Type const&); +virtual void +selectRequirement_next (Type&); - virtual void - contentLocation_none (Type&); +virtual void +selectRequirement_next (Type const&); - virtual void - contentLocation_none (Type const&); +virtual void +selectRequirement_post (Type&); - virtual void - post (Type&); +virtual void +selectRequirement_post (Type const&); - virtual void - post (Type const&); - }; - } - } +virtual void +selectRequirement_none (Type&); + +virtual void +selectRequirement_none (Type const&); + +virtual void +configProperty (Type&); + +virtual void +configProperty (Type const&); + +virtual void +configProperty_pre (Type&); + +virtual void +configProperty_pre (Type const&); + +virtual void +configProperty_next (Type&); + +virtual void +configProperty_next (Type const&); + +virtual void +configProperty_post (Type&); + +virtual void +configProperty_post (Type const&); + +virtual void +configProperty_none (Type&); + +virtual void +configProperty_none (Type const&); + +virtual void +contentLocation (Type&); + +virtual void +contentLocation (Type const&); + +virtual void +contentLocation_none (Type&); + +virtual void +contentLocation_none (Type const&); + +virtual void +href (Type&); + +virtual void +href (Type const&); + +virtual void +href_none (Type&); + +virtual void +href_none (Type const&); + +virtual void +post (Type&); + +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct PackageConfiguration : Traversal::PackageConfiguration, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::PackageConfiguration Type; - PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >&); +namespace Config_Handlers +{ +namespace Writer +{ +struct ComponentPackageImport : Traversal::ComponentPackageImport, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::ComponentPackageImport Type; +ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +location_pre (Type &o) +{ + +this->location_pre (const_cast <Type const &> (o)); +} + + +virtual void +location_pre (Type const&); + +virtual void +location_next (Type &o) +{ + +this->location_next (const_cast <Type const &> (o)); +} + + +virtual void +location_next (Type const&); + +virtual void +location_post (Type &o) +{ + +this->location_post (const_cast <Type const &> (o)); +} + + +virtual void +location_post (Type const&); + +protected: +ComponentPackageImport (); +}; + +struct PackageConfiguration : Traversal::PackageConfiguration, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::PackageConfiguration Type; +PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >&); + +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} + + +virtual void +traverse (Type const&); + +virtual void +label (Type &o) +{ + +this->label (const_cast <Type const &> (o)); +} + + +virtual void +label (Type const&); + +virtual void +UUID (Type &o) +{ + +this->UUID (const_cast <Type const &> (o)); +} - virtual void - traverse (Type &o) - { - this->traverse (const_cast <Type const &> (o)); - } +virtual void +UUID (Type const&); +virtual void +basePackage (Type &o) +{ + +this->basePackage (const_cast <Type const &> (o)); +} + + +virtual void +basePackage (Type const&); + +virtual void +specializedConfig (Type &o) +{ + +this->specializedConfig (const_cast <Type const &> (o)); +} + + +virtual void +specializedConfig (Type const&); + +virtual void +importedPackage (Type &o) +{ + +this->importedPackage (const_cast <Type const &> (o)); +} + + +virtual void +importedPackage (Type const&); + +virtual void +referencedPackage (Type &o) +{ + +this->referencedPackage (const_cast <Type const &> (o)); +} + + +virtual void +referencedPackage (Type const&); - virtual void - traverse (Type const&); +virtual void +selectRequirement_pre (Type &o) +{ - virtual void - label (Type &o) - { +this->selectRequirement_pre (const_cast <Type const &> (o)); +} - this->label (const_cast <Type const &> (o)); - } +virtual void +selectRequirement_pre (Type const&); - virtual void - label (Type const&); +virtual void +selectRequirement_next (Type &o) +{ - virtual void - UUID (Type &o) - { +this->selectRequirement_next (const_cast <Type const &> (o)); +} - this->UUID (const_cast <Type const &> (o)); - } +virtual void +selectRequirement_next (Type const&); - virtual void - UUID (Type const&); +virtual void +selectRequirement_post (Type &o) +{ - virtual void - basePackage (Type &o) - { +this->selectRequirement_post (const_cast <Type const &> (o)); +} - this->basePackage (const_cast <Type const &> (o)); - } +virtual void +selectRequirement_post (Type const&); - virtual void - basePackage (Type const&); +virtual void +configProperty_pre (Type &o) +{ - virtual void - reference (Type &o) - { +this->configProperty_pre (const_cast <Type const &> (o)); +} - this->reference (const_cast <Type const &> (o)); - } +virtual void +configProperty_pre (Type const&); - virtual void - reference (Type const&); +virtual void +configProperty_next (Type &o) +{ - virtual void - selectRequirement (Type &o) - { +this->configProperty_next (const_cast <Type const &> (o)); +} - this->selectRequirement (const_cast <Type const &> (o)); - } +virtual void +configProperty_next (Type const&); - virtual void - selectRequirement (Type const&); +virtual void +configProperty_post (Type &o) +{ - virtual void - configProperty (Type &o) - { +this->configProperty_post (const_cast <Type const &> (o)); +} - this->configProperty (const_cast <Type const &> (o)); - } +virtual void +configProperty_post (Type const&); - virtual void - configProperty (Type const&); +virtual void +contentLocation (Type &o) +{ - virtual void - contentLocation (Type &o) - { +this->contentLocation (const_cast <Type const &> (o)); +} - this->contentLocation (const_cast <Type const &> (o)); - } +virtual void +contentLocation (Type const&); - virtual void - contentLocation (Type const&); +virtual void +href (Type &o) +{ - protected: - PackageConfiguration (); - }; - } - } +this->href (const_cast <Type const &> (o)); +} + + +virtual void +href (Type const&); + +protected: +PackageConfiguration (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // PCD_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/test.cdp b/TAO/CIAO/tools/Config_Handlers/test.cdp index 72839f9c8b8..2430859601b 100644 --- a/TAO/CIAO/tools/Config_Handlers/test.cdp +++ b/TAO/CIAO/tools/Config_Handlers/test.cdp @@ -1,211 +1,1827 @@ <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <Deployment:deploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Hello-DeploymentPlan</label> - - <UUID>Hello_Plan_UUID_0001</UUID> - - <realizes> - <label>BasicSP-realizes-cid</label> - <UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID> - <specificType/> - <supportedType>IDL:BasicSP/EC:1.0</supportedType> - <port> - <name>read_message</name> - <specificType>IDL:Hello/ReadMessage:1.0</specificType> - <supportedType>IDL:Hello/ReadMessage:1.0</supportedType> - <provider>false></provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>true</exclusiveUser> - <optional>false</optional> - <kind>SimplexReceptacle</kind> - </port> - </realizes> - - <implementation id="Hello-Sender-mdd"> - <name>Hello-Sender-mdd</name> - <source/> - <artifact>Hello-Sender_exec</artifact> - <artifact>Hello-Sender_svnt</artifact> - </implementation> - - <implementation id="Hello-Receiver-mdd"> - <name>Hello-Receiver-mdd</name> - <source/> - <artifact>Hello-Receiver_exec</artifact> - <artifact>Hello-Receiver_svnt</artifact> - </implementation> - - <instance id="Hello-Sender-idd"> - <name>Hello-Sender-idd</name> - <node>SenderNode</node> - <source/> - <implementation>Hello-Sender-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Sender.ior</string> - </value> - </value> - </configProperty> - <configProperty> - <name>local_message</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>This is a test message passed in through XML.</string> - </value> - </value> - </configProperty> - <deployedResource> - <resourceUsage>InstanceUsesResource</resourceUsage> - <requirementName>testRequirementName</requirementName> - <resourceName>testResourceName</resourceName> - <resourceValue> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>TestValue</string> - </value> - </resourceValue> - </deployedResource> - </instance> - - <instance id="Hello-Receiver-idd"> - <name>Hello-Receiver-idd</name> - <node>ReceiverNode</node> - <source/> - <implementation>Hello-Receiver-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Receiver.ior</string> - </value> - </value> - </configProperty> - </instance> - - <connection> - <name>hell_event_connection</name> - <internalEndpoint> - <portName>click_out</portName> - <kind>EventPublisher</kind> - <instance>Hello-Sender-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>click_in</portName> - <kind>EventConsumer</kind> - <instance>Hello-Receiver-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>hello_facet_connection</name> - <internalEndpoint> - <portName>push_message</portName> - <kind>Facet</kind> - <instance>Hello-Sender-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>read_message</portName> - <kind>SimplexReceptacle</kind> - <instance>Hello-Receiver-idd</instance> - </internalEndpoint> - </connection> - - <artifact id="Hello-Sender_exec"> - <name>Sender_exec</name> - <source/> - <node/> - <location>Sender_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createSenderHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Hello-Sender_svnt"> - <name>Sender_svnt</name> - <source/> - <node/> - <location>Sender_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createSenderHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Hello-Receiver_exec"> - <name>Receiver_exec</name> - <source/> - <node/> - <location>Receiver_DnC_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createReceiverHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Hello-Receiver_svnt"> - <name>Receiver_svnt</name> - <source/> - <node/> - <location>Receiver_DnC_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createReceiverHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> -<!-- - <infoProperty> - <name>CIAOServerResources</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>input.csr</string> - </value> - </value> - </infoProperty> ---> +<UUID>8E8594AF-3310-446F-95E2-4440D622D5CE</UUID> + +<implementation id="_2D19FD96-440B-48D4-8D68-4E9B466B2BCC"> +<name>RT1H_Combined.ComponentImplementations.Config_Op_Impl.Config_Op</name> +<source/> +<artifact>_304555B7-9E3A-4DC5-9535-FA774FAA5070</artifact> +<artifact>_358C7270-F290-465E-B0E4-5FD390980B44</artifact> +<artifact>_C4A896EE-C035-45F1-8F14-2320383B1991</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_DA5C3C13-030E-4971-A0BF-8631563EFDF3"> +<name>RT1H_Combined.ComponentImplementations.Planner_One_Impl.MonolithicImplementation</name> +<source/> +<artifact>_6C7AA3D5-7A09-4DEF-8D49-60A4E1DE173D</artifact> +<artifact>_1DAD54BC-F7B5-41E3-9FFC-3E0AE255D989</artifact> +<artifact>_66E9CA12-F886-4760-A9B3-DB1E3F27B920</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_A7DAA16F-D455-4C63-92CE-05B98DD34B15"> +<name>RT1H_Combined.ComponentImplementations.Planner_Three_Impl.MonolithicImplementation</name> +<source/> +<artifact>_2748D2D1-AAE5-4934-A43F-1639241C4351</artifact> +<artifact>_556249CC-E874-4BC6-9411-1B33EB2B895B</artifact> +<artifact>_458C6E27-87CA-4F77-8036-C9F612511B6F</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_A8181747-270E-43FF-B723-50825AA8EA74"> +<name>RT1H_Combined.ComponentImplementations.Env_Dectector_Impl.MonolithicImplementation</name> +<source/> +<artifact>_1A46D81D-989F-406B-9E87-A57D63ADDF43</artifact> +<artifact>_208D7378-B123-4F15-B376-CAA58B5CB1E0</artifact> +<artifact>_5D7CAC69-4E3B-45F9-BACD-B12D3A86AC7A</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_05FAFE3F-76B3-4C6E-A86B-0225B9E76909"> +<name>RT1H_Combined.ComponentImplementations.Effector_Main_Impl.MonolithicImplementation</name> +<source/> +<artifact>_D40E03AB-CE43-49D6-A7FF-C1231FE98898</artifact> +<artifact>_840618C0-5513-4389-97A4-C53EB87B29A0</artifact> +<artifact>_E1AF706E-0B37-480B-8B26-E844FE2E9C3E</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_8D45FC0E-C3DD-4671-926D-A08430B37D37"> +<name>RT1H_Combined.ComponentImplementations.Effector_Secondary_Impl.MonolithicImplementation</name> +<source/> +<artifact>__31B2C21F-86C7-4306-AA10-33687687B5D0</artifact> +<artifact>__C7A0B01C-6C13-4EAA-8527-155035BF1A00</artifact> +<artifact>__2F43BA6B-2749-4744-B9C4-18F4AEAC16C9</artifact> +<execParameter> +<name>LoadAverage</name> +<value> +<type> +<kind>tk_double</kind> +</type> +<value> +<double>.25</double> +</value> +</value> +</execParameter> +</implementation> + +<implementation id="_2DF6D3BE-F1A2-43E1-BEA0-54576784FF96"> +<name>RT1H_Combined.CUTS_ComponentImplementations.BDC_Implementation.BDC_Monolithic_Impl</name> +<source/> +<artifact>__55C2DCD4-30B1-46A3-86B2-229896D74D0D</artifact> +<artifact>__BF5CDECF-AF12-4876-9B6C-211B7BF0B22F</artifact> +<artifact>_0E615519-6CC8-4EA5-B67A-65FF73586F04</artifact> +</implementation> + +<implementation id="_BA0C4535-191E-4BE0-9BF4-A054EB2C4139"> +<name>RT1H_Combined.CUTS_ComponentImplementations.BDC_Ex_Implementation.BDC_Ex_Impl</name> +<source/> +<artifact>_2DBFA82B-1D1F-48C6-9BDC-014E789E6A77</artifact> +<artifact>_5CE1793F-38DD-427D-A21E-E6D870E769E4</artifact> +<artifact>_0B8A6C29-8962-4DA6-99F4-25FEECD77E97</artifact> +</implementation> + +<implementation id="_D98AF36F-11FA-43A4-8FAD-C14A461437FF"> +<name>RT1H_Combined.RACE_ComponentImplementations.ControllerImplementation.ControllerMonolithicImpl</name> +<source/> +<artifact>__032AE7B6-3ABD-478A-B0D7-56BC4AAEF0B7</artifact> +<artifact>__00B105AB-50F5-49B7-A822-9B267F2D8896</artifact> +<artifact>__BF4AE6A2-BE32-4B8E-9919-C812EC18BF00</artifact> +</implementation> + +<implementation id="_CA363CD1-4E23-4A4B-B25B-C38B939E2B25"> +<name>RT1H_Combined.RACE_ComponentImplementations.TargetManagerImplImplementation.TargetManagerImplMonolithicImpl</name> +<source/> +<artifact>__C22D0B06-6CDA-4652-B1CE-586E0C23251F</artifact> +<artifact>__9CB3A43B-397F-4FA9-97AA-EBFC3A22BFEC</artifact> +<artifact>__0F176DA2-9953-482A-9268-7DA5E69A88FE</artifact> +</implementation> + +<implementation id="_7A233158-69BB-4382-BDE0-72432BF3D48E"> +<name>RT1H_Combined.RA_ComponentImplementations.AnalyzerImplementation.AnalyzerMonolithicImpl</name> +<source/> +<artifact>__315FC65C-0582-4E0E-BB8B-C23A1238C67F</artifact> +<artifact>__7AD332BC-90DC-4E7D-B026-8D5053F2552E</artifact> +<artifact>__84974D39-AE18-4C0A-B81A-B1EC349E93BB</artifact> +</implementation> + +<implementation id="_14E77757-BC3A-49F4-8D45-FB447FA7F626"> +<name>RT1H_Combined.RA_ComponentImplementations.SimpleAllocationAnalyzerImplementation.SimpleAllocationAnalyzerMonolithicImpl</name> +<source/> +<artifact>__6BDE830C-FFA8-4F2D-9733-34F02F35020F</artifact> +<artifact>__138A0FE1-D8AA-4C1E-BB5E-4EC9714F4CA8</artifact> +<artifact>__621F3412-C507-4945-836B-CF9B81BDCC99</artifact> +</implementation> + +<implementation id="_E4DC8736-E532-44DC-9C9B-789EBA3D6B27"> +<name>RT1H_Combined.RA_ComponentImplementations.Input_AdapterImplementation.Input_AdapterMonolithicImpl</name> +<source/> +<artifact>__DC22BCBB-DB20-4072-AA64-161AFD7A9C10</artifact> +<artifact>__3E362049-0CF5-4F01-905F-67CAD769FFD5</artifact> +<artifact>__3B466B60-F8C2-4E48-A6E4-3D3D7EED9F03</artifact> +</implementation> + +<implementation id="_73898E70-9FB1-4881-9313-A2DE181EE48E"> +<name>RT1H_Combined.RA_ComponentImplementations.Interactive_Input_AdapterImplementation.Interactive_Input_AdapterMonolithicImpl</name> +<source/> +<artifact>__AD4B52E0-103C-49E2-BE47-29CAE978676F</artifact> +<artifact>__E4AF24BF-5A39-46B1-8217-6343D7D53298</artifact> +<artifact>__76A0CEFE-E2F7-4BF7-BB91-F309FB5AD33C</artifact> +</implementation> + +<implementation id="_796D9731-1CD9-4855-83F2-025AECB90C93"> +<name>RT1H_Combined.RA_ComponentImplementations.Output_AdapterImplementation.Output_AdapterMonolithicImpl</name> +<source/> +<artifact>__864DB99C-C60B-4FDD-A47D-AFD5C1599892</artifact> +<artifact>__D6EB8E01-F794-4C43-AB14-A3AFB9767D01</artifact> +<artifact>__4C78C4F9-FEF4-45AA-84A4-FFB10255A1EC</artifact> +</implementation> + +<implementation id="_A22015F9-9BC9-4767-A861-FAFF737E074B"> +<name>RT1H_Combined.RA_ComponentImplementations.Output_ManagerImplementation.Output_ManagerMonolithicImpl</name> +<source/> +<artifact>__AB498B7F-A0E8-4F59-BF24-BBB9D125EED3</artifact> +<artifact>__1BB4CD4A-38A8-4BBA-9303-4A10F5B8BC57</artifact> +<artifact>__280E6118-F4C7-4DE4-A0A4-A50637282EAE</artifact> +</implementation> + +<implementation id="_219DB379-DB2E-44D2-8308-D91FC5A42A9D"> +<name>RT1H_Combined.RA_ComponentImplementations.DAnCE_Output_AdapterImplementation.DAnCE_Output_AdapterMonolithicImpl</name> +<source/> +<artifact>__A47095F9-2E08-485E-96B4-CC0829051DF3</artifact> +<artifact>__E54AE941-14CA-48FC-BAAA-1B93269EF79B</artifact> +<artifact>__ACA6BD67-D92A-4DBF-827A-7C0B15EA3F6D</artifact> +</implementation> + +<implementation id="_5A98D073-1392-4C85-AB88-1AD6E61BF34D"> +<name>RT1H_Combined.RA_ComponentImplementations.XML_Output_AdapterImplementation.XML_Output_AdapterMonolithicImpl</name> +<source/> +<artifact>__CF7C6C9B-C6E3-4356-B9F1-598FA0B4A5B7</artifact> +<artifact>__437B6234-9DD3-40E4-9AE0-0923EBAF4548</artifact> +<artifact>__E2F1EA75-127C-4579-B692-ADD1026C6F23</artifact> +</implementation> + +<implementation id="_571F6ECC-579F-4F69-88AB-EA1603B422E8"> +<name>RT1H_Combined.RA_ComponentImplementations.PlannerImplementation.PlannerMonolithicImpl</name> +<source/> +<artifact>__B28C1F32-0231-4F7F-8FE2-164321942B87</artifact> +<artifact>__2021EE2F-3480-4BF9-9A3A-D146A99D251D</artifact> +<artifact>__D952F988-841F-43BA-9650-86846B08DF5F</artifact> +</implementation> + +<implementation id="_38C5B64C-72FD-48FF-B095-260669E2A488"> +<name>RT1H_Combined.RA_ComponentImplementations.SimpleBinPackerImplementation.SimpleBinPackerMonolithicImpl</name> +<source/> +<artifact>__2B5FE9E6-AF4C-4BC1-92A2-58101B2ECCA8</artifact> +<artifact>__4D375D8F-5470-4236-8614-EF07D08020E3</artifact> +<artifact>__D6176B6C-58E4-43D4-BFC9-3DCF98249044</artifact> +</implementation> + +<implementation id="_FD120510-765E-4B02-803D-7DADF3F5E4E6"> +<name>RT1H_Combined.RA_ComponentImplementations.Planner_ManagerImplementation.Planner_ManagerMonolithicImpl</name> +<source/> +<artifact>__5B614077-C99E-428C-B8BE-252ADD7905B7</artifact> +<artifact>__0BEB188E-3967-4D91-A6A1-CDF08EF81718</artifact> +<artifact>__A65A1FA0-8F4D-4807-9AE9-90D344154D2C</artifact> +</implementation> + +<implementation id="_5D6641D2-640C-4F80-B055-10DC69C7A636"> +<name>RT1H_Combined.RA_ComponentImplementations.Plan_AnalyzerImplementation.Plan_AnalyzerMonolithicImpl</name> +<source/> +<artifact>__1CC443DF-7EE3-4130-8ACE-EE4181AC96CD</artifact> +<artifact>__57123764-8624-4D79-9C5B-7ADF929536E6</artifact> +<artifact>__CDC7061A-483C-447B-8151-E68250566E86</artifact> +</implementation> + +<instance id="_3FD684C5-47B0-4E8C-88D0-8AD9CEB11FEB"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.EnvDetector1</name> +<node>blade44</node> +<source/> +<implementation>_A8181747-270E-43FF-B723-50825AA8EA74</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Env_Detector.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_AC6DB008-DCCB-45D7-B52D-628B74B49AC9"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.EnvDetector2</name> +<node>blade44</node> +<source/> +<implementation>_A8181747-270E-43FF-B723-50825AA8EA74</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Env_Detector.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_7529501D-B22A-42F9-A75B-0E71DC97D3AA"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.EnvDetecto3</name> +<node>blade44</node> +<source/> +<implementation>_A8181747-270E-43FF-B723-50825AA8EA74</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Env_Detector.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_FEBD6AD3-6310-4E25-A0E5-957DED0B6509"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.EnvDetector4</name> +<node>blade44</node> +<source/> +<implementation>_A8181747-270E-43FF-B723-50825AA8EA74</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Env_Detector.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_2F3B1B72-DB17-47E7-BA21-1ABEF84032EC"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Effector3</name> +<node>blade43</node> +<source/> +<implementation>_8D45FC0E-C3DD-4671-926D-A08430B37D37</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Effectory_Secondary.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_EC0045E5-7501-4E2B-B755-D8CE22BF4816"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Effector2</name> +<node>blade43</node> +<source/> +<implementation>_8D45FC0E-C3DD-4671-926D-A08430B37D37</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Effectory_Secondary.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_57B08287-3528-4862-9110-ACACD713360B"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Effector4</name> +<node>blade43</node> +<source/> +<implementation>_8D45FC0E-C3DD-4671-926D-A08430B37D37</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Effectory_Secondary.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_AB189D2B-6D86-4020-88BD-74DBECC7F7B8"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Planner_Three</name> +<node>blade39</node> +<source/> +<implementation>_A7DAA16F-D455-4C63-92CE-05B98DD34B15</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Planner_Three.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_002D7B3A-A628-43E3-AD53-B1AB8636001E"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Planner_One</name> +<node>blade42</node> +<source/> +<implementation>_DA5C3C13-030E-4971-A0BF-8631563EFDF3</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Planner_One.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_015ACD88-117F-42C9-8D04-3FFAB9F6C98E"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Effector_Main</name> +<node>blade41</node> +<source/> +<implementation>_05FAFE3F-76B3-4C6E-A86B-0225B9E76909</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Effectory_Main.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_34C61830-1F54-494F-95DE-4003BCD428C5"> +<name>RT1H_Combined.ComponentImplementations.RT1H.RT1H.Config_Op</name> +<node>blade40</node> +<source/> +<implementation>_2D19FD96-440B-48D4-8D68-4E9B466B2BCC</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>Config_Op.ior</string> +</value> +</value> +</configProperty> +</instance> + +<instance id="_7AE0BE73-48F8-4717-A5FF-524D454C58DD"> +<name>RT1H_Combined.ComponentImplementations.RACE.RACE.Benchmark_Data_Collector_Ex</name> +<node>blade10</node> +<source/> +<implementation>_BA0C4535-191E-4BE0-9BF4-A054EB2C4139</implementation> +<configProperty> +<name>ComponentIOR</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>BDC_Ex.ior</string> +</value> +</value> +</configProperty> +<configProperty> +<name>server_name</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>blade10.isislab.vanderbilt.edu</string> +</value> +</value> +</configProperty> +</instance> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_002D7B3A-A628-43E3-AD53-B1AB8636001E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_34C61830-1F54-494F-95DE-4003BCD428C5</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_57B08287-3528-4862-9110-ACACD713360B</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_2F3B1B72-DB17-47E7-BA21-1ABEF84032EC</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_EC0045E5-7501-4E2B-B755-D8CE22BF4816</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_FEBD6AD3-6310-4E25-A0E5-957DED0B6509</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_7529501D-B22A-42F9-A75B-0E71DC97D3AA</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_AC6DB008-DCCB-45D7-B52D-628B74B49AC9</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>cuts_testing_service_testing_service</name> +<internalEndpoint> +<portName>cuts_testing_service</portName> +<kind>SimplexReceptacle</kind> +<instance>_3FD684C5-47B0-4E8C-88D0-8AD9CEB11FEB</instance> +</internalEndpoint> +<internalEndpoint> +<portName>testing_service</portName> +<kind>Facet</kind> +<instance>_7AE0BE73-48F8-4717-A5FF-524D454C58DD</instance> +</internalEndpoint> +</connection> + +<connection> +<name>status_status</name> +<internalEndpoint> +<portName>status</portName> +<kind>EventPublisher</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>status</portName> +<kind>EventConsumer</kind> +<instance>_34C61830-1F54-494F-95DE-4003BCD428C5</instance> +</internalEndpoint> +</connection> + +<connection> +<name>status_status</name> +<internalEndpoint> +<portName>status</portName> +<kind>EventPublisher</kind> +<instance>_EC0045E5-7501-4E2B-B755-D8CE22BF4816</instance> +</internalEndpoint> +<internalEndpoint> +<portName>status</portName> +<kind>EventConsumer</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +</connection> + +<connection> +<name>status_status</name> +<internalEndpoint> +<portName>status</portName> +<kind>EventPublisher</kind> +<instance>_57B08287-3528-4862-9110-ACACD713360B</instance> +</internalEndpoint> +<internalEndpoint> +<portName>status</portName> +<kind>EventConsumer</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +</connection> + +<connection> +<name>status_status</name> +<internalEndpoint> +<portName>status</portName> +<kind>EventPublisher</kind> +<instance>_2F3B1B72-DB17-47E7-BA21-1ABEF84032EC</instance> +</internalEndpoint> +<internalEndpoint> +<portName>status</portName> +<kind>EventConsumer</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_34C61830-1F54-494F-95DE-4003BCD428C5</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_57B08287-3528-4862-9110-ACACD713360B</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_EC0045E5-7501-4E2B-B755-D8CE22BF4816</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_015ACD88-117F-42C9-8D04-3FFAB9F6C98E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_2F3B1B72-DB17-47E7-BA21-1ABEF84032EC</instance> +</internalEndpoint> +</connection> + +<connection> +<name>assessment_assessment</name> +<internalEndpoint> +<portName>assessment</portName> +<kind>EventPublisher</kind> +<instance>_002D7B3A-A628-43E3-AD53-B1AB8636001E</instance> +</internalEndpoint> +<internalEndpoint> +<portName>assessment</portName> +<kind>EventConsumer</kind> +<instance>_34C61830-1F54-494F-95DE-4003BCD428C5</instance> +</internalEndpoint> +</connection> + +<connection> +<name>situation_situation</name> +<internalEndpoint> +<portName>situation</portName> +<kind>EventPublisher</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>situation</portName> +<kind>EventConsumer</kind> +<instance>_002D7B3A-A628-43E3-AD53-B1AB8636001E</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_FEBD6AD3-6310-4E25-A0E5-957DED0B6509</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_3FD684C5-47B0-4E8C-88D0-8AD9CEB11FEB</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_7529501D-B22A-42F9-A75B-0E71DC97D3AA</instance> +</internalEndpoint> +</connection> + +<connection> +<name>command_command</name> +<internalEndpoint> +<portName>command</portName> +<kind>EventPublisher</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +<internalEndpoint> +<portName>command</portName> +<kind>EventConsumer</kind> +<instance>_AC6DB008-DCCB-45D7-B52D-628B74B49AC9</instance> +</internalEndpoint> +</connection> + +<connection> +<name>track_track</name> +<internalEndpoint> +<portName>track</portName> +<kind>EventPublisher</kind> +<instance>_FEBD6AD3-6310-4E25-A0E5-957DED0B6509</instance> +</internalEndpoint> +<internalEndpoint> +<portName>track</portName> +<kind>EventConsumer</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +</connection> + +<connection> +<name>track_track</name> +<internalEndpoint> +<portName>track</portName> +<kind>EventPublisher</kind> +<instance>_7529501D-B22A-42F9-A75B-0E71DC97D3AA</instance> +</internalEndpoint> +<internalEndpoint> +<portName>track</portName> +<kind>EventConsumer</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +</connection> + +<connection> +<name>track_track</name> +<internalEndpoint> +<portName>track</portName> +<kind>EventPublisher</kind> +<instance>_AC6DB008-DCCB-45D7-B52D-628B74B49AC9</instance> +</internalEndpoint> +<internalEndpoint> +<portName>track</portName> +<kind>EventConsumer</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +</connection> + +<connection> +<name>track_track</name> +<internalEndpoint> +<portName>track</portName> +<kind>EventPublisher</kind> +<instance>_3FD684C5-47B0-4E8C-88D0-8AD9CEB11FEB</instance> +</internalEndpoint> +<internalEndpoint> +<portName>track</portName> +<kind>EventConsumer</kind> +<instance>_AB189D2B-6D86-4020-88BD-74DBECC7F7B8</instance> +</internalEndpoint> +</connection> + +<artifact id="_358C7270-F290-465E-B0E4-5FD390980B44"> +<name>RT1H_Combined.ImplementationArtifacts.Config_Op_Artifacts.Config_Op_stub</name> +<source/> +<node/> +<location>Config_Op_CoWorkEr_stub</location> +</artifact> + +<artifact id="_304555B7-9E3A-4DC5-9535-FA774FAA5070"> +<name>RT1H_Combined.ImplementationArtifacts.Config_Op_Artifacts.Config_Op_svnt</name> +<source/> +<node/> +<location>Config_Op_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Config_Op_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_C4A896EE-C035-45F1-8F14-2320383B1991"> +<name>RT1H_Combined.ImplementationArtifacts.Config_Op_Artifacts.Config_Op_exec</name> +<source/> +<node/> +<location>Config_Op_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Config_Op_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_208D7378-B123-4F15-B376-CAA58B5CB1E0"> +<name>RT1H_Combined.ImplementationArtifacts.Env_Dectector_Artifacts.Env_Detector_exec</name> +<source/> +<node/> +<location>Env_Detector_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Env_Detector_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_5D7CAC69-4E3B-45F9-BACD-B12D3A86AC7A"> +<name>RT1H_Combined.ImplementationArtifacts.Env_Dectector_Artifacts.Env_Dectector_stub</name> +<source/> +<node/> +<location>Env_Detector_CoWorkEr_stub</location> +</artifact> + +<artifact id="_1A46D81D-989F-406B-9E87-A57D63ADDF43"> +<name>RT1H_Combined.ImplementationArtifacts.Env_Dectector_Artifacts.Env_Detector_svnt</name> +<source/> +<node/> +<location>Env_Detector_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Env_Detector_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_1DAD54BC-F7B5-41E3-9FFC-3E0AE255D989"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_One_Artifacts.Planner_One_stub</name> +<source/> +<node/> +<location>Planner_One_CoWorkEr_stub</location> +</artifact> + +<artifact id="_6C7AA3D5-7A09-4DEF-8D49-60A4E1DE173D"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_One_Artifacts.Planner_One_svnt</name> +<source/> +<node/> +<location>Planner_One_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Planner_One_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_66E9CA12-F886-4760-A9B3-DB1E3F27B920"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_One_Artifacts.Planner_One_exec</name> +<source/> +<node/> +<location>Planner_One_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Planner_One_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__C7A0B01C-6C13-4EAA-8527-155035BF1A00"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Secondary_Artifacts.Effector_Secondary_svnt</name> +<source/> +<node/> +<location>Effector_Secondary_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Effector_Secondary_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__31B2C21F-86C7-4306-AA10-33687687B5D0"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Secondary_Artifacts.Effector_Secondary_stub</name> +<source/> +<node/> +<location>Effector_Secondary_CoWorkEr_stub</location> +</artifact> + +<artifact id="__2F43BA6B-2749-4744-B9C4-18F4AEAC16C9"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Secondary_Artifacts.Effector_Secondary_exec</name> +<source/> +<node/> +<location>Effector_Secondary_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Effector_Secondary_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_840618C0-5513-4389-97A4-C53EB87B29A0"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Main_Artifacts.Effector_Main_svnt</name> +<source/> +<node/> +<location>Effector_Main_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Effector_Main_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_E1AF706E-0B37-480B-8B26-E844FE2E9C3E"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Main_Artifacts.Effector_Main_exec</name> +<source/> +<node/> +<location>Effector_Main_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Effector_Main_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_D40E03AB-CE43-49D6-A7FF-C1231FE98898"> +<name>RT1H_Combined.ImplementationArtifacts.Effector_Main_Artifacts.Effector_Main_stub</name> +<source/> +<node/> +<location>Effector_Main_CoWorkEr_stub</location> +</artifact> + +<artifact id="_556249CC-E874-4BC6-9411-1B33EB2B895B"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_Three_Artifacts.Planner_Three_svnt</name> +<source/> +<node/> +<location>Planner_Three_CoWorkEr_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Planner_Three_Factory_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_458C6E27-87CA-4F77-8036-C9F612511B6F"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_Three_Artifacts.Planner_Three_exec</name> +<source/> +<node/> +<location>Planner_Three_CoWorkEr_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_TSCE_Planner_Three_Factory_CoWorkEr_Factory_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_2748D2D1-AAE5-4934-A43F-1639241C4351"> +<name>RT1H_Combined.ImplementationArtifacts.Planner_Three_Artifacts.Planner_Three_stub</name> +<source/> +<node/> +<location>Planner_Three_CoWorkEr_stub</location> +</artifact> + +<artifact id="__55C2DCD4-30B1-46A3-86B2-229896D74D0D"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Artifacts.BDC_stub</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_stub</location> +</artifact> + +<artifact id="__BF5CDECF-AF12-4876-9B6C-211B7BF0B22F"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Artifacts.BDC_svnt</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CUTS_Benchmark_Data_Collector_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_0E615519-6CC8-4EA5-B67A-65FF73586F04"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Artifacts.BDC_exec</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CUTS_Benchmark_Data_Collector_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_0B8A6C29-8962-4DA6-99F4-25FEECD77E97"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Ex_Artifacts.BDC_Ex_exec</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_Ex_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CUTS_Benchmark_Data_Collector_Ex_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="_5CE1793F-38DD-427D-A21E-E6D870E769E4"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Ex_Artifacts.BDC_Ex_stub</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_Ex_stub</location> +</artifact> + +<artifact id="_2DBFA82B-1D1F-48C6-9BDC-014E789E6A77"> +<name>RT1H_Combined.CUTS_ImplementationArtifacts.BDC_Ex_Artifacts.BDC_Ex_svnt</name> +<source/> +<node/> +<location>Benchmark_Data_Collector_Ex_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CUTS_Benchmark_Data_Collector_Ex_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__032AE7B6-3ABD-478A-B0D7-56BC4AAEF0B7"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.ControllerArtifacts.Controller_stub</name> +<source/> +<node/> +<location>Controller_stub</location> +</artifact> + +<artifact id="__00B105AB-50F5-49B7-A822-9B267F2D8896"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.ControllerArtifacts.Controller_svnt</name> +<source/> +<node/> +<location>Controller_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Controller_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__BF4AE6A2-BE32-4B8E-9919-C812EC18BF00"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.ControllerArtifacts.Controller_exec</name> +<source/> +<node/> +<location>Controller_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Controller_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__C22D0B06-6CDA-4652-B1CE-586E0C23251F"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.TargetManagerImplArtifacts.TargetManager_stub</name> +<source/> +<node/> +<location>TargetManager_stub</location> +</artifact> + +<artifact id="__9CB3A43B-397F-4FA9-97AA-EBFC3A22BFEC"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.TargetManagerImplArtifacts.TargetManager_svnt</name> +<source/> +<node/> +<location>TargetManager_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_TargetManagerHome_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__0F176DA2-9953-482A-9268-7DA5E69A88FE"> +<name>RT1H_Combined.RACE_ImplementationArtifacts.TargetManagerImplArtifacts.TargetManager_exec</name> +<source/> +<node/> +<location>TargetManager_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_TargetManagerHome_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__315FC65C-0582-4E0E-BB8B-C23A1238C67F"> +<name>RT1H_Combined.RA_ImplementationArtifacts.AnalyzerArtifacts.Analyzer_stub</name> +<source/> +<node/> +<location>Analyzer_stub</location> +</artifact> + +<artifact id="__7AD332BC-90DC-4E7D-B026-8D5053F2552E"> +<name>RT1H_Combined.RA_ImplementationArtifacts.AnalyzerArtifacts.Analyzer_svnt</name> +<source/> +<node/> +<location>Analyzer_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Analyzer_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__84974D39-AE18-4C0A-B81A-B1EC349E93BB"> +<name>RT1H_Combined.RA_ImplementationArtifacts.AnalyzerArtifacts.Analyzer_exec</name> +<source/> +<node/> +<location>Analyzer_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Analyzer_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__6BDE830C-FFA8-4F2D-9733-34F02F35020F"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleAllocationAnalyzerArtifacts.SimpleAllocationAnalyzer_stub</name> +<source/> +<node/> +<location>SimpleAllocationAnalyzer_stub</location> +</artifact> + +<artifact id="__138A0FE1-D8AA-4C1E-BB5E-4EC9714F4CA8"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleAllocationAnalyzerArtifacts.SimpleAllocationAnalyzer_svnt</name> +<source/> +<node/> +<location>SimpleAllocationAnalyzer_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_SimpleAllocationAnalyzer_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__621F3412-C507-4945-836B-CF9B81BDCC99"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleAllocationAnalyzerArtifacts.SimpleAllocationAnalyzer_exec</name> +<source/> +<node/> +<location>SimpleAllocationAnalyzer_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_SimpleAllocationAnalyzer_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__DC22BCBB-DB20-4072-AA64-161AFD7A9C10"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Input_AdapterArtifacts.Input_Adapter_stub</name> +<source/> +<node/> +<location>Input_Adapter_stub</location> +</artifact> + +<artifact id="__3E362049-0CF5-4F01-905F-67CAD769FFD5"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Input_AdapterArtifacts.Input_Adapter_svnt</name> +<source/> +<node/> +<location>Input_Adapter_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Input_Adapter_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__3B466B60-F8C2-4E48-A6E4-3D3D7EED9F03"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Input_AdapterArtifacts.Input_Adapter_exec</name> +<source/> +<node/> +<location>Input_Adapter_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Input_Adapter_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__AD4B52E0-103C-49E2-BE47-29CAE978676F"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Interactive_Input_AdapterArtifacts.Interactive_Input_Adapter_stub</name> +<source/> +<node/> +<location>Interactive_Input_Adapter_stub</location> +</artifact> + +<artifact id="__E4AF24BF-5A39-46B1-8217-6343D7D53298"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Interactive_Input_AdapterArtifacts.Interactive_Input_Adapter_svnt</name> +<source/> +<node/> +<location>Interactive_Input_Adapter_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Interactive_Input_Adapter_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__76A0CEFE-E2F7-4BF7-BB91-F309FB5AD33C"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Interactive_Input_AdapterArtifacts.Interactive_Input_Adapter_exec</name> +<source/> +<node/> +<location>Interactive_Input_Adapter_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Interactive_Input_Adapter_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__864DB99C-C60B-4FDD-A47D-AFD5C1599892"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_AdapterArtifacts.Output_Adapter_stub</name> +<source/> +<node/> +<location>Output_Adapter_stub</location> +</artifact> + +<artifact id="__D6EB8E01-F794-4C43-AB14-A3AFB9767D01"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_AdapterArtifacts.Output_Adapter_svnt</name> +<source/> +<node/> +<location>Output_Adapter_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Output_Adapter_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__4C78C4F9-FEF4-45AA-84A4-FFB10255A1EC"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_AdapterArtifacts.Output_Adapter_exec</name> +<source/> +<node/> +<location>Output_Adapter_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Output_Adapter_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__AB498B7F-A0E8-4F59-BF24-BBB9D125EED3"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_ManagerArtifacts.Output_Manager_stub</name> +<source/> +<node/> +<location>Output_Manager_stub</location> +</artifact> + +<artifact id="__1BB4CD4A-38A8-4BBA-9303-4A10F5B8BC57"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_ManagerArtifacts.Output_Manager_svnt</name> +<source/> +<node/> +<location>Output_Manager_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Output_Manager_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__280E6118-F4C7-4DE4-A0A4-A50637282EAE"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Output_ManagerArtifacts.Output_Manager_exec</name> +<source/> +<node/> +<location>Output_Manager_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Output_Manager_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__A47095F9-2E08-485E-96B4-CC0829051DF3"> +<name>RT1H_Combined.RA_ImplementationArtifacts.DAnCE_Output_AdapterArtifacts.DAnCE_Output_Adapter_stub</name> +<source/> +<node/> +<location>DAnCE_Output_Adapter_stub</location> +</artifact> + +<artifact id="__E54AE941-14CA-48FC-BAAA-1B93269EF79B"> +<name>RT1H_Combined.RA_ImplementationArtifacts.DAnCE_Output_AdapterArtifacts.DAnCE_Output_Adapter_svnt</name> +<source/> +<node/> +<location>DAnCE_Output_Adapter_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_DAnCE_Output_Adapter_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__ACA6BD67-D92A-4DBF-827A-7C0B15EA3F6D"> +<name>RT1H_Combined.RA_ImplementationArtifacts.DAnCE_Output_AdapterArtifacts.DAnCE_Output_Adapter_exec</name> +<source/> +<node/> +<location>DAnCE_Output_Adapter_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_DAnCE_Output_Adapter_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__CF7C6C9B-C6E3-4356-B9F1-598FA0B4A5B7"> +<name>RT1H_Combined.RA_ImplementationArtifacts.XML_Output_AdapterArtifacts.XML_Output_Adapter_stub</name> +<source/> +<node/> +<location>XML_Output_Adapter_stub</location> +</artifact> + +<artifact id="__437B6234-9DD3-40E4-9AE0-0923EBAF4548"> +<name>RT1H_Combined.RA_ImplementationArtifacts.XML_Output_AdapterArtifacts.XML_Output_Adapter_svnt</name> +<source/> +<node/> +<location>XML_Output_Adapter_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_XML_Output_Adapter_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__E2F1EA75-127C-4579-B692-ADD1026C6F23"> +<name>RT1H_Combined.RA_ImplementationArtifacts.XML_Output_AdapterArtifacts.XML_Output_Adapter_exec</name> +<source/> +<node/> +<location>XML_Output_Adapter_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_XML_Output_Adapter_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__B28C1F32-0231-4F7F-8FE2-164321942B87"> +<name>RT1H_Combined.RA_ImplementationArtifacts.PlannerArtifacts.Planner_stub</name> +<source/> +<node/> +<location>Planner_stub</location> +</artifact> + +<artifact id="__2021EE2F-3480-4BF9-9A3A-D146A99D251D"> +<name>RT1H_Combined.RA_ImplementationArtifacts.PlannerArtifacts.Planner_svnt</name> +<source/> +<node/> +<location>Planner_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Planner_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__D952F988-841F-43BA-9650-86846B08DF5F"> +<name>RT1H_Combined.RA_ImplementationArtifacts.PlannerArtifacts.Planner_exec</name> +<source/> +<node/> +<location>Planner_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Planner_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__2B5FE9E6-AF4C-4BC1-92A2-58101B2ECCA8"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleBinPackerArtifacts.SimpleBinPacker_stub</name> +<source/> +<node/> +<location>SimpleBinPacker_stub</location> +</artifact> + +<artifact id="__4D375D8F-5470-4236-8614-EF07D08020E3"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleBinPackerArtifacts.SimpleBinPacker_svnt</name> +<source/> +<node/> +<location>SimpleBinPacker_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_SimpleBinPacker_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__D6176B6C-58E4-43D4-BFC9-3DCF98249044"> +<name>RT1H_Combined.RA_ImplementationArtifacts.SimpleBinPackerArtifacts.SimpleBinPacker_exec</name> +<source/> +<node/> +<location>SimpleBinPacker_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_SimpleBinPacker_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__5B614077-C99E-428C-B8BE-252ADD7905B7"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Planner_ManagerArtifacts.Planner_Manager_stub</name> +<source/> +<node/> +<location>Planner_Manager_stub</location> +</artifact> + +<artifact id="__0BEB188E-3967-4D91-A6A1-CDF08EF81718"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Planner_ManagerArtifacts.Planner_Manager_svnt</name> +<source/> +<node/> +<location>Planner_Manager_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Planner_Manager_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__A65A1FA0-8F4D-4807-9AE9-90D344154D2C"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Planner_ManagerArtifacts.Planner_Manager_exec</name> +<source/> +<node/> +<location>Planner_Manager_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Planner_Manager_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__1CC443DF-7EE3-4130-8ACE-EE4181AC96CD"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Plan_AnalyzerArtifacts.Plan_Analyzer_stub</name> +<source/> +<node/> +<location>Plan_Analyzer_stub</location> +</artifact> + +<artifact id="__57123764-8624-4D79-9C5B-7ADF929536E6"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Plan_AnalyzerArtifacts.Plan_Analyzer_svnt</name> +<source/> +<node/> +<location>Plan_Analyzer_svnt</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Plan_Analyzer_Home_Servant</string> +</value> +</value> +</execParameter> +</artifact> + +<artifact id="__CDC7061A-483C-447B-8151-E68250566E86"> +<name>RT1H_Combined.RA_ImplementationArtifacts.Plan_AnalyzerArtifacts.Plan_Analyzer_exec</name> +<source/> +<node/> +<location>Plan_Analyzer_exec</location> +<execParameter> +<name>entryPoint</name> +<value> +<type> +<kind>tk_string</kind> +</type> +<value> +<string>create_CIAO_RACE_Plan_Analyzer_Home_Impl</string> +</value> +</value> +</execParameter> +</artifact> + </Deployment:deploymentPlan> diff --git a/TAO/CIAO/tools/Config_Handlers/test.cpp b/TAO/CIAO/tools/Config_Handlers/test.cpp index 96c19b6688d..98ea43b6326 100644 --- a/TAO/CIAO/tools/Config_Handlers/test.cpp +++ b/TAO/CIAO/tools/Config_Handlers/test.cpp @@ -33,10 +33,10 @@ parse_args (int argc, char *argv[]) "-i <input file> " "\n", argv [0]), - -1); + -1); } // Indicates sucessful parsing of the command-line - return 0; + return 0; } // Check to see if SRD was imported. @@ -47,7 +47,7 @@ using namespace CIAO::Config_Handlers; int main (int argc, char *argv[]) { - + if (parse_args (argc, argv) != 0) return 1; @@ -56,33 +56,33 @@ int main (int argc, char *argv[]) //Create an XML_Helper for all the file work XML_Helper the_helper; - + if (xercesc::DOMDocument *doc = the_helper.create_dom (input_file)) - { + { //Read in the XSC type structure from the DOMDocument DeploymentPlan dp = deploymentPlan (doc); //Convert the XSC to an IDL datatype DP_Handler dp_handler (dp); - + std::cout << "Instance document import succeeded. Dumping contents to file\n"; //Retrieve the newly created IDL structure Deployment::DeploymentPlan *idl = dp_handler.plan(); - + // Check for server resources, if present.... check_srd (*idl); - + //Convert it back to an XSC structure with a new DP_Handler DP_Handler reverse_handler(*idl); - + //Create a new DOMDocument for writing the XSC into XML xercesc::DOMDocument* the_xsc (the_helper.create_dom(0)); //Serialize the XSC into a DOMDocument deploymentPlan(*reverse_handler.xsc(), the_xsc); - + //Write it to test.xml the_helper.write_DOM(the_xsc, "test.xml"); @@ -90,7 +90,7 @@ int main (int argc, char *argv[]) //Cleanliness is next to Godliness delete doc; } - + std::cout << "Test completed!\n"; return 0; @@ -107,7 +107,7 @@ void check_srd (const Deployment::DeploymentPlan &dp) "CIAOServerResources") == 0) { CIAO::DAnCE::ServerResource *test; - + if (dp.infoProperty[i].value >>= test) std::cerr << "ServerResources found and successfully extracted." << std::endl; else diff --git a/TAO/CIAO/tools/Config_Handlers/toplevel.cpp b/TAO/CIAO/tools/Config_Handlers/toplevel.cpp index dd3e4d241a8..25c9a04929d 100644 --- a/TAO/CIAO/tools/Config_Handlers/toplevel.cpp +++ b/TAO/CIAO/tools/Config_Handlers/toplevel.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte <wotte@dre.vanderbilt.edu> */ - + #include "toplevel.hpp" namespace CIAO @@ -16,75 +16,49 @@ namespace CIAO namespace Config_Handlers { // TopLevelPackageDescription - // + // TopLevelPackageDescription:: - TopLevelPackageDescription () - : - ::XSCRT::Type (), - regulator__ () + TopLevelPackageDescription (::CIAO::Config_Handlers::PackageConfiguration const& package__) + : + ::XSCRT::Type (), + package_ (new ::CIAO::Config_Handlers::PackageConfiguration (package__)), + regulator__ () { + package_->container (this); } TopLevelPackageDescription:: TopLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const& s) - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + package_ (new ::CIAO::Config_Handlers::PackageConfiguration (*s.package_)), + regulator__ () { - { - for (package_const_iterator i (s.package_.begin ());i != s.package_.end ();++i) add_package (*i); - } + package_->container (this); } ::CIAO::Config_Handlers::TopLevelPackageDescription& TopLevelPackageDescription:: operator= (::CIAO::Config_Handlers::TopLevelPackageDescription const& s) { - package_.clear (); - { - for (package_const_iterator i (s.package_.begin ());i != s.package_.end ();++i) add_package (*i); - } + package (s.package ()); return *this; } // TopLevelPackageDescription - // - TopLevelPackageDescription::package_iterator TopLevelPackageDescription:: - begin_package () - { - return package_.begin (); - } - - TopLevelPackageDescription::package_iterator TopLevelPackageDescription:: - end_package () - { - return package_.end (); - } - - TopLevelPackageDescription::package_const_iterator TopLevelPackageDescription:: - begin_package () const - { - return package_.begin (); - } - - TopLevelPackageDescription::package_const_iterator TopLevelPackageDescription:: - end_package () const + // + ::CIAO::Config_Handlers::PackageConfiguration const& TopLevelPackageDescription:: + package () const { - return package_.end (); + return *package_; } void TopLevelPackageDescription:: - add_package (::CIAO::Config_Handlers::PackageConfiguration const& e) + package (::CIAO::Config_Handlers::PackageConfiguration const& e) { - package_.push_back (e); - } - - size_t TopLevelPackageDescription:: - count_package(void) const - { - return package_.size (); + *package_ = e; } } } @@ -98,26 +72,26 @@ namespace CIAO TopLevelPackageDescription:: TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) - { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "package") - { - ::CIAO::Config_Handlers::PackageConfiguration t (e); - add_package (t); - } - - else { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "package") + { + package_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); + package_->container (this); + } + + else + { + } } - } } } } @@ -195,71 +169,13 @@ namespace CIAO void TopLevelPackageDescription:: package (Type& o) { - // VC6 anathema strikes again - // - TopLevelPackageDescription::Type::package_iterator b (o.begin_package()), e (o.end_package()); - - if (b != e) - { - package_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) package_next (o); - } - - package_post (o); - } + dispatch (o.package ()); } void TopLevelPackageDescription:: package (Type const& o) { - // VC6 anathema strikes again - // - TopLevelPackageDescription::Type::package_const_iterator b (o.begin_package()), e (o.end_package()); - - if (b != e) - { - package_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) package_next (o); - } - - package_post (o); - } - } - - void TopLevelPackageDescription:: - package_pre (Type&) - { - } - - void TopLevelPackageDescription:: - package_pre (Type const&) - { - } - - void TopLevelPackageDescription:: - package_next (Type&) - { - } - - void TopLevelPackageDescription:: - package_next (Type const&) - { - } - - void TopLevelPackageDescription:: - package_post (Type&) - { - } - - void TopLevelPackageDescription:: - package_post (Type const&) - { + dispatch (o.package ()); } void TopLevelPackageDescription:: @@ -287,7 +203,7 @@ namespace CIAO TopLevelPackageDescription:: TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } @@ -303,21 +219,10 @@ namespace CIAO } void TopLevelPackageDescription:: - package_pre (Type const&) + package (Type const& o) { push_ (::XSCRT::XML::Element< ACE_TCHAR > ("package", top_ ())); - } - - void TopLevelPackageDescription:: - package_next (Type const& o) - { - package_post (o); - package_pre (o); - } - - void TopLevelPackageDescription:: - package_post (Type const&) - { + Traversal::TopLevelPackageDescription::package (o); pop_ (); } } diff --git a/TAO/CIAO/tools/Config_Handlers/toplevel.hpp b/TAO/CIAO/tools/Config_Handlers/toplevel.hpp index 559700357f6..cfd85786dfd 100644 --- a/TAO/CIAO/tools/Config_Handlers/toplevel.hpp +++ b/TAO/CIAO/tools/Config_Handlers/toplevel.hpp @@ -1,18 +1,18 @@ /* $Id$ - * This code was generated by the XML Schema Compiler. - * - * Changes made to this code will most likely be overwritten - * when the handlers are recompiled. - * - * If you find errors or feel that there are bugfixes to be made, - * please contact the current XSC maintainer: - * Will Otte <wotte@dre.vanderbilt.edu> - */ +* This code was generated by the XML Schema Compiler. +* +* Changes made to this code will most likely be overwritten +* when the handlers are recompiled. +* +* If you find errors or feel that there are bugfixes to be made, +* please contact the current XSC maintainer: +* Will Otte <wotte@dre.vanderbilt.edu> +*/ // Fixes the VC6 warning 4786. #include "vc6-4786.h" - + // Fix for Borland compilers, which seem to have a broken // <string> include. #ifdef __BORLANDC__ @@ -27,10 +27,10 @@ // namespace CIAO { - namespace Config_Handlers - { - class TopLevelPackageDescription; - } +namespace Config_Handlers +{ +class TopLevelPackageDescription; +} } #include <memory> @@ -41,176 +41,130 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export TopLevelPackageDescription : public ::XSCRT::Type - { - //@@ VC6 anathema - typedef ::XSCRT::Type Base__; +namespace Config_Handlers +{ +class XSC_XML_Handlers_Export TopLevelPackageDescription : public ::XSCRT::Type +{ +//@@ VC6 anathema +typedef ::XSCRT::Type Base__; - // package - // - public: - typedef ::std::list< ::CIAO::Config_Handlers::PackageConfiguration >::iterator package_iterator; - typedef ::std::list< ::CIAO::Config_Handlers::PackageConfiguration >::const_iterator package_const_iterator; - package_iterator begin_package (); - package_iterator end_package (); - package_const_iterator begin_package () const; - package_const_iterator end_package () const; - void add_package (::CIAO::Config_Handlers::PackageConfiguration const& ); - size_t count_package (void) const; +// package +// +public: +::CIAO::Config_Handlers::PackageConfiguration const& package () const; +void package (::CIAO::Config_Handlers::PackageConfiguration const& ); - protected: - ::std::list< ::CIAO::Config_Handlers::PackageConfiguration > package_; +protected: +::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > package_; - public: - TopLevelPackageDescription (); +public: +TopLevelPackageDescription (::CIAO::Config_Handlers::PackageConfiguration const& package__); - TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); - TopLevelPackageDescription (TopLevelPackageDescription const& s); +TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); +TopLevelPackageDescription (TopLevelPackageDescription const& s); - TopLevelPackageDescription& - operator= (TopLevelPackageDescription const& s); +TopLevelPackageDescription& +operator= (TopLevelPackageDescription const& s); - private: - char regulator__; - }; - } +private: +char regulator__; +}; +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #include "XMLSchema/Traversal.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Traversal - { - struct XSC_XML_Handlers_Export TopLevelPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TopLevelPackageDescription > - { - virtual void - traverse (Type&); - - virtual void - traverse (Type const&); - - virtual void - pre (Type&); - - virtual void - pre (Type const&); - - virtual void - package (Type&); - - virtual void - package (Type const&); - - virtual void - package_pre (Type&); +namespace Config_Handlers +{ +namespace Traversal +{ +struct XSC_XML_Handlers_Export TopLevelPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TopLevelPackageDescription > +{ +virtual void +traverse (Type&); - virtual void - package_pre (Type const&); +virtual void +traverse (Type const&); - virtual void - package_next (Type&); +virtual void +pre (Type&); - virtual void - package_next (Type const&); +virtual void +pre (Type const&); - virtual void - package_post (Type&); +virtual void +package (Type&); - virtual void - package_post (Type const&); +virtual void +package (Type const&); - virtual void - post (Type&); +virtual void +post (Type&); - virtual void - post (Type const&); - }; - } - } +virtual void +post (Type const&); +}; +} +} } #include "XMLSchema/Writer.hpp" namespace CIAO { - namespace Config_Handlers - { - namespace Writer - { - struct TopLevelPackageDescription : Traversal::TopLevelPackageDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::TopLevelPackageDescription Type; - TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - - virtual void - traverse (Type &o) - { - - this->traverse (const_cast <Type const &> (o)); - } - - - virtual void - traverse (Type const&); - - virtual void - package_pre (Type &o) - { - - this->package_pre (const_cast <Type const &> (o)); - } - - - virtual void - package_pre (Type const&); +namespace Config_Handlers +{ +namespace Writer +{ +struct TopLevelPackageDescription : Traversal::TopLevelPackageDescription, +virtual ::XSCRT::Writer< ACE_TCHAR > +{ +typedef ::CIAO::Config_Handlers::TopLevelPackageDescription Type; +TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - package_next (Type &o) - { +virtual void +traverse (Type &o) +{ - this->package_next (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - package_next (Type const&); +virtual void +traverse (Type const&); - virtual void - package_post (Type &o) - { +virtual void +package (Type &o) +{ - this->package_post (const_cast <Type const &> (o)); - } +this->package (const_cast <Type const &> (o)); +} - virtual void - package_post (Type const&); +virtual void +package (Type const&); - protected: - TopLevelPackageDescription (); - }; - } - } +protected: +TopLevelPackageDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // TOPLEVEL_HPP diff --git a/TAO/CIAO/tools/Config_Handlers/vc6-4786.h b/TAO/CIAO/tools/Config_Handlers/vc6-4786.h index ab8457de1cd..1696664212f 100644 --- a/TAO/CIAO/tools/Config_Handlers/vc6-4786.h +++ b/TAO/CIAO/tools/Config_Handlers/vc6-4786.h @@ -1,10 +1,10 @@ /** - * @file vc6-4786.h - * @author Will Otte <wotte@dre.vanderbilt.edu - * $Id$ - * Silences that nefarious 4786 warning in a bit cleaner way - * than sprinkling the same preprocessor directives all over the code. - */ +* @file vc6-4786.h +* @author Will Otte <wotte@dre.vanderbilt.edu +* $Id$ +* Silences that nefarious 4786 warning in a bit cleaner way +* than sprinkling the same preprocessor directives all over the code. +*/ #ifndef VC6_4786_H_ # define VC6_4786_H_ |