#ifndef  TYPE_SDAISHAPE_DIMENSION_REPRESENTATION_ITEM_H
#define  TYPE_SDAISHAPE_DIMENSION_REPRESENTATION_ITEM_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 SdaiShape_dimension_representation_item
class SC_SCHEMA_EXPORT SdaiShape_dimension_representation_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   COMPOUND_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   DESCRIPTIVE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   MEASURE_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   PLACEMENT    --  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
    SdaiShape_dimension_representation_item( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    //  part 1
    SdaiShape_dimension_representation_item( const SdaiCompound_representation_item_ptr&,
                                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    SdaiShape_dimension_representation_item( const SdaiDescriptive_representation_item_ptr&,
                                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    SdaiShape_dimension_representation_item( const SdaiMeasure_representation_item_ptr&,
                                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    SdaiShape_dimension_representation_item( const SdaiPlacement_ptr&,
                                             const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    virtual ~SdaiShape_dimension_representation_item();

    //  part 2
    operator SdaiCompound_representation_item_ptr();
    operator SdaiDescriptive_representation_item_ptr();
    operator SdaiMeasure_representation_item_ptr();
    operator SdaiPlacement_ptr();

    //  part 3
        SdaiCartesian_point_ptr_c location_() const;
        SdaiCartesian_point_ptr   location_();
        void location_( const SdaiCartesian_point_ptr x );

        SdaiUnit_ptr_c unit_component_() const;
        SdaiUnit_ptr   unit_component_();
        void unit_component_( const SdaiUnit_ptr x );

        SdaiMeasure_value_ptr_c value_component_() const;
        SdaiMeasure_value_ptr   value_component_();
        void value_component_( const SdaiMeasure_value_ptr x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

        SdaiCompound_item_definition_ptr_c item_element_() const;
        SdaiCompound_item_definition_ptr   item_element_();
        void item_element_( const SdaiCompound_item_definition_ptr x );

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


    //  part 4
    SdaiShape_dimension_representation_item& operator =( const SdaiCompound_representation_item_ptr& );
    SdaiShape_dimension_representation_item& operator =( const SdaiDescriptive_representation_item_ptr& );
    SdaiShape_dimension_representation_item& operator =( const SdaiMeasure_representation_item_ptr& );
    SdaiShape_dimension_representation_item& operator =( const SdaiPlacement_ptr& );
    // not in SDAI
    SdaiShape_dimension_representation_item& ShallowCopy ( const SdaiShape_dimension_representation_item& );

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

    //  part 5
    Logical IsCompound_representation_item() const;
    Logical IsDescriptive_representation_item() const;
    Logical IsMeasure_representation_item() const;
    Logical IsPlacement() const;

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

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

inline SDAI_Select * create_SdaiShape_dimension_representation_item () { return new SdaiShape_dimension_representation_item; }
typedef SdaiShape_dimension_representation_item * SdaiShape_dimension_representation_itemH;
typedef SdaiShape_dimension_representation_item_ptr SdaiShape_dimension_representation_item_var;


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

  public:
    SdaiShape_dimension_representation_item_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_shape_dimension_representation_item );
    ~SdaiShape_dimension_representation_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiShape_dimension_representation_item( sel_type )); }
};
inline STEPaggregate * create_SdaiShape_dimension_representation_item_agg () { return new SdaiShape_dimension_representation_item_agg; }
typedef SdaiShape_dimension_representation_item_agg_ptr SdaiShape_dimension_representation_item_agg_var;

/////  END SELECT TYPE shape_dimension_representation_item

void init_SdaiShape_dimension_representation_item(Registry& reg);

#endif
