Parts of locomotives or rolling stock