System.JSON.BSON.TBsonWriter.WriteValue
Delphi
procedure WriteValue(const Value: string); override;
procedure WriteValue(Value: Integer); override;
procedure WriteValue(Value: UInt32); override;
procedure WriteValue(Value: Int64); override;
procedure WriteValue(Value: UInt64); override;
procedure WriteValue(Value: Single); override;
procedure WriteValue(Value: Double); override;
procedure WriteValue(Value: Extended); override;
procedure WriteValue(Value: Boolean); override;
procedure WriteValue(Value: Char); override;
procedure WriteValue(Value: Byte); override;
procedure WriteValue(Value: TDateTime); override;
procedure WriteValue(const Value: TGUID); override;
procedure WriteValue(const Value: TBytes; BinaryType: TJsonBinaryType = TJsonBinaryType.Generic); override;
procedure WriteValue(const Value: TJsonOid); override;
procedure WriteValue(const Value: TJsonRegEx); override;
procedure WriteValue(const Value: TJsonDBRef); override;
procedure WriteValue(const Value: TJsonCodeWScope); override;
C++
virtual void __fastcall WriteValue(const System::UnicodeString Value)/* overload */;
virtual void __fastcall WriteValue(int Value)/* overload */;
virtual void __fastcall WriteValue(unsigned Value)/* overload */;
virtual void __fastcall WriteValue(__int64 Value)/* overload */;
virtual void __fastcall WriteValue(unsigned __int64 Value)/* overload */;
virtual void __fastcall WriteValue(float Value)/* overload */;
virtual void __fastcall WriteValue(double Value)/* overload */;
virtual void __fastcall WriteValue(System::Extended Value)/* overload */;
virtual void __fastcall WriteValue(bool Value)/* overload */;
virtual void __fastcall WriteValue(System::WideChar Value)/* overload */;
virtual void __fastcall WriteValue(System::Byte Value)/* overload */;
virtual void __fastcall WriteValue(System::TDateTime Value)/* overload */;
virtual void __fastcall WriteValue(const GUID &Value)/* overload */;
virtual void __fastcall WriteValue(const System::DynamicArray<System::Byte> Value, System::Json::Types::TJsonBinaryType BinaryType = (System::Json::Types::TJsonBinaryType)(0x0))/* overload */;
virtual void __fastcall WriteValue(const System::Json::Types::TJsonOid &Value)/* overload */;
virtual void __fastcall WriteValue(const System::Json::Types::TJsonRegEx &Value)/* overload */;
virtual void __fastcall WriteValue(const System::Json::Types::TJsonDBRef &Value)/* overload */;
virtual void __fastcall WriteValue(const System::Json::Types::TJsonCodeWScope &Value)/* overload */;
inline void __fastcall WriteValue(System::Json::Writers::TJsonWriter* const Writer, const System::Rtti::TValue &Value){ System::Json::Writers::TJsonWriter::WriteValue(Writer, Value); }
inline void __fastcall WriteValue(const char * Value){ System::Json::Writers::TJsonWriter::WriteValue(Value); }
inline void __fastcall WriteValue(const System::WideChar * Value){ System::Json::Writers::TJsonWriter::WriteValue(Value); }
inline void __fastcall WriteValue(const System::Rtti::TValue &Value){ System::Json::Writers::TJsonWriter::WriteValue(Value); }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.JSON.BSON.pas System.JSON.BSON.hpp |
System.JSON.BSON | TBsonWriter |
説明
BSON 配列内の値の 1 つか、BSON オブジェクトの BSON プロパティ に対する値のいずれかに、BSON 値を書き込みます。
オーバーロード メソッド:
メソッド | 説明 |
---|---|
|
String 値を書き込みます。 |
|
Integer 値を書き込みます。 |
|
UInt32 値を書き込みます。 |
|
Int64 値を書き込みます。 |
|
UInt64 値を書き込みます。 |
|
Single 値を書き込みます。 |
|
Double 値を書き込みます。 |
|
Extended 値を書き込みます。 |
|
Boolean 値を書き込みます。 |
|
Char 値を書き込みます。 |
|
Byte 値を書き込みます。 |
|
TDateTime 値を書き込みます。 |
|
TGUID 値を書き込みます。 |
|
Binary 値を書き込みます。 詳細は、「http://bsonspec.org/spec.html」を参照してください。
|
|
TJsonOid 値を書き込みます。 |
|
TJsonRegEx 値を書き込みます。 |
|
TJsonDBRef 値を書き込みます。 |
|
TJsonCodeWScope 値を書き込みます。 |
関連項目
- System.JSON.BSON.TBsonWriter.WriteCode
- System.JSON.BSON.TBsonWriter.WriteMaxKey
- System.JSON.BSON.TBsonWriter.WriteMinKey
- System.JSON.BSON.TBsonWriter.WriteNull
- System.JSON.BSON.TBsonWriter.WriteUndefined