#ifndef  TYPE_SDAICHOOSE_GEOMETRY_LOCATION_H
#define  TYPE_SDAICHOOSE_GEOMETRY_LOCATION_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 SdaiChoose_geometry_location
class SC_SCHEMA_EXPORT SdaiChoose_geometry_location  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   EXTERNALLY_DEFINED_ITEM    --  sdaiINSTANCE
    //   SHAPE_REPRESENTATION    --  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
    SdaiChoose_geometry_location( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_choose_geometry_location );
    //  part 1
    SdaiChoose_geometry_location( const SdaiExternally_defined_item_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_choose_geometry_location );
    SdaiChoose_geometry_location( const SdaiShape_representation_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_choose_geometry_location );
    virtual ~SdaiChoose_geometry_location();

    //  part 2
    operator SdaiExternally_defined_item_ptr();
    operator SdaiShape_representation_ptr();

    //  part 3
        SdaiRepresentation_context_ptr_c context_of_items_() const;
        SdaiRepresentation_context_ptr   context_of_items_();
        void context_of_items_( const SdaiRepresentation_context_ptr x );

        EntityAggregate_ptr_c items_() const;
        EntityAggregate_ptr   items_();
        void items_( const EntityAggregate_ptr x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel 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 );


    //  part 4
    SdaiChoose_geometry_location& operator =( const SdaiExternally_defined_item_ptr& );
    SdaiChoose_geometry_location& operator =( const SdaiShape_representation_ptr& );
    // not in SDAI
    SdaiChoose_geometry_location& ShallowCopy ( const SdaiChoose_geometry_location& );

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

    //  part 5
    Logical IsExternally_defined_item() const;
    Logical IsShape_representation() const;

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

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

inline SDAI_Select * create_SdaiChoose_geometry_location () { return new SdaiChoose_geometry_location; }
typedef SdaiChoose_geometry_location * SdaiChoose_geometry_locationH;
typedef SdaiChoose_geometry_location_ptr SdaiChoose_geometry_location_var;


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

  public:
    SdaiChoose_geometry_location_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_choose_geometry_location );
    ~SdaiChoose_geometry_location_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiChoose_geometry_location( sel_type )); }
};
inline STEPaggregate * create_SdaiChoose_geometry_location_agg () { return new SdaiChoose_geometry_location_agg; }
typedef SdaiChoose_geometry_location_agg_ptr SdaiChoose_geometry_location_agg_var;

/////  END SELECT TYPE choose_geometry_location

void init_SdaiChoose_geometry_location(Registry& reg);

#endif
