#ifndef  TYPE_SDAIACTION_METHOD_ITEM_H
#define  TYPE_SDAIACTION_METHOD_ITEM_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 SdaiAction_method_item
class SC_SCHEMA_EXPORT SdaiAction_method_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   EXTERNALLY_DEFINED_SCHEMA    --  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
    SdaiAction_method_item( const SelectTypeDescriptor * =process_planning_schema::t_action_method_item );
    //  part 1
    SdaiAction_method_item( const SdaiExternally_defined_schema_ptr&,
                            const SelectTypeDescriptor * =process_planning_schema::t_action_method_item );
    virtual ~SdaiAction_method_item();

    //  part 2
    operator SdaiExternally_defined_schema_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 );


    //  part 4
    SdaiAction_method_item& operator =( const SdaiExternally_defined_schema_ptr& );
    // not in SDAI
    SdaiAction_method_item& ShallowCopy ( const SdaiAction_method_item& );

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

    //  part 5
    Logical IsExternally_defined_schema() const;

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

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

inline SDAI_Select * create_SdaiAction_method_item () { return new SdaiAction_method_item; }
typedef SdaiAction_method_item * SdaiAction_method_itemH;
typedef SdaiAction_method_item_ptr SdaiAction_method_item_var;


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

  public:
    SdaiAction_method_item_agg( SelectTypeDescriptor * =process_planning_schema::t_action_method_item );
    ~SdaiAction_method_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAction_method_item( sel_type )); }
};
inline STEPaggregate * create_SdaiAction_method_item_agg () { return new SdaiAction_method_item_agg; }
typedef SdaiAction_method_item_agg_ptr SdaiAction_method_item_agg_var;

/////  END SELECT TYPE action_method_item

void init_SdaiAction_method_item(Registry& reg);

#endif
