#ifndef  TYPE_SDAISURFACE_2D_ELEMENT_LENGTH_INTEGRATION_H
#define  TYPE_SDAISURFACE_2D_ELEMENT_LENGTH_INTEGRATION_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_2d_element_length_integration
class SC_SCHEMA_EXPORT SdaiSurface_2d_element_length_integration  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ELEMENT_INTEGRATION_ALGEBRAIC    --  sdaiENUMERATION
    //   SURFACE_2D_ELEMENT_LENGTH_INTEGRATION_RULE    --  sdaiINSTANCE
    //   SURFACE_2D_ELEMENT_LENGTH_INTEGRATION_EXPLICIT    --  sdaiINSTANCE
       SdaiElement_integration_algebraic_var _sdaielement_integration_algebraic_var;
       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_2d_element_length_integration( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_2d_element_length_integration );
    //  part 1
    SdaiSurface_2d_element_length_integration( const SdaiElement_integration_algebraic_var&,
                                               const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_2d_element_length_integration );
    SdaiSurface_2d_element_length_integration( const SdaiSurface_2d_element_length_integration_rule_ptr&,
                                               const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_2d_element_length_integration );
    SdaiSurface_2d_element_length_integration( const SdaiSurface_2d_element_length_integration_explicit_ptr&,
                                               const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_2d_element_length_integration );
    virtual ~SdaiSurface_2d_element_length_integration();

    //  part 2
    operator SdaiElement_integration_algebraic_var();
    operator SdaiSurface_2d_element_length_integration_rule_ptr();
    operator SdaiSurface_2d_element_length_integration_explicit_ptr();

    //  part 3
        EntityAggregate_ptr_c integration_positions_and_weights_() const;
        EntityAggregate_ptr   integration_positions_and_weights_();
        void integration_positions_and_weights_( const EntityAggregate_ptr x );

        SDAI_Integer   integration_order_() const;
        void integration_order_( const SDAI_Integer x );

  const SdaiIntegration_rule_var   integration_method_() const;
        SdaiIntegration_rule_var   integration_method_();
        void integration_method_( const SdaiIntegration_rule_var x );


    //  part 4
    SdaiSurface_2d_element_length_integration& operator =( const SdaiElement_integration_algebraic_var& );
    SdaiSurface_2d_element_length_integration& operator =( const SdaiSurface_2d_element_length_integration_rule_ptr& );
    SdaiSurface_2d_element_length_integration& operator =( const SdaiSurface_2d_element_length_integration_explicit_ptr& );
    // not in SDAI
    SdaiSurface_2d_element_length_integration& ShallowCopy ( const SdaiSurface_2d_element_length_integration& );

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

    //  part 5
    Logical IsElement_integration_algebraic() const;
    Logical IsSurface_2d_element_length_integration_rule() const;
    Logical IsSurface_2d_element_length_integration_explicit() const;

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

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

inline SDAI_Select * create_SdaiSurface_2d_element_length_integration () { return new SdaiSurface_2d_element_length_integration; }
typedef SdaiSurface_2d_element_length_integration * SdaiSurface_2d_element_length_integrationH;
typedef SdaiSurface_2d_element_length_integration_ptr SdaiSurface_2d_element_length_integration_var;


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

  public:
    SdaiSurface_2d_element_length_integration_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_surface_2d_element_length_integration );
    ~SdaiSurface_2d_element_length_integration_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSurface_2d_element_length_integration( sel_type )); }
};
inline STEPaggregate * create_SdaiSurface_2d_element_length_integration_agg () { return new SdaiSurface_2d_element_length_integration_agg; }
typedef SdaiSurface_2d_element_length_integration_agg_ptr SdaiSurface_2d_element_length_integration_agg_var;

/////  END SELECT TYPE surface_2d_element_length_integration

void init_SdaiSurface_2d_element_length_integration(Registry& reg);

#endif
