#ifndef  TYPE_SDAIPATH_OR_COMPOSITE_CURVE_H
#define  TYPE_SDAIPATH_OR_COMPOSITE_CURVE_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 SdaiPath_or_composite_curve
class SC_SCHEMA_EXPORT SdaiPath_or_composite_curve  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   COMPOSITE_CURVE    --  sdaiINSTANCE
    //   PATH    --  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
    SdaiPath_or_composite_curve( const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_path_or_composite_curve );
    //  part 1
    SdaiPath_or_composite_curve( const SdaiComposite_curve_ptr&,
                                 const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_path_or_composite_curve );
    SdaiPath_or_composite_curve( const SdaiPath_ptr&,
                                 const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_path_or_composite_curve );
    virtual ~SdaiPath_or_composite_curve();

    //  part 2
    operator SdaiComposite_curve_ptr();
    operator SdaiPath_ptr();

    //  part 3
        EntityAggregate_ptr_c edge_list_() const;
        EntityAggregate_ptr   edge_list_();
        void edge_list_( const EntityAggregate_ptr x );

        Logical   self_intersect_() const;
        void self_intersect_( const Logical x );

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

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


    //  part 4
    SdaiPath_or_composite_curve& operator =( const SdaiComposite_curve_ptr& );
    SdaiPath_or_composite_curve& operator =( const SdaiPath_ptr& );
    // not in SDAI
    SdaiPath_or_composite_curve& ShallowCopy ( const SdaiPath_or_composite_curve& );

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

    //  part 5
    Logical IsComposite_curve() const;
    Logical IsPath() const;

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

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

inline SDAI_Select * create_SdaiPath_or_composite_curve () { return new SdaiPath_or_composite_curve; }
typedef SdaiPath_or_composite_curve * SdaiPath_or_composite_curveH;
typedef SdaiPath_or_composite_curve_ptr SdaiPath_or_composite_curve_var;


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

  public:
    SdaiPath_or_composite_curve_agg( SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_path_or_composite_curve );
    ~SdaiPath_or_composite_curve_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPath_or_composite_curve( sel_type )); }
};
inline STEPaggregate * create_SdaiPath_or_composite_curve_agg () { return new SdaiPath_or_composite_curve_agg; }
typedef SdaiPath_or_composite_curve_agg_ptr SdaiPath_or_composite_curve_agg_var;

/////  END SELECT TYPE path_or_composite_curve

void init_SdaiPath_or_composite_curve(Registry& reg);

#endif
