#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_DIRECTIVE    --  sdaiINSTANCE
    //   ACTION_METHOD    --  sdaiINSTANCE
    //   ACTION_RELATIONSHIP    --  sdaiINSTANCE
    //   APPLIED_ACTION_ASSIGNMENT    --  sdaiINSTANCE
    //   APPROVAL    --  sdaiINSTANCE
    //   CERTIFICATION    --  sdaiINSTANCE
    //   CLASS    --  sdaiINSTANCE
    //   CLASS_SYSTEM    --  sdaiINSTANCE
    //   CONFIGURATION_DESIGN    --  sdaiINSTANCE
    //   CONFIGURATION_ITEM    --  sdaiINSTANCE
    //   CONTRACT    --  sdaiINSTANCE
    //   DESCRIPTIVE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   EXECUTED_ACTION    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_DIMENSION_DEFINITION    --  sdaiINSTANCE
    //   FEATURE_DEFINITION    --  sdaiINSTANCE
    //   GENERAL_PROPERTY    --  sdaiINSTANCE
    //   MATERIAL_DESIGNATION    --  sdaiINSTANCE
    //   ORGANIZATION    --  sdaiINSTANCE
    //   ORGANIZATIONAL_PROJECT    --  sdaiINSTANCE
    //   PERSON    --  sdaiINSTANCE
    //   PRESENTATION_AREA    --  sdaiINSTANCE
    //   PROCESS_PLAN    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT_FEATURE_CATEGORY    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_PROCESS    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_SUBSTITUTE    --  sdaiINSTANCE
    //   PRODUCT_RELATED_PRODUCT_CATEGORY    --  sdaiINSTANCE
    //   PROPERTY_DEFINITION    --  sdaiINSTANCE
    //   REPRESENTATION    --  sdaiINSTANCE
    //   RESOURCE_REQUIREMENT_TYPE    --  sdaiINSTANCE
    //   RETENTION    --  sdaiINSTANCE
    //   SECURITY_CLASSIFICATION    --  sdaiINSTANCE
    //   SHAPE_ASPECT    --  sdaiINSTANCE
    //   SHAPE_ASPECT_RELATIONSHIP    --  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 * =automotive_design::t_document_reference_item );
    //  part 1
    SdaiDocument_reference_item( const SdaiAction_directive_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiAction_method_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiAction_relationship_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiApplied_action_assignment_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiApproval_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiCertification_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiClass_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiClass_system_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiConfiguration_design_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiConfiguration_item_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiContract_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiDescriptive_representation_item_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiExecuted_action_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiExternally_defined_dimension_definition_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiFeature_definition_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiGeneral_property_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiMaterial_designation_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiOrganization_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiOrganizational_project_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPerson_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiPresentation_area_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProcess_plan_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_concept_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_concept_feature_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_concept_feature_category_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_formation_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_formation_relationship_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_process_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_relationship_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_definition_substitute_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProduct_related_product_category_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiProperty_definition_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiRepresentation_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiResource_requirement_type_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiRetention_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiSecurity_classification_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiShape_aspect_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiShape_aspect_relationship_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    SdaiDocument_reference_item( const SdaiVersioned_action_request_ptr&,
                                 const SelectTypeDescriptor * =automotive_design::t_document_reference_item );
    virtual ~SdaiDocument_reference_item();

    //  part 2
    operator SdaiAction_directive_ptr();
    operator SdaiAction_method_ptr();
    operator SdaiAction_relationship_ptr();
    operator SdaiApplied_action_assignment_ptr();
    operator SdaiApproval_ptr();
    operator SdaiCertification_ptr();
    operator SdaiClass_ptr();
    operator SdaiClass_system_ptr();
    operator SdaiConfiguration_design_ptr();
    operator SdaiConfiguration_item_ptr();
    operator SdaiContract_ptr();
    operator SdaiDescriptive_representation_item_ptr();
    operator SdaiExecuted_action_ptr();
    operator SdaiExternally_defined_dimension_definition_ptr();
    operator SdaiFeature_definition_ptr();
    operator SdaiGeneral_property_ptr();
    operator SdaiMaterial_designation_ptr();
    operator SdaiOrganization_ptr();
    operator SdaiOrganizational_project_ptr();
    operator SdaiPerson_ptr();
    operator SdaiPresentation_area_ptr();
    operator SdaiProcess_plan_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_concept_ptr();
    operator SdaiProduct_concept_feature_ptr();
    operator SdaiProduct_concept_feature_category_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProduct_definition_formation_relationship_ptr();
    operator SdaiProduct_definition_process_ptr();
    operator SdaiProduct_definition_relationship_ptr();
    operator SdaiProduct_definition_substitute_ptr();
    operator SdaiProduct_related_product_category_ptr();
    operator SdaiProperty_definition_ptr();
    operator SdaiRepresentation_ptr();
    operator SdaiResource_requirement_type_ptr();
    operator SdaiRetention_ptr();
    operator SdaiSecurity_classification_ptr();
    operator SdaiShape_aspect_ptr();
    operator SdaiShape_aspect_relationship_ptr();
    operator SdaiVersioned_action_request_ptr();

    //  part 3
  const SdaiLabel   version_() const;
        SdaiLabel   version_();
        void version_( const SdaiLabel 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 );

        SdaiSecurity_classification_level_ptr_c security_level_() const;
        SdaiSecurity_classification_level_ptr   security_level_();
        void security_level_( const SdaiSecurity_classification_level_ptr x );

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

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

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

        SdaiProduct_definition_relationship_ptr_c context_relationship_() const;
        SdaiProduct_definition_relationship_ptr   context_relationship_();
        void context_relationship_( const SdaiProduct_definition_relationship_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 );

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

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

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

        SdaiProduct_concept_context_ptr_c market_context_() const;
        SdaiProduct_concept_context_ptr   market_context_();
        void market_context_( const SdaiProduct_concept_context_ptr x );

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

        SdaiGeometric_representation_context_ptr_c representation_context_of_items_() const;
        SdaiGeometric_representation_context_ptr   representation_context_of_items_();
        void representation_context_of_items_( const SdaiGeometric_representation_context_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 );

        StringAggregate_ptr_c suffix_titles_() const;
        StringAggregate_ptr   suffix_titles_();
        void suffix_titles_( const StringAggregate_ptr x );

        StringAggregate_ptr_c prefix_titles_() const;
        StringAggregate_ptr   prefix_titles_();
        void prefix_titles_( const StringAggregate_ptr x );

        StringAggregate_ptr_c middle_names_() const;
        StringAggregate_ptr   middle_names_();
        void middle_names_( const StringAggregate_ptr x );

  const SdaiLabel   first_name_() const;
        SdaiLabel   first_name_();
        void first_name_( const SdaiLabel x );

  const SdaiLabel   last_name_() const;
        SdaiLabel   last_name_();
        void last_name_( const SdaiLabel x );

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

        SdaiCharacterized_definition_agg_ptr_c definitions_() const;
        SdaiCharacterized_definition_agg_ptr   definitions_();
        void definitions_( const SdaiCharacterized_definition_agg_ptr x );

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

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

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

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

        SdaiProduct_concept_ptr_c item_concept_() const;
        SdaiProduct_concept_ptr   item_concept_();
        void item_concept_( const SdaiProduct_concept_ptr x );

        SdaiConfiguration_design_item_ptr_c design_() const;
        SdaiConfiguration_design_item_ptr   design_();
        void design_( const SdaiConfiguration_design_item_ptr x );

        SdaiConfiguration_item_ptr_c configuration_() const;
        SdaiConfiguration_item_ptr   configuration_();
        void configuration_( const SdaiConfiguration_item_ptr x );

        SdaiCertification_type_ptr_c kind_() const;
        SdaiCertification_type_ptr   kind_();
        void kind_( const SdaiCertification_type_ptr x );

  const SdaiLabel   level_() const;
        SdaiLabel   level_();
        void level_( const SdaiLabel x );

        SdaiApproval_status_ptr_c status_() const;
        SdaiApproval_status_ptr   status_();
        void status_( const SdaiApproval_status_ptr x );

        SdaiAction_item_agg_ptr_c items_() const;
        SdaiAction_item_agg_ptr   items_();
        void items_( const SdaiAction_item_agg_ptr x );

        SdaiAction_ptr_c assigned_action_() const;
        SdaiAction_ptr   assigned_action_();
        void assigned_action_( const SdaiAction_ptr x );

        SdaiAction_ptr_c related_action_() const;
        SdaiAction_ptr   related_action_();
        void related_action_( const SdaiAction_ptr x );

        SdaiAction_ptr_c relating_action_() const;
        SdaiAction_ptr   relating_action_();
        void relating_action_( const SdaiAction_ptr x );

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

  const SdaiText   consequence_() const;
        SdaiText   consequence_();
        void consequence_( const SdaiText x );

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

  const SdaiText   comment_() const;
        SdaiText   comment_();
        void comment_( const SdaiText x );

  const SdaiText   analysis_() const;
        SdaiText   analysis_();
        void analysis_( 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_directive_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiAction_method_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiAction_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiApplied_action_assignment_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiApproval_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiCertification_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiClass_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiClass_system_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiConfiguration_design_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiConfiguration_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiContract_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiDescriptive_representation_item_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiExecuted_action_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiExternally_defined_dimension_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiFeature_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiGeneral_property_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiMaterial_designation_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiOrganization_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiOrganizational_project_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPerson_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiPresentation_area_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProcess_plan_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_concept_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_concept_feature_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_concept_feature_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_process_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_relationship_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_definition_substitute_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProduct_related_product_category_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiProperty_definition_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiRepresentation_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiResource_requirement_type_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiRetention_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiSecurity_classification_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiShape_aspect_ptr& );
    SdaiDocument_reference_item& operator =( const SdaiShape_aspect_relationship_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_directive() const;
    Logical IsAction_method() const;
    Logical IsAction_relationship() const;
    Logical IsApplied_action_assignment() const;
    Logical IsApproval() const;
    Logical IsCertification() const;
    Logical IsClass() const;
    Logical IsClass_system() const;
    Logical IsConfiguration_design() const;
    Logical IsConfiguration_item() const;
    Logical IsContract() const;
    Logical IsDescriptive_representation_item() const;
    Logical IsExecuted_action() const;
    Logical IsExternally_defined_dimension_definition() const;
    Logical IsFeature_definition() const;
    Logical IsGeneral_property() const;
    Logical IsMaterial_designation() const;
    Logical IsOrganization() const;
    Logical IsOrganizational_project() const;
    Logical IsPerson() const;
    Logical IsPresentation_area() const;
    Logical IsProcess_plan() const;
    Logical IsProduct() const;
    Logical IsProduct_concept() const;
    Logical IsProduct_concept_feature() const;
    Logical IsProduct_concept_feature_category() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProduct_definition_formation_relationship() const;
    Logical IsProduct_definition_process() const;
    Logical IsProduct_definition_relationship() const;
    Logical IsProduct_definition_substitute() const;
    Logical IsProduct_related_product_category() const;
    Logical IsProperty_definition() const;
    Logical IsRepresentation() const;
    Logical IsResource_requirement_type() const;
    Logical IsRetention() const;
    Logical IsSecurity_classification() const;
    Logical IsShape_aspect() const;
    Logical IsShape_aspect_relationship() 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 * =automotive_design::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
