SmartFoxServer 2X C++ API
UserVariable.h
1 // ===================================================================
2 //
3 // Description
4 // Contains the definition of UserVariable interface
5 //
6 // Revision history
7 // Date Description
8 // 30-Nov-2012 First version
9 //
10 // ===================================================================
11 #ifndef __UserVariable__
12 #define __UserVariable__
13 
14 #include "../../Util/Common.h"
15 #include "Variable.h"
16 #include "VariableType.h"
17 #include "../Data/ISFSObject.h"
18 #include "../Data/ISFSArray.h"
19 
20 #include <boost/shared_ptr.hpp> // Boost Asio shared pointer
21 
22 #if defined(_MSC_VER)
23 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug
24 #endif
25 #include <string> // STL library: string object
26 using namespace std; // STL library: declare the STL namespace
27 
28 using namespace Sfs2X::Entities::Data;
29 
30 namespace Sfs2X {
31 namespace Entities {
32 namespace Variables {
33 
43  class DLLImportExport UserVariable : public Variable
44  {
45  public:
46 
57  virtual bool IsPrivate() = 0;
58 
69  virtual void IsPrivate(bool value) = 0;
70  };
71 
72 } // namespace Variables
73 } // namespace Entities
74 } // namespace Sfs2X
75 
76 #endif
The Variable interface defines all the default public methods and properties that an object represent...
Definition: Variable.h:25
STL namespace.
The UserVariable interface defines all the public methods and properties that an object representing ...
Definition: UserVariable.h:43
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17