#ifndef  TYPE_SDAIIFCPOINTORVERTEXPOINT_H
#define  TYPE_SDAIIFCPOINTORVERTEXPOINT_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 SdaiIfcpointorvertexpoint
class SC_SCHEMA_EXPORT SdaiIfcpointorvertexpoint  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCPOINT    --  sdaiINSTANCE
    //   IFCVERTEXPOINT    --  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
    SdaiIfcpointorvertexpoint( const SelectTypeDescriptor * =ifc4::t_ifcpointorvertexpoint );
    //  part 1
    SdaiIfcpointorvertexpoint( const SdaiIfcpoint_ptr&,
                               const SelectTypeDescriptor * =ifc4::t_ifcpointorvertexpoint );
    SdaiIfcpointorvertexpoint( const SdaiIfcvertexpoint_ptr&,
                               const SelectTypeDescriptor * =ifc4::t_ifcpointorvertexpoint );
    virtual ~SdaiIfcpointorvertexpoint();

    //  part 2
    operator SdaiIfcpoint_ptr();
    operator SdaiIfcvertexpoint_ptr();

    //  part 3
        SdaiIfcpoint_ptr_c vertexgeometry_() const;
        SdaiIfcpoint_ptr   vertexgeometry_();
        void vertexgeometry_( const SdaiIfcpoint_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
    SdaiIfcpointorvertexpoint& operator =( const SdaiIfcpoint_ptr& );
    SdaiIfcpointorvertexpoint& operator =( const SdaiIfcvertexpoint_ptr& );
    // not in SDAI
    SdaiIfcpointorvertexpoint& ShallowCopy ( const SdaiIfcpointorvertexpoint& );

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

    //  part 5
    Logical IsIfcpoint() const;
    Logical IsIfcvertexpoint() const;

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

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

inline SDAI_Select * create_SdaiIfcpointorvertexpoint () { return new SdaiIfcpointorvertexpoint; }
typedef SdaiIfcpointorvertexpoint * SdaiIfcpointorvertexpointH;
typedef SdaiIfcpointorvertexpoint_ptr SdaiIfcpointorvertexpoint_var;


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

  public:
    SdaiIfcpointorvertexpoint_agg( SelectTypeDescriptor * =ifc4::t_ifcpointorvertexpoint );
    ~SdaiIfcpointorvertexpoint_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcpointorvertexpoint( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcpointorvertexpoint_agg () { return new SdaiIfcpointorvertexpoint_agg; }
typedef SdaiIfcpointorvertexpoint_agg_ptr SdaiIfcpointorvertexpoint_agg_var;

/////  END SELECT TYPE ifcpointorvertexpoint

void init_SdaiIfcpointorvertexpoint(Registry& reg);

#endif
