#ifndef  TYPE_SDAICOMPONENT_MATERIAL_RELATIONSHIP_ASSIGNMENT_ITEM_H
#define  TYPE_SDAICOMPONENT_MATERIAL_RELATIONSHIP_ASSIGNMENT_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 SdaiComponent_material_relationship_assignment_item
class SC_SCHEMA_EXPORT SdaiComponent_material_relationship_assignment_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ASSEMBLY_COMPONENT_USAGE    --  sdaiINSTANCE
    //   ASSEMBLY_ITEM_NUMBER    --  sdaiINSTANCE
    //   SPECIFICATION_DEFINITION    --  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
    SdaiComponent_material_relationship_assignment_item( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_component_material_relationship_assignment_item );
    //  part 1
    SdaiComponent_material_relationship_assignment_item( const SdaiAssembly_component_usage_ptr&,
                                                         const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_component_material_relationship_assignment_item );
    SdaiComponent_material_relationship_assignment_item( const SdaiAssembly_item_number_ptr&,
                                                         const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_component_material_relationship_assignment_item );
    SdaiComponent_material_relationship_assignment_item( const SdaiSpecification_definition_ptr&,
                                                         const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_component_material_relationship_assignment_item );
    virtual ~SdaiComponent_material_relationship_assignment_item();

    //  part 2
    operator SdaiAssembly_component_usage_ptr();
    operator SdaiAssembly_item_number_ptr();
    operator SdaiSpecification_definition_ptr();

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

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

        SdaiGroupable_item_agg_ptr_c items_() const;
        SdaiGroupable_item_agg_ptr   items_();
        void items_( const SdaiGroupable_item_agg_ptr x );

        SdaiGroup_ptr_c assigned_group_() const;
        SdaiGroup_ptr   assigned_group_();
        void assigned_group_( const SdaiGroup_ptr x );

  const SdaiIdentifier   reference_designator_() const;
        SdaiIdentifier   reference_designator_();
        void reference_designator_( const SdaiIdentifier x );

        SdaiProduct_definition_or_reference_ptr_c related_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_or_reference_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_or_reference_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
    SdaiComponent_material_relationship_assignment_item& operator =( const SdaiAssembly_component_usage_ptr& );
    SdaiComponent_material_relationship_assignment_item& operator =( const SdaiAssembly_item_number_ptr& );
    SdaiComponent_material_relationship_assignment_item& operator =( const SdaiSpecification_definition_ptr& );
    // not in SDAI
    SdaiComponent_material_relationship_assignment_item& ShallowCopy ( const SdaiComponent_material_relationship_assignment_item& );

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

    //  part 5
    Logical IsAssembly_component_usage() const;
    Logical IsAssembly_item_number() const;
    Logical IsSpecification_definition() const;

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

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

inline SDAI_Select * create_SdaiComponent_material_relationship_assignment_item () { return new SdaiComponent_material_relationship_assignment_item; }
typedef SdaiComponent_material_relationship_assignment_item * SdaiComponent_material_relationship_assignment_itemH;
typedef SdaiComponent_material_relationship_assignment_item_ptr SdaiComponent_material_relationship_assignment_item_var;


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

  public:
    SdaiComponent_material_relationship_assignment_item_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_component_material_relationship_assignment_item );
    ~SdaiComponent_material_relationship_assignment_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiComponent_material_relationship_assignment_item( sel_type )); }
};
inline STEPaggregate * create_SdaiComponent_material_relationship_assignment_item_agg () { return new SdaiComponent_material_relationship_assignment_item_agg; }
typedef SdaiComponent_material_relationship_assignment_item_agg_ptr SdaiComponent_material_relationship_assignment_item_agg_var;

/////  END SELECT TYPE component_material_relationship_assignment_item

void init_SdaiComponent_material_relationship_assignment_item(Registry& reg);

#endif
