#ifndef  TYPE_SDAIMATHS_FUNCTION_SELECT_H
#define  TYPE_SDAIMATHS_FUNCTION_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 SdaiMaths_function_select
class SC_SCHEMA_EXPORT SdaiMaths_function_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MATHS_FUNCTION    --  sdaiINSTANCE
    //   ELEMENTARY_FUNCTION_ENUMERATORS    --  sdaiENUMERATION
       SDAI_Application_instance_ptr _app_inst;
       SdaiElementary_function_enumerators_var _sdaielementary_function_enumerators_var;

  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
    SdaiMaths_function_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_maths_function_select );
    //  part 1
    SdaiMaths_function_select( const SdaiMaths_function_ptr&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_maths_function_select );
    SdaiMaths_function_select( const SdaiElementary_function_enumerators_var&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_maths_function_select );
    virtual ~SdaiMaths_function_select();

    //  part 2
    operator SdaiMaths_function_ptr();
    operator SdaiElementary_function_enumerators_var();

    //  part 3

    //  part 4
    SdaiMaths_function_select& operator =( const SdaiMaths_function_ptr& );
    SdaiMaths_function_select& operator =( const SdaiElementary_function_enumerators_var& );
    // not in SDAI
    SdaiMaths_function_select& ShallowCopy ( const SdaiMaths_function_select& );

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

    //  part 5
    Logical IsMaths_function() const;
    Logical IsElementary_function_enumerators() const;

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

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

inline SDAI_Select * create_SdaiMaths_function_select () { return new SdaiMaths_function_select; }
typedef SdaiMaths_function_select * SdaiMaths_function_selectH;
typedef SdaiMaths_function_select_ptr SdaiMaths_function_select_var;


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

  public:
    SdaiMaths_function_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_maths_function_select );
    ~SdaiMaths_function_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiMaths_function_select( sel_type )); }
};
inline STEPaggregate * create_SdaiMaths_function_select_agg () { return new SdaiMaths_function_select_agg; }
typedef SdaiMaths_function_select_agg_ptr SdaiMaths_function_select_agg_var;

/////  END SELECT TYPE maths_function_select

void init_SdaiMaths_function_select(Registry& reg);

#endif
