Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.622 kb
#pragma once
// Generated by running python boxer.py in this directory
#include "presents/Streamable.h"
#include "presents/streamers/StreamableStreamer.h"
namespace presents { namespace box {
class BoxedInt : public Streamable{
public:
DECLARE_STREAMABLE();
int32 value;
static Shared<BoxedInt> createShared (int32 value)
{
Shared<BoxedInt> shared(new BoxedInt);
shared->value = value;
return shared;
}
virtual void readObject(ObjectInputStream& in);
virtual void writeObject(ObjectOutputStream& out) const;
};
}}
Jump to Line
Something went wrong with that request. Please try again.