#ifndef  TYPE_SDAIMATHS_ATOM_H
#define  TYPE_SDAIMATHS_ATOM_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_atom
class SC_SCHEMA_EXPORT SdaiMaths_atom  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MATHS_SIMPLE_ATOM    --  sdaiSELECT
    //   MATHS_ENUM_ATOM    --  sdaiSELECT
       SdaiMaths_simple_atom _sdaimaths_simple_atom;
       SdaiMaths_enum_atom _sdaimaths_enum_atom;

  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_atom( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_atom );
    //  part 1
    SdaiMaths_atom( const SdaiMaths_simple_atom_ptr&,
                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_atom );
    SdaiMaths_atom( const SdaiMaths_enum_atom_ptr&,
                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_atom );
    virtual ~SdaiMaths_atom();

    //  part 2
    operator SdaiMaths_simple_atom_ptr();
    operator SdaiMaths_enum_atom_ptr();

    //  part 3

    //  part 4
    SdaiMaths_atom& operator =( const SdaiMaths_simple_atom_ptr& );
    SdaiMaths_atom& operator =( const SdaiMaths_enum_atom_ptr& );
    // not in SDAI
    SdaiMaths_atom& ShallowCopy ( const SdaiMaths_atom& );

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

    //  part 5
    Logical IsMaths_simple_atom() const;
    Logical IsMaths_enum_atom() const;

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

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

inline SDAI_Select * create_SdaiMaths_atom () { return new SdaiMaths_atom; }
typedef SdaiMaths_atom * SdaiMaths_atomH;
typedef SdaiMaths_atom_ptr SdaiMaths_atom_var;


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

  public:
    SdaiMaths_atom_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_atom );
    ~SdaiMaths_atom_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiMaths_atom( sel_type )); }
};
inline STEPaggregate * create_SdaiMaths_atom_agg () { return new SdaiMaths_atom_agg; }
typedef SdaiMaths_atom_agg_ptr SdaiMaths_atom_agg_var;

/////  END SELECT TYPE maths_atom

void init_SdaiMaths_atom(Registry& reg);

#endif
