#ifndef  TYPE_SDAITRIMMING_SELECT_H
#define  TYPE_SDAITRIMMING_SELECT_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 SdaiTrimming_select
class SC_SCHEMA_EXPORT SdaiTrimming_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CARTESIAN_POINT    --  sdaiINSTANCE
    //   PARAMETER_VALUE    --  sdaiREAL
       SDAI_Application_instance_ptr _app_inst;
       SDAI_Real _real;

  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
    SdaiTrimming_select( const SelectTypeDescriptor * =engineering_properties_schema::t_trimming_select );
    //  part 1
    SdaiTrimming_select( const SdaiCartesian_point_ptr&,
                         const SelectTypeDescriptor * =engineering_properties_schema::t_trimming_select );
    SdaiTrimming_select( const SdaiParameter_value&,
                         const SelectTypeDescriptor * =engineering_properties_schema::t_trimming_select );
    virtual ~SdaiTrimming_select();

    //  part 2
    operator SdaiCartesian_point_ptr();
    operator SdaiParameter_value();

    //  part 3
        RealAggregate_ptr_c coordinates_() const;
        RealAggregate_ptr   coordinates_();
        void coordinates_( const RealAggregate_ptr x );

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


    //  part 4
    SdaiTrimming_select& operator =( const SdaiCartesian_point_ptr& );
    SdaiTrimming_select& operator =( const SdaiParameter_value& );
    // not in SDAI
    SdaiTrimming_select& ShallowCopy ( const SdaiTrimming_select& );

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

    //  part 5
    Logical IsCartesian_point() const;
    Logical IsParameter_value() const;

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

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

inline SDAI_Select * create_SdaiTrimming_select () { return new SdaiTrimming_select; }
typedef SdaiTrimming_select * SdaiTrimming_selectH;
typedef SdaiTrimming_select_ptr SdaiTrimming_select_var;


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

  public:
    SdaiTrimming_select_agg( SelectTypeDescriptor * =engineering_properties_schema::t_trimming_select );
    ~SdaiTrimming_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiTrimming_select( sel_type )); }
};
inline STEPaggregate * create_SdaiTrimming_select_agg () { return new SdaiTrimming_select_agg; }
typedef SdaiTrimming_select_agg_ptr SdaiTrimming_select_agg_var;

/////  END SELECT TYPE trimming_select

void init_SdaiTrimming_select(Registry& reg);

#endif
