#ifndef  TYPE_SDAIPLANE_OR_PLANAR_BOX_H
#define  TYPE_SDAIPLANE_OR_PLANAR_BOX_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 SdaiPlane_or_planar_box
class SC_SCHEMA_EXPORT SdaiPlane_or_planar_box  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PLANE    --  sdaiINSTANCE
    //   PLANAR_BOX    --  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
    SdaiPlane_or_planar_box( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_plane_or_planar_box );
    //  part 1
    SdaiPlane_or_planar_box( const SdaiPlane_ptr&,
                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_plane_or_planar_box );
    SdaiPlane_or_planar_box( const SdaiPlanar_box_ptr&,
                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_plane_or_planar_box );
    virtual ~SdaiPlane_or_planar_box();

    //  part 2
    operator SdaiPlane_ptr();
    operator SdaiPlanar_box_ptr();

    //  part 3
        SdaiAxis2_placement_ptr_c placement_() const;
        SdaiAxis2_placement_ptr   placement_();
        void placement_( const SdaiAxis2_placement_ptr x );

        SdaiLength_measure   size_in_y_() const;
        void size_in_y_( const SdaiLength_measure x );

        SdaiLength_measure   size_in_x_() const;
        void size_in_x_( const SdaiLength_measure x );

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

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


    //  part 4
    SdaiPlane_or_planar_box& operator =( const SdaiPlane_ptr& );
    SdaiPlane_or_planar_box& operator =( const SdaiPlanar_box_ptr& );
    // not in SDAI
    SdaiPlane_or_planar_box& ShallowCopy ( const SdaiPlane_or_planar_box& );

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

    //  part 5
    Logical IsPlane() const;
    Logical IsPlanar_box() const;

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

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

inline SDAI_Select * create_SdaiPlane_or_planar_box () { return new SdaiPlane_or_planar_box; }
typedef SdaiPlane_or_planar_box * SdaiPlane_or_planar_boxH;
typedef SdaiPlane_or_planar_box_ptr SdaiPlane_or_planar_box_var;


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

  public:
    SdaiPlane_or_planar_box_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_plane_or_planar_box );
    ~SdaiPlane_or_planar_box_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPlane_or_planar_box( sel_type )); }
};
inline STEPaggregate * create_SdaiPlane_or_planar_box_agg () { return new SdaiPlane_or_planar_box_agg; }
typedef SdaiPlane_or_planar_box_agg_ptr SdaiPlane_or_planar_box_agg_var;

/////  END SELECT TYPE plane_or_planar_box

void init_SdaiPlane_or_planar_box(Registry& reg);

#endif
