it_bus/policy_xsdTypes.h

00001 /* Generated by WSDL CPP Compiler. Please do not edit this file. policy_xsdTypes.h Version : 4.2 */
00002 #ifndef _policy_xsdTypes_OUTPUT_H_
00003 #define _policy_xsdTypes_OUTPUT_H_
00004 
00005 #if !defined(IT_AFC_API)
00006 #if defined(IT_AFC_API_EXPORT)
00007 #define IT_AFC_API    IT_DECLSPEC_EXPORT
00008 #else
00009 #define IT_AFC_API    IT_DECLSPEC_IMPORT
00010 #endif
00011 #endif
00012 
00013 
00014 #include <it_bus/all_complex_type.h>
00015 #include <it_bus/any_holder.h>
00016 #include <it_bus/any.h>
00017 #include <it_bus/any_simple_type.h>
00018 #include <it_bus/any_simple_type_reader.h>
00019 #include <it_bus/any_simple_type_writer.h>
00020 #include <it_bus/array_t.h>
00021 #include <it_bus/choice_complex_type.h>
00022 #include <it_bus/complex_content_complex_type.h>
00023 #include <it_bus/complex_type_reader.h>
00024 #include <it_bus/complex_type_writer.h>
00025 #include <it_bus/element_list_t.h>
00026 #include <it_bus/nillable_value.h>
00027 #include <it_bus/nillable_ptr.h>
00028 #include <it_bus/nillable_types.h>
00029 #include <it_bus/qname.h>
00030 #include <it_bus/sequence_complex_type.h>
00031 #include <it_bus/complex_type_with_substitution.h>
00032 #include <it_bus/simple_content_complex_type.h>
00033 #include <it_bus/soap_enc_array_t.h>
00034 #include <it_bus/user_fault_exception.h>
00035 #include <it_bus/soap_enc_array.h>
00036 #include <it_bus/simpletype_list_t.h>
00037 #include <it_bus/simpletype_union.h>
00038 
00039 #include "ws_policy_xsdTypes.h"
00040 
00041 namespace IT_Policy
00042 {
00043     class PolicyExpression;
00044     typedef IT_Bus::NillableValue<PolicyExpression> PolicyExpressionNillable;
00045     typedef IT_Bus::NillablePtr<PolicyExpression> PolicyExpressionNillablePtr;
00046     class PolicyDescriptor;
00047     typedef IT_Bus::NillableValue<PolicyDescriptor> PolicyDescriptorNillable;
00048     typedef IT_Bus::NillablePtr<PolicyDescriptor> PolicyDescriptorNillablePtr;
00049     class IT_AFC_API PolicyExpression : public IT_Bus::ChoiceComplexType
00050     {
00051 
00052       public:
00053 
00054         static const IT_Bus::QName&
00055         get_static_type();
00056         
00057         PolicyExpression();
00058         PolicyExpression(const PolicyExpression & other);
00059         virtual ~PolicyExpression();
00060 
00061         IT_Bus::AnyType &
00062         copy(const IT_Bus::AnyType & rhs);
00063 
00064         PolicyExpression &
00065         operator=(const PolicyExpression & rhs);
00066 
00067         virtual const IT_Bus::QName &
00068         get_type() const;
00069 
00070 
00071         virtual void
00072         write_contents(
00073             IT_Bus::ComplexTypeWriter & writer
00074         ) const throw((IT_Bus::SerializationException));
00075 
00076         virtual void
00077         read_member(
00078             const IT_Bus::QName & discriminator,
00079             IT_Bus::ComplexTypeReader & reader
00080         ) throw((IT_Bus::DeserializationException));
00081 
00082         virtual void
00083         read_contents(
00084             IT_Bus::ComplexTypeReader & reader
00085         ) throw((IT_Bus::DeserializationException));
00086 
00087         enum PolicyExpressionDiscriminator
00088         {
00089             wspPolicy_enum,
00090             PolicyExpression_MAXLONG=-1
00091         } m_discriminator;
00092 
00093         PolicyExpressionDiscriminator get_discriminator() const
00094         {
00095             return m_discriminator;
00096         }
00097 
00098         IT_Bus::UInt get_discriminator_as_uint() const
00099         {
00100             return m_discriminator;
00101         }
00102 
00103         PolicyOperatorType &
00104         getwspPolicy();
00105 
00106         const PolicyOperatorType &
00107         getwspPolicy() const;
00108 
00109         void 
00110         setwspPolicy(const PolicyOperatorType & val);
00111 
00112 
00113       private:
00114 
00115         union
00116         {
00117             PolicyOperatorType *var_wspPolicy;
00118         };
00119 
00120         bool
00121         destroy_union(PolicyExpressionDiscriminator to_be_assigned);
00122 
00123         void
00124         alloc_union(PolicyExpressionDiscriminator to_be_allocd);
00125 
00126         static PolicyExpressionDiscriminator getPolicyExpressionDiscriminator(const IT_Bus::QName & discriminant);
00127     };
00128 
00129     typedef IT_AutoPtr<PolicyExpression> PolicyExpressionPtr;
00130 
00131     class IT_AFC_API PolicyDescriptor : public IT_Bus::SequenceComplexType
00132     {
00133 
00134       public:
00135 
00136         static const IT_Bus::QName&
00137         get_static_type();
00138         
00139         PolicyDescriptor();
00140         PolicyDescriptor(const PolicyDescriptor & other);
00141         virtual ~PolicyDescriptor();
00142 
00143         IT_Bus::AnyType &
00144         copy(const IT_Bus::AnyType & rhs);
00145 
00146         PolicyDescriptor &
00147         operator=(const PolicyDescriptor & rhs);
00148 
00149         virtual const IT_Bus::QName &
00150         get_type() const;
00151 
00152 
00153         virtual void
00154         write_contents(
00155             IT_Bus::ComplexTypeWriter & writer
00156         ) const throw((IT_Bus::SerializationException));
00157 
00158         virtual void
00159         read_contents(
00160             IT_Bus::ComplexTypeReader & reader
00161         ) throw((IT_Bus::DeserializationException));
00162 
00163         IT_Bus::ElementListT<IT_Policy::PolicyExpression> &
00164         getpolicy();
00165 
00166         const IT_Bus::ElementListT<IT_Policy::PolicyExpression> &
00167         getpolicy() const;
00168 
00169         void 
00170         setpolicy(const IT_Vector<IT_Policy::PolicyExpression> & val);
00171 
00172         void 
00173         setpolicy(const PolicyExpression & val);
00174 
00175 
00176       private:
00177 
00178         IT_Bus::ElementListT<IT_Policy::PolicyExpression> var_policy;
00179     };
00180 
00181     typedef IT_AutoPtr<PolicyDescriptor> PolicyDescriptorPtr;
00182 
00183 }
00184 #endif

Generated on Tue Mar 20 15:27:42 2007 for Artix by  doxygen 1.5.1-p1