diff options
Diffstat (limited to 'cc/gapic/coder/memory.h')
-rw-r--r-- | cc/gapic/coder/memory.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cc/gapic/coder/memory.h b/cc/gapic/coder/memory.h new file mode 100644 index 000000000..27cef339f --- /dev/null +++ b/cc/gapic/coder/memory.h @@ -0,0 +1,37 @@ +//////////////////////////////////////////////////////////////////////////////// +// Do not modify! +// Generated by codergen -cpp=coder +//////////////////////////////////////////////////////////////////////////////// + + + +namespace gapic { + +class Encodable; +class Encoder; + +namespace coder { +namespace memory { + class Range: public Encodable { + public: + Range(Pointer Base, uint64_t Size) : + mBase(Base), + mSize(Size) {} + virtual const gapic::Id& Id() const { + static gapic::Id ID{ { 0x01, 0xb1, 0x05, 0xd5, 0x0b, 0xba, 0x21, 0x01, 0x69, 0x0e, 0xaf, 0x02, 0x39, 0xba, 0x67, 0xa0, 0x6b, 0x64, 0xc1, 0x7f, } }; + return ID; + } + virtual void Encode(Encoder* e) const { + e->Uint64(this->mBase); + e->Uint64(this->mSize); + } + + Pointer mBase; + uint64_t mSize; + }; + + + +} // namespace memory +} // namespace coder +} // namespace gapic |