SST/macro
serialize_string.h
Go to the documentation of this file.
1 #ifndef SERIALIZE_STRING_H
2 #define SERIALIZE_STRING_H
3 
4 #include <sprockit/serializer.h>
5 
6 namespace sprockit {
7 
8 template <>
9 class serialize<std::string> {
10  public:
11  void operator()(std::string& str, serializer& ser){
12  ser.string(str);
13  }
14 };
15 
16 }
17 
18 #endif // SERIALIZE_STRING_H
void operator()(std::string &str, serializer &ser)
void string(std::string &str)
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:33