#ifndef  TYPE_SDAISURFACE_3D_ELEMENT_OUTPUT_REFERENCE_H
#define  TYPE_SDAISURFACE_3D_ELEMENT_OUTPUT_REFERENCE_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.


//////////  SELECT TYPE SdaiSurface_3d_element_output_reference
class SC_SCHEMA_EXPORT SdaiSurface_3d_element_output_reference  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   SURFACE_3D_ELEMENT_REPRESENTATION    --  sdaiINSTANCE
    //   SURFACE_3D_ELEMENT_DESCRIPTOR    --  sdaiINSTANCE
    //   SURFACE_3D_ELEMENT_GROUP    --  sdaiINSTANCE
    //   SURFACE_3D_SUBSTRUCTURE_ELEMENT_REFERENCE    --  sdaiINSTANCE
    //   ANALYSIS_ITEM_WITHIN_REPRESENTATION    --  sdaiINSTANCE
       SDAI_Application_instance_ptr _app_inst;

  public:
    virtual const TypeDescriptor * AssignEntity (SDAI_Application_instance * se);
    virtual SDAI_Select * NewSelect ();

    virtual BASE_TYPE ValueType() const;


// STEP Part 21
    virtual void STEPwrite_content (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual void STEPwrite_verbose (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual Severity STEPread_content (istream& in =cin,
        InstMgrBase * instances =0, const char *utype =0,
        int addFileId =0, const char *currSch =0);
    virtual Severity StrToVal_content (const char *,
        InstMgrBase * instances =0);

// STEP Part 22:  SDAI

// constructors
    SdaiSurface_3d_element_output_reference( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    //  part 1
    SdaiSurface_3d_element_output_reference( const SdaiSurface_3d_element_representation_ptr&,
                                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    SdaiSurface_3d_element_output_reference( const SdaiSurface_3d_element_descriptor_ptr&,
                                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    SdaiSurface_3d_element_output_reference( const SdaiSurface_3d_element_group_ptr&,
                                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    SdaiSurface_3d_element_output_reference( const SdaiSurface_3d_substructure_element_reference_ptr&,
                                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    SdaiSurface_3d_element_output_reference( const SdaiAnalysis_item_within_representation_ptr&,
                                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    virtual ~SdaiSurface_3d_element_output_reference();

    //  part 2
    operator SdaiSurface_3d_element_representation_ptr();
    operator SdaiSurface_3d_element_descriptor_ptr();
    operator SdaiSurface_3d_element_group_ptr();
    operator SdaiSurface_3d_substructure_element_reference_ptr();
    operator SdaiAnalysis_item_within_representation_ptr();

    //  part 3
        SdaiRepresentation_ptr_c rep_() const;
        SdaiRepresentation_ptr   rep_();
        void rep_( const SdaiRepresentation_ptr x );

        SdaiRepresentation_item_ptr_c item_() const;
        SdaiRepresentation_item_ptr   item_();
        void item_( const SdaiRepresentation_item_ptr x );

        SdaiSurface_3d_element_representation_ptr_c element_ref_() const;
        SdaiSurface_3d_element_representation_ptr   element_ref_();
        void element_ref_( const SdaiSurface_3d_element_representation_ptr x );

        SdaiSubstructure_element_representation_ptr_c substructure_element_ref_() const;
        SdaiSubstructure_element_representation_ptr   substructure_element_ref_();
        void substructure_element_ref_( const SdaiSubstructure_element_representation_ptr x );

        EntityAggregate_ptr_c elements_() const;
        EntityAggregate_ptr   elements_();
        void elements_( const EntityAggregate_ptr x );

  const SdaiElement_2d_shape_var   shape_() const;
        SdaiElement_2d_shape_var   shape_();
        void shape_( const SdaiElement_2d_shape_var x );

        GenericAggregate_ptr_c purpose_() const;
        GenericAggregate_ptr   purpose_();
        void purpose_( const GenericAggregate_ptr x );

  const SdaiElement_order_var   topology_order_() const;
        SdaiElement_order_var   topology_order_();
        void topology_order_( const SdaiElement_order_var x );

        SdaiElement_material_ptr_c material_() const;
        SdaiElement_material_ptr   material_();
        void material_( const SdaiElement_material_ptr x );

        SdaiSurface_element_property_ptr_c property_() const;
        SdaiSurface_element_property_ptr   property_();
        void property_( const SdaiSurface_element_property_ptr x );

        SdaiSurface_3d_element_descriptor_ptr_c element_descriptor_() const;
        SdaiSurface_3d_element_descriptor_ptr   element_descriptor_();
        void element_descriptor_( const SdaiSurface_3d_element_descriptor_ptr x );

        SdaiFea_model_3d_ptr_c model_ref_() const;
        SdaiFea_model_3d_ptr   model_ref_();
        void model_ref_( const SdaiFea_model_3d_ptr x );

        EntityAggregate_ptr_c node_list_() const;
        EntityAggregate_ptr   node_list_();
        void node_list_( const EntityAggregate_ptr x );

        SdaiRepresentation_context_ptr_c context_of_items_() const;
        SdaiRepresentation_context_ptr   context_of_items_();
        void context_of_items_( const SdaiRepresentation_context_ptr x );

        EntityAggregate_ptr_c items_() const;
        EntityAggregate_ptr   items_();
        void items_( const EntityAggregate_ptr x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiSurface_3d_element_output_reference& operator =( const SdaiSurface_3d_element_representation_ptr& );
    SdaiSurface_3d_element_output_reference& operator =( const SdaiSurface_3d_element_descriptor_ptr& );
    SdaiSurface_3d_element_output_reference& operator =( const SdaiSurface_3d_element_group_ptr& );
    SdaiSurface_3d_element_output_reference& operator =( const SdaiSurface_3d_substructure_element_reference_ptr& );
    SdaiSurface_3d_element_output_reference& operator =( const SdaiAnalysis_item_within_representation_ptr& );
    // not in SDAI
    SdaiSurface_3d_element_output_reference& ShallowCopy ( const SdaiSurface_3d_element_output_reference& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiSurface_3d_element_output_reference& operator =( SdaiSurface_3d_element_output_reference * const & );
    SDAI_Select& operator =( const SDAI_Select& );
#endif

    //  part 5
    Logical IsSurface_3d_element_representation() const;
    Logical IsSurface_3d_element_descriptor() const;
    Logical IsSurface_3d_element_group() const;
    Logical IsSurface_3d_substructure_element_reference() const;
    Logical IsAnalysis_item_within_representation() const;

    //  part 6 ... UnderlyingTypeName () implemented in SDAI_Select class ...

    //  part 7 ... NONE    only for complex selects...
};

inline SDAI_Select * create_SdaiSurface_3d_element_output_reference () { return new SdaiSurface_3d_element_output_reference; }
typedef SdaiSurface_3d_element_output_reference * SdaiSurface_3d_element_output_referenceH;
typedef SdaiSurface_3d_element_output_reference_ptr SdaiSurface_3d_element_output_reference_var;


class SdaiSurface_3d_element_output_reference_agg : public SelectAggregate {
  protected:
    SelectTypeDescriptor *sel_type;

  public:
    SdaiSurface_3d_element_output_reference_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_3d_element_output_reference );
    ~SdaiSurface_3d_element_output_reference_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSurface_3d_element_output_reference( sel_type )); }
};
inline STEPaggregate * create_SdaiSurface_3d_element_output_reference_agg () { return new SdaiSurface_3d_element_output_reference_agg; }
typedef SdaiSurface_3d_element_output_reference_agg_ptr SdaiSurface_3d_element_output_reference_agg_var;

/////  END SELECT TYPE surface_3d_element_output_reference

void init_SdaiSurface_3d_element_output_reference(Registry& reg);

#endif
