#ifndef  TYPE_SDAIANNOTATION_SYMBOL_OCCURRENCE_ITEM_H
#define  TYPE_SDAIANNOTATION_SYMBOL_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_symbol_occurrence_item
class SC_SCHEMA_EXPORT SdaiAnnotation_symbol_occurrence_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ANNOTATION_SYMBOL    --  sdaiINSTANCE
    //   DEFINED_SYMBOL    --  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_symbol_occurrence_item( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_symbol_occurrence_item );
    //  part 1
    SdaiAnnotation_symbol_occurrence_item( const SdaiAnnotation_symbol_ptr&,
                                           const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_symbol_occurrence_item );
    SdaiAnnotation_symbol_occurrence_item( const SdaiDefined_symbol_ptr&,
                                           const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_symbol_occurrence_item );
    virtual ~SdaiAnnotation_symbol_occurrence_item();

    //  part 2
    operator SdaiAnnotation_symbol_ptr();
    operator SdaiDefined_symbol_ptr();

    //  part 3
        SdaiSymbol_target_ptr_c target_() const;
        SdaiSymbol_target_ptr   target_();
        void target_( const SdaiSymbol_target_ptr x );

        SdaiDefined_symbol_select_ptr_c definition_() const;
        SdaiDefined_symbol_select_ptr   definition_();
        void definition_( const SdaiDefined_symbol_select_ptr x );

        SdaiSymbol_target_ptr_c mapped_item_mapping_target_() const;
        SdaiSymbol_target_ptr   mapped_item_mapping_target_();
        void mapped_item_mapping_target_( const SdaiSymbol_target_ptr x );

        SdaiSymbol_representation_map_ptr_c mapped_item_mapping_source_() const;
        SdaiSymbol_representation_map_ptr   mapped_item_mapping_source_();
        void mapped_item_mapping_source_( const SdaiSymbol_representation_map_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 SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiAnnotation_symbol_occurrence_item& operator =( const SdaiAnnotation_symbol_ptr& );
    SdaiAnnotation_symbol_occurrence_item& operator =( const SdaiDefined_symbol_ptr& );
    // not in SDAI
    SdaiAnnotation_symbol_occurrence_item& ShallowCopy ( const SdaiAnnotation_symbol_occurrence_item& );

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

    //  part 5
    Logical IsAnnotation_symbol() const;
    Logical IsDefined_symbol() const;

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

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

inline SDAI_Select * create_SdaiAnnotation_symbol_occurrence_item () { return new SdaiAnnotation_symbol_occurrence_item; }
typedef SdaiAnnotation_symbol_occurrence_item * SdaiAnnotation_symbol_occurrence_itemH;
typedef SdaiAnnotation_symbol_occurrence_item_ptr SdaiAnnotation_symbol_occurrence_item_var;


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

  public:
    SdaiAnnotation_symbol_occurrence_item_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_symbol_occurrence_item );
    ~SdaiAnnotation_symbol_occurrence_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAnnotation_symbol_occurrence_item( sel_type )); }
};
inline STEPaggregate * create_SdaiAnnotation_symbol_occurrence_item_agg () { return new SdaiAnnotation_symbol_occurrence_item_agg; }
typedef SdaiAnnotation_symbol_occurrence_item_agg_ptr SdaiAnnotation_symbol_occurrence_item_agg_var;

/////  END SELECT TYPE annotation_symbol_occurrence_item

void init_SdaiAnnotation_symbol_occurrence_item(Registry& reg);

#endif
