#ifndef  TYPE_SDAIVALUE_QUALIFIER_H
#define  TYPE_SDAIVALUE_QUALIFIER_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 SdaiValue_qualifier
class SC_SCHEMA_EXPORT SdaiValue_qualifier  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PRECISION_QUALIFIER    --  sdaiINSTANCE
    //   TYPE_QUALIFIER    --  sdaiINSTANCE
    //   UNCERTAINTY_QUALIFIER    --  sdaiINSTANCE
    //   VALUE_FORMAT_TYPE_QUALIFIER    --  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
    SdaiValue_qualifier( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    //  part 1
    SdaiValue_qualifier( const SdaiPrecision_qualifier_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    SdaiValue_qualifier( const SdaiType_qualifier_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    SdaiValue_qualifier( const SdaiUncertainty_qualifier_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    SdaiValue_qualifier( const SdaiValue_format_type_qualifier_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    virtual ~SdaiValue_qualifier();

    //  part 2
    operator SdaiPrecision_qualifier_ptr();
    operator SdaiType_qualifier_ptr();
    operator SdaiUncertainty_qualifier_ptr();
    operator SdaiValue_format_type_qualifier_ptr();

    //  part 3
  const SdaiValue_format_type   format_type_() const;
        SdaiValue_format_type   format_type_();
        void format_type_( const SdaiValue_format_type x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

  const SdaiLabel   measure_name_() const;
        SdaiLabel   measure_name_();
        void measure_name_( const SdaiLabel x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

        SDAI_Integer   precision_value_() const;
        void precision_value_( const SDAI_Integer x );


    //  part 4
    SdaiValue_qualifier& operator =( const SdaiPrecision_qualifier_ptr& );
    SdaiValue_qualifier& operator =( const SdaiType_qualifier_ptr& );
    SdaiValue_qualifier& operator =( const SdaiUncertainty_qualifier_ptr& );
    SdaiValue_qualifier& operator =( const SdaiValue_format_type_qualifier_ptr& );
    // not in SDAI
    SdaiValue_qualifier& ShallowCopy ( const SdaiValue_qualifier& );

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

    //  part 5
    Logical IsPrecision_qualifier() const;
    Logical IsType_qualifier() const;
    Logical IsUncertainty_qualifier() const;
    Logical IsValue_format_type_qualifier() const;

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

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

inline SDAI_Select * create_SdaiValue_qualifier () { return new SdaiValue_qualifier; }
typedef SdaiValue_qualifier * SdaiValue_qualifierH;
typedef SdaiValue_qualifier_ptr SdaiValue_qualifier_var;


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

  public:
    SdaiValue_qualifier_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_value_qualifier );
    ~SdaiValue_qualifier_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiValue_qualifier( sel_type )); }
};
inline STEPaggregate * create_SdaiValue_qualifier_agg () { return new SdaiValue_qualifier_agg; }
typedef SdaiValue_qualifier_agg_ptr SdaiValue_qualifier_agg_var;

/////  END SELECT TYPE value_qualifier

void init_SdaiValue_qualifier(Registry& reg);

#endif
