Lines Matching refs:ErrorCombination
82 class ErrorCombination {
84 ErrorCombination() : fBitfield(0) {}
85 ErrorCombination(const ErrorType type) : fBitfield(1 << type) {}
95 * Adds this ErrorType to this ErrorCombination.
102 * Adds all ErrorTypes in "other" to this ErrorCombination.
104 void add(const ErrorCombination other) {
109 * Returns true iff this ErrorCombination includes this ErrorType.
117 * ErrorCombination.
136 * Returns a new ErrorCombination, which includes the union of all
137 * ErrorTypes in two ErrorCombination objects (this and other).
139 ErrorCombination plus(const ErrorCombination& other) const {
140 ErrorCombination retval;
146 * Returns a new ErrorCombination, which is a copy of "this"
149 ErrorCombination minus(const ErrorCombination& other) const {
150 ErrorCombination retval;
160 const static ErrorCombination kEmpty_ErrorCombination;