32. 33. 34. 35. 36. 37. Add Properties to Class/给导出的类添加属性(类似于Delphi) class NewMessage { public: void set(std::string msg) { this->msg = msg; } std::string get() { return this->msg; } private: std::string msg; }; BOOST_PYTHON_MODULE(boost_python) { //add pro...