#ifndef  TYPE_SDAICC_CLASSIFIED_ITEM_H
#define  TYPE_SDAICC_CLASSIFIED_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 SdaiCc_classified_item
class SC_SCHEMA_EXPORT SdaiCc_classified_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ASSEMBLY_COMPONENT_USAGE    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  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
    SdaiCc_classified_item( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_cc_classified_item );
    //  part 1
    SdaiCc_classified_item( const SdaiAssembly_component_usage_ptr&,
                            const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_cc_classified_item );
    SdaiCc_classified_item( const SdaiProduct_definition_formation_ptr&,
                            const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_cc_classified_item );
    virtual ~SdaiCc_classified_item();

    //  part 2
    operator SdaiAssembly_component_usage_ptr();
    operator SdaiProduct_definition_formation_ptr();

    //  part 3
        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr x );

  const SdaiIdentifier   reference_designator_() const;
        SdaiIdentifier   reference_designator_();
        void reference_designator_( const SdaiIdentifier 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 );

  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
    SdaiCc_classified_item& operator =( const SdaiAssembly_component_usage_ptr& );
    SdaiCc_classified_item& operator =( const SdaiProduct_definition_formation_ptr& );
    // not in SDAI
    SdaiCc_classified_item& ShallowCopy ( const SdaiCc_classified_item& );

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

    //  part 5
    Logical IsAssembly_component_usage() const;
    Logical IsProduct_definition_formation() const;

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

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

inline SDAI_Select * create_SdaiCc_classified_item () { return new SdaiCc_classified_item; }
typedef SdaiCc_classified_item * SdaiCc_classified_itemH;
typedef SdaiCc_classified_item_ptr SdaiCc_classified_item_var;


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

  public:
    SdaiCc_classified_item_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_cc_classified_item );
    ~SdaiCc_classified_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCc_classified_item( sel_type )); }
};
inline STEPaggregate * create_SdaiCc_classified_item_agg () { return new SdaiCc_classified_item_agg; }
typedef SdaiCc_classified_item_agg_ptr SdaiCc_classified_item_agg_var;

/////  END SELECT TYPE cc_classified_item

void init_SdaiCc_classified_item(Registry& reg);

#endif
