#ifndef  TYPE_SDAIKINEMATIC_RESULT_H
#define  TYPE_SDAIKINEMATIC_RESULT_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 SdaiKinematic_result
class SC_SCHEMA_EXPORT SdaiKinematic_result  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   INTERPOLATED_CONFIGURATION_SEQUENCE    --  sdaiINSTANCE
    //   RESULTING_PATH    --  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
    SdaiKinematic_result( const SelectTypeDescriptor * =automotive_design::t_kinematic_result );
    //  part 1
    SdaiKinematic_result( const SdaiInterpolated_configuration_sequence_ptr&,
                          const SelectTypeDescriptor * =automotive_design::t_kinematic_result );
    SdaiKinematic_result( const SdaiResulting_path_ptr&,
                          const SelectTypeDescriptor * =automotive_design::t_kinematic_result );
    virtual ~SdaiKinematic_result();

    //  part 2
    operator SdaiInterpolated_configuration_sequence_ptr();
    operator SdaiResulting_path_ptr();

    //  part 3
        EntityAggregate_ptr_c controlling_joints_() const;
        EntityAggregate_ptr   controlling_joints_();
        void controlling_joints_( const EntityAggregate_ptr x );

        SdaiRigid_placement_ptr_c related_frame_() const;
        SdaiRigid_placement_ptr   related_frame_();
        void related_frame_( const SdaiRigid_placement_ptr x );

        SdaiKinematic_link_representation_ptr_c representation_relationship_rep_2_() const;
        SdaiKinematic_link_representation_ptr   representation_relationship_rep_2_();
        void representation_relationship_rep_2_( const SdaiKinematic_link_representation_ptr x );

        SdaiFounded_kinematic_path_ptr_c representation_relationship_rep_1_() const;
        SdaiFounded_kinematic_path_ptr   representation_relationship_rep_1_();
        void representation_relationship_rep_1_( const SdaiFounded_kinematic_path_ptr x );

        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 );

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

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

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


    //  part 4
    SdaiKinematic_result& operator =( const SdaiInterpolated_configuration_sequence_ptr& );
    SdaiKinematic_result& operator =( const SdaiResulting_path_ptr& );
    // not in SDAI
    SdaiKinematic_result& ShallowCopy ( const SdaiKinematic_result& );

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

    //  part 5
    Logical IsInterpolated_configuration_sequence() const;
    Logical IsResulting_path() const;

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

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

inline SDAI_Select * create_SdaiKinematic_result () { return new SdaiKinematic_result; }
typedef SdaiKinematic_result * SdaiKinematic_resultH;
typedef SdaiKinematic_result_ptr SdaiKinematic_result_var;


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

  public:
    SdaiKinematic_result_agg( SelectTypeDescriptor * =automotive_design::t_kinematic_result );
    ~SdaiKinematic_result_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiKinematic_result( sel_type )); }
};
inline STEPaggregate * create_SdaiKinematic_result_agg () { return new SdaiKinematic_result_agg; }
typedef SdaiKinematic_result_agg_ptr SdaiKinematic_result_agg_var;

/////  END SELECT TYPE kinematic_result

void init_SdaiKinematic_result(Registry& reg);

#endif
