19 #ifndef ATOMIC_COMPUTATION_H
20 #define ATOMIC_COMPUTATION_H
29 #include <unordered_map>
78 virtual std::pair<std::string, std::string>
findSource(std::string attName,
105 computationName(computationName) {
108 keyValuePairs = std::make_shared<std::map <std::string, std::string>>();
167 if (
getOutput().getAtts().size() == counter) {
168 std::cout <<
"This is bad... could not find the attribute that you were asking for!!\n";
AtomicComputationPtr getShared()
std::string & getOutputName()
std::shared_ptr< std::map< std::string, std::string > > keyValuePairs
AtomicComputation(TupleSpec inputIn, TupleSpec outputIn, TupleSpec projectionIn, std::string computationName)
std::string & getComputationName()
virtual ~AtomicComputation()
virtual AtomicComputationTypeID getAtomicComputationTypeID()=0
std::string & getSetName()
virtual std::pair< std::string, std::string > findSource(std::string attName, AtomicComputationList &allComps)=0
std::shared_ptr< std::map< std::string, std::string > > & getKeyValuePairs()
void setShared(AtomicComputationPtr meIn)
virtual std::string getAtomicComputationType()=0
int findPosInOutputAtts(std::string &findMe)
std::shared_ptr< struct AtomicComputation > AtomicComputationPtr
TupleSpec & getProjection()
std::string & getInputName()
friend std::ostream & operator<<(std::ostream &os, const AtomicComputationList &printMe)
std::string computationName