SmartFoxServer 2X C++ API
IMatcher.h
1 // ===================================================================
2 //
3 // Description
4 // Contains the definition of IMatcher interface
5 //
6 // Revision history
7 // Date Description
8 // 30-Nov-2012 First version
9 //
10 // ===================================================================
11 #ifndef __IMatcher__
12 #define __IMatcher__
13 
14 #include "../../Util/Common.h"
15 
16 #include <boost/shared_ptr.hpp> // Boost Asio shared pointer
17 
18 #if defined(_MSC_VER)
19 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug
20 #endif
21 #include <string> // STL library: string object
22 using namespace std; // STL library: declare the STL namespace
23 
24 namespace Sfs2X {
25 namespace Entities {
26 namespace Match {
27 
31  class DLLImportExport IMatcher
32  {
33  public:
37  virtual boost::shared_ptr<string> Symbol() = 0;
38 
42  virtual long int Type() = 0;
43  };
44 
45 } // namespace Match
46 } // namespace Entities
47 } // namespace Sfs2X
48 
49 #endif
Definition: IMatcher.h:31
STL namespace.
Definition: SmartFox.cpp:24