#ifndef  TYPE_SDAICHARACTERIZED_PRODUCT_DEFINITION_H
#define  TYPE_SDAICHARACTERIZED_PRODUCT_DEFINITION_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 SdaiCharacterized_product_definition
class SC_SCHEMA_EXPORT SdaiCharacterized_product_definition  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  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
    SdaiCharacterized_product_definition( const SelectTypeDescriptor * =engineering_properties_schema::t_characterized_product_definition );
    //  part 1
    SdaiCharacterized_product_definition( const SdaiProduct_definition_ptr&,
                                          const SelectTypeDescriptor * =engineering_properties_schema::t_characterized_product_definition );
    SdaiCharacterized_product_definition( const SdaiProduct_definition_relationship_ptr&,
                                          const SelectTypeDescriptor * =engineering_properties_schema::t_characterized_product_definition );
    virtual ~SdaiCharacterized_product_definition();

    //  part 2
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_relationship_ptr();

    //  part 3
        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 );

        SdaiProduct_definition_context_ptr_c frame_of_reference_() const;
        SdaiProduct_definition_context_ptr   frame_of_reference_();
        void frame_of_reference_( const SdaiProduct_definition_context_ptr x );

        SdaiProduct_definition_formation_ptr_c formation_() const;
        SdaiProduct_definition_formation_ptr   formation_();
        void formation_( const SdaiProduct_definition_formation_ptr x );

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

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


    //  part 4
    SdaiCharacterized_product_definition& operator =( const SdaiProduct_definition_ptr& );
    SdaiCharacterized_product_definition& operator =( const SdaiProduct_definition_relationship_ptr& );
    // not in SDAI
    SdaiCharacterized_product_definition& ShallowCopy ( const SdaiCharacterized_product_definition& );

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

    //  part 5
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_relationship() const;

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

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

inline SDAI_Select * create_SdaiCharacterized_product_definition () { return new SdaiCharacterized_product_definition; }
typedef SdaiCharacterized_product_definition * SdaiCharacterized_product_definitionH;
typedef SdaiCharacterized_product_definition_ptr SdaiCharacterized_product_definition_var;


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

  public:
    SdaiCharacterized_product_definition_agg( SelectTypeDescriptor * =engineering_properties_schema::t_characterized_product_definition );
    ~SdaiCharacterized_product_definition_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCharacterized_product_definition( sel_type )); }
};
inline STEPaggregate * create_SdaiCharacterized_product_definition_agg () { return new SdaiCharacterized_product_definition_agg; }
typedef SdaiCharacterized_product_definition_agg_ptr SdaiCharacterized_product_definition_agg_var;

/////  END SELECT TYPE characterized_product_definition

void init_SdaiCharacterized_product_definition(Registry& reg);

#endif
