Can you stop spamming with all of these threads? Just make a thread for questions about the code breakdown. Also, I highly suggest that you read the Documentation at
https://dev.visucore.com/bitcoin/doxygen/ and you logically think through what you are asking before asking the question.
I don't need to even read the code to understand this line, just logically thinking.
This line adds the chainwork of the previous block to the chainwork of the current block. It uses the ternary operator to start at 0 if the previous block doesn't exist, i.e. the genesis block. Otherwise it will get the chainwork of the previous block.