#ifndef  TYPE_SDAIBOOLEAN_OPERAND_2D_H
#define  TYPE_SDAIBOOLEAN_OPERAND_2D_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 SdaiBoolean_operand_2d
class SC_SCHEMA_EXPORT SdaiBoolean_operand_2d  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   BOUNDED_PRIMITIVE_2D    --  sdaiSELECT
    //   BOOLEAN_RESULT_2D    --  sdaiINSTANCE
       SdaiBounded_primitive_2d _sdaibounded_primitive_2d;
       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
    SdaiBoolean_operand_2d( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_boolean_operand_2d );
    //  part 1
    SdaiBoolean_operand_2d( const SdaiBounded_primitive_2d_ptr&,
                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_boolean_operand_2d );
    SdaiBoolean_operand_2d( const SdaiBoolean_result_2d_ptr&,
                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_boolean_operand_2d );
    virtual ~SdaiBoolean_operand_2d();

    //  part 2
    operator SdaiBounded_primitive_2d_ptr();
    operator SdaiBoolean_result_2d_ptr();

    //  part 3
        SdaiBoolean_operand_2d_ptr_c boolean_result_second_operand_() const;
        SdaiBoolean_operand_2d_ptr   boolean_result_second_operand_();
        void boolean_result_second_operand_( const SdaiBoolean_operand_2d_ptr x );

        SdaiBoolean_operand_2d_ptr_c boolean_result_first_operand_() const;
        SdaiBoolean_operand_2d_ptr   boolean_result_first_operand_();
        void boolean_result_first_operand_( const SdaiBoolean_operand_2d_ptr x );

        SdaiBoolean_operand_ptr_c second_operand_() const;
        SdaiBoolean_operand_ptr   second_operand_();
        void second_operand_( const SdaiBoolean_operand_ptr x );

        SdaiBoolean_operand_ptr_c first_operand_() const;
        SdaiBoolean_operand_ptr   first_operand_();
        void first_operand_( const SdaiBoolean_operand_ptr x );

  const SdaiBoolean_operator_var   operator_() const;
        SdaiBoolean_operator_var   operator_();
        void operator_( const SdaiBoolean_operator_var x );

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


    //  part 4
    SdaiBoolean_operand_2d& operator =( const SdaiBounded_primitive_2d_ptr& );
    SdaiBoolean_operand_2d& operator =( const SdaiBoolean_result_2d_ptr& );
    // not in SDAI
    SdaiBoolean_operand_2d& ShallowCopy ( const SdaiBoolean_operand_2d& );

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

    //  part 5
    Logical IsBounded_primitive_2d() const;
    Logical IsBoolean_result_2d() const;

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

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

inline SDAI_Select * create_SdaiBoolean_operand_2d () { return new SdaiBoolean_operand_2d; }
typedef SdaiBoolean_operand_2d * SdaiBoolean_operand_2dH;
typedef SdaiBoolean_operand_2d_ptr SdaiBoolean_operand_2d_var;


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

  public:
    SdaiBoolean_operand_2d_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_boolean_operand_2d );
    ~SdaiBoolean_operand_2d_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiBoolean_operand_2d( sel_type )); }
};
inline STEPaggregate * create_SdaiBoolean_operand_2d_agg () { return new SdaiBoolean_operand_2d_agg; }
typedef SdaiBoolean_operand_2d_agg_ptr SdaiBoolean_operand_2d_agg_var;

/////  END SELECT TYPE boolean_operand_2d

void init_SdaiBoolean_operand_2d(Registry& reg);

#endif
