In this line of C++ code ;

Code:
 int permissions = (mode == QSharedMemory::ReadOnly ? FILE_MAP_READ : FILE_MAP_ALL_ACCESS);
what does the question mark mean and the colon mean