#include <list>
#include <map>
#include <vector>
Go to the source code of this file.
|
| template<typename T> |
| PrnStream & | operator<< (PrnStream &stream, const std::list< T > &list) |
| | Write a list as its size followed by one tab-indented line per element.
|
| template<typename T> |
| PrnStream & | operator<< (PrnStream &stream, const std::vector< T > &elements) |
| | Write a vector as its size followed by one tab-indented line per element.
|
| template<typename Key, typename Value, typename Compare> |
| PrnStream & | operator<< (PrnStream &stream, const std::map< Key, Value, Compare > &map) |
| | Write a map as its size followed by one tab-indented key and value line per entry.
|
| template<typename Key, typename Value> |
| PrnStream & | operator<< (PrnStream &stream, const std::map< Key, Value > &map) |
| | Write a map in the default key order, in the form of the map writer above.
|
|
| constexpr int | kPrnModeFull = 10 |
| | The PrnStream::mDumpLevel value that includes the fourth word of a written Vector3.
|
◆ operator<<() [1/4]
Write a list as its size followed by one tab-indented line per element.
The output starts with "(size:", the element count, and ")". Each element then writes a newline, its index, a tab, and the element. Each element type has its own instance, one address each.
- Parameters
-
| stream | The stream to write to. |
| list | The list to write. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x003901b8
- Ghidra address:
- PAL: 0x003fe8c0
- Ghidra address:
- NTSC-U/C: 0x0037db08
- Ghidra address:
- PAL: 0x003ec238
- Ghidra address:
- NTSC-U/C: 0x0037dc10
- Ghidra address:
- PAL: 0x003ec340
- Ghidra address:
- NTSC-U/C: 0x0037f4a8
- Ghidra address:
- PAL: 0x003edbc0
- Ghidra address:
- NTSC-U/C: 0x00380270
- Ghidra address:
- PAL: 0x003ee988
- Ghidra address:
- NTSC-U/C: 0x00380b10
- Ghidra address:
- PAL: 0x003ef228
- Ghidra address:
- NTSC-U/C: 0x00382538
- Ghidra address:
- PAL: 0x003f0c40
- Ghidra address:
- NTSC-U/C: 0x0038fca0
- Ghidra address:
- PAL: 0x003fe3a8
- Ghidra address:
- NTSC-U/C: 0x00391798
- Ghidra address:
- PAL: 0x003ffea0
- Ghidra address:
- NTSC-U/C: 0x0039cad0
- Ghidra address:
- PAL: 0x0040b7f8
- Ghidra address:
- NTSC-U/C: 0x0039cbd8
- Ghidra address:
- PAL: 0x0040b900
- Ghidra address:
- NTSC-U/C: 0x0039cce0
- Ghidra address:
- PAL: 0x0040ba08
- Ghidra address:
- NTSC-U/C: 0x0039cde8
- Ghidra address:
- PAL: 0x0040bb10
- Ghidra address:
- NTSC-U/C: 0x0039cef0
- Ghidra address:
- PAL: 0x0040bc18
- Ghidra address:
- NTSC-U/C: 0x0039cff8
- Ghidra address:
- PAL: 0x0040bd20
◆ operator<<() [2/4]
Write a vector as its size followed by one tab-indented line per element.
The output has the shape of the list writer's. Each element type has its own instance, one address each.
- Template Parameters
-
| T | The type of the elements. |
- Parameters
-
| stream | The stream to write to. |
| elements | The vector to write. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00387300
- Ghidra address:
- PAL: 0x003f5a08
- Ghidra address:
- NTSC-U/C: 0x00388f60
- Ghidra address:
- PAL: 0x003f7668
- Ghidra address:
- NTSC-U/C: 0x003851b8
- Ghidra address:
- PAL: 0x003f38c0
- Ghidra address:
- NTSC-U/C: 0x00385308
- Ghidra address:
- PAL: 0x003f3a10
- Ghidra address:
- NTSC-U/C: 0x00387450
- Ghidra address:
- PAL: 0x003f5b58
- Ghidra address:
- NTSC-U/C: 0x00389130
- Ghidra address:
- PAL: 0x003f7838
- Ghidra address:
- NTSC-U/C: 0x0038b868
- Ghidra address:
- PAL: 0x003f9f70
- Ghidra address:
- NTSC-U/C: 0x0038bab0
- Ghidra address:
- PAL: 0x003fa1b8
- Ghidra address:
- NTSC-U/C: 0x0038bcf8
- Ghidra address:
- PAL: 0x003fa400
- Ghidra address:
- NTSC-U/C: 0x00392050
- Ghidra address:
- PAL: 0x00400758
- Ghidra address:
- NTSC-U/C: 0x00394ff0
- Ghidra address:
- PAL: 0x004036e0
- Ghidra address:
- NTSC-U/C: 0x003950c8
- Ghidra address:
- PAL: 0x004037b8
- Ghidra address:
- NTSC-U/C: 0x0039d100
- Ghidra address:
- PAL: 0x0040be28
- Ghidra address:
- NTSC-U/C: 0x0039d6c8
- Ghidra address:
- PAL: 0x0040c3f0
- Ghidra address:
- NTSC-U/C: 0x00383510
- Ghidra address:
- PAL: 0x003f1c18
- Ghidra address:
- NTSC-U/C: 0x00389038
- Ghidra address:
- PAL: 0x003f7740
- Ghidra address:
- NTSC-U/C: 0x0038b9b8
- Ghidra address:
- PAL: 0x003fa0c0
- Ghidra address:
- NTSC-U/C: 0x0038bc00
- Ghidra address:
- PAL: 0x003fa308
- Ghidra address:
- NTSC-U/C: 0x0038be48
- Ghidra address:
- PAL: 0x003fa550
- Ghidra address:
- NTSC-U/C: 0x00393cd8
- Ghidra address:
- PAL: 0x004023e0
◆ operator<<() [3/4]
template<typename
Key, typename Value, typename Compare>
Write a map as its size followed by one tab-indented key and value line per entry.
The output starts with "(size:", the entry count, and ")". Each entry then writes a newline and a tab, "key:", the key, " value:", and the value. The address is of the instantiation for the objects of RndManager.
- Template Parameters
-
| Key | The type of the keys. |
| Value | The type of the values. |
| Compare | The ordering of the keys. |
- Parameters
-
| stream | The stream to write to. |
| map | The map to write. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00333a20
- Ghidra address:
- PAL: 0x003a0fd0
◆ operator<<() [4/4]
template<typename
Key, typename Value>
Write a map in the default key order, in the form of the map writer above.
- Template Parameters
-
| Key | The type of the keys. |
| Value | The type of the values. |
- Parameters
-
| stream | The stream to write to. |
| map | The map to write. |
- Returns
- The stream.
◆ kPrnModeFull
The PrnStream::mDumpLevel value that includes the fourth word of a written Vector3.