MessageField.h 456 B

12345678910111213141516171819202122
  1. #ifndef ORM_MESSAGEFIELD_H
  2. #define ORM_MESSAGEFIELD_H
  3. #include <string>
  4. namespace Egametang {
  5. class MessageField
  6. {
  7. private:
  8. const google::protobuf::Message& message;
  9. const google::protobuf::FieldDescriptor* field;
  10. public:
  11. MessageField(const google::protobuf::Message& message,
  12. const google::protobuf::FieldDescriptor* field);
  13. ~MessageField();
  14. std::string MessageField::ValueToString();
  15. };
  16. } // namespace Egametang
  17. #endif // ORM_MESSAGEFIELD_H