#ifndef  TYPE_SDAIDEFINED_SYMBOL_SELECT_H
#define  TYPE_SDAIDEFINED_SYMBOL_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 SdaiDefined_symbol_select
class SC_SCHEMA_EXPORT SdaiDefined_symbol_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PRE_DEFINED_SYMBOL    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_SYMBOL    --  sdaiINSTANCE
       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
    SdaiDefined_symbol_select( const SelectTypeDescriptor * =automotive_design::t_defined_symbol_select );
    //  part 1
    SdaiDefined_symbol_select( const SdaiPre_defined_symbol_ptr&,
                               const SelectTypeDescriptor * =automotive_design::t_defined_symbol_select );
    SdaiDefined_symbol_select( const SdaiExternally_defined_symbol_ptr&,
                               const SelectTypeDescriptor * =automotive_design::t_defined_symbol_select );
    virtual ~SdaiDefined_symbol_select();

    //  part 2
    operator SdaiPre_defined_symbol_ptr();
    operator SdaiExternally_defined_symbol_ptr();

    //  part 3
        SdaiExternal_source_ptr_c source_() const;
        SdaiExternal_source_ptr   source_();
        void source_( const SdaiExternal_source_ptr x );

        SdaiSource_item_ptr_c item_id_() const;
        SdaiSource_item_ptr   item_id_();
        void item_id_( const SdaiSource_item_ptr x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiDefined_symbol_select& operator =( const SdaiPre_defined_symbol_ptr& );
    SdaiDefined_symbol_select& operator =( const SdaiExternally_defined_symbol_ptr& );
    // not in SDAI
    SdaiDefined_symbol_select& ShallowCopy ( const SdaiDefined_symbol_select& );

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

    //  part 5
    Logical IsPre_defined_symbol() const;
    Logical IsExternally_defined_symbol() const;

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

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

inline SDAI_Select * create_SdaiDefined_symbol_select () { return new SdaiDefined_symbol_select; }
typedef SdaiDefined_symbol_select * SdaiDefined_symbol_selectH;
typedef SdaiDefined_symbol_select_ptr SdaiDefined_symbol_select_var;


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

  public:
    SdaiDefined_symbol_select_agg( SelectTypeDescriptor * =automotive_design::t_defined_symbol_select );
    ~SdaiDefined_symbol_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDefined_symbol_select( sel_type )); }
};
inline STEPaggregate * create_SdaiDefined_symbol_select_agg () { return new SdaiDefined_symbol_select_agg; }
typedef SdaiDefined_symbol_select_agg_ptr SdaiDefined_symbol_select_agg_var;

/////  END SELECT TYPE defined_symbol_select

void init_SdaiDefined_symbol_select(Registry& reg);

#endif
