#ifndef  TYPE_SDAICHARACTER_SPACING_SELECT_H
#define  TYPE_SDAICHARACTER_SPACING_SELECT_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 SdaiCharacter_spacing_select
class SC_SCHEMA_EXPORT SdaiCharacter_spacing_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   LENGTH_MEASURE    --  sdaiREAL
    //   RATIO_MEASURE    --  sdaiREAL
    //   MEASURE_WITH_UNIT    --  sdaiINSTANCE
    //   DESCRIPTIVE_MEASURE    --  sdaiSTRING
       SDAI_Real _real;
       SDAI_Application_instance_ptr _app_inst;
       SDAI_String _string;

  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
    SdaiCharacter_spacing_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_character_spacing_select );
    //  part 1
    SdaiCharacter_spacing_select( const SdaiMeasure_with_unit_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_character_spacing_select );
    SdaiCharacter_spacing_select( const SdaiDescriptive_measure&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_character_spacing_select );
    SdaiCharacter_spacing_select( const SDAI_Real&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_character_spacing_select );
    virtual ~SdaiCharacter_spacing_select();

    //  part 2
    operator SdaiMeasure_with_unit_ptr();
    operator SdaiDescriptive_measure();
    operator SDAI_Real ();

    //  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
    SdaiCharacter_spacing_select& operator =( const SdaiMeasure_with_unit_ptr& );
    SdaiCharacter_spacing_select& operator =( const SdaiDescriptive_measure& );
    SdaiCharacter_spacing_select& operator =( const SDAI_Real& );
    // not in SDAI
    SdaiCharacter_spacing_select& ShallowCopy ( const SdaiCharacter_spacing_select& );

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

    //  part 5
    Logical IsLength_measure() const;
    Logical IsRatio_measure() const;
    Logical IsMeasure_with_unit() const;
    Logical IsDescriptive_measure() const;

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

    //  part 7
    const TypeDescriptor *SetUnderlyingType ( const TypeDescriptor * td );
};

inline SDAI_Select * create_SdaiCharacter_spacing_select () { return new SdaiCharacter_spacing_select; }
typedef SdaiCharacter_spacing_select * SdaiCharacter_spacing_selectH;
typedef SdaiCharacter_spacing_select_ptr SdaiCharacter_spacing_select_var;


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

  public:
    SdaiCharacter_spacing_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_character_spacing_select );
    ~SdaiCharacter_spacing_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCharacter_spacing_select( sel_type )); }
};
inline STEPaggregate * create_SdaiCharacter_spacing_select_agg () { return new SdaiCharacter_spacing_select_agg; }
typedef SdaiCharacter_spacing_select_agg_ptr SdaiCharacter_spacing_select_agg_var;

/////  END SELECT TYPE character_spacing_select

void init_SdaiCharacter_spacing_select(Registry& reg);

#endif
