#ifndef  TYPE_SDAIPLANT_SPATIAL_CONFIGURATION_PERSON_ITEM_H
#define  TYPE_SDAIPLANT_SPATIAL_CONFIGURATION_PERSON_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 SdaiPlant_spatial_configuration_person_item
class SC_SCHEMA_EXPORT SdaiPlant_spatial_configuration_person_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   DOCUMENT    --  sdaiINSTANCE
    //   PLANT    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   SITE    --  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
    SdaiPlant_spatial_configuration_person_item( const SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    //  part 1
    SdaiPlant_spatial_configuration_person_item( const SdaiDocument_ptr&,
                                                 const SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    SdaiPlant_spatial_configuration_person_item( const SdaiPlant_ptr&,
                                                 const SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    SdaiPlant_spatial_configuration_person_item( const SdaiProduct_definition_relationship_ptr&,
                                                 const SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    SdaiPlant_spatial_configuration_person_item( const SdaiSite_ptr&,
                                                 const SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    virtual ~SdaiPlant_spatial_configuration_person_item();

    //  part 2
    operator SdaiDocument_ptr();
    operator SdaiPlant_ptr();
    operator SdaiProduct_definition_relationship_ptr();
    operator SdaiSite_ptr();

    //  part 3
        SdaiCharacterized_definition_ptr_c definition_() const;
        SdaiCharacterized_definition_ptr   definition_();
        void definition_( const SdaiCharacterized_definition_ptr x );

        SdaiProduct_definition_ptr_c related_product_definition_() const;
        SdaiProduct_definition_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_ptr x );

        SdaiProduct_definition_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_ptr x );

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

        SdaiDocument_type_ptr_c kind_() const;
        SdaiDocument_type_ptr   kind_();
        void kind_( const SdaiDocument_type_ptr x );

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

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

  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );


    //  part 4
    SdaiPlant_spatial_configuration_person_item& operator =( const SdaiDocument_ptr& );
    SdaiPlant_spatial_configuration_person_item& operator =( const SdaiPlant_ptr& );
    SdaiPlant_spatial_configuration_person_item& operator =( const SdaiProduct_definition_relationship_ptr& );
    SdaiPlant_spatial_configuration_person_item& operator =( const SdaiSite_ptr& );
    // not in SDAI
    SdaiPlant_spatial_configuration_person_item& ShallowCopy ( const SdaiPlant_spatial_configuration_person_item& );

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

    //  part 5
    Logical IsDocument() const;
    Logical IsPlant() const;
    Logical IsProduct_definition_relationship() const;
    Logical IsSite() const;

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

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

inline SDAI_Select * create_SdaiPlant_spatial_configuration_person_item () { return new SdaiPlant_spatial_configuration_person_item; }
typedef SdaiPlant_spatial_configuration_person_item * SdaiPlant_spatial_configuration_person_itemH;
typedef SdaiPlant_spatial_configuration_person_item_ptr SdaiPlant_spatial_configuration_person_item_var;


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

  public:
    SdaiPlant_spatial_configuration_person_item_agg( SelectTypeDescriptor * =plant_spatial_configuration::t_plant_spatial_configuration_person_item );
    ~SdaiPlant_spatial_configuration_person_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPlant_spatial_configuration_person_item( sel_type )); }
};
inline STEPaggregate * create_SdaiPlant_spatial_configuration_person_item_agg () { return new SdaiPlant_spatial_configuration_person_item_agg; }
typedef SdaiPlant_spatial_configuration_person_item_agg_ptr SdaiPlant_spatial_configuration_person_item_agg_var;

/////  END SELECT TYPE plant_spatial_configuration_person_item

void init_SdaiPlant_spatial_configuration_person_item(Registry& reg);

#endif
