| 946 | } |
| 947 | |
| 948 | bool QualifiedIdentifier::beginsWith(const QualifiedIdentifier& other) const |
| 949 | { |
| 950 | uint c = count(); |
| 951 | uint oc = other.count(); |
| 952 | |
| 953 | for (uint i = 0; i < c && i < oc; ++i) |
| 954 | if (at(i) == other.at(i)) { |
| 955 | continue; |
| 956 | } else { |
| 957 | return false; |
| 958 | } |
| 959 | |
| 960 | return true; |
| 961 | } |
| 962 | |
| 963 | uint QualifiedIdentifier::hash() const |
| 964 | { |
no test coverage detected