#ifndef  TYPE_SDAIINDICES_GROUP_H
#define  TYPE_SDAIINDICES_GROUP_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 SdaiIndices_group
class SC_SCHEMA_EXPORT SdaiIndices_group  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   INDICES_LIST    --  sdaiINSTANCE
    //   INDICES_RANGE    --  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
    SdaiIndices_group( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_indices_group );
    //  part 1
    SdaiIndices_group( const SdaiIndices_list_ptr&,
                       const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_indices_group );
    SdaiIndices_group( const SdaiIndices_range_ptr&,
                       const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_indices_group );
    virtual ~SdaiIndices_group();

    //  part 2
    operator SdaiIndices_list_ptr();
    operator SdaiIndices_range_ptr();

    //  part 3
        IntAggregate_ptr_c finish_() const;
        IntAggregate_ptr   finish_();
        void finish_( const IntAggregate_ptr x );

        IntAggregate_ptr_c start_() const;
        IntAggregate_ptr   start_();
        void start_( const IntAggregate_ptr x );

        GenericAggregate_ptr_c indices_() const;
        GenericAggregate_ptr   indices_();
        void indices_( const GenericAggregate_ptr x );

        SDAI_Integer   nindices_() const;
        void nindices_( const SDAI_Integer x );


    //  part 4
    SdaiIndices_group& operator =( const SdaiIndices_list_ptr& );
    SdaiIndices_group& operator =( const SdaiIndices_range_ptr& );
    // not in SDAI
    SdaiIndices_group& ShallowCopy ( const SdaiIndices_group& );

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

    //  part 5
    Logical IsIndices_list() const;
    Logical IsIndices_range() const;

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

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

inline SDAI_Select * create_SdaiIndices_group () { return new SdaiIndices_group; }
typedef SdaiIndices_group * SdaiIndices_groupH;
typedef SdaiIndices_group_ptr SdaiIndices_group_var;


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

  public:
    SdaiIndices_group_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_indices_group );
    ~SdaiIndices_group_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIndices_group( sel_type )); }
};
inline STEPaggregate * create_SdaiIndices_group_agg () { return new SdaiIndices_group_agg; }
typedef SdaiIndices_group_agg_ptr SdaiIndices_group_agg_var;

/////  END SELECT TYPE indices_group

void init_SdaiIndices_group(Registry& reg);

#endif
