74 function<
void(
QueryBase&)> forQueryOutput) = 0;
110 return !
inputs.isNullPtr();
126 inputs->push_back(
nullptr);
135 std::cout <<
"Cannot set output of query node with output of type "
136 << toMe->getOutputType() <<
" to be the input";
137 std::cout <<
" of a query with input type " <<
getIthInputType(whichSlot) <<
".\n";
142 (*inputs)[whichSlot] = toMe;
151 <<
"This is bad; you seem to be combining inputs from different databases.\n";
152 PDB_COUT <<
"DBs used are " <<
getDBName() <<
" and " << toMe->getDBName() <<
".\n";
168 return this == &other;
virtual void match(function< void(QueryBase &)> forSelection, function< void(QueryBase &)> forSet, function< void(QueryBase &)> forQueryOutput)=0
void setSetName(std::string toMe)
virtual bool operator==(const QueryBase &other)
virtual int getNumInputs()=0
Handle< QueryBase > QueryBaseHdl
bool setInput(int whichSlot, Handle< QueryBase > toMe)
bool setInput(Handle< QueryBase > toMe)
virtual std::string getOutputType()=0
Handle< Vector< Handle< QueryBase > > > inputs
void setDBName(std::string toMe)
Handle< QueryBase > & getIthInput(int i) const
virtual std::string getQueryType()=0
virtual std::string getIthInputType(int i)=0