Last change
on this file since 197 was
181,
checked in by cxsong, 18 years ago
|
moved to rappture/src/mesh dir
|
File size:
406 bytes
|
Line | |
---|
1 | #ifndef __SERIALIZABLE_H__ |
---|
2 | #define __SERIALIZABLE_H__ |
---|
3 | |
---|
4 | // |
---|
5 | // class implementing the serialization of various types |
---|
6 | // |
---|
7 | |
---|
8 | class RpSerializable { |
---|
9 | public: |
---|
10 | // constructors |
---|
11 | RpSerializable(); |
---|
12 | |
---|
13 | static void serialize(char& buf, int d); |
---|
14 | static void serialize(char& buf, double d); |
---|
15 | static void serialize(char& buf, double& buf, int nitems); |
---|
16 | static void serialize(char& buf, const char* str, int len); |
---|
17 | }; |
---|
18 | |
---|
19 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.