Advertisement
bueddl

Untitled

May 24th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. // C++ standard includes
  2. #include <string>
  3. #include <vector>
  4.  
  5. // 3rd party lib includes
  6. #include <boost/thread.hpp>
  7.  
  8. // project dependencies
  9. #include "anything.hpp"
  10.  
  11. namespace test
  12. {
  13.     namespace subNamespace
  14.     {
  15.    
  16.     enum MyEnum
  17.     {
  18.         E_ONE,
  19.         E_TWO,
  20.         E_THREE
  21.     }
  22.  
  23.     class Example
  24.     {
  25.     private:
  26.         int m_myNumber;
  27.         Example *m_next;
  28.        
  29.         void m_reset();
  30.         bool m_test(Demo *myObj, int crit);
  31.  
  32.     protected:
  33.         string s_testShared;
  34.        
  35.         bool s_sharedFunction();
  36.  
  37.     public:
  38.         Demo();
  39.         ~Demo();
  40.        
  41.         void setMyNumber(int newValue);
  42.     }
  43.  
  44.     }
  45. }
  46.  
  47. using namespace test::subNamespace;
  48.  
  49. example = new Example();
  50. myExampleCopy = example;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement