code brush
This commit is contained in:
@@ -271,10 +271,11 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
template<typename P> inline PIBinaryStream<P> & operator <<(PIBinaryStream<P> & s, const PIPropertyStorage::Property & v) {s << v.name << v.value << v.comment << v.flags; return s;}
|
||||
template<typename P> inline PIBinaryStream<P> & operator >>(PIBinaryStream<P> & s, PIPropertyStorage::Property & v) {s >> v.name >> v.value >> v.comment >> v.flags; return s;}
|
||||
BINARY_STREAM_STORE (PIPropertyStorage::Property) {s << v.name << v.value << v.comment << v.flags; return s;}
|
||||
BINARY_STREAM_RESTORE(PIPropertyStorage::Property) {s >> v.name >> v.value >> v.comment >> v.flags; return s;}
|
||||
|
||||
BINARY_STREAM_STORE (PIPropertyStorage) {s << v.properties(); return s;}
|
||||
BINARY_STREAM_RESTORE(PIPropertyStorage) {s >> v.properties(); return s;}
|
||||
|
||||
template<typename P> inline PIBinaryStream<P> & operator <<(PIBinaryStream<P> & s, const PIPropertyStorage & v) {s << v.properties(); return s;}
|
||||
template<typename P> inline PIBinaryStream<P> & operator >>(PIBinaryStream<P> & s, PIPropertyStorage & v) {s >> v.properties(); return s;}
|
||||
|
||||
#endif // PIPROPERTYSTORAGE_H
|
||||
|
||||
Reference in New Issue
Block a user