#ifndef  TYPE_SDAITEXT_STRING_REPRESENTATION_ITEM_H
#define  TYPE_SDAITEXT_STRING_REPRESENTATION_ITEM_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 SdaiText_string_representation_item
class SC_SCHEMA_EXPORT SdaiText_string_representation_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   TEXT_LITERAL    --  sdaiINSTANCE
    //   ANNOTATION_TEXT    --  sdaiINSTANCE
    //   ANNOTATION_TEXT_CHARACTER    --  sdaiINSTANCE
    //   DEFINED_CHARACTER_GLYPH    --  sdaiINSTANCE
    //   COMPOSITE_TEXT    --  sdaiINSTANCE
    //   AXIS2_PLACEMENT    --  sdaiSELECT
       SDAI_Application_instance_ptr _app_inst;
       SdaiAxis2_placement _sdaiaxis2_placement;

  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
    SdaiText_string_representation_item( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    //  part 1
    SdaiText_string_representation_item( const SdaiText_literal_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    SdaiText_string_representation_item( const SdaiAnnotation_text_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    SdaiText_string_representation_item( const SdaiAnnotation_text_character_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    SdaiText_string_representation_item( const SdaiDefined_character_glyph_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    SdaiText_string_representation_item( const SdaiComposite_text_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    SdaiText_string_representation_item( const SdaiAxis2_placement_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    virtual ~SdaiText_string_representation_item();

    //  part 2
    operator SdaiText_literal_ptr();
    operator SdaiAnnotation_text_ptr();
    operator SdaiAnnotation_text_character_ptr();
    operator SdaiDefined_character_glyph_ptr();
    operator SdaiComposite_text_ptr();
    operator SdaiAxis2_placement_ptr();

    //  part 3
        SdaiText_or_character_agg_ptr_c collected_text_() const;
        SdaiText_or_character_agg_ptr   collected_text_();
        void collected_text_( const SdaiText_or_character_agg_ptr x );

        SdaiDefined_glyph_select_ptr_c definition_() const;
        SdaiDefined_glyph_select_ptr   definition_();
        void definition_( const SdaiDefined_glyph_select_ptr x );

        SdaiAxis2_placement_ptr_c mapped_item_mapping_target_() const;
        SdaiAxis2_placement_ptr   mapped_item_mapping_target_();
        void mapped_item_mapping_target_( const SdaiAxis2_placement_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 );

        SdaiFont_select_ptr_c font_() const;
        SdaiFont_select_ptr   font_();
        void font_( const SdaiFont_select_ptr x );

  const SdaiText_path_var   path_() const;
        SdaiText_path_var   path_();
        void path_( const SdaiText_path_var x );

  const SdaiText_alignment   alignment_() const;
        SdaiText_alignment   alignment_();
        void alignment_( const SdaiText_alignment x );

        SdaiAxis2_placement_ptr_c placement_() const;
        SdaiAxis2_placement_ptr   placement_();
        void placement_( const SdaiAxis2_placement_ptr x );

  const SdaiPresentable_text   literal_() const;
        SdaiPresentable_text   literal_();
        void literal_( const SdaiPresentable_text x );

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


    //  part 4
    SdaiText_string_representation_item& operator =( const SdaiText_literal_ptr& );
    SdaiText_string_representation_item& operator =( const SdaiAnnotation_text_ptr& );
    SdaiText_string_representation_item& operator =( const SdaiAnnotation_text_character_ptr& );
    SdaiText_string_representation_item& operator =( const SdaiDefined_character_glyph_ptr& );
    SdaiText_string_representation_item& operator =( const SdaiComposite_text_ptr& );
    SdaiText_string_representation_item& operator =( const SdaiAxis2_placement_ptr& );
    // not in SDAI
    SdaiText_string_representation_item& ShallowCopy ( const SdaiText_string_representation_item& );

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

    //  part 5
    Logical IsText_literal() const;
    Logical IsAnnotation_text() const;
    Logical IsAnnotation_text_character() const;
    Logical IsDefined_character_glyph() const;
    Logical IsComposite_text() const;
    Logical IsAxis2_placement() const;

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

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

inline SDAI_Select * create_SdaiText_string_representation_item () { return new SdaiText_string_representation_item; }
typedef SdaiText_string_representation_item * SdaiText_string_representation_itemH;
typedef SdaiText_string_representation_item_ptr SdaiText_string_representation_item_var;


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

  public:
    SdaiText_string_representation_item_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_text_string_representation_item );
    ~SdaiText_string_representation_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiText_string_representation_item( sel_type )); }
};
inline STEPaggregate * create_SdaiText_string_representation_item_agg () { return new SdaiText_string_representation_item_agg; }
typedef SdaiText_string_representation_item_agg_ptr SdaiText_string_representation_item_agg_var;

/////  END SELECT TYPE text_string_representation_item

void init_SdaiText_string_representation_item(Registry& reg);

#endif
