#ifndef  TYPE_SDAIPOINT_AND_VECTOR_MEMBER_H
#define  TYPE_SDAIPOINT_AND_VECTOR_MEMBER_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 SdaiPoint_and_vector_member
class SC_SCHEMA_EXPORT SdaiPoint_and_vector_member  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   POINT    --  sdaiINSTANCE
    //   DIRECTION    --  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
    SdaiPoint_and_vector_member( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_point_and_vector_member );
    //  part 1
    SdaiPoint_and_vector_member( const SdaiPoint_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_point_and_vector_member );
    SdaiPoint_and_vector_member( const SdaiDirection_ptr&,
                                 const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_point_and_vector_member );
    virtual ~SdaiPoint_and_vector_member();

    //  part 2
    operator SdaiPoint_ptr();
    operator SdaiDirection_ptr();

    //  part 3
        RealAggregate_ptr_c direction_ratios_() const;
        RealAggregate_ptr   direction_ratios_();
        void direction_ratios_( const RealAggregate_ptr x );

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


    //  part 4
    SdaiPoint_and_vector_member& operator =( const SdaiPoint_ptr& );
    SdaiPoint_and_vector_member& operator =( const SdaiDirection_ptr& );
    // not in SDAI
    SdaiPoint_and_vector_member& ShallowCopy ( const SdaiPoint_and_vector_member& );

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

    //  part 5
    Logical IsPoint() const;
    Logical IsDirection() const;

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

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

inline SDAI_Select * create_SdaiPoint_and_vector_member () { return new SdaiPoint_and_vector_member; }
typedef SdaiPoint_and_vector_member * SdaiPoint_and_vector_memberH;
typedef SdaiPoint_and_vector_member_ptr SdaiPoint_and_vector_member_var;


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

  public:
    SdaiPoint_and_vector_member_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_point_and_vector_member );
    ~SdaiPoint_and_vector_member_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPoint_and_vector_member( sel_type )); }
};
inline STEPaggregate * create_SdaiPoint_and_vector_member_agg () { return new SdaiPoint_and_vector_member_agg; }
typedef SdaiPoint_and_vector_member_agg_ptr SdaiPoint_and_vector_member_agg_var;

/////  END SELECT TYPE point_and_vector_member

void init_SdaiPoint_and_vector_member(Registry& reg);

#endif
