#ifndef  TYPE_SDAIORIENTATION_BASIS_SELECT_H
#define  TYPE_SDAIORIENTATION_BASIS_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 SdaiOrientation_basis_select
class SC_SCHEMA_EXPORT SdaiOrientation_basis_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   AXIS2_PLACEMENT_3D    --  sdaiINSTANCE
    //   MIN_AND_MAJOR_PLY_ORIENTATION_BASIS    --  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
    SdaiOrientation_basis_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_orientation_basis_select );
    //  part 1
    SdaiOrientation_basis_select( const SdaiAxis2_placement_3d_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_orientation_basis_select );
    SdaiOrientation_basis_select( const SdaiMin_and_major_ply_orientation_basis_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_orientation_basis_select );
    virtual ~SdaiOrientation_basis_select();

    //  part 2
    operator SdaiAxis2_placement_3d_ptr();
    operator SdaiMin_and_major_ply_orientation_basis_ptr();

    //  part 3
        SdaiAxis2_placement_3d_ptr_c representation_item_relationship_related_representation_item_() const;
        SdaiAxis2_placement_3d_ptr   representation_item_relationship_related_representation_item_();
        void representation_item_relationship_related_representation_item_( const SdaiAxis2_placement_3d_ptr x );

        SdaiAxis2_placement_3d_ptr_c representation_item_relationship_relating_representation_item_() const;
        SdaiAxis2_placement_3d_ptr   representation_item_relationship_relating_representation_item_();
        void representation_item_relationship_relating_representation_item_( const SdaiAxis2_placement_3d_ptr x );

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

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

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

        SdaiDirection_ptr_c ref_direction_() const;
        SdaiDirection_ptr   ref_direction_();
        void ref_direction_( const SdaiDirection_ptr x );

        SdaiDirection_ptr_c axis_() const;
        SdaiDirection_ptr   axis_();
        void axis_( const SdaiDirection_ptr x );

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

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


    //  part 4
    SdaiOrientation_basis_select& operator =( const SdaiAxis2_placement_3d_ptr& );
    SdaiOrientation_basis_select& operator =( const SdaiMin_and_major_ply_orientation_basis_ptr& );
    // not in SDAI
    SdaiOrientation_basis_select& ShallowCopy ( const SdaiOrientation_basis_select& );

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

    //  part 5
    Logical IsAxis2_placement_3d() const;
    Logical IsMin_and_major_ply_orientation_basis() const;

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

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

inline SDAI_Select * create_SdaiOrientation_basis_select () { return new SdaiOrientation_basis_select; }
typedef SdaiOrientation_basis_select * SdaiOrientation_basis_selectH;
typedef SdaiOrientation_basis_select_ptr SdaiOrientation_basis_select_var;


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

  public:
    SdaiOrientation_basis_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_orientation_basis_select );
    ~SdaiOrientation_basis_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiOrientation_basis_select( sel_type )); }
};
inline STEPaggregate * create_SdaiOrientation_basis_select_agg () { return new SdaiOrientation_basis_select_agg; }
typedef SdaiOrientation_basis_select_agg_ptr SdaiOrientation_basis_select_agg_var;

/////  END SELECT TYPE orientation_basis_select

void init_SdaiOrientation_basis_select(Registry& reg);

#endif
