#ifndef  TYPE_SDAIIFCCSGSELECT_H
#define  TYPE_SDAIIFCCSGSELECT_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 SdaiIfccsgselect
class SC_SCHEMA_EXPORT SdaiIfccsgselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCBOOLEANRESULT    --  sdaiINSTANCE
    //   IFCCSGPRIMITIVE3D    --  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
    SdaiIfccsgselect( const SelectTypeDescriptor * =ifc2x3::t_ifccsgselect );
    //  part 1
    SdaiIfccsgselect( const SdaiIfcbooleanresult_ptr&,
                      const SelectTypeDescriptor * =ifc2x3::t_ifccsgselect );
    SdaiIfccsgselect( const SdaiIfccsgprimitive3d_ptr&,
                      const SelectTypeDescriptor * =ifc2x3::t_ifccsgselect );
    virtual ~SdaiIfccsgselect();

    //  part 2
    operator SdaiIfcbooleanresult_ptr();
    operator SdaiIfccsgprimitive3d_ptr();

    //  part 3
        SdaiIfcaxis2placement3d_ptr_c position_() const;
        SdaiIfcaxis2placement3d_ptr   position_();
        void position_( const SdaiIfcaxis2placement3d_ptr x );

        SdaiIfcbooleanoperand_ptr_c secondoperand_() const;
        SdaiIfcbooleanoperand_ptr   secondoperand_();
        void secondoperand_( const SdaiIfcbooleanoperand_ptr x );

        SdaiIfcbooleanoperand_ptr_c firstoperand_() const;
        SdaiIfcbooleanoperand_ptr   firstoperand_();
        void firstoperand_( const SdaiIfcbooleanoperand_ptr x );

  const SdaiIfcbooleanoperator_var   operator_() const;
        SdaiIfcbooleanoperator_var   operator_();
        void operator_( const SdaiIfcbooleanoperator_var x );

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

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


    //  part 4
    SdaiIfccsgselect& operator =( const SdaiIfcbooleanresult_ptr& );
    SdaiIfccsgselect& operator =( const SdaiIfccsgprimitive3d_ptr& );
    // not in SDAI
    SdaiIfccsgselect& ShallowCopy ( const SdaiIfccsgselect& );

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

    //  part 5
    Logical IsIfcbooleanresult() const;
    Logical IsIfccsgprimitive3d() const;

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

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

inline SDAI_Select * create_SdaiIfccsgselect () { return new SdaiIfccsgselect; }
typedef SdaiIfccsgselect * SdaiIfccsgselectH;
typedef SdaiIfccsgselect_ptr SdaiIfccsgselect_var;


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

  public:
    SdaiIfccsgselect_agg( SelectTypeDescriptor * =ifc2x3::t_ifccsgselect );
    ~SdaiIfccsgselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfccsgselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfccsgselect_agg () { return new SdaiIfccsgselect_agg; }
typedef SdaiIfccsgselect_agg_ptr SdaiIfccsgselect_agg_var;

/////  END SELECT TYPE ifccsgselect

void init_SdaiIfccsgselect(Registry& reg);

#endif
