#ifndef  TYPE_SDAIIDENTIFICATION_ITEM_H
#define  TYPE_SDAIIDENTIFICATION_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 SdaiIdentification_item
class SC_SCHEMA_EXPORT SdaiIdentification_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   APPROVAL_STATUS    --  sdaiINSTANCE
    //   CHARACTERIZED_CLASS    --  sdaiINSTANCE
    //   CLASS    --  sdaiINSTANCE
    //   CONFIGURATION_ITEM    --  sdaiINSTANCE
    //   CONTRACT    --  sdaiINSTANCE
    //   DIMENSIONAL_SIZE    --  sdaiINSTANCE
    //   DOCUMENT_FILE    --  sdaiINSTANCE
    //   GENERAL_PROPERTY    --  sdaiINSTANCE
    //   GROUP    --  sdaiINSTANCE
    //   GROUP_RELATIONSHIP    --  sdaiINSTANCE
    //   INFORMATION_RIGHT    --  sdaiINSTANCE
    //   INFORMATION_USAGE_RIGHT    --  sdaiINSTANCE
    //   MATERIAL_DESIGNATION    --  sdaiINSTANCE
    //   ORGANIZATION    --  sdaiINSTANCE
    //   PERSON_AND_ORGANIZATION    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_CATEGORY    --  sdaiINSTANCE
    //   PRODUCT_CLASS    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT_FEATURE    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PRODUCT_IDENTIFICATION    --  sdaiINSTANCE
    //   REPRESENTATION    --  sdaiINSTANCE
    //   RULE_SET    --  sdaiINSTANCE
    //   SECURITY_CLASSIFICATION    --  sdaiINSTANCE
    //   SECURITY_CLASSIFICATION_LEVEL    --  sdaiINSTANCE
    //   SHAPE_ASPECT_RELATIONSHIP    --  sdaiINSTANCE
    //   SHAPE_REPRESENTATION    --  sdaiINSTANCE
    //   USAGE_ASSOCIATION    --  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
    SdaiIdentification_item( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    //  part 1
    SdaiIdentification_item( const SdaiApproval_status_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiCharacterized_class_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiClass_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiConfiguration_item_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiContract_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiDimensional_size_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiDocument_file_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiGeneral_property_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiGroup_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiGroup_relationship_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiInformation_right_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiInformation_usage_right_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiMaterial_designation_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiOrganization_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiPerson_and_organization_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_category_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_class_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_concept_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_concept_feature_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_definition_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_definition_formation_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiProduct_identification_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiRepresentation_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiRule_set_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiSecurity_classification_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiSecurity_classification_level_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiShape_aspect_relationship_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiShape_representation_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    SdaiIdentification_item( const SdaiUsage_association_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    virtual ~SdaiIdentification_item();

    //  part 2
    operator SdaiApproval_status_ptr();
    operator SdaiCharacterized_class_ptr();
    operator SdaiClass_ptr();
    operator SdaiConfiguration_item_ptr();
    operator SdaiContract_ptr();
    operator SdaiDimensional_size_ptr();
    operator SdaiDocument_file_ptr();
    operator SdaiGeneral_property_ptr();
    operator SdaiGroup_ptr();
    operator SdaiGroup_relationship_ptr();
    operator SdaiInformation_right_ptr();
    operator SdaiInformation_usage_right_ptr();
    operator SdaiMaterial_designation_ptr();
    operator SdaiOrganization_ptr();
    operator SdaiPerson_and_organization_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_category_ptr();
    operator SdaiProduct_class_ptr();
    operator SdaiProduct_concept_ptr();
    operator SdaiProduct_concept_feature_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProduct_identification_ptr();
    operator SdaiRepresentation_ptr();
    operator SdaiRule_set_ptr();
    operator SdaiSecurity_classification_ptr();
    operator SdaiSecurity_classification_level_ptr();
    operator SdaiShape_aspect_relationship_ptr();
    operator SdaiShape_representation_ptr();
    operator SdaiUsage_association_ptr();

    //  part 3
        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 );

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

        SdaiSecurity_classification_level_ptr_c security_level_() const;
        SdaiSecurity_classification_level_ptr   security_level_();
        void security_level_( const SdaiSecurity_classification_level_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 );

        SdaiProduct_class_ptr_c configuration_item_item_concept_() const;
        SdaiProduct_class_ptr   configuration_item_item_concept_();
        void configuration_item_item_concept_( const SdaiProduct_class_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 );

        SdaiOrganization_ptr_c the_organization_() const;
        SdaiOrganization_ptr   the_organization_();
        void the_organization_( const SdaiOrganization_ptr x );

        SdaiPerson_ptr_c the_person_() const;
        SdaiPerson_ptr   the_person_();
        void the_person_( const SdaiPerson_ptr x );

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

  const SdaiText   consequence_() const;
        SdaiText   consequence_();
        void consequence_( const SdaiText 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 );

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

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

        SdaiContract_type_ptr_c kind_() const;
        SdaiContract_type_ptr   kind_();
        void kind_( const SdaiContract_type_ptr x );

  const SdaiLabel   purpose_() const;
        SdaiLabel   purpose_();
        void purpose_( const SdaiLabel x );

        SdaiProduct_concept_ptr_c item_concept_() const;
        SdaiProduct_concept_ptr   item_concept_();
        void item_concept_( const SdaiProduct_concept_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
    SdaiIdentification_item& operator =( const SdaiApproval_status_ptr& );
    SdaiIdentification_item& operator =( const SdaiCharacterized_class_ptr& );
    SdaiIdentification_item& operator =( const SdaiClass_ptr& );
    SdaiIdentification_item& operator =( const SdaiConfiguration_item_ptr& );
    SdaiIdentification_item& operator =( const SdaiContract_ptr& );
    SdaiIdentification_item& operator =( const SdaiDimensional_size_ptr& );
    SdaiIdentification_item& operator =( const SdaiDocument_file_ptr& );
    SdaiIdentification_item& operator =( const SdaiGeneral_property_ptr& );
    SdaiIdentification_item& operator =( const SdaiGroup_ptr& );
    SdaiIdentification_item& operator =( const SdaiGroup_relationship_ptr& );
    SdaiIdentification_item& operator =( const SdaiInformation_right_ptr& );
    SdaiIdentification_item& operator =( const SdaiInformation_usage_right_ptr& );
    SdaiIdentification_item& operator =( const SdaiMaterial_designation_ptr& );
    SdaiIdentification_item& operator =( const SdaiOrganization_ptr& );
    SdaiIdentification_item& operator =( const SdaiPerson_and_organization_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_category_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_class_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_concept_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_concept_feature_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_definition_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiIdentification_item& operator =( const SdaiProduct_identification_ptr& );
    SdaiIdentification_item& operator =( const SdaiRepresentation_ptr& );
    SdaiIdentification_item& operator =( const SdaiRule_set_ptr& );
    SdaiIdentification_item& operator =( const SdaiSecurity_classification_ptr& );
    SdaiIdentification_item& operator =( const SdaiSecurity_classification_level_ptr& );
    SdaiIdentification_item& operator =( const SdaiShape_aspect_relationship_ptr& );
    SdaiIdentification_item& operator =( const SdaiShape_representation_ptr& );
    SdaiIdentification_item& operator =( const SdaiUsage_association_ptr& );
    // not in SDAI
    SdaiIdentification_item& ShallowCopy ( const SdaiIdentification_item& );

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

    //  part 5
    Logical IsApproval_status() const;
    Logical IsCharacterized_class() const;
    Logical IsClass() const;
    Logical IsConfiguration_item() const;
    Logical IsContract() const;
    Logical IsDimensional_size() const;
    Logical IsDocument_file() const;
    Logical IsGeneral_property() const;
    Logical IsGroup() const;
    Logical IsGroup_relationship() const;
    Logical IsInformation_right() const;
    Logical IsInformation_usage_right() const;
    Logical IsMaterial_designation() const;
    Logical IsOrganization() const;
    Logical IsPerson_and_organization() const;
    Logical IsProduct() const;
    Logical IsProduct_category() const;
    Logical IsProduct_class() const;
    Logical IsProduct_concept() const;
    Logical IsProduct_concept_feature() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProduct_identification() const;
    Logical IsRepresentation() const;
    Logical IsRule_set() const;
    Logical IsSecurity_classification() const;
    Logical IsSecurity_classification_level() const;
    Logical IsShape_aspect_relationship() const;
    Logical IsShape_representation() const;
    Logical IsUsage_association() const;

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

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

inline SDAI_Select * create_SdaiIdentification_item () { return new SdaiIdentification_item; }
typedef SdaiIdentification_item * SdaiIdentification_itemH;
typedef SdaiIdentification_item_ptr SdaiIdentification_item_var;


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

  public:
    SdaiIdentification_item_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_identification_item );
    ~SdaiIdentification_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIdentification_item( sel_type )); }
};
inline STEPaggregate * create_SdaiIdentification_item_agg () { return new SdaiIdentification_item_agg; }
typedef SdaiIdentification_item_agg_ptr SdaiIdentification_item_agg_var;

/////  END SELECT TYPE identification_item

void init_SdaiIdentification_item(Registry& reg);

#endif
