#ifndef  TYPE_SDAICHARACTERIZED_PRODUCT_COMPOSITION_VALUE_H
#define  TYPE_SDAICHARACTERIZED_PRODUCT_COMPOSITION_VALUE_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_product_composition_value
class SC_SCHEMA_EXPORT SdaiCharacterized_product_composition_value  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MEASURE_WITH_UNIT    --  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_product_composition_value( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_characterized_product_composition_value );
    //  part 1
    SdaiCharacterized_product_composition_value( const SdaiMeasure_with_unit_ptr&,
                                                 const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_characterized_product_composition_value );
    virtual ~SdaiCharacterized_product_composition_value();

    //  part 2
    operator SdaiMeasure_with_unit_ptr();

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


    //  part 4
    SdaiCharacterized_product_composition_value& operator =( const SdaiMeasure_with_unit_ptr& );
    // not in SDAI
    SdaiCharacterized_product_composition_value& ShallowCopy ( const SdaiCharacterized_product_composition_value& );

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

    //  part 5
    Logical IsMeasure_with_unit() const;

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

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

inline SDAI_Select * create_SdaiCharacterized_product_composition_value () { return new SdaiCharacterized_product_composition_value; }
typedef SdaiCharacterized_product_composition_value * SdaiCharacterized_product_composition_valueH;
typedef SdaiCharacterized_product_composition_value_ptr SdaiCharacterized_product_composition_value_var;


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

  public:
    SdaiCharacterized_product_composition_value_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_characterized_product_composition_value );
    ~SdaiCharacterized_product_composition_value_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCharacterized_product_composition_value( sel_type )); }
};
inline STEPaggregate * create_SdaiCharacterized_product_composition_value_agg () { return new SdaiCharacterized_product_composition_value_agg; }
typedef SdaiCharacterized_product_composition_value_agg_ptr SdaiCharacterized_product_composition_value_agg_var;

/////  END SELECT TYPE characterized_product_composition_value

void init_SdaiCharacterized_product_composition_value(Registry& reg);

#endif
