#ifndef  TYPE_SDAIMATHS_ENUM_ATOM_H
#define  TYPE_SDAIMATHS_ENUM_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_enum_atom
class SC_SCHEMA_EXPORT SdaiMaths_enum_atom  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ELEMENTARY_SPACE_ENUMERATORS    --  sdaiENUMERATION
    //   ORDERING_TYPE    --  sdaiENUMERATION
    //   LOWER_UPPER    --  sdaiENUMERATION
    //   SYMMETRY_TYPE    --  sdaiENUMERATION
    //   ELEMENTARY_FUNCTION_ENUMERATORS    --  sdaiENUMERATION
    //   OPEN_CLOSED    --  sdaiENUMERATION
    //   SPACE_CONSTRAINT_TYPE    --  sdaiENUMERATION
    //   REPACKAGE_OPTIONS    --  sdaiENUMERATION
    //   EXTENSION_OPTIONS    --  sdaiENUMERATION
       SdaiElementary_space_enumerators_var _sdaielementary_space_enumerators_var;
       SdaiOrdering_type_var _sdaiordering_type_var;
       SdaiLower_upper_var _sdailower_upper_var;
       SdaiSymmetry_type_var _sdaisymmetry_type_var;
       SdaiElementary_function_enumerators_var _sdaielementary_function_enumerators_var;
       SdaiOpen_closed_var _sdaiopen_closed_var;
       SdaiSpace_constraint_type_var _sdaispace_constraint_type_var;
       SdaiRepackage_options_var _sdairepackage_options_var;
       SdaiExtension_options_var _sdaiextension_options_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_enum_atom( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    //  part 1
    SdaiMaths_enum_atom( const SdaiElementary_space_enumerators_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiOrdering_type_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiLower_upper_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiSymmetry_type_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiElementary_function_enumerators_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiOpen_closed_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiSpace_constraint_type_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiRepackage_options_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    SdaiMaths_enum_atom( const SdaiExtension_options_var&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    virtual ~SdaiMaths_enum_atom();

    //  part 2
    operator SdaiElementary_space_enumerators_var();
    operator SdaiOrdering_type_var();
    operator SdaiLower_upper_var();
    operator SdaiSymmetry_type_var();
    operator SdaiElementary_function_enumerators_var();
    operator SdaiOpen_closed_var();
    operator SdaiSpace_constraint_type_var();
    operator SdaiRepackage_options_var();
    operator SdaiExtension_options_var();

    //  part 3

    //  part 4
    SdaiMaths_enum_atom& operator =( const SdaiElementary_space_enumerators_var& );
    SdaiMaths_enum_atom& operator =( const SdaiOrdering_type_var& );
    SdaiMaths_enum_atom& operator =( const SdaiLower_upper_var& );
    SdaiMaths_enum_atom& operator =( const SdaiSymmetry_type_var& );
    SdaiMaths_enum_atom& operator =( const SdaiElementary_function_enumerators_var& );
    SdaiMaths_enum_atom& operator =( const SdaiOpen_closed_var& );
    SdaiMaths_enum_atom& operator =( const SdaiSpace_constraint_type_var& );
    SdaiMaths_enum_atom& operator =( const SdaiRepackage_options_var& );
    SdaiMaths_enum_atom& operator =( const SdaiExtension_options_var& );
    // not in SDAI
    SdaiMaths_enum_atom& ShallowCopy ( const SdaiMaths_enum_atom& );

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

    //  part 5
    Logical IsElementary_space_enumerators() const;
    Logical IsOrdering_type() const;
    Logical IsLower_upper() const;
    Logical IsSymmetry_type() const;
    Logical IsElementary_function_enumerators() const;
    Logical IsOpen_closed() const;
    Logical IsSpace_constraint_type() const;
    Logical IsRepackage_options() const;
    Logical IsExtension_options() const;

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

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

inline SDAI_Select * create_SdaiMaths_enum_atom () { return new SdaiMaths_enum_atom; }
typedef SdaiMaths_enum_atom * SdaiMaths_enum_atomH;
typedef SdaiMaths_enum_atom_ptr SdaiMaths_enum_atom_var;


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

  public:
    SdaiMaths_enum_atom_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_maths_enum_atom );
    ~SdaiMaths_enum_atom_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiMaths_enum_atom( sel_type )); }
};
inline STEPaggregate * create_SdaiMaths_enum_atom_agg () { return new SdaiMaths_enum_atom_agg; }
typedef SdaiMaths_enum_atom_agg_ptr SdaiMaths_enum_atom_agg_var;

/////  END SELECT TYPE maths_enum_atom

void init_SdaiMaths_enum_atom(Registry& reg);

#endif
