Lines Matching defs:MessageWriter
452 // MessageWriter implementation.
455 MessageWriter::MessageWriter(Message* message)
463 MessageWriter::~MessageWriter() {
466 void MessageWriter::AppendByte(uint8 value) {
470 void MessageWriter::AppendBool(bool value) {
480 void MessageWriter::AppendInt16(int16 value) {
484 void MessageWriter::AppendUint16(uint16 value) {
488 void MessageWriter::AppendInt32(int32 value) {
492 void MessageWriter::AppendUint32(uint32 value) {
496 void MessageWriter::AppendInt64(int64 value) {
500 void MessageWriter::AppendUint64(uint64 value) {
504 void MessageWriter::AppendDouble(double value) {
508 void MessageWriter::AppendString(const std::string& value) {
518 void MessageWriter::AppendObjectPath(const ObjectPath& value) {
532 void MessageWriter::OpenArray(const std::string& signature,
533 MessageWriter* writer) {
545 void MessageWriter::OpenVariant(const std::string& signature,
546 MessageWriter* writer) {
558 void MessageWriter::OpenStruct(MessageWriter* writer) {
570 void MessageWriter::OpenDictEntry(MessageWriter* writer) {
582 void MessageWriter::CloseContainer(MessageWriter* writer) {
591 void MessageWriter::AppendArrayOfBytes(const uint8* values, size_t length) {
593 MessageWriter array_writer(message_);
604 void MessageWriter::AppendArrayOfStrings(
607 MessageWriter array_writer(message_);
615 void MessageWriter::AppendArrayOfObjectPaths(
618 MessageWriter array_writer(message_);
626 bool MessageWriter::AppendProtoAsArrayOfBytes(
638 void MessageWriter::AppendVariantOfByte(uint8 value) {
642 void MessageWriter::AppendVariantOfBool(bool value) {
643 // See the comment at MessageWriter::AppendBool().
648 void MessageWriter::AppendVariantOfInt16(int16 value) {
652 void MessageWriter::AppendVariantOfUint16(uint16 value) {
656 void MessageWriter::AppendVariantOfInt32(int32 value) {
660 void MessageWriter::AppendVariantOfUint32(uint32 value) {
664 void MessageWriter::AppendVariantOfInt64(int64 value) {
668 void MessageWriter::AppendVariantOfUint64(uint64 value) {
672 void MessageWriter::AppendVariantOfDouble(double value) {
676 void MessageWriter::AppendVariantOfString(const std::string& value) {
681 void MessageWriter::AppendVariantOfObjectPath(const ObjectPath& value) {
686 void MessageWriter::AppendBasic(int dbus_type, const void* value) {
697 void MessageWriter::AppendVariantOfBasic(int dbus_type, const void* value) {
699 MessageWriter variant_writer(message_);
705 void MessageWriter::AppendFileDescriptor(const FileDescriptor& value) {
741 // Like MessageWriter::AppendBool(), we should copy |value| to