#ifndef TypeConversions_h
#define TypeConversions_h
#include "wtf/FastMalloc.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
namespace WebCore {
class TypeConversions : public RefCountedWillBeGarbageCollected<TypeConversions> {
public:
static PassRefPtrWillBeRawPtr<TypeConversions> create()
{
return adoptRefWillBeNoop(new TypeConversions());
}
long testLong() { return m_long; }
void setTestLong(long value) { m_long = value; }
unsigned long testUnsignedLong() { return m_unsignedLong; }
void setTestUnsignedLong(unsigned long value) { m_unsignedLong = value; }
long long testLongLong() { return m_longLong; }
void setTestLongLong(long long value) { m_longLong = value; }
unsigned long long testUnsignedLongLong() { return m_unsignedLongLong; }
void setTestUnsignedLongLong(unsigned long long value) { m_unsignedLongLong = value; }
int8_t testByte() { return m_byte; }
void setTestByte(int8_t value) { m_byte = value; }
uint8_t testOctet() { return m_octet; }
void setTestOctet(uint8_t value) { m_octet = value; }
int16_t testShort() { return m_short; }
void setTestShort(int16_t value) { m_short = value; }
uint16_t testUnsignedShort() { return m_unsignedShort; }
void setTestUnsignedShort(uint16_t value) { m_unsignedShort = value; }
void trace(Visitor*) { }
private:
TypeConversions()
{
}
long m_long;
unsigned long m_unsignedLong;
long long m_longLong;
unsigned long long m_unsignedLongLong;
int8_t m_byte;
uint8_t m_octet;
int16_t m_short;
uint16_t m_unsignedShort;
};
}
#endif