#ifndef  TYPE_SDAIFILL_STYLE_SELECT_H
#define  TYPE_SDAIFILL_STYLE_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 SdaiFill_style_select
class SC_SCHEMA_EXPORT SdaiFill_style_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   FILL_AREA_STYLE_COLOUR    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_TILE_STYLE    --  sdaiINSTANCE
    //   FILL_AREA_STYLE_TILES    --  sdaiINSTANCE
    //   EXTERNALLY_DEFINED_HATCH_STYLE    --  sdaiINSTANCE
    //   FILL_AREA_STYLE_HATCHING    --  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
    SdaiFill_style_select( const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    //  part 1
    SdaiFill_style_select( const SdaiFill_area_style_colour_ptr&,
                           const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    SdaiFill_style_select( const SdaiExternally_defined_tile_style_ptr&,
                           const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    SdaiFill_style_select( const SdaiFill_area_style_tiles_ptr&,
                           const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    SdaiFill_style_select( const SdaiExternally_defined_hatch_style_ptr&,
                           const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    SdaiFill_style_select( const SdaiFill_area_style_hatching_ptr&,
                           const SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    virtual ~SdaiFill_style_select();

    //  part 2
    operator SdaiFill_area_style_colour_ptr();
    operator SdaiExternally_defined_tile_style_ptr();
    operator SdaiFill_area_style_tiles_ptr();
    operator SdaiExternally_defined_hatch_style_ptr();
    operator SdaiFill_area_style_hatching_ptr();

    //  part 3
        SdaiPlane_angle_measure   hatch_line_angle_() const;
        void hatch_line_angle_( const SdaiPlane_angle_measure x );

        SdaiCartesian_point_ptr_c pattern_start_() const;
        SdaiCartesian_point_ptr   pattern_start_();
        void pattern_start_( const SdaiCartesian_point_ptr x );

        SdaiCartesian_point_ptr_c point_of_reference_hatch_line_() const;
        SdaiCartesian_point_ptr   point_of_reference_hatch_line_();
        void point_of_reference_hatch_line_( const SdaiCartesian_point_ptr x );

        SdaiOne_direction_repeat_factor_ptr_c start_of_next_hatch_line_() const;
        SdaiOne_direction_repeat_factor_ptr   start_of_next_hatch_line_();
        void start_of_next_hatch_line_( const SdaiOne_direction_repeat_factor_ptr x );

        SdaiCurve_style_ptr_c hatch_line_appearance_() const;
        SdaiCurve_style_ptr   hatch_line_appearance_();
        void hatch_line_appearance_( const SdaiCurve_style_ptr x );

        SdaiPositive_ratio_measure   tiling_scale_() const;
        void tiling_scale_( const SdaiPositive_ratio_measure x );

        SdaiFill_area_style_tile_shape_select_agg_ptr_c tiles_() const;
        SdaiFill_area_style_tile_shape_select_agg_ptr   tiles_();
        void tiles_( const SdaiFill_area_style_tile_shape_select_agg_ptr x );

        SdaiTwo_direction_repeat_factor_ptr_c tiling_pattern_() const;
        SdaiTwo_direction_repeat_factor_ptr   tiling_pattern_();
        void tiling_pattern_( const SdaiTwo_direction_repeat_factor_ptr x );

        SdaiExternal_source_ptr_c source_() const;
        SdaiExternal_source_ptr   source_();
        void source_( const SdaiExternal_source_ptr x );

        SdaiSource_item_ptr_c item_id_() const;
        SdaiSource_item_ptr   item_id_();
        void item_id_( const SdaiSource_item_ptr x );

        SdaiColour_ptr_c fill_colour_() const;
        SdaiColour_ptr   fill_colour_();
        void fill_colour_( const SdaiColour_ptr x );

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


    //  part 4
    SdaiFill_style_select& operator =( const SdaiFill_area_style_colour_ptr& );
    SdaiFill_style_select& operator =( const SdaiExternally_defined_tile_style_ptr& );
    SdaiFill_style_select& operator =( const SdaiFill_area_style_tiles_ptr& );
    SdaiFill_style_select& operator =( const SdaiExternally_defined_hatch_style_ptr& );
    SdaiFill_style_select& operator =( const SdaiFill_area_style_hatching_ptr& );
    // not in SDAI
    SdaiFill_style_select& ShallowCopy ( const SdaiFill_style_select& );

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

    //  part 5
    Logical IsFill_area_style_colour() const;
    Logical IsExternally_defined_tile_style() const;
    Logical IsFill_area_style_tiles() const;
    Logical IsExternally_defined_hatch_style() const;
    Logical IsFill_area_style_hatching() const;

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

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

inline SDAI_Select * create_SdaiFill_style_select () { return new SdaiFill_style_select; }
typedef SdaiFill_style_select * SdaiFill_style_selectH;
typedef SdaiFill_style_select_ptr SdaiFill_style_select_var;


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

  public:
    SdaiFill_style_select_agg( SelectTypeDescriptor * =automotive_design::t_fill_style_select );
    ~SdaiFill_style_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiFill_style_select( sel_type )); }
};
inline STEPaggregate * create_SdaiFill_style_select_agg () { return new SdaiFill_style_select_agg; }
typedef SdaiFill_style_select_agg_ptr SdaiFill_style_select_agg_var;

/////  END SELECT TYPE fill_style_select

void init_SdaiFill_style_select(Registry& reg);

#endif
