Sha256: cef16689a51615cd24b3d85f6f662914ce37c743f8f0c4ff6d0952865702222f
Contents?: true
Size: 632 Bytes
Versions: 5
Compression:
Stored size: 632 Bytes
Contents
// // refract/Query.h // librefract // // Created by Jiri Kratochvil on 17/06/15. // Copyright (c) 2015 Apiary Inc. All rights reserved. // #ifndef REFRACT_QUERY_H #define REFRACT_QUERY_H #include "ElementFwd.h" #include <functional> #include <string> namespace refract { namespace query { typedef std::function<bool(const IElement&)> Query; class Element { const std::string name; public: Element(const std::string& name) : name(name) {} bool operator()(const IElement& e); }; }; }; // namespace refract #endif // #ifndef REFRACT_QUERY_H
Version data entries
5 entries across 5 versions & 1 rubygems