#ifndef  TYPE_SDAIIFCCURVEONSURFACE_H
#define  TYPE_SDAIIFCCURVEONSURFACE_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 SdaiIfccurveonsurface
class SC_SCHEMA_EXPORT SdaiIfccurveonsurface  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCCOMPOSITECURVEONSURFACE    --  sdaiINSTANCE
    //   IFCPCURVE    --  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
    SdaiIfccurveonsurface( const SelectTypeDescriptor * =ifc4::t_ifccurveonsurface );
    //  part 1
    SdaiIfccurveonsurface( const SdaiIfccompositecurveonsurface_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifccurveonsurface );
    SdaiIfccurveonsurface( const SdaiIfcpcurve_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifccurveonsurface );
    virtual ~SdaiIfccurveonsurface();

    //  part 2
    operator SdaiIfccompositecurveonsurface_ptr();
    operator SdaiIfcpcurve_ptr();

    //  part 3
        SdaiIfccurve_ptr_c referencecurve_() const;
        SdaiIfccurve_ptr   referencecurve_();
        void referencecurve_( const SdaiIfccurve_ptr x );

        Logical   selfintersect_() const;
        void selfintersect_( const Logical x );

        EntityAggregate_ptr_c segments_() const;
        EntityAggregate_ptr   segments_();
        void segments_( const EntityAggregate_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
    SdaiIfccurveonsurface& operator =( const SdaiIfccompositecurveonsurface_ptr& );
    SdaiIfccurveonsurface& operator =( const SdaiIfcpcurve_ptr& );
    // not in SDAI
    SdaiIfccurveonsurface& ShallowCopy ( const SdaiIfccurveonsurface& );

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

    //  part 5
    Logical IsIfccompositecurveonsurface() const;
    Logical IsIfcpcurve() const;

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

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

inline SDAI_Select * create_SdaiIfccurveonsurface () { return new SdaiIfccurveonsurface; }
typedef SdaiIfccurveonsurface * SdaiIfccurveonsurfaceH;
typedef SdaiIfccurveonsurface_ptr SdaiIfccurveonsurface_var;


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

  public:
    SdaiIfccurveonsurface_agg( SelectTypeDescriptor * =ifc4::t_ifccurveonsurface );
    ~SdaiIfccurveonsurface_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfccurveonsurface( sel_type )); }
};
inline STEPaggregate * create_SdaiIfccurveonsurface_agg () { return new SdaiIfccurveonsurface_agg; }
typedef SdaiIfccurveonsurface_agg_ptr SdaiIfccurveonsurface_agg_var;

/////  END SELECT TYPE ifccurveonsurface

void init_SdaiIfccurveonsurface(Registry& reg);

#endif
