diff options
Diffstat (limited to 'src/mongo/idl/idl_parser.h')
-rw-r--r-- | src/mongo/idl/idl_parser.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mongo/idl/idl_parser.h b/src/mongo/idl/idl_parser.h index 47096c0d117..316ccd06c7e 100644 --- a/src/mongo/idl/idl_parser.h +++ b/src/mongo/idl/idl_parser.h @@ -289,12 +289,28 @@ std::vector<std::string> transformVector(const std::vector<StringData>& input); std::vector<ConstDataRange> transformVector(const std::vector<std::vector<std::uint8_t>>& input); std::vector<std::vector<std::uint8_t>> transformVector(const std::vector<ConstDataRange>& input); +/** + * IMPORTANT: The method should not be modified, as API version input/output guarantees could + * break because of it. + */ void noOpSerializer(bool, StringData fieldName, BSONObjBuilder* bob); +/** + * IMPORTANT: The method should not be modified, as API version input/output guarantees could + * break because of it. + */ void serializeBSONWhenNotEmpty(BSONObj obj, StringData fieldName, BSONObjBuilder* bob); +/** + * IMPORTANT: The method should not be modified, as API version input/output guarantees could + * break because of it. + */ BSONObj parseOwnedBSON(BSONElement element); +/** + * IMPORTANT: The method should not be modified, as API version input/output guarantees could + * break because of it. + */ bool parseBoolean(BSONElement element); } // namespace mongo |