#ifndef  TYPE_SDAIKINEMATIC_ANALYSIS_DEFINITION_H
#define  TYPE_SDAIKINEMATIC_ANALYSIS_DEFINITION_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_analysis_definition
class SC_SCHEMA_EXPORT SdaiKinematic_analysis_definition  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   INTERPOLATED_CONFIGURATION_SEQUENCE    --  sdaiINSTANCE
    //   PRESCRIBED_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_analysis_definition( const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_kinematic_analysis_definition );
    //  part 1
    SdaiKinematic_analysis_definition( const SdaiInterpolated_configuration_sequence_ptr&,
                                       const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_kinematic_analysis_definition );
    SdaiKinematic_analysis_definition( const SdaiPrescribed_path_ptr&,
                                       const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_kinematic_analysis_definition );
    virtual ~SdaiKinematic_analysis_definition();

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

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

        SdaiGeometric_representation_context_with_parameter_ptr_c representation_context_of_items_() const;
        SdaiGeometric_representation_context_with_parameter_ptr   representation_context_of_items_();
        void representation_context_of_items_( const SdaiGeometric_representation_context_with_parameter_ptr x );

        EntityAggregate_ptr_c representation_items_() const;
        EntityAggregate_ptr   representation_items_();
        void representation_items_( const EntityAggregate_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 segments_() const;
        EntityAggregate_ptr   segments_();
        void segments_( const EntityAggregate_ptr x );

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


    //  part 4
    SdaiKinematic_analysis_definition& operator =( const SdaiInterpolated_configuration_sequence_ptr& );
    SdaiKinematic_analysis_definition& operator =( const SdaiPrescribed_path_ptr& );
    // not in SDAI
    SdaiKinematic_analysis_definition& ShallowCopy ( const SdaiKinematic_analysis_definition& );

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

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

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

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

inline SDAI_Select * create_SdaiKinematic_analysis_definition () { return new SdaiKinematic_analysis_definition; }
typedef SdaiKinematic_analysis_definition * SdaiKinematic_analysis_definitionH;
typedef SdaiKinematic_analysis_definition_ptr SdaiKinematic_analysis_definition_var;


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

  public:
    SdaiKinematic_analysis_definition_agg( SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_kinematic_analysis_definition );
    ~SdaiKinematic_analysis_definition_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiKinematic_analysis_definition( sel_type )); }
};
inline STEPaggregate * create_SdaiKinematic_analysis_definition_agg () { return new SdaiKinematic_analysis_definition_agg; }
typedef SdaiKinematic_analysis_definition_agg_ptr SdaiKinematic_analysis_definition_agg_var;

/////  END SELECT TYPE kinematic_analysis_definition

void init_SdaiKinematic_analysis_definition(Registry& reg);

#endif
