#ifndef  TYPE_SDAICONSTRUCTIVE_GEOMETRY_REPRESENTATION_OR_SHAPE_REPRESENATION_H
#define  TYPE_SDAICONSTRUCTIVE_GEOMETRY_REPRESENTATION_OR_SHAPE_REPRESENATION_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 SdaiConstructive_geometry_representation_or_shape_represenation
class SC_SCHEMA_EXPORT SdaiConstructive_geometry_representation_or_shape_represenation  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CONSTRUCTIVE_GEOMETRY_REPRESENTATION    --  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
    SdaiConstructive_geometry_representation_or_shape_represenation( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_constructive_geometry_representation_or_shape_represenation );
    //  part 1
    SdaiConstructive_geometry_representation_or_shape_represenation( const SdaiConstructive_geometry_representation_ptr&,
                                                                     const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_constructive_geometry_representation_or_shape_represenation );
    SdaiConstructive_geometry_representation_or_shape_represenation( const SdaiShape_representation_ptr&,
                                                                     const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_constructive_geometry_representation_or_shape_represenation );
    virtual ~SdaiConstructive_geometry_representation_or_shape_represenation();

    //  part 2
    operator SdaiConstructive_geometry_representation_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 );


    //  part 4
    SdaiConstructive_geometry_representation_or_shape_represenation& operator =( const SdaiConstructive_geometry_representation_ptr& );
    SdaiConstructive_geometry_representation_or_shape_represenation& operator =( const SdaiShape_representation_ptr& );
    // not in SDAI
    SdaiConstructive_geometry_representation_or_shape_represenation& ShallowCopy ( const SdaiConstructive_geometry_representation_or_shape_represenation& );

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

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

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

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

inline SDAI_Select * create_SdaiConstructive_geometry_representation_or_shape_represenation () { return new SdaiConstructive_geometry_representation_or_shape_represenation; }
typedef SdaiConstructive_geometry_representation_or_shape_represenation * SdaiConstructive_geometry_representation_or_shape_represenationH;
typedef SdaiConstructive_geometry_representation_or_shape_represenation_ptr SdaiConstructive_geometry_representation_or_shape_represenation_var;


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

  public:
    SdaiConstructive_geometry_representation_or_shape_represenation_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_constructive_geometry_representation_or_shape_represenation );
    ~SdaiConstructive_geometry_representation_or_shape_represenation_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiConstructive_geometry_representation_or_shape_represenation( sel_type )); }
};
inline STEPaggregate * create_SdaiConstructive_geometry_representation_or_shape_represenation_agg () { return new SdaiConstructive_geometry_representation_or_shape_represenation_agg; }
typedef SdaiConstructive_geometry_representation_or_shape_represenation_agg_ptr SdaiConstructive_geometry_representation_or_shape_represenation_agg_var;

/////  END SELECT TYPE constructive_geometry_representation_or_shape_represenation

void init_SdaiConstructive_geometry_representation_or_shape_represenation(Registry& reg);

#endif
