#ifndef  TYPE_SDAISTRING_REPRESENTATION_ITEM_SELECT_H
#define  TYPE_SDAISTRING_REPRESENTATION_ITEM_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 SdaiString_representation_item_select
class SC_SCHEMA_EXPORT SdaiString_representation_item_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   DESCRIPTIVE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   INCLUDED_TEXT_BLOCK    --  sdaiINSTANCE
    //   STRUCTURED_TEXT_COMPOSITION    --  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
    SdaiString_representation_item_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_string_representation_item_select );
    //  part 1
    SdaiString_representation_item_select( const SdaiDescriptive_representation_item_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_string_representation_item_select );
    SdaiString_representation_item_select( const SdaiIncluded_text_block_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_string_representation_item_select );
    SdaiString_representation_item_select( const SdaiStructured_text_composition_ptr&,
                                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_string_representation_item_select );
    virtual ~SdaiString_representation_item_select();

    //  part 2
    operator SdaiDescriptive_representation_item_ptr();
    operator SdaiIncluded_text_block_ptr();
    operator SdaiStructured_text_composition_ptr();

    //  part 3
        SdaiCompound_item_definition_ptr_c item_element_() const;
        SdaiCompound_item_definition_ptr   item_element_();
        void item_element_( const SdaiCompound_item_definition_ptr x );

        SdaiRepresentation_item_ptr_c mapping_target_() const;
        SdaiRepresentation_item_ptr   mapping_target_();
        void mapping_target_( const SdaiRepresentation_item_ptr x );

        SdaiRepresentation_map_ptr_c mapping_source_() const;
        SdaiRepresentation_map_ptr   mapping_source_();
        void mapping_source_( const SdaiRepresentation_map_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
    SdaiString_representation_item_select& operator =( const SdaiDescriptive_representation_item_ptr& );
    SdaiString_representation_item_select& operator =( const SdaiIncluded_text_block_ptr& );
    SdaiString_representation_item_select& operator =( const SdaiStructured_text_composition_ptr& );
    // not in SDAI
    SdaiString_representation_item_select& ShallowCopy ( const SdaiString_representation_item_select& );

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

    //  part 5
    Logical IsDescriptive_representation_item() const;
    Logical IsIncluded_text_block() const;
    Logical IsStructured_text_composition() const;

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

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

inline SDAI_Select * create_SdaiString_representation_item_select () { return new SdaiString_representation_item_select; }
typedef SdaiString_representation_item_select * SdaiString_representation_item_selectH;
typedef SdaiString_representation_item_select_ptr SdaiString_representation_item_select_var;


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

  public:
    SdaiString_representation_item_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_string_representation_item_select );
    ~SdaiString_representation_item_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiString_representation_item_select( sel_type )); }
};
inline STEPaggregate * create_SdaiString_representation_item_select_agg () { return new SdaiString_representation_item_select_agg; }
typedef SdaiString_representation_item_select_agg_ptr SdaiString_representation_item_select_agg_var;

/////  END SELECT TYPE string_representation_item_select

void init_SdaiString_representation_item_select(Registry& reg);

#endif
