11 #ifndef __FindRoomsRequest__ 12 #define __FindRoomsRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 16 #include "../Entities/Room.h" 17 #include "../Entities/Match/MatchExpression.h" 19 #include <boost/shared_ptr.hpp> 22 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 93 FindRoomsRequest(boost::shared_ptr<MatchExpression> expr,
string groupId,
long int limit);
97 void Validate(boost::shared_ptr<SmartFox> sfs);
99 void Execute (boost::shared_ptr<SmartFox> sfs);
105 static boost::shared_ptr<string> KEY_EXPRESSION;
107 static boost::shared_ptr<string> KEY_GROUP;
109 static boost::shared_ptr<string> KEY_LIMIT;
111 static boost::shared_ptr<string> KEY_FILTERED_ROOMS;
128 void Init(boost::shared_ptr<MatchExpression> expr,
string groupId,
long int limit);
133 boost::shared_ptr<MatchExpression> matchExpr;
134 boost::shared_ptr<string> groupId;
Search Rooms in the system by matching their variables and properties against a MatchExpression ...
Definition: FindRoomsRequest.h:36
Definition: BoolMatch.cpp:15
Definition: SmartFox.cpp:24