#ifndef  TYPE_SDAIAXIAL_GEOMETRY_CONSTRAINT_ELEMENT_H
#define  TYPE_SDAIAXIAL_GEOMETRY_CONSTRAINT_ELEMENT_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 SdaiAxial_geometry_constraint_element
class SC_SCHEMA_EXPORT SdaiAxial_geometry_constraint_element  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   POINT    --  sdaiINSTANCE
    //   LINE    --  sdaiINSTANCE
    //   CIRCLE    --  sdaiINSTANCE
    //   PLANE    --  sdaiINSTANCE
    //   CYLINDRICAL_SURFACE    --  sdaiINSTANCE
    //   CONICAL_SURFACE    --  sdaiINSTANCE
    //   SPHERICAL_SURFACE    --  sdaiINSTANCE
    //   TOROIDAL_SURFACE    --  sdaiINSTANCE
    //   SURFACE_OF_REVOLUTION    --  sdaiINSTANCE
    //   SPHERE    --  sdaiINSTANCE
    //   RIGHT_CIRCULAR_CONE    --  sdaiINSTANCE
    //   RIGHT_CIRCULAR_CYLINDER    --  sdaiINSTANCE
    //   TORUS    --  sdaiINSTANCE
    //   REVOLVED_FACE_SOLID    --  sdaiINSTANCE
    //   REVOLVED_AREA_SOLID    --  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
    SdaiAxial_geometry_constraint_element( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    //  part 1
    SdaiAxial_geometry_constraint_element( const SdaiPoint_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiLine_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiCircle_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiPlane_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiCylindrical_surface_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiConical_surface_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiSpherical_surface_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiToroidal_surface_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiSurface_of_revolution_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiSphere_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiRight_circular_cone_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiRight_circular_cylinder_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiTorus_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiRevolved_face_solid_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    SdaiAxial_geometry_constraint_element( const SdaiRevolved_area_solid_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    virtual ~SdaiAxial_geometry_constraint_element();

    //  part 2
    operator SdaiPoint_ptr();
    operator SdaiLine_ptr();
    operator SdaiCircle_ptr();
    operator SdaiPlane_ptr();
    operator SdaiCylindrical_surface_ptr();
    operator SdaiConical_surface_ptr();
    operator SdaiSpherical_surface_ptr();
    operator SdaiToroidal_surface_ptr();
    operator SdaiSurface_of_revolution_ptr();
    operator SdaiSphere_ptr();
    operator SdaiRight_circular_cone_ptr();
    operator SdaiRight_circular_cylinder_ptr();
    operator SdaiTorus_ptr();
    operator SdaiRevolved_face_solid_ptr();
    operator SdaiRevolved_area_solid_ptr();

    //  part 3
        SdaiCurve_bounded_surface_ptr_c swept_area_() const;
        SdaiCurve_bounded_surface_ptr   swept_area_();
        void swept_area_( const SdaiCurve_bounded_surface_ptr x );

        SdaiPlane_angle_measure   angle_() const;
        void angle_( const SdaiPlane_angle_measure x );

        SdaiAxis1_placement_ptr_c axis_() const;
        SdaiAxis1_placement_ptr   axis_();
        void axis_( const SdaiAxis1_placement_ptr x );

        SdaiFace_surface_ptr_c swept_face_() const;
        SdaiFace_surface_ptr   swept_face_();
        void swept_face_( const SdaiFace_surface_ptr x );

        SdaiPositive_length_measure   height_() const;
        void height_( const SdaiPositive_length_measure x );

        SdaiPoint_ptr_c centre_() const;
        SdaiPoint_ptr   centre_();
        void centre_( const SdaiPoint_ptr x );

        SdaiAxis1_placement_ptr_c axis_position_() const;
        SdaiAxis1_placement_ptr   axis_position_();
        void axis_position_( const SdaiAxis1_placement_ptr x );

        SdaiCurve_ptr_c swept_curve_() const;
        SdaiCurve_ptr   swept_curve_();
        void swept_curve_( const SdaiCurve_ptr x );

        SdaiPositive_length_measure   minor_radius_() const;
        void minor_radius_( const SdaiPositive_length_measure x );

        SdaiPositive_length_measure   major_radius_() const;
        void major_radius_( const SdaiPositive_length_measure x );

        SdaiPlane_angle_measure   semi_angle_() const;
        void semi_angle_( const SdaiPlane_angle_measure x );

        SdaiPositive_length_measure   radius_() const;
        void radius_( const SdaiPositive_length_measure x );

        SdaiAxis2_placement_ptr_c position_() const;
        SdaiAxis2_placement_ptr   position_();
        void position_( const SdaiAxis2_placement_ptr x );

        SdaiVector_ptr_c dir_() const;
        SdaiVector_ptr   dir_();
        void dir_( const SdaiVector_ptr x );

        SdaiCartesian_point_ptr_c pnt_() const;
        SdaiCartesian_point_ptr   pnt_();
        void pnt_( const SdaiCartesian_point_ptr x );

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


    //  part 4
    SdaiAxial_geometry_constraint_element& operator =( const SdaiPoint_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiLine_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiCircle_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiPlane_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiCylindrical_surface_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiConical_surface_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiSpherical_surface_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiToroidal_surface_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiSurface_of_revolution_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiSphere_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiRight_circular_cone_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiRight_circular_cylinder_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiTorus_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiRevolved_face_solid_ptr& );
    SdaiAxial_geometry_constraint_element& operator =( const SdaiRevolved_area_solid_ptr& );
    // not in SDAI
    SdaiAxial_geometry_constraint_element& ShallowCopy ( const SdaiAxial_geometry_constraint_element& );

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

    //  part 5
    Logical IsPoint() const;
    Logical IsLine() const;
    Logical IsCircle() const;
    Logical IsPlane() const;
    Logical IsCylindrical_surface() const;
    Logical IsConical_surface() const;
    Logical IsSpherical_surface() const;
    Logical IsToroidal_surface() const;
    Logical IsSurface_of_revolution() const;
    Logical IsSphere() const;
    Logical IsRight_circular_cone() const;
    Logical IsRight_circular_cylinder() const;
    Logical IsTorus() const;
    Logical IsRevolved_face_solid() const;
    Logical IsRevolved_area_solid() const;

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

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

inline SDAI_Select * create_SdaiAxial_geometry_constraint_element () { return new SdaiAxial_geometry_constraint_element; }
typedef SdaiAxial_geometry_constraint_element * SdaiAxial_geometry_constraint_elementH;
typedef SdaiAxial_geometry_constraint_element_ptr SdaiAxial_geometry_constraint_element_var;


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

  public:
    SdaiAxial_geometry_constraint_element_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_axial_geometry_constraint_element );
    ~SdaiAxial_geometry_constraint_element_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAxial_geometry_constraint_element( sel_type )); }
};
inline STEPaggregate * create_SdaiAxial_geometry_constraint_element_agg () { return new SdaiAxial_geometry_constraint_element_agg; }
typedef SdaiAxial_geometry_constraint_element_agg_ptr SdaiAxial_geometry_constraint_element_agg_var;

/////  END SELECT TYPE axial_geometry_constraint_element

void init_SdaiAxial_geometry_constraint_element(Registry& reg);

#endif
