<div class="gmail_quote">2009/12/4 Sebastian Trueg <span dir="ltr"><<a href="mailto:trueg@kde.org">trueg@kde.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">hm. not sure. Then we would have two ways to do not-equal. But then</div>
again we also have two ways to do >=:<br>
ComparisonTem::GreaterOrEqual<br>
and<br>
NegationTerm( ComparisonTerm::Smaller )<br>
right?<br>
<br></blockquote><div><br></div><div>Yes... well, I don't know, the first place I searched for making a "not equal" term was the ComparisonTerm, so I asked if it makes sense to add it :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How about TypeTerm:<br>
<br>
class NEPOMUKQUERY_EXPORT TypeTerm : public Term<br>
{<br>
public:<br>
TypeTerm( const Term& term );<br>
TypeTerm( const Nepomuk::Types::Class& type );<br>
~TypeTerm();<br>
TypeTerm& operator=( const TypeTerm& term );<br>
Nepomuk::Types::Class type() const;<br>
void setType( const Nepomuk::Types::Class& type );<br>
};<br>
?<br>
Idea for a better name?<br><br></blockquote></div><div><br></div>RdfTypeTerm, ClassTerm... but they are not that better :)<br clear="all"><br>-- <br>Sivieri Alessandro<br><a href="mailto:alessandro.sivieri@gmail.com">alessandro.sivieri@gmail.com</a><br>
<a href="http://www.chimera-bellerofonte.eu/">http://www.chimera-bellerofonte.eu/</a><br><a href="http://www.poul.org/">http://www.poul.org/</a><br>