#ifndef  TYPE_SDAIPLANAR_CURVE_SELECT_H
#define  TYPE_SDAIPLANAR_CURVE_SELECT_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 SdaiPlanar_curve_select
class SC_SCHEMA_EXPORT SdaiPlanar_curve_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   LINE    --  sdaiINSTANCE
    //   CONIC    --  sdaiINSTANCE
    //   TRIMMED_CURVE    --  sdaiINSTANCE
    //   PCURVE    --  sdaiINSTANCE
    //   SURFACE_CURVE    --  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
    SdaiPlanar_curve_select( const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    //  part 1
    SdaiPlanar_curve_select( const SdaiLine_ptr&,
                             const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    SdaiPlanar_curve_select( const SdaiConic_ptr&,
                             const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    SdaiPlanar_curve_select( const SdaiTrimmed_curve_ptr&,
                             const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    SdaiPlanar_curve_select( const SdaiPcurve_ptr&,
                             const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    SdaiPlanar_curve_select( const SdaiSurface_curve_ptr&,
                             const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    virtual ~SdaiPlanar_curve_select();

    //  part 2
    operator SdaiLine_ptr();
    operator SdaiConic_ptr();
    operator SdaiTrimmed_curve_ptr();
    operator SdaiPcurve_ptr();
    operator SdaiSurface_curve_ptr();

    //  part 3
        SdaiPcurve_or_surface_agg_ptr_c associated_geometry_() const;
        SdaiPcurve_or_surface_agg_ptr   associated_geometry_();
        void associated_geometry_( const SdaiPcurve_or_surface_agg_ptr x );

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

        SdaiDefinitional_representation_ptr_c reference_to_curve_() const;
        SdaiDefinitional_representation_ptr   reference_to_curve_();
        void reference_to_curve_( const SdaiDefinitional_representation_ptr x );

        SdaiSurface_ptr_c basis_surface_() const;
        SdaiSurface_ptr   basis_surface_();
        void basis_surface_( const SdaiSurface_ptr x );

  const SdaiTrimming_preference_var   master_representation_() const;
        SdaiTrimming_preference_var   master_representation_();
        void master_representation_( const SdaiTrimming_preference_var x );

        Boolean   sense_agreement_() const;
        void sense_agreement_( const Boolean x );

        SdaiTrimming_select_agg_ptr_c trim_2_() const;
        SdaiTrimming_select_agg_ptr   trim_2_();
        void trim_2_( const SdaiTrimming_select_agg_ptr x );

        SdaiTrimming_select_agg_ptr_c trim_1_() const;
        SdaiTrimming_select_agg_ptr   trim_1_();
        void trim_1_( const SdaiTrimming_select_agg_ptr x );

        SdaiCurve_ptr_c basis_curve_() const;
        SdaiCurve_ptr   basis_curve_();
        void basis_curve_( const SdaiCurve_ptr 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
    SdaiPlanar_curve_select& operator =( const SdaiLine_ptr& );
    SdaiPlanar_curve_select& operator =( const SdaiConic_ptr& );
    SdaiPlanar_curve_select& operator =( const SdaiTrimmed_curve_ptr& );
    SdaiPlanar_curve_select& operator =( const SdaiPcurve_ptr& );
    SdaiPlanar_curve_select& operator =( const SdaiSurface_curve_ptr& );
    // not in SDAI
    SdaiPlanar_curve_select& ShallowCopy ( const SdaiPlanar_curve_select& );

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

    //  part 5
    Logical IsLine() const;
    Logical IsConic() const;
    Logical IsTrimmed_curve() const;
    Logical IsPcurve() const;
    Logical IsSurface_curve() const;

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

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

inline SDAI_Select * create_SdaiPlanar_curve_select () { return new SdaiPlanar_curve_select; }
typedef SdaiPlanar_curve_select * SdaiPlanar_curve_selectH;
typedef SdaiPlanar_curve_select_ptr SdaiPlanar_curve_select_var;


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

  public:
    SdaiPlanar_curve_select_agg( SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_planar_curve_select );
    ~SdaiPlanar_curve_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPlanar_curve_select( sel_type )); }
};
inline STEPaggregate * create_SdaiPlanar_curve_select_agg () { return new SdaiPlanar_curve_select_agg; }
typedef SdaiPlanar_curve_select_agg_ptr SdaiPlanar_curve_select_agg_var;

/////  END SELECT TYPE planar_curve_select

void init_SdaiPlanar_curve_select(Registry& reg);

#endif
