#ifndef  TYPE_SDAIDOCUMENT_REFERENCE_ITEM_H
#define  TYPE_SDAIDOCUMENT_REFERENCE_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 SdaiDocument_reference_item
class SC_SCHEMA_EXPORT SdaiDocument_reference_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION_METHOD    --  sdaiINSTANCE
    //   ANALYTICAL_MODEL_DEFINITION    --  sdaiINSTANCE
    //   APPLIED_EXTERNAL_IDENTIFICATION_ASSIGNMENT    --  sdaiINSTANCE
    //   ASSEMBLY_COMPONENT    --  sdaiINSTANCE
    //   ASSEMBLY_COMPONENT_USAGE    --  sdaiINSTANCE
    //   CHARACTERIZED_CLASS    --  sdaiINSTANCE
    //   CHARACTERIZED_OBJECT    --  sdaiINSTANCE
    //   COMPONENT_FEATURE    --  sdaiINSTANCE
    //   CONFIGURATION_ITEM    --  sdaiINSTANCE
    //   DESCRIPTIVE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   DIMENSIONAL_SIZE    --  sdaiINSTANCE
    //   EXECUTED_ACTION    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_DIMENSION_DEFINITION    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_ITEM    --  sdaiINSTANCE
    //   GROUP    --  sdaiINSTANCE
    //   GROUP_RELATIONSHIP    --  sdaiINSTANCE
    //   INFORMATION_RIGHT    --  sdaiINSTANCE
    //   INFORMATION_USAGE_RIGHT    --  sdaiINSTANCE
    //   INTER_STRATUM_FEATURE    --  sdaiINSTANCE
    //   MATERIAL_DESIGNATION    --  sdaiINSTANCE
    //   MEASURE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   MODEL_PARAMETER    --  sdaiINSTANCE
    //   PACKAGE_TERMINAL    --  sdaiINSTANCE
    //   PASSAGE_TECHNOLOGY    --  sdaiINSTANCE
    //   PHYSICAL_CONNECTIVITY_DEFINITION    --  sdaiINSTANCE
    //   PHYSICAL_CONNECTIVITY_ELEMENT    --  sdaiINSTANCE
    //   PREDEFINED_REQUIREMENT_VIEW_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_CATEGORY    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   PROPERTY_DEFINITION    --  sdaiINSTANCE
    //   PROTOCOL_PHYSICAL_LAYER_DEFINITION    --  sdaiINSTANCE
    //   REPRESENTATION    --  sdaiINSTANCE
    //   REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   RULE_SET    --  sdaiINSTANCE
    //   SHAPE_ASPECT    --  sdaiINSTANCE
    //   SHAPE_ASPECT_RELATIONSHIP    --  sdaiINSTANCE
    //   STRATUM    --  sdaiINSTANCE
    //   STRATUM_FEATURE    --  sdaiINSTANCE
    //   STRATUM_SURFACE    --  sdaiINSTANCE
    //   STRATUM_TECHNOLOGY    --  sdaiINSTANCE
    //   STRUCTURED_LAYOUT_COMPONENT    --  sdaiINSTANCE
    //   USAGE_ASSOCIATION    --  sdaiINSTANCE
    //   VERSIONED_ACTION_REQUEST    --  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
    SdaiDocument_reference_item( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    //  part 1
    SdaiDocument_reference_item( const SdaiAction_method_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiAnalytical_model_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiApplied_external_identification_assignment_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiAssembly_component_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiAssembly_component_usage_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiCharacterized_class_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiCharacterized_object_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiComponent_feature_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiConfiguration_item_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiDescriptive_representation_item_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiDimensional_size_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiExecuted_action_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiExternally_defined_dimension_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiExternally_defined_item_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiGroup_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiGroup_relationship_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiInformation_right_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiInformation_usage_right_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiInter_stratum_feature_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiMaterial_designation_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiMeasure_representation_item_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiModel_parameter_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPackage_terminal_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPassage_technology_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPhysical_connectivity_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPhysical_connectivity_element_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPredefined_requirement_view_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_category_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_formation_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_formation_relationship_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_relationship_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProperty_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProtocol_physical_layer_definition_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiRepresentation_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiRepresentation_item_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiRule_set_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiShape_aspect_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiShape_aspect_relationship_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiStratum_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiStratum_feature_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiStratum_surface_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiStratum_technology_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiStructured_layout_component_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiUsage_association_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiVersioned_action_request_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    virtual ~SdaiDocument_reference_item();

    //  part 2
    operator SdaiAction_method_ptr();
    operator SdaiAnalytical_model_definition_ptr();
    operator SdaiApplied_external_identification_assignment_ptr();
    operator SdaiAssembly_component_ptr();
    operator SdaiAssembly_component_usage_ptr();
    operator SdaiCharacterized_class_ptr();
    operator SdaiCharacterized_object_ptr();
    operator SdaiComponent_feature_ptr();
    operator SdaiConfiguration_item_ptr();
    operator SdaiDescriptive_representation_item_ptr();
    operator SdaiDimensional_size_ptr();
    operator SdaiExecuted_action_ptr();
    operator SdaiExternally_defined_dimension_definition_ptr();
    operator SdaiExternally_defined_item_ptr();
    operator SdaiGroup_ptr();
    operator SdaiGroup_relationship_ptr();
    operator SdaiInformation_right_ptr();
    operator SdaiInformation_usage_right_ptr();
    operator SdaiInter_stratum_feature_ptr();
    operator SdaiMaterial_designation_ptr();
    operator SdaiMeasure_representation_item_ptr();
    operator SdaiModel_parameter_ptr();
    operator SdaiPackage_terminal_ptr();
    operator SdaiPassage_technology_ptr();
    operator SdaiPhysical_connectivity_definition_ptr();
    operator SdaiPhysical_connectivity_element_ptr();
    operator SdaiPredefined_requirement_view_definition_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_category_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProduct_definition_formation_relationship_ptr();
    operator SdaiProduct_definition_relationship_ptr();
    operator SdaiProperty_definition_ptr();
    operator SdaiProtocol_physical_layer_definition_ptr();
    operator SdaiRepresentation_ptr();
    operator SdaiRepresentation_item_ptr();
    operator SdaiRule_set_ptr();
    operator SdaiShape_aspect_ptr();
    operator SdaiShape_aspect_relationship_ptr();
    operator SdaiStratum_ptr();
    operator SdaiStratum_feature_ptr();
    operator SdaiStratum_surface_ptr();
    operator SdaiStratum_technology_ptr();
    operator SdaiStructured_layout_component_ptr();
    operator SdaiUsage_association_ptr();
    operator SdaiVersioned_action_request_ptr();

    //  part 3
  const SdaiLabel   version_() const;
        SdaiLabel   version_();
        void version_( const SdaiLabel x );

        SdaiInformation_usage_right_ptr_c action_method_relationship_relating_method_() const;
        SdaiInformation_usage_right_ptr   action_method_relationship_relating_method_();
        void action_method_relationship_relating_method_( const SdaiInformation_usage_right_ptr x );

        SdaiInformation_usage_right_ptr_c action_method_relationship_related_method_() const;
        SdaiInformation_usage_right_ptr   action_method_relationship_related_method_();
        void action_method_relationship_related_method_( const SdaiInformation_usage_right_ptr x );

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

        SdaiAction_method_ptr_c relating_method_() const;
        SdaiAction_method_ptr   relating_method_();
        void relating_method_( const SdaiAction_method_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 );

        SdaiProduct_definition_formation_ptr_c related_product_definition_formation_() const;
        SdaiProduct_definition_formation_ptr   related_product_definition_formation_();
        void related_product_definition_formation_( const SdaiProduct_definition_formation_ptr x );

        SdaiProduct_definition_formation_ptr_c relating_product_definition_formation_() const;
        SdaiProduct_definition_formation_ptr   relating_product_definition_formation_();
        void relating_product_definition_formation_( const SdaiProduct_definition_formation_ptr x );

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

        SdaiUnit_ptr_c unit_component_() const;
        SdaiUnit_ptr   unit_component_();
        void unit_component_( const SdaiUnit_ptr x );

        SdaiMeasure_value_ptr_c value_component_() const;
        SdaiMeasure_value_ptr   value_component_();
        void value_component_( const SdaiMeasure_value_ptr x );

        SdaiCharacterized_definition_agg_ptr_c definitions_() const;
        SdaiCharacterized_definition_agg_ptr   definitions_();
        void definitions_( const SdaiCharacterized_definition_agg_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 );

        SdaiSource_item_ptr_c item_id_() const;
        SdaiSource_item_ptr   item_id_();
        void item_id_( const SdaiSource_item_ptr x );

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

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

        SdaiProduct_concept_ptr_c item_concept_() const;
        SdaiProduct_concept_ptr   item_concept_();
        void item_concept_( const SdaiProduct_concept_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 );

        SdaiExternal_identification_item_agg_ptr_c items_() const;
        SdaiExternal_identification_item_agg_ptr   items_();
        void items_( const SdaiExternal_identification_item_agg_ptr x );

        SdaiExternal_source_ptr_c source_() const;
        SdaiExternal_source_ptr   source_();
        void source_( const SdaiExternal_source_ptr x );

        SdaiIdentification_role_ptr_c role_() const;
        SdaiIdentification_role_ptr   role_();
        void role_( const SdaiIdentification_role_ptr x );

  const SdaiIdentifier   assigned_id_() const;
        SdaiIdentifier   assigned_id_();
        void assigned_id_( const SdaiIdentifier 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 );

  const SdaiText   purpose_() const;
        SdaiText   purpose_();
        void purpose_( const SdaiText x );

  const SdaiText   consequence_() const;
        SdaiText   consequence_();
        void consequence_( const SdaiText 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
    SdaiDocument_reference_item& operator =( const SdaiAction_method_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiAnalytical_model_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiApplied_external_identification_assignment_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiAssembly_component_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiAssembly_component_usage_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiCharacterized_class_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiCharacterized_object_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiComponent_feature_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiConfiguration_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiDescriptive_representation_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiDimensional_size_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiExecuted_action_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiExternally_defined_dimension_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiExternally_defined_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiGroup_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiGroup_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiInformation_right_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiInformation_usage_right_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiInter_stratum_feature_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiMaterial_designation_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiMeasure_representation_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiModel_parameter_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPackage_terminal_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPassage_technology_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPhysical_connectivity_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPhysical_connectivity_element_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPredefined_requirement_view_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_category_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_formation_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProperty_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProtocol_physical_layer_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiRepresentation_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiRepresentation_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiRule_set_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiShape_aspect_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiShape_aspect_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiStratum_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiStratum_feature_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiStratum_surface_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiStratum_technology_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiStructured_layout_component_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiUsage_association_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiVersioned_action_request_ptr& );
    // not in SDAI
    SdaiDocument_reference_item& ShallowCopy ( const SdaiDocument_reference_item& );

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

    //  part 5
    Logical IsAction_method() const;
    Logical IsAnalytical_model_definition() const;
    Logical IsApplied_external_identification_assignment() const;
    Logical IsAssembly_component() const;
    Logical IsAssembly_component_usage() const;
    Logical IsCharacterized_class() const;
    Logical IsCharacterized_object() const;
    Logical IsComponent_feature() const;
    Logical IsConfiguration_item() const;
    Logical IsDescriptive_representation_item() const;
    Logical IsDimensional_size() const;
    Logical IsExecuted_action() const;
    Logical IsExternally_defined_dimension_definition() const;
    Logical IsExternally_defined_item() const;
    Logical IsGroup() const;
    Logical IsGroup_relationship() const;
    Logical IsInformation_right() const;
    Logical IsInformation_usage_right() const;
    Logical IsInter_stratum_feature() const;
    Logical IsMaterial_designation() const;
    Logical IsMeasure_representation_item() const;
    Logical IsModel_parameter() const;
    Logical IsPackage_terminal() const;
    Logical IsPassage_technology() const;
    Logical IsPhysical_connectivity_definition() const;
    Logical IsPhysical_connectivity_element() const;
    Logical IsPredefined_requirement_view_definition() const;
    Logical IsProduct() const;
    Logical IsProduct_category() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProduct_definition_formation_relationship() const;
    Logical IsProduct_definition_relationship() const;
    Logical IsProperty_definition() const;
    Logical IsProtocol_physical_layer_definition() const;
    Logical IsRepresentation() const;
    Logical IsRepresentation_item() const;
    Logical IsRule_set() const;
    Logical IsShape_aspect() const;
    Logical IsShape_aspect_relationship() const;
    Logical IsStratum() const;
    Logical IsStratum_feature() const;
    Logical IsStratum_surface() const;
    Logical IsStratum_technology() const;
    Logical IsStructured_layout_component() const;
    Logical IsUsage_association() const;
    Logical IsVersioned_action_request() const;

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

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

inline SDAI_Select * create_SdaiDocument_reference_item () { return new SdaiDocument_reference_item; }
typedef SdaiDocument_reference_item * SdaiDocument_reference_itemH;
typedef SdaiDocument_reference_item_ptr SdaiDocument_reference_item_var;


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

  public:
    SdaiDocument_reference_item_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_document_reference_item );
    ~SdaiDocument_reference_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDocument_reference_item( sel_type )); }
};
inline STEPaggregate * create_SdaiDocument_reference_item_agg () { return new SdaiDocument_reference_item_agg; }
typedef SdaiDocument_reference_item_agg_ptr SdaiDocument_reference_item_agg_var;

/////  END SELECT TYPE document_reference_item

void init_SdaiDocument_reference_item(Registry& reg);

#endif
