#ifndef  TYPE_SDAIAREA_OR_VIEW_H
#define  TYPE_SDAIAREA_OR_VIEW_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 SdaiArea_or_view
class SC_SCHEMA_EXPORT SdaiArea_or_view  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PRESENTATION_AREA    --  sdaiINSTANCE
    //   PRESENTATION_VIEW    --  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
    SdaiArea_or_view( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_area_or_view );
    //  part 1
    SdaiArea_or_view( const SdaiPresentation_area_ptr&,
                      const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_area_or_view );
    SdaiArea_or_view( const SdaiPresentation_view_ptr&,
                      const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_area_or_view );
    virtual ~SdaiArea_or_view();

    //  part 2
    operator SdaiPresentation_area_ptr();
    operator SdaiPresentation_view_ptr();

    //  part 3
        SdaiGeometric_representation_context_ptr_c representation_context_of_items_() const;
        SdaiGeometric_representation_context_ptr   representation_context_of_items_();
        void representation_context_of_items_( const SdaiGeometric_representation_context_ptr x );

        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 );


    //  part 4
    SdaiArea_or_view& operator =( const SdaiPresentation_area_ptr& );
    SdaiArea_or_view& operator =( const SdaiPresentation_view_ptr& );
    // not in SDAI
    SdaiArea_or_view& ShallowCopy ( const SdaiArea_or_view& );

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

    //  part 5
    Logical IsPresentation_area() const;
    Logical IsPresentation_view() const;

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

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

inline SDAI_Select * create_SdaiArea_or_view () { return new SdaiArea_or_view; }
typedef SdaiArea_or_view * SdaiArea_or_viewH;
typedef SdaiArea_or_view_ptr SdaiArea_or_view_var;


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

  public:
    SdaiArea_or_view_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_area_or_view );
    ~SdaiArea_or_view_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiArea_or_view( sel_type )); }
};
inline STEPaggregate * create_SdaiArea_or_view_agg () { return new SdaiArea_or_view_agg; }
typedef SdaiArea_or_view_agg_ptr SdaiArea_or_view_agg_var;

/////  END SELECT TYPE area_or_view

void init_SdaiArea_or_view(Registry& reg);

#endif
