aboutsummaryrefslogtreecommitdiff
path: root/StringType.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2016-08-02 14:20:21 -0700
committerIliyan Malchev <malchev@google.com>2016-08-06 09:02:59 -0700
commit881227d860c59471eee31d39946e96ce2daa35d6 (patch)
treee590a087af1a19117dce311885091e96f6a08e76 /StringType.h
parent6e584b70065ce37615980aba5ed60d27a54da1c3 (diff)
downloadhidl-881227d860c59471eee31d39946e96ce2daa35d6.tar.gz
generate C++ interface header, proxy and stub headers and sources.
Diffstat (limited to 'StringType.h')
-rw-r--r--StringType.h24
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