def _update(self): """ Query for the update info. :returns: The update stored on the class. """ if self.__cpp_update is None: # Create the cpp update vector of maps. self.__cpp_update = Backend.StdVectorStdMapStringInt() # Take each entry in the update list. for update_entry in self.__update: # Convert to C++ cpp_map = Backend.StdMapStringInt() for e in update_entry: cpp_map[e[1]] = e[0] # Add. self.__cpp_update.push_back(cpp_map) return self.__cpp_update