#ifndef  TYPE_SDAIATTRIBUTE_LANGUAGE_ITEM_H
#define  TYPE_SDAIATTRIBUTE_LANGUAGE_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 SdaiAttribute_language_item
class SC_SCHEMA_EXPORT SdaiAttribute_language_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION    --  sdaiINSTANCE
    //   ACTION_METHOD    --  sdaiINSTANCE
    //   ACTION_PROPERTY    --  sdaiINSTANCE
    //   APPLICATION_CONTEXT    --  sdaiINSTANCE
    //   CERTIFICATION    --  sdaiINSTANCE
    //   DOCUMENT    --  sdaiINSTANCE
    //   DESCRIPTIVE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   MATERIAL_DESIGNATION    --  sdaiINSTANCE
    //   MATERIAL_PROPERTY    --  sdaiINSTANCE
    //   MATERIAL_PROPERTY_REPRESENTATION    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PROPERTY_DEFINITION    --  sdaiINSTANCE
    //   QUALIFICATION_TYPE    --  sdaiINSTANCE
    //   REPRESENTATION    --  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
    SdaiAttribute_language_item( const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    //  part 1
    SdaiAttribute_language_item( const SdaiAction_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiAction_method_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiAction_property_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiApplication_context_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiCertification_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiDocument_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiDescriptive_representation_item_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiMaterial_designation_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiMaterial_property_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiMaterial_property_representation_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiProduct_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiProduct_definition_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiProduct_definition_formation_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiProperty_definition_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiQualification_type_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    SdaiAttribute_language_item( const SdaiRepresentation_ptr&,
                                 const SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    virtual ~SdaiAttribute_language_item();

    //  part 2
    operator SdaiAction_ptr();
    operator SdaiAction_method_ptr();
    operator SdaiAction_property_ptr();
    operator SdaiApplication_context_ptr();
    operator SdaiCertification_ptr();
    operator SdaiDocument_ptr();
    operator SdaiDescriptive_representation_item_ptr();
    operator SdaiMaterial_designation_ptr();
    operator SdaiMaterial_property_ptr();
    operator SdaiMaterial_property_representation_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProperty_definition_ptr();
    operator SdaiQualification_type_ptr();
    operator SdaiRepresentation_ptr();

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

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

        SdaiData_environment_ptr_c dependent_environment_() const;
        SdaiData_environment_ptr   dependent_environment_();
        void dependent_environment_( const SdaiData_environment_ptr x );

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

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

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

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

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

  const SdaiLabel   application_() const;
        SdaiLabel   application_();
        void application_( const SdaiLabel x );

        SdaiCharacterized_action_definition_ptr_c definition_() const;
        SdaiCharacterized_action_definition_ptr   definition_();
        void definition_( const SdaiCharacterized_action_definition_ptr x );

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

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

        SdaiAction_method_ptr_c chosen_method_() const;
        SdaiAction_method_ptr   chosen_method_();
        void chosen_method_( const SdaiAction_method_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
    SdaiAttribute_language_item& operator =( const SdaiAction_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiAction_method_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiAction_property_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiApplication_context_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiCertification_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiDocument_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiDescriptive_representation_item_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiMaterial_designation_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiMaterial_property_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiMaterial_property_representation_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiProduct_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiProduct_definition_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiProperty_definition_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiQualification_type_ptr& );
    SdaiAttribute_language_item& operator =( const SdaiRepresentation_ptr& );
    // not in SDAI
    SdaiAttribute_language_item& ShallowCopy ( const SdaiAttribute_language_item& );

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

    //  part 5
    Logical IsAction() const;
    Logical IsAction_method() const;
    Logical IsAction_property() const;
    Logical IsApplication_context() const;
    Logical IsCertification() const;
    Logical IsDocument() const;
    Logical IsDescriptive_representation_item() const;
    Logical IsMaterial_designation() const;
    Logical IsMaterial_property() const;
    Logical IsMaterial_property_representation() const;
    Logical IsProduct() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProperty_definition() const;
    Logical IsQualification_type() const;
    Logical IsRepresentation() const;

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

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

inline SDAI_Select * create_SdaiAttribute_language_item () { return new SdaiAttribute_language_item; }
typedef SdaiAttribute_language_item * SdaiAttribute_language_itemH;
typedef SdaiAttribute_language_item_ptr SdaiAttribute_language_item_var;


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

  public:
    SdaiAttribute_language_item_agg( SelectTypeDescriptor * =engineering_properties_schema::t_attribute_language_item );
    ~SdaiAttribute_language_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAttribute_language_item( sel_type )); }
};
inline STEPaggregate * create_SdaiAttribute_language_item_agg () { return new SdaiAttribute_language_item_agg; }
typedef SdaiAttribute_language_item_agg_ptr SdaiAttribute_language_item_agg_var;

/////  END SELECT TYPE attribute_language_item

void init_SdaiAttribute_language_item(Registry& reg);

#endif
