Bitstream Interpretation Library (BIL)  0.1
PrimitiveSiteBS.cpp
Go to the documentation of this file.
1 
9 
10 using namespace bil;
11 
12 
13 void bil::writeBinary(const PrimitiveSite& data, std::ostream& outputStream)
14 {
15  writeBinary(data.m_name, outputStream);
16  writeBinary(data.m_bonded, outputStream);
17 }
18 
19 
20 void bil::readBinary(PrimitiveSite& data, std::istream& inputStream)
21 {
22  readBinary(data.m_name, inputStream);
23  readBinary(data.m_bonded, inputStream);
24 }