#ifndef  TYPE_SDAIGROUP_ITEM_H
#define  TYPE_SDAIGROUP_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 SdaiGroup_item
class SC_SCHEMA_EXPORT SdaiGroup_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   GEOMETRIC_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   MAPPED_ITEM    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   SHAPE_ASPECT    --  sdaiINSTANCE
    //   STYLED_ITEM    --  sdaiINSTANCE
    //   TOPOLOGICAL_REPRESENTATION_ITEM    --  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
    SdaiGroup_item( const SelectTypeDescriptor * =automotive_design::t_group_item );
    //  part 1
    SdaiGroup_item( const SdaiGeometric_representation_item_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    SdaiGroup_item( const SdaiMapped_item_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    SdaiGroup_item( const SdaiProduct_concept_feature_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    SdaiGroup_item( const SdaiShape_aspect_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    SdaiGroup_item( const SdaiStyled_item_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    SdaiGroup_item( const SdaiTopological_representation_item_ptr&,
                    const SelectTypeDescriptor * =automotive_design::t_group_item );
    virtual ~SdaiGroup_item();

    //  part 2
    operator SdaiGeometric_representation_item_ptr();
    operator SdaiMapped_item_ptr();
    operator SdaiProduct_concept_feature_ptr();
    operator SdaiShape_aspect_ptr();
    operator SdaiStyled_item_ptr();
    operator SdaiTopological_representation_item_ptr();

    //  part 3
        SdaiRepresentation_item_ptr_c item_() const;
        SdaiRepresentation_item_ptr   item_();
        void item_( const SdaiRepresentation_item_ptr x );

        EntityAggregate_ptr_c styles_() const;
        EntityAggregate_ptr   styles_();
        void styles_( const EntityAggregate_ptr x );

        Logical   product_definitional_() const;
        void product_definitional_( const Logical x );

        SdaiProduct_definition_shape_ptr_c of_shape_() const;
        SdaiProduct_definition_shape_ptr   of_shape_();
        void of_shape_( const SdaiProduct_definition_shape_ptr x );

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

  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );

        SdaiRepresentation_item_ptr_c mapping_target_() const;
        SdaiRepresentation_item_ptr   mapping_target_();
        void mapping_target_( const SdaiRepresentation_item_ptr x );

        SdaiRepresentation_map_ptr_c mapping_source_() const;
        SdaiRepresentation_map_ptr   mapping_source_();
        void mapping_source_( const SdaiRepresentation_map_ptr x );

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


    //  part 4
    SdaiGroup_item& operator =( const SdaiGeometric_representation_item_ptr& );
    SdaiGroup_item& operator =( const SdaiMapped_item_ptr& );
    SdaiGroup_item& operator =( const SdaiProduct_concept_feature_ptr& );
    SdaiGroup_item& operator =( const SdaiShape_aspect_ptr& );
    SdaiGroup_item& operator =( const SdaiStyled_item_ptr& );
    SdaiGroup_item& operator =( const SdaiTopological_representation_item_ptr& );
    // not in SDAI
    SdaiGroup_item& ShallowCopy ( const SdaiGroup_item& );

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

    //  part 5
    Logical IsGeometric_representation_item() const;
    Logical IsMapped_item() const;
    Logical IsProduct_concept_feature() const;
    Logical IsShape_aspect() const;
    Logical IsStyled_item() const;
    Logical IsTopological_representation_item() const;

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

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

inline SDAI_Select * create_SdaiGroup_item () { return new SdaiGroup_item; }
typedef SdaiGroup_item * SdaiGroup_itemH;
typedef SdaiGroup_item_ptr SdaiGroup_item_var;


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

  public:
    SdaiGroup_item_agg( SelectTypeDescriptor * =automotive_design::t_group_item );
    ~SdaiGroup_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiGroup_item( sel_type )); }
};
inline STEPaggregate * create_SdaiGroup_item_agg () { return new SdaiGroup_item_agg; }
typedef SdaiGroup_item_agg_ptr SdaiGroup_item_agg_var;

/////  END SELECT TYPE group_item

void init_SdaiGroup_item(Registry& reg);

#endif
