#ifndef  TYPE_SDAIIFCVECTORORDIRECTION_H
#define  TYPE_SDAIIFCVECTORORDIRECTION_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 SdaiIfcvectorordirection
class SC_SCHEMA_EXPORT SdaiIfcvectorordirection  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCDIRECTION    --  sdaiINSTANCE
    //   IFCVECTOR    --  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
    SdaiIfcvectorordirection( const SelectTypeDescriptor * =ifc4::t_ifcvectorordirection );
    //  part 1
    SdaiIfcvectorordirection( const SdaiIfcdirection_ptr&,
                              const SelectTypeDescriptor * =ifc4::t_ifcvectorordirection );
    SdaiIfcvectorordirection( const SdaiIfcvector_ptr&,
                              const SelectTypeDescriptor * =ifc4::t_ifcvectorordirection );
    virtual ~SdaiIfcvectorordirection();

    //  part 2
    operator SdaiIfcdirection_ptr();
    operator SdaiIfcvector_ptr();

    //  part 3
        SdaiIfclengthmeasure   magnitude_() const;
        void magnitude_( const SdaiIfclengthmeasure x );

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

        RealAggregate_ptr_c directionratios_() const;
        RealAggregate_ptr   directionratios_();
        void directionratios_( const RealAggregate_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
    SdaiIfcvectorordirection& operator =( const SdaiIfcdirection_ptr& );
    SdaiIfcvectorordirection& operator =( const SdaiIfcvector_ptr& );
    // not in SDAI
    SdaiIfcvectorordirection& ShallowCopy ( const SdaiIfcvectorordirection& );

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

    //  part 5
    Logical IsIfcdirection() const;
    Logical IsIfcvector() const;

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

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

inline SDAI_Select * create_SdaiIfcvectorordirection () { return new SdaiIfcvectorordirection; }
typedef SdaiIfcvectorordirection * SdaiIfcvectorordirectionH;
typedef SdaiIfcvectorordirection_ptr SdaiIfcvectorordirection_var;


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

  public:
    SdaiIfcvectorordirection_agg( SelectTypeDescriptor * =ifc4::t_ifcvectorordirection );
    ~SdaiIfcvectorordirection_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcvectorordirection( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcvectorordirection_agg () { return new SdaiIfcvectorordirection_agg; }
typedef SdaiIfcvectorordirection_agg_ptr SdaiIfcvectorordirection_agg_var;

/////  END SELECT TYPE ifcvectorordirection

void init_SdaiIfcvectorordirection(Registry& reg);

#endif
