Determination of all additive quasiarithmetic mean codeword lengths