#ifndef  TYPE_SDAIIFCAXIS2PLACEMENT_H
#define  TYPE_SDAIIFCAXIS2PLACEMENT_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 SdaiIfcaxis2placement
class SC_SCHEMA_EXPORT SdaiIfcaxis2placement  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCAXIS2PLACEMENT2D    --  sdaiINSTANCE
    //   IFCAXIS2PLACEMENT3D    --  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
    SdaiIfcaxis2placement( const SelectTypeDescriptor * =ifc4::t_ifcaxis2placement );
    //  part 1
    SdaiIfcaxis2placement( const SdaiIfcaxis2placement2d_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifcaxis2placement );
    SdaiIfcaxis2placement( const SdaiIfcaxis2placement3d_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifcaxis2placement );
    virtual ~SdaiIfcaxis2placement();

    //  part 2
    operator SdaiIfcaxis2placement2d_ptr();
    operator SdaiIfcaxis2placement3d_ptr();

    //  part 3
        SdaiIfcdirection_ptr_c axis_() const;
        SdaiIfcdirection_ptr   axis_();
        void axis_( const SdaiIfcdirection_ptr x );

        SdaiIfcdirection_ptr_c refdirection_() const;
        SdaiIfcdirection_ptr   refdirection_();
        void refdirection_( const SdaiIfcdirection_ptr x );

        SdaiIfccartesianpoint_ptr_c location_() const;
        SdaiIfccartesianpoint_ptr   location_();
        void location_( const SdaiIfccartesianpoint_ptr x );

        EntityAggregate_ptr_c styledbyitem_() const;
        EntityAggregate_ptr   styledbyitem_();
        void styledbyitem_( const EntityAggregate_ptr x );

        EntityAggregate_ptr_c layerassignment_() const;
        EntityAggregate_ptr   layerassignment_();
        void layerassignment_( const EntityAggregate_ptr x );


    //  part 4
    SdaiIfcaxis2placement& operator =( const SdaiIfcaxis2placement2d_ptr& );
    SdaiIfcaxis2placement& operator =( const SdaiIfcaxis2placement3d_ptr& );
    // not in SDAI
    SdaiIfcaxis2placement& ShallowCopy ( const SdaiIfcaxis2placement& );

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

    //  part 5
    Logical IsIfcaxis2placement2d() const;
    Logical IsIfcaxis2placement3d() const;

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

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

inline SDAI_Select * create_SdaiIfcaxis2placement () { return new SdaiIfcaxis2placement; }
typedef SdaiIfcaxis2placement * SdaiIfcaxis2placementH;
typedef SdaiIfcaxis2placement_ptr SdaiIfcaxis2placement_var;


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

  public:
    SdaiIfcaxis2placement_agg( SelectTypeDescriptor * =ifc4::t_ifcaxis2placement );
    ~SdaiIfcaxis2placement_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcaxis2placement( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcaxis2placement_agg () { return new SdaiIfcaxis2placement_agg; }
typedef SdaiIfcaxis2placement_agg_ptr SdaiIfcaxis2placement_agg_var;

/////  END SELECT TYPE ifcaxis2placement

void init_SdaiIfcaxis2placement(Registry& reg);

#endif
