New version of C++ Middleware Writer now on line

W

woodbrian77

Shalom

Version 1.9 of the C++ Middleware Writer is now available. This
version
adds support for Boost Array and it also has a command line interface
that allows users to bypass the web interface. In other words, it
makes
it easy to integrate the C++ Middleware Writer into your build
process.
http://webEbenezer.net/build_integration.html
 
C

coal

Shalom

Version 1.9 of the C++MiddlewareWriter is now available.  This
version
adds support forBoost Arrayand it also has a command line interface
that allows users to bypass the web interface.  In other words, it
makes
it easy to integrate the C++MiddlewareWriter into your build
process.http://webEbenezer.net/build_integration.html


One thing about the command line interface that is kind
of interesting is that is uses bzip2 to compress files
before transmitting them. I came across a kind of
unusual situation when working on this part of the
program. The program first calculates the number of
bytes in a message. There's no way to figure out
how many bytes a file will be when its compressed
without actually compressing it. But I wasn't ready to
marshall the compressed data at that point -- I'm
still counting how many bytes are in the message.
So I decided to store the compressed data in a deque
for later use. This means the CalculateMarshallingSize
function has a side effect that is later used by the Send
function. One alternative would be to do the compression
twice, but that didn't seem like the right answer so I
took the aforementioned approach. The code is mostly
here -- http://webEbenezer.net/misc/File.cc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top