#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 
    //   ASSEMBLY_COMPONENT    --  sdaiINSTANCE
    //   ASSEMBLY_COMPONENT_USAGE    --  sdaiINSTANCE
    //   ASSEMBLY_SPACING_REQUIREMENT    --  sdaiINSTANCE
    //   COMPONENT_FEATURE    --  sdaiINSTANCE
    //   COMPONENT_FUNCTIONAL_UNIT    --  sdaiINSTANCE
    //   GEOMETRIC_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   GROUP_RELATIONSHIP    --  sdaiINSTANCE
    //   GROUP_SHAPE_ASPECT    --  sdaiINSTANCE
    //   LAYOUT_SPACING_REQUIREMENT    --  sdaiINSTANCE
    //   MAPPED_ITEM    --  sdaiINSTANCE
    //   NETWORK_NODE_DEFINITION    --  sdaiINSTANCE
    //   PACKAGE_PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   PART_CONNECTED_TERMINALS_DEFINITION    --  sdaiINSTANCE
    //   PHYSICAL_CONNECTIVITY_DEFINITION    --  sdaiINSTANCE
    //   PHYSICAL_NETWORK    --  sdaiINSTANCE
    //   PREDEFINED_REQUIREMENT_VIEW_DEFINITION    --  sdaiINSTANCE
    //   PRINTED_PART_TEMPLATE_TERMINAL    --  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
    //   STRATUM    --  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 * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    //  part 1
    SdaiGroupable_item( const SdaiAssembly_component_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiAssembly_component_usage_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiAssembly_spacing_requirement_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiComponent_feature_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiComponent_functional_unit_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiGeometric_representation_item_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiGroup_relationship_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiGroup_shape_aspect_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiLayout_spacing_requirement_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiMapped_item_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiNetwork_node_definition_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPackage_product_concept_feature_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPart_connected_terminals_definition_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPhysical_connectivity_definition_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPhysical_network_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPredefined_requirement_view_definition_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiPrinted_part_template_terminal_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_concept_feature_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_definition_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProduct_definition_formation_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiProperty_definition_representation_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_item_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiRepresentation_relationship_with_transformation_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_aspect_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_aspect_relationship_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiShape_representation_relationship_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiStratum_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiStyled_item_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    SdaiGroupable_item( const SdaiTopological_representation_item_ptr&,
                        const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_groupable_item );
    virtual ~SdaiGroupable_item();

    //  part 2
    operator SdaiAssembly_component_ptr();
    operator SdaiAssembly_component_usage_ptr();
    operator SdaiAssembly_spacing_requirement_ptr();
    operator SdaiComponent_feature_ptr();
    operator SdaiComponent_functional_unit_ptr();
    operator SdaiGeometric_representation_item_ptr();
    operator SdaiGroup_relationship_ptr();
    operator SdaiGroup_shape_aspect_ptr();
    operator SdaiLayout_spacing_requirement_ptr();
    operator SdaiMapped_item_ptr();
    operator SdaiNetwork_node_definition_ptr();
    operator SdaiPackage_product_concept_feature_ptr();
    operator SdaiPart_connected_terminals_definition_ptr();
    operator SdaiPhysical_connectivity_definition_ptr();
    operator SdaiPhysical_network_ptr();
    operator SdaiPredefined_requirement_view_definition_ptr();
    operator SdaiPrinted_part_template_terminal_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 SdaiStratum_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 );

        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 );

        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr 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 );

        SdaiAssembly_component_ptr_c shape_aspect_of_shape_() const;
        SdaiAssembly_component_ptr   shape_aspect_of_shape_();
        void shape_aspect_of_shape_( const SdaiAssembly_component_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 SdaiIdentifier   reference_designator_() const;
        SdaiIdentifier   reference_designator_();
        void reference_designator_( const SdaiIdentifier x );

        SdaiCharacterized_definition_ptr_c definition_() const;
        SdaiCharacterized_definition_ptr   definition_();
        void definition_( const SdaiCharacterized_definition_ptr x );

        SdaiProduct_definition_ptr_c related_product_definition_() const;
        SdaiProduct_definition_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_ptr x );

        SdaiProduct_definition_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_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 SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

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


    //  part 4
    SdaiGroupable_item& operator =( const SdaiAssembly_component_ptr& );
    SdaiGroupable_item& operator =( const SdaiAssembly_component_usage_ptr& );
    SdaiGroupable_item& operator =( const SdaiAssembly_spacing_requirement_ptr& );
    SdaiGroupable_item& operator =( const SdaiComponent_feature_ptr& );
    SdaiGroupable_item& operator =( const SdaiComponent_functional_unit_ptr& );
    SdaiGroupable_item& operator =( const SdaiGeometric_representation_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiGroup_relationship_ptr& );
    SdaiGroupable_item& operator =( const SdaiGroup_shape_aspect_ptr& );
    SdaiGroupable_item& operator =( const SdaiLayout_spacing_requirement_ptr& );
    SdaiGroupable_item& operator =( const SdaiMapped_item_ptr& );
    SdaiGroupable_item& operator =( const SdaiNetwork_node_definition_ptr& );
    SdaiGroupable_item& operator =( const SdaiPackage_product_concept_feature_ptr& );
    SdaiGroupable_item& operator =( const SdaiPart_connected_terminals_definition_ptr& );
    SdaiGroupable_item& operator =( const SdaiPhysical_connectivity_definition_ptr& );
    SdaiGroupable_item& operator =( const SdaiPhysical_network_ptr& );
    SdaiGroupable_item& operator =( const SdaiPredefined_requirement_view_definition_ptr& );
    SdaiGroupable_item& operator =( const SdaiPrinted_part_template_terminal_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 SdaiStratum_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 IsAssembly_component() const;
    Logical IsAssembly_component_usage() const;
    Logical IsAssembly_spacing_requirement() const;
    Logical IsComponent_feature() const;
    Logical IsComponent_functional_unit() const;
    Logical IsGeometric_representation_item() const;
    Logical IsGroup_relationship() const;
    Logical IsGroup_shape_aspect() const;
    Logical IsLayout_spacing_requirement() const;
    Logical IsMapped_item() const;
    Logical IsNetwork_node_definition() const;
    Logical IsPackage_product_concept_feature() const;
    Logical IsPart_connected_terminals_definition() const;
    Logical IsPhysical_connectivity_definition() const;
    Logical IsPhysical_network() const;
    Logical IsPredefined_requirement_view_definition() const;
    Logical IsPrinted_part_template_terminal() 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 IsStratum() 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 * =ap210_electronic_assembly_interconnect_and_packaging_design_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
