#ifndef  TYPE_SDAIDEFINED_DATA_NAME_H
#define  TYPE_SDAIDEFINED_DATA_NAME_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 SdaiDefined_data_name
class SC_SCHEMA_EXPORT SdaiDefined_data_name  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   COORDINATE_DATA_NAME    --  sdaiENUMERATION
    //   PROPERTY_3D_DATA_NAME    --  sdaiENUMERATION
    //   FD_DEFINED_DATA_NAME    --  sdaiSELECT
       SdaiCoordinate_data_name_var _sdaicoordinate_data_name_var;
       SdaiProperty_3d_data_name_var _sdaiproperty_3d_data_name_var;
       SdaiFd_defined_data_name _sdaifd_defined_data_name;

  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
    SdaiDefined_data_name( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_defined_data_name );
    //  part 1
    SdaiDefined_data_name( const SdaiCoordinate_data_name_var&,
                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_defined_data_name );
    SdaiDefined_data_name( const SdaiProperty_3d_data_name_var&,
                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_defined_data_name );
    SdaiDefined_data_name( const SdaiFd_defined_data_name_ptr&,
                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_defined_data_name );
    virtual ~SdaiDefined_data_name();

    //  part 2
    operator SdaiCoordinate_data_name_var();
    operator SdaiProperty_3d_data_name_var();
    operator SdaiFd_defined_data_name_ptr();

    //  part 3

    //  part 4
    SdaiDefined_data_name& operator =( const SdaiCoordinate_data_name_var& );
    SdaiDefined_data_name& operator =( const SdaiProperty_3d_data_name_var& );
    SdaiDefined_data_name& operator =( const SdaiFd_defined_data_name_ptr& );
    // not in SDAI
    SdaiDefined_data_name& ShallowCopy ( const SdaiDefined_data_name& );

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

    //  part 5
    Logical IsCoordinate_data_name() const;
    Logical IsProperty_3d_data_name() const;
    Logical IsFd_defined_data_name() const;

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

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

inline SDAI_Select * create_SdaiDefined_data_name () { return new SdaiDefined_data_name; }
typedef SdaiDefined_data_name * SdaiDefined_data_nameH;
typedef SdaiDefined_data_name_ptr SdaiDefined_data_name_var;


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

  public:
    SdaiDefined_data_name_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_defined_data_name );
    ~SdaiDefined_data_name_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDefined_data_name( sel_type )); }
};
inline STEPaggregate * create_SdaiDefined_data_name_agg () { return new SdaiDefined_data_name_agg; }
typedef SdaiDefined_data_name_agg_ptr SdaiDefined_data_name_agg_var;

/////  END SELECT TYPE defined_data_name

void init_SdaiDefined_data_name(Registry& reg);

#endif
