#ifndef  TYPE_SDAICHARACTERIZED_MATERIAL_PROPERTY_H
#define  TYPE_SDAICHARACTERIZED_MATERIAL_PROPERTY_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 SdaiCharacterized_material_property
class SC_SCHEMA_EXPORT SdaiCharacterized_material_property  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MATERIAL_PROPERTY_REPRESENTATION    --  sdaiINSTANCE
    //   PRODUCT_MATERIAL_COMPOSITION_RELATIONSHIP    --  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
    SdaiCharacterized_material_property( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_characterized_material_property );
    //  part 1
    SdaiCharacterized_material_property( const SdaiMaterial_property_representation_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_characterized_material_property );
    SdaiCharacterized_material_property( const SdaiProduct_material_composition_relationship_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_characterized_material_property );
    virtual ~SdaiCharacterized_material_property();

    //  part 2
    operator SdaiMaterial_property_representation_ptr();
    operator SdaiProduct_material_composition_relationship_ptr();

    //  part 3
  const SdaiText   determination_method_() const;
        SdaiText   determination_method_();
        void determination_method_( const SdaiText x );

  const SdaiLabel   composition_basis_() const;
        SdaiLabel   composition_basis_();
        void composition_basis_( const SdaiLabel x );

        SdaiCharacterized_product_composition_value_agg_ptr_c constituent_amount_() const;
        SdaiCharacterized_product_composition_value_agg_ptr   constituent_amount_();
        void constituent_amount_( const SdaiCharacterized_product_composition_value_agg_ptr x );

  const SdaiLabel   class_() const;
        SdaiLabel   class_();
        void class_( const SdaiLabel x );

        SdaiProduct_definition_or_reference_ptr_c related_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_or_reference_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

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

        SdaiRepresented_definition_ptr_c definition_() const;
        SdaiRepresented_definition_ptr   definition_();
        void definition_( const SdaiRepresented_definition_ptr x );


    //  part 4
    SdaiCharacterized_material_property& operator =( const SdaiMaterial_property_representation_ptr& );
    SdaiCharacterized_material_property& operator =( const SdaiProduct_material_composition_relationship_ptr& );
    // not in SDAI
    SdaiCharacterized_material_property& ShallowCopy ( const SdaiCharacterized_material_property& );

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

    //  part 5
    Logical IsMaterial_property_representation() const;
    Logical IsProduct_material_composition_relationship() const;

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

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

inline SDAI_Select * create_SdaiCharacterized_material_property () { return new SdaiCharacterized_material_property; }
typedef SdaiCharacterized_material_property * SdaiCharacterized_material_propertyH;
typedef SdaiCharacterized_material_property_ptr SdaiCharacterized_material_property_var;


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

  public:
    SdaiCharacterized_material_property_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_characterized_material_property );
    ~SdaiCharacterized_material_property_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCharacterized_material_property( sel_type )); }
};
inline STEPaggregate * create_SdaiCharacterized_material_property_agg () { return new SdaiCharacterized_material_property_agg; }
typedef SdaiCharacterized_material_property_agg_ptr SdaiCharacterized_material_property_agg_var;

/////  END SELECT TYPE characterized_material_property

void init_SdaiCharacterized_material_property(Registry& reg);

#endif
