| 35 | size_t depth = 0; |
| 36 | |
| 37 | bool operator==(const DocStat &rhs) const { |
| 38 | return this->objects == rhs.objects && this->arrays == rhs.arrays && |
| 39 | this->numbers == rhs.numbers && this->strings == rhs.strings && |
| 40 | this->trues == rhs.trues && this->falses == rhs.falses && |
| 41 | this->nulls == rhs.nulls && this->members == rhs.members && |
| 42 | this->elements == rhs.elements && this->length == rhs.length; |
| 43 | } |
| 44 | bool operator!=(const DocStat &rhs) const { return !(*this == rhs); } |
| 45 | void print() { |
| 46 | printf("======== Members ========\n"); |
nothing calls this directly
no outgoing calls
no test coverage detected