Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
serialization
ElementBS.cpp
Go to the documentation of this file.
1
6
#include <
serialization/ElementBS.hpp
>
7
#include <
util/BinarySerialization.hpp
>
8
#include <
xdlrc/model/Element.hpp
>
9
10
using namespace
bil;
11
12
13
void
bil::writeBinary
(
const
Element
& data, std::ostream& outputStream)
14
{
15
writeBinary
(data.m_name, outputStream);
16
writeBinary
(data.m_options, outputStream);
17
}
18
19
20
void
bil::readBinary
(
Element
& data, std::istream& inputStream)
21
{
22
readBinary
(data.m_name, inputStream);
23
readBinary
(data.m_options, inputStream);
24
}
Generated on Wed Aug 8 2012 21:57:41 for Bitstream Interpretation Library (BIL) by
1.8.1.1