#ifndef  TYPE_SDAISTYLE_CONTEXT_SELECT_H
#define  TYPE_SDAISTYLE_CONTEXT_SELECT_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 SdaiStyle_context_select
class SC_SCHEMA_EXPORT SdaiStyle_context_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   GROUP    --  sdaiINSTANCE
    //   PRESENTATION_LAYER_ASSIGNMENT    --  sdaiINSTANCE
    //   PRESENTATION_SET    --  sdaiINSTANCE
    //   REPRESENTATION    --  sdaiINSTANCE
    //   REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   REPRESENTATION_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
    SdaiStyle_context_select( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    //  part 1
    SdaiStyle_context_select( const SdaiGroup_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    SdaiStyle_context_select( const SdaiPresentation_layer_assignment_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    SdaiStyle_context_select( const SdaiPresentation_set_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    SdaiStyle_context_select( const SdaiRepresentation_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    SdaiStyle_context_select( const SdaiRepresentation_item_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    SdaiStyle_context_select( const SdaiRepresentation_relationship_ptr&,
                              const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    virtual ~SdaiStyle_context_select();

    //  part 2
    operator SdaiGroup_ptr();
    operator SdaiPresentation_layer_assignment_ptr();
    operator SdaiPresentation_set_ptr();
    operator SdaiRepresentation_ptr();
    operator SdaiRepresentation_item_ptr();
    operator SdaiRepresentation_relationship_ptr();

    //  part 3
        SdaiRepresentation_ptr_c rep_2_() const;
        SdaiRepresentation_ptr   rep_2_();
        void rep_2_( const SdaiRepresentation_ptr x );

        SdaiRepresentation_ptr_c rep_1_() const;
        SdaiRepresentation_ptr   rep_1_();
        void rep_1_( const SdaiRepresentation_ptr x );

        SdaiRepresentation_context_ptr_c context_of_items_() const;
        SdaiRepresentation_context_ptr   context_of_items_();
        void context_of_items_( const SdaiRepresentation_context_ptr x );

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

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

        SdaiLayered_item_agg_ptr_c assigned_items_() const;
        SdaiLayered_item_agg_ptr   assigned_items_();
        void assigned_items_( const SdaiLayered_item_agg_ptr x );

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

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


    //  part 4
    SdaiStyle_context_select& operator =( const SdaiGroup_ptr& );
    SdaiStyle_context_select& operator =( const SdaiPresentation_layer_assignment_ptr& );
    SdaiStyle_context_select& operator =( const SdaiPresentation_set_ptr& );
    SdaiStyle_context_select& operator =( const SdaiRepresentation_ptr& );
    SdaiStyle_context_select& operator =( const SdaiRepresentation_item_ptr& );
    SdaiStyle_context_select& operator =( const SdaiRepresentation_relationship_ptr& );
    // not in SDAI
    SdaiStyle_context_select& ShallowCopy ( const SdaiStyle_context_select& );

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

    //  part 5
    Logical IsGroup() const;
    Logical IsPresentation_layer_assignment() const;
    Logical IsPresentation_set() const;
    Logical IsRepresentation() const;
    Logical IsRepresentation_item() const;
    Logical IsRepresentation_relationship() const;

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

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

inline SDAI_Select * create_SdaiStyle_context_select () { return new SdaiStyle_context_select; }
typedef SdaiStyle_context_select * SdaiStyle_context_selectH;
typedef SdaiStyle_context_select_ptr SdaiStyle_context_select_var;


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

  public:
    SdaiStyle_context_select_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_style_context_select );
    ~SdaiStyle_context_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiStyle_context_select( sel_type )); }
};
inline STEPaggregate * create_SdaiStyle_context_select_agg () { return new SdaiStyle_context_select_agg; }
typedef SdaiStyle_context_select_agg_ptr SdaiStyle_context_select_agg_var;

/////  END SELECT TYPE style_context_select

void init_SdaiStyle_context_select(Registry& reg);

#endif
