14 #include "Data/ISFSArray.h" 16 #include "Variables/BuddyVariable.h" 18 #include <boost/shared_ptr.hpp> 21 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 79 static boost::shared_ptr<Buddy> FromSFSArray(boost::shared_ptr<ISFSArray> arr);
82 SFSBuddy(
long int id,
string name,
bool isBlocked);
83 SFSBuddy(
long int id,
string name,
bool isBlocked,
bool isTemp);
87 void Id(
long int value);
89 void IsBlocked(
bool value);
91 boost::shared_ptr<string> Name();
93 boost::shared_ptr<string> State();
94 boost::shared_ptr<string> NickName();
95 boost::shared_ptr<vector<boost::shared_ptr<BuddyVariable> > > Variables();
96 boost::shared_ptr<BuddyVariable> GetVariable(
string varName);
97 boost::shared_ptr<vector<boost::shared_ptr<BuddyVariable> > > GetOfflineVariables();
98 boost::shared_ptr<vector<boost::shared_ptr<BuddyVariable> > > GetOnlineVariables();
99 bool ContainsVariable(
string varName);
100 void SetVariable(boost::shared_ptr<BuddyVariable> bVar);
101 void SetVariables(boost::shared_ptr<vector<boost::shared_ptr<BuddyVariable> > > variables);
102 void RemoveVariable(
string varName);
103 void ClearVolatileVariables();
104 boost::shared_ptr<string> ToString();
119 boost::shared_ptr<string> name;
122 boost::shared_ptr<map<string, boost::shared_ptr<BuddyVariable> > > variables;
SFSBuddy
Definition: Buddy.h:35
The SFSBuddy class represent a Buddy in the User's Buddy List
Definition: SFSBuddy.h:72
Definition: SmartFox.cpp:24