File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 1- ### ` tao::json::type `
1+ ## ` tao::json::type `
22
33Defined in ` <tao/json/type.hh> `
44
@@ -19,8 +19,20 @@ enum class type : std::uint8_t
1919};
2020```
2121
22- Specifies which contents is currently stored in a [ ` basic_value ` ] ( basic_value.md ) .
22+ For tracking the kind of data currently stored in a [ ` basic_value ` ] ( basic_value.md ) .
2323
24- #### Constants
24+ ### Constants
2525
26- TODO
26+ | Name | Description |
27+ | --- | --- |
28+ | ` UNINITIALIZED ` | For [ ` basic_value ` ] ( basic_value.md ) s that have not been assigned a value, or that have been ` reset ` . |
29+ | ` DISCARDED ` | For [ ` basic_value ` ] ( basic_value.md ) s that have been discarded, either explicitly or after being * moved* . |
30+ | ` NULL_ ` | For JSON null values. |
31+ | ` BOOLEAN ` | For JSON boolean values. |
32+ | ` SIGNED ` | For JSON numbers stored as ` std::int64_t ` . |
33+ | ` UNSIGNED ` | For JSON numbers stored as ` std::uint64_t ` . |
34+ | ` DOUBLE ` | For JSON numbers stored as ` double ` ' |
35+ | ` STRING ` | For JSON strings. |
36+ | ` ARRAY ` | For JSON arrays. |
37+ | ` OBJECT ` | For JSON objects. |
38+ | ` RAW_PTR ` | For [ ` basic_value ` ] ( basic_value.md ) s that wrap a plain pointer to a different [ ` basic_value ` ] ( basic_value.md ) . |
You can’t perform that action at this time.
0 commit comments