#ifndef  TYPE_SDAITRIM_CONDITION_SELECT_H
#define  TYPE_SDAITRIM_CONDITION_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 SdaiTrim_condition_select
class SC_SCHEMA_EXPORT SdaiTrim_condition_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   LENGTH_MEASURE    --  sdaiREAL
    //   PLANE_ANGLE_MEASURE    --  sdaiREAL
    //   GENERALIZED_SURFACE_SELECT    --  sdaiSELECT
    //   SOLID_MODEL    --  sdaiINSTANCE
       SDAI_Real _real;
       SdaiGeneralized_surface_select _sdaigeneralized_surface_select;
       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
    SdaiTrim_condition_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_trim_condition_select );
    //  part 1
    SdaiTrim_condition_select( const SdaiGeneralized_surface_select_ptr&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_trim_condition_select );
    SdaiTrim_condition_select( const SdaiSolid_model_ptr&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_trim_condition_select );
    SdaiTrim_condition_select( const SDAI_Real&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_trim_condition_select );
    virtual ~SdaiTrim_condition_select();

    //  part 2
    operator SdaiGeneralized_surface_select_ptr();
    operator SdaiSolid_model_ptr();
    operator SDAI_Real ();

    //  part 3
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiTrim_condition_select& operator =( const SdaiGeneralized_surface_select_ptr& );
    SdaiTrim_condition_select& operator =( const SdaiSolid_model_ptr& );
    SdaiTrim_condition_select& operator =( const SDAI_Real& );
    // not in SDAI
    SdaiTrim_condition_select& ShallowCopy ( const SdaiTrim_condition_select& );

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

    //  part 5
    Logical IsLength_measure() const;
    Logical IsPlane_angle_measure() const;
    Logical IsGeneralized_surface_select() const;
    Logical IsSolid_model() const;

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

    //  part 7
    const TypeDescriptor *SetUnderlyingType ( const TypeDescriptor * td );
};

inline SDAI_Select * create_SdaiTrim_condition_select () { return new SdaiTrim_condition_select; }
typedef SdaiTrim_condition_select * SdaiTrim_condition_selectH;
typedef SdaiTrim_condition_select_ptr SdaiTrim_condition_select_var;


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

  public:
    SdaiTrim_condition_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_trim_condition_select );
    ~SdaiTrim_condition_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiTrim_condition_select( sel_type )); }
};
inline STEPaggregate * create_SdaiTrim_condition_select_agg () { return new SdaiTrim_condition_select_agg; }
typedef SdaiTrim_condition_select_agg_ptr SdaiTrim_condition_select_agg_var;

/////  END SELECT TYPE trim_condition_select

void init_SdaiTrim_condition_select(Registry& reg);

#endif
