11 #ifndef __FindUsersRequest__ 12 #define __FindUsersRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 16 #include "../Entities/User.h" 17 #include "../Entities/Room.h" 18 #include "../Entities/Match/MatchExpression.h" 20 #include <boost/shared_ptr.hpp> 23 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 44 void Init(boost::shared_ptr<MatchExpression> expr);
45 void Init(boost::shared_ptr<MatchExpression> expr, boost::shared_ptr<Room> target,
long int limit);
46 void Init(boost::shared_ptr<MatchExpression> expr,
string target,
long int limit);
56 FindUsersRequest(boost::shared_ptr<MatchExpression> expr, boost::shared_ptr<Room> target);
61 FindUsersRequest(boost::shared_ptr<MatchExpression> expr, boost::shared_ptr<Room> target,
long int limit);
114 FindUsersRequest(boost::shared_ptr<MatchExpression> expr,
string target,
long int limit);
118 void Validate(boost::shared_ptr<SmartFox> sfs);
120 void Execute (boost::shared_ptr<SmartFox> sfs);
126 static boost::shared_ptr<string> KEY_EXPRESSION;
128 static boost::shared_ptr<string> KEY_GROUP;
130 static boost::shared_ptr<string> KEY_ROOM;
132 static boost::shared_ptr<string> KEY_LIMIT;
134 static boost::shared_ptr<string> KEY_FILTERED_USERS;
155 boost::shared_ptr<MatchExpression> matchExpr;
156 boost::shared_ptr<Room> targetRoom;
157 boost::shared_ptr<string> targetString;
Search Users in the system by matching their variables and properties against a MatchExpression ...
Definition: FindUsersRequest.h:37
Definition: BoolMatch.cpp:15
Definition: SmartFox.cpp:24