11 #ifndef __SFSRoomVariable__ 12 #define __SFSRoomVariable__ 14 #include "../../Util/Common.h" 15 #include "BaseVariable.h" 16 #include "RoomVariable.h" 17 #include "../Data/ISFSArray.h" 19 #include <boost/shared_ptr.hpp> 62 static boost::shared_ptr<RoomVariable> FromSFSArray(boost::shared_ptr<ISFSArray> sfsa);
94 SFSRoomVariable(
string name, boost::shared_ptr<void> val,
long int type);
99 void IsPrivate(
bool value);
102 void IsPersistent(
bool value);
104 boost::shared_ptr<string> ToString();
105 boost::shared_ptr<ISFSArray> ToSFSArray();
107 boost::shared_ptr<string> Name();
109 boost::shared_ptr<void> Value();
110 boost::shared_ptr<bool> GetBoolValue();
111 boost::shared_ptr<long int> GetIntValue();
112 boost::shared_ptr<double> GetDoubleValue();
113 boost::shared_ptr<string> GetStringValue();
114 boost::shared_ptr<ISFSObject> GetSFSObjectValue();
115 boost::shared_ptr<ISFSArray> GetSFSArrayValue();
The BaseVariable object is the base class for all SmartFoxServer Variable entities on the client...
Definition: BaseVariable.h:47
The RoomVariable class is used to represent variables maintained on the Server side and automatically...
Definition: SFSRoomVariable.h:54
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17