patrick
/
plasp
Archived
1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/src/plasp/sas/Predicate.cpp

35 lines
697 B
C++
Raw Normal View History

#include <plasp/sas/Predicate.h>
#include <iostream>
namespace plasp
{
namespace sas
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Predicate
//
////////////////////////////////////////////////////////////////////////////////////////////////////
std::ostream &operator <<(std::ostream &ostream, const Predicate &predicate)
{
ostream << predicate.name << "(";
for (size_t i = 0; i < predicate.arguments.size(); i++)
{
if (i > 0)
ostream << ", ";
ostream << predicate.arguments[i];
}
return (ostream << ")");
}
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}