An approximation theory for operators generated by shifts