diff options
author | Andreas Huber <andih@google.com> | 2016-08-02 14:20:21 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2016-08-06 09:02:59 -0700 |
commit | 881227d860c59471eee31d39946e96ce2daa35d6 (patch) | |
tree | e590a087af1a19117dce311885091e96f6a08e76 /StringType.h | |
parent | 6e584b70065ce37615980aba5ed60d27a54da1c3 (diff) | |
download | hidl-881227d860c59471eee31d39946e96ce2daa35d6.tar.gz |
generate C++ interface header, proxy and stub headers and sources.
Diffstat (limited to 'StringType.h')
-rw-r--r-- | StringType.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/StringType.h b/StringType.h index 8016f4e9..b50a9d8e 100644 --- a/StringType.h +++ b/StringType.h @@ -10,6 +10,30 @@ struct StringType : public Type { StringType(); void dump(Formatter &out) const override; + + std::string getCppType(StorageMode mode, std::string *extra) const override; + + void emitReaderWriter( + Formatter &out, + const std::string &name, + const std::string &parcelObj, + bool parcelObjIsPointer, + bool isReader, + ErrorMode mode) const override; + + void emitReaderWriterEmbedded( + Formatter &out, + const std::string &name, + bool nameIsPointer, + const std::string &parcelObj, + bool parcelObjIsPointer, + bool isReader, + ErrorMode mode, + const std::string &parentName, + const std::string &offsetText) const override; + + bool needsEmbeddedReadWrite() const override; + bool resultNeedsDeref() const override; }; } // namespace android |