#ifndef  TYPE_SDAIGROUPABLE_ITEM_H
#define  TYPE_SDAIGROUPABLE_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 SdaiGroupable_item
class SC_SCHEMA_EXPORT SdaiGroupable_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   GEOMETRIC_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   GROUP_RELATIONSHIP    --  sdaiINSTANCE
    //   MAPPED_ITEM    --  sdaiINSTANCE
    //   PACKAGE_PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PROPERTY_DEFINITION_REPRESENTATION    --  sdaiINSTANCE
    //   REPRESENTATION    --  sdaiINSTANCE
    //   REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION    --  sdaiINSTANCE
    //   SHAPE_ASPECT    --  sdaiINSTANCE
    //   SHAPE_ASPECT_RELATIONSHIP    --  sdaiINSTANCE
    //   SHAPE_REPRESENTATION_RELATIONSHIP    --  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
    SdaiGroupable_item( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    //  part 1
    SdaiGroupable_item( const SdaiGeometric_representation_item_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiGroup_relationship_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiMapped_item_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPackage_product_concept_feature_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_concept_feature_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_definition_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_definition_formation_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProperty_definition_representation_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_item_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_relationship_with_transformation_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_aspect_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_aspect_relationship_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_representation_relationship_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiStyled_item_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiTopological_representation_item_ptr&,
                        const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    virtual ~SdaiGroupable_item();

    //  part 2
    operator SdaiGeometric_representation_item_ptr();
    operator SdaiGroup_relationship_ptr();
    operator SdaiMapped_item_ptr();
    operator SdaiPackage_product_concept_feature_ptr();
    operator SdaiProduct_concept_feature_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProperty_definition_representation_ptr();
    operator SdaiRepresentation_ptr();
    operator SdaiRepresentation_item_ptr();
    operator SdaiRepresentation_relationship_with_transformation_ptr();
    operator SdaiShape_aspect_ptr();
    operator SdaiShape_aspect_relationship_ptr();
    operator SdaiShape_representation_relationship_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 );

        SdaiShape_aspect_ptr_c related_shape_aspect_() const;
        SdaiShape_aspect_ptr   related_shape_aspect_();
        void related_shape_aspect_( const SdaiShape_aspect_ptr x );

        SdaiShape_aspect_ptr_c relating_shape_aspect_() const;
        SdaiShape_aspect_ptr   relating_shape_aspect_();
        void relating_shape_aspect_( const SdaiShape_aspect_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 );

        SdaiTransformation_ptr_c transformation_operator_() const;
        SdaiTransformation_ptr   transformation_operator_();
        void transformation_operator_( const SdaiTransformation_ptr x );

        SdaiRepresentation_ptr_c rep_2_() const;
        SdaiRepresentation_ptr   rep_2_();
        void rep_2_( const SdaiRepresentation_ptr x );

        SdaiRepresentation_ptr_c rep_1_() const;
        SdaiRepresentation_ptr   rep_1_();
        void rep_1_( const SdaiRepresentation_ptr x );

        SdaiRepresentation_context_ptr_c context_of_items_() const;
        SdaiRepresentation_context_ptr   context_of_items_();
        void context_of_items_( const SdaiRepresentation_context_ptr x );

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

        SdaiRepresentation_ptr_c used_representation_() const;
        SdaiRepresentation_ptr   used_representation_();
        void used_representation_( const SdaiRepresentation_ptr x );

        SdaiRepresented_definition_ptr_c definition_() const;
        SdaiRepresented_definition_ptr   definition_();
        void definition_( const SdaiRepresented_definition_ptr x );

        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr x );

        SdaiProduct_definition_context_ptr_c frame_of_reference_() const;
        SdaiProduct_definition_context_ptr   frame_of_reference_();
        void frame_of_reference_( const SdaiProduct_definition_context_ptr x );

        SdaiProduct_definition_formation_ptr_c formation_() const;
        SdaiProduct_definition_formation_ptr   formation_();
        void formation_( const SdaiProduct_definition_formation_ptr 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 );

        SdaiGroup_ptr_c related_group_() const;
        SdaiGroup_ptr   related_group_();
        void related_group_( const SdaiGroup_ptr x );

        SdaiGroup_ptr_c relating_group_() const;
        SdaiGroup_ptr   relating_group_();
        void relating_group_( const SdaiGroup_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
    SdaiGroupable_item& operator =( const SdaiGeometric_representation_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiGroup_relationship_ptr& );
    SdaiGroupable_item& operator =( const SdaiMapped_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiPackage_product_concept_feature_ptr& );
    SdaiGroupable_item& operator =( const SdaiProduct_concept_feature_ptr& );
    SdaiGroupable_item& operator =( const SdaiProduct_definition_ptr& );
    SdaiGroupable_item& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiGroupable_item& operator =( const SdaiProperty_definition_representation_ptr& );
    SdaiGroupable_item& operator =( const SdaiRepresentation_ptr& );
    SdaiGroupable_item& operator =( const SdaiRepresentation_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiRepresentation_relationship_with_transformation_ptr& );
    SdaiGroupable_item& operator =( const SdaiShape_aspect_ptr& );
    SdaiGroupable_item& operator =( const SdaiShape_aspect_relationship_ptr& );
    SdaiGroupable_item& operator =( const SdaiShape_representation_relationship_ptr& );
    SdaiGroupable_item& operator =( const SdaiStyled_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiTopological_representation_item_ptr& );
    // not in SDAI
    SdaiGroupable_item& ShallowCopy ( const SdaiGroupable_item& );

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

    //  part 5
    Logical IsGeometric_representation_item() const;
    Logical IsGroup_relationship() const;
    Logical IsMapped_item() const;
    Logical IsPackage_product_concept_feature() const;
    Logical IsProduct_concept_feature() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProperty_definition_representation() const;
    Logical IsRepresentation() const;
    Logical IsRepresentation_item() const;
    Logical IsRepresentation_relationship_with_transformation() const;
    Logical IsShape_aspect() const;
    Logical IsShape_aspect_relationship() const;
    Logical IsShape_representation_relationship() 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_SdaiGroupable_item () { return new SdaiGroupable_item; }
typedef SdaiGroupable_item * SdaiGroupable_itemH;
typedef SdaiGroupable_item_ptr SdaiGroupable_item_var;


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

  public:
    SdaiGroupable_item_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_groupable_item );
    ~SdaiGroupable_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiGroupable_item( sel_type )); }
};
inline STEPaggregate * create_SdaiGroupable_item_agg () { return new SdaiGroupable_item_agg; }
typedef SdaiGroupable_item_agg_ptr SdaiGroupable_item_agg_var;

/////  END SELECT TYPE groupable_item

void init_SdaiGroupable_item(Registry& reg);

#endif
