BWAPI 4.2.0 An API for interacting with Starcraft: Broodwar (1.16.1) |
Public Member Functions | |
template<typename T > | |
UnaryFilter (const T &predicate) | |
bool | isValid () const |
UnaryFilter< PType, std::function< bool(PType)> > | operator! () const |
template<typename T > | |
UnaryFilter< PType, std::function< bool(PType)> > | operator&& (const T &other) const |
bool | operator() (PType v) const |
template<typename T > | |
UnaryFilter< PType, std::function< bool(PType)> > | operator|| (const T &other) const |
UnaryFilter allows for logical functor combinations.
PType | The type being passed into the predicate, which will be of type bool(PType). |
Container | (optional) Storage container for the function predicate. It is std::function<bool(PType)> by default. |