#ifndef  TYPE_SDAIANNOTATION_TEXT_OCCURRENCE_ITEM_H
#define  TYPE_SDAIANNOTATION_TEXT_OCCURRENCE_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 SdaiAnnotation_text_occurrence_item
class SC_SCHEMA_EXPORT SdaiAnnotation_text_occurrence_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   TEXT_LITERAL    --  sdaiINSTANCE
    //   ANNOTATION_TEXT    --  sdaiINSTANCE
    //   ANNOTATION_TEXT_CHARACTER    --  sdaiINSTANCE
    //   COMPOSITE_TEXT    --  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
    SdaiAnnotation_text_occurrence_item( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    //  part 1
    SdaiAnnotation_text_occurrence_item( const SdaiText_literal_ptr&,
                                         const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    SdaiAnnotation_text_occurrence_item( const SdaiAnnotation_text_ptr&,
                                         const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    SdaiAnnotation_text_occurrence_item( const SdaiAnnotation_text_character_ptr&,
                                         const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    SdaiAnnotation_text_occurrence_item( const SdaiComposite_text_ptr&,
                                         const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    virtual ~SdaiAnnotation_text_occurrence_item();

    //  part 2
    operator SdaiText_literal_ptr();
    operator SdaiAnnotation_text_ptr();
    operator SdaiAnnotation_text_character_ptr();
    operator SdaiComposite_text_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 );

        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
    SdaiAnnotation_text_occurrence_item& operator =( const SdaiText_literal_ptr& );
    SdaiAnnotation_text_occurrence_item& operator =( const SdaiAnnotation_text_ptr& );
    SdaiAnnotation_text_occurrence_item& operator =( const SdaiAnnotation_text_character_ptr& );
    SdaiAnnotation_text_occurrence_item& operator =( const SdaiComposite_text_ptr& );
    // not in SDAI
    SdaiAnnotation_text_occurrence_item& ShallowCopy ( const SdaiAnnotation_text_occurrence_item& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiAnnotation_text_occurrence_item& operator =( SdaiAnnotation_text_occurrence_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 IsComposite_text() const;

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

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

inline SDAI_Select * create_SdaiAnnotation_text_occurrence_item () { return new SdaiAnnotation_text_occurrence_item; }
typedef SdaiAnnotation_text_occurrence_item * SdaiAnnotation_text_occurrence_itemH;
typedef SdaiAnnotation_text_occurrence_item_ptr SdaiAnnotation_text_occurrence_item_var;


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

  public:
    SdaiAnnotation_text_occurrence_item_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_text_occurrence_item );
    ~SdaiAnnotation_text_occurrence_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAnnotation_text_occurrence_item( sel_type )); }
};
inline STEPaggregate * create_SdaiAnnotation_text_occurrence_item_agg () { return new SdaiAnnotation_text_occurrence_item_agg; }
typedef SdaiAnnotation_text_occurrence_item_agg_ptr SdaiAnnotation_text_occurrence_item_agg_var;

/////  END SELECT TYPE annotation_text_occurrence_item

void init_SdaiAnnotation_text_occurrence_item(Registry& reg);

#endif
