Searched refs:otherTerm (Results 1 – 7 of 7) sorted by relevance
42 TermPtr otherTerm(boost::dynamic_pointer_cast<Term>(other)); in equals() local43 if (!otherTerm) { in equals()46 return (_field == otherTerm->_field && _text == otherTerm->_text); in equals()58 TermPtr otherTerm(boost::static_pointer_cast<Term>(other)); in compareTo() local59 if (_field == otherTerm->_field) { in compareTo()60 return _text.compare(otherTerm->_text); in compareTo()62 return _field.compare(otherTerm->_field); in compareTo()
114 const XsdTerm::Ptr otherTerm = otherParticle->term(); in particleEqualsRecursively() local116 if (term->isElement() && !(otherTerm->isElement())) in particleEqualsRecursively()119 if (term->isModelGroup() && !(otherTerm->isModelGroup())) in particleEqualsRecursively()122 if (term->isWildcard() && !(otherTerm->isWildcard())) in particleEqualsRecursively()127 const XsdElement::Ptr otherElement = otherTerm; in particleEqualsRecursively()138 const XsdModelGroup::Ptr otherGroup = otherTerm; in particleEqualsRecursively()
84 static bool termMatches(const XsdTerm::Ptr &term, const XsdTerm::Ptr &otherTerm, const NamePool::Pt… in termMatches() argument89 if (otherTerm->isElement()) { in termMatches()92 const XsdElement::Ptr otherElement(otherTerm); in termMatches()98 } else if (otherTerm->isWildcard()) { in termMatches()101 const XsdWildcard::Ptr wildcard(otherTerm); in termMatches()115 if (otherTerm->isElement()) { in termMatches()118 const XsdElement::Ptr otherElement(otherTerm); in termMatches()129 } else if (otherTerm->isWildcard()) { in termMatches()132 const XsdWildcard::Ptr otherWildcard(otherTerm); in termMatches()
1147 const XsdTerm::Ptr otherTerm = otherParticle->term(); in resolveTermReference() local1149 if (otherTerm->isElement() && i != j) { in resolveTermReference()1151 const XsdElement::Ptr otherElement = otherTerm; in resolveTermReference()
112 const XsdTerm::Ptr otherTerm = otherParticle->term(); in particleEqualsRecursively() local114 if (term->isElement() && !(otherTerm->isElement())) in particleEqualsRecursively()117 if (term->isModelGroup() && !(otherTerm->isModelGroup())) in particleEqualsRecursively()120 if (term->isWildcard() && !(otherTerm->isWildcard())) in particleEqualsRecursively()125 const XsdElement::Ptr otherElement = otherTerm; in particleEqualsRecursively()136 const XsdModelGroup::Ptr otherGroup = otherTerm; in particleEqualsRecursively()
82 static bool termMatches(const XsdTerm::Ptr &term, const XsdTerm::Ptr &otherTerm, const NamePool::Pt… in termMatches() argument87 if (otherTerm->isElement()) { in termMatches()90 const XsdElement::Ptr otherElement(otherTerm); in termMatches()96 } else if (otherTerm->isWildcard()) { in termMatches()99 const XsdWildcard::Ptr wildcard(otherTerm); in termMatches()113 if (otherTerm->isElement()) { in termMatches()116 const XsdElement::Ptr otherElement(otherTerm); in termMatches()127 } else if (otherTerm->isWildcard()) { in termMatches()130 const XsdWildcard::Ptr otherWildcard(otherTerm); in termMatches()
1145 const XsdTerm::Ptr otherTerm = otherParticle->term(); in resolveTermReference() local1147 if (otherTerm->isElement() && i != j) { in resolveTermReference()1149 const XsdElement::Ptr otherElement = otherTerm; in resolveTermReference()