#ifndef  TYPE_SDAITIME_INTERVAL_ITEM_H
#define  TYPE_SDAITIME_INTERVAL_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 SdaiTime_interval_item
class SC_SCHEMA_EXPORT SdaiTime_interval_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION    --  sdaiINSTANCE
    //   TIME_INTERVAL_BASED_EFFECTIVITY    --  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
    SdaiTime_interval_item( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_time_interval_item );
    //  part 1
    SdaiTime_interval_item( const SdaiAction_ptr&,
                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_time_interval_item );
    SdaiTime_interval_item( const SdaiTime_interval_based_effectivity_ptr&,
                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_time_interval_item );
    virtual ~SdaiTime_interval_item();

    //  part 2
    operator SdaiAction_ptr();
    operator SdaiTime_interval_based_effectivity_ptr();

    //  part 3
        SdaiTime_interval_ptr_c effectivity_period_() const;
        SdaiTime_interval_ptr   effectivity_period_();
        void effectivity_period_( const SdaiTime_interval_ptr x );

        SdaiAction_method_ptr_c chosen_method_() const;
        SdaiAction_method_ptr   chosen_method_();
        void chosen_method_( const SdaiAction_method_ptr x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

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


    //  part 4
    SdaiTime_interval_item& operator =( const SdaiAction_ptr& );
    SdaiTime_interval_item& operator =( const SdaiTime_interval_based_effectivity_ptr& );
    // not in SDAI
    SdaiTime_interval_item& ShallowCopy ( const SdaiTime_interval_item& );

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

    //  part 5
    Logical IsAction() const;
    Logical IsTime_interval_based_effectivity() const;

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

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

inline SDAI_Select * create_SdaiTime_interval_item () { return new SdaiTime_interval_item; }
typedef SdaiTime_interval_item * SdaiTime_interval_itemH;
typedef SdaiTime_interval_item_ptr SdaiTime_interval_item_var;


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

  public:
    SdaiTime_interval_item_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_time_interval_item );
    ~SdaiTime_interval_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiTime_interval_item( sel_type )); }
};
inline STEPaggregate * create_SdaiTime_interval_item_agg () { return new SdaiTime_interval_item_agg; }
typedef SdaiTime_interval_item_agg_ptr SdaiTime_interval_item_agg_var;

/////  END SELECT TYPE time_interval_item

void init_SdaiTime_interval_item(Registry& reg);

#endif
