23 #ifndef __ccxx_XDRDecoder_hxx 24 #define __ccxx_XDRDecoder_hxx 63 {
int vv; decode(vv); v =
static_cast<bool>(vv);
return(*
this); }
73 { uint32_t vv; decode(vv); v =
static_cast<byte_t>(vv);
return(*
this); }
83 { uint32_t vv; decode(vv); v =
static_cast<bool>(vv);
return(*
this); }
93 { uint32_t vv; decode(vv); v =
static_cast<int16_t
>(vv);
return(*
this); }
103 { uint32_t vv; decode(vv); v =
static_cast<uint16_t
>(vv);
return(*
this); }
113 { _reader >> v;
return(*
this); }
123 { _reader >> v;
return(*
this); }
133 { _reader >> v;
return(*
this); }
143 { _reader >> v;
return(*
this); }
153 { _reader >> v;
return(*
this); }
163 { _reader >> v;
return(*
this); }
175 XDRDecoder& decode(
char* s,
size_t maxlen = 0);
215 #endif // __ccxx_XDRDecoder_hxx XDRDecoder & decode(byte_t &v)
Decode a byte value.
Definition: XDRDecoder.h++:72
XDRDecoder & decode(uint64_t &v)
Decode an unsigned 64-bit integer value.
Definition: XDRDecoder.h++:142
A decoder for XDR, the eXternal Data Representation format.
Definition: XDRDecoder.h++:40
XDRDecoder & decode(uint16_t &v)
Decode an unsigned 16-bit integer value.
Definition: XDRDecoder.h++:102
XDRDecoder & decode(bool &v)
Decode a boolean value.
Definition: XDRDecoder.h++:62
XDRDecoder & decode(int16_t &v)
Decode a signed 16-bit integer value.
Definition: XDRDecoder.h++:92
XDRDecoder & decode(int64_t &v)
Decode a signed 64-bit integer value.
Definition: XDRDecoder.h++:132
An abstract base class for data readers.
Definition: DataReader.h++:40
XDRDecoder & decode(char &v)
Decode a char value.
Definition: XDRDecoder.h++:82
XDRDecoder & decode(int32_t &v)
Decode a signed 32-bit integer value.
Definition: XDRDecoder.h++:112
A general-purpose variant type.
Definition: Variant.h++:46
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
XDRDecoder & decode(double &v)
Decode a double precision floating point value.
Definition: XDRDecoder.h++:162
XDRDecoder & decode(uint32_t &v)
Decode an unsigned 32-bit integer value.
Definition: XDRDecoder.h++:122
XDRDecoder & decode(float &v)
Decode a floating point value.
Definition: XDRDecoder.h++:152
Definition: AllocationMap.c++:25
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68