# inspect::Node

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1abd1d3e4d2e6eb39505084fb9e78d2123()` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a541a0ba825bcba7ad75b54a1d6604eca(const https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node & other)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a625e00896e06de6d29cdf9906b6db26b(https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node && other)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1aee6a1c6186ab289bca752650b13c759a()` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a6b1bc6cc1f8d34ba7412c8a127218c34(https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a17efcbbe69bbbbe7d9b0a72641a08445(std::string_view name, bool value) __WARN_UNUSED_RESULT` | `BoolProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a1ec56d88c0df91c96e1327bb0b67e201(std::string_view name, bool value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1afd13909b7336a3450781e4ecc324a7bf(std::string_view name, https://fuchsia.dev/reference/cpp/other/singletoncpp20/span#singletoncpp20_1_1span< const uint8_t > value) __WARN_UNUSED_RESULT` | `ByteVectorProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1aa487544c5a0c9c2d22b194bc74be15dc(std::string_view name, https://fuchsia.dev/reference/cpp/other/singletoncpp20/span#singletoncpp20_1_1span< const uint8_t > value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a5a4353a2851c32206990d1424768dffe(std::string_view name) __WARN_UNUSED_RESULT` | `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ae0f3cf0066c836709f8a7ba3c0589bac(std::string_view name, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a07c60304fc8132490e3605e2c2cdf76c(std::string_view name, double value) __WARN_UNUSED_RESULT` | `DoubleProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ab58c31861064ecde0ff9a668960d096f(std::string_view name, double value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1af448097396727b0739b8aecae53fe8bb(std::string_view name, size_t slots) __WARN_UNUSED_RESULT` | `DoubleArray` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a4e8613281082f43f75f74357e988ee27(std::string_view name, double floor, double initial_step, double step_multiplier, size_t buckets) __WARN_UNUSED_RESULT` | `ExponentialDoubleHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1afeee4f79e90e857da78da0fca82ad242(std::string_view name, int64_t floor, int64_t initial_step, int64_t step_multiplier, size_t buckets) __WARN_UNUSED_RESULT` | `ExponentialIntHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a1c917ef8fd1cf9a0ff590b95a720554c(std::string_view name, uint64_t floor, uint64_t initial_step, uint64_t step_multiplier, size_t buckets) __WARN_UNUSED_RESULT` | `ExponentialUintHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1af92a772c913b597593cdeb458c0bba44(std::string_view name, int64_t value) __WARN_UNUSED_RESULT` | `IntProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a4c27f712712e5442cb9e2b356a655e6f(std::string_view name, int64_t value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a56e8052d85cd35e5ac0f398f9666447b(std::string_view name, size_t slots) __WARN_UNUSED_RESULT` | `IntArray` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a9510235f0930178b57567a4f563bdffc(std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback) __WARN_UNUSED_RESULT` | `https://fuchsia.dev/reference/cpp/class/inspect/lazy-node#classinspect_1_1_lazy_node` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a470012489feea1a71b26a2c5406122fe(std::string_view name, F callback, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ad8eb65727b3da78eb3134cae4db51f67(std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback) __WARN_UNUSED_RESULT` | `https://fuchsia.dev/reference/cpp/class/inspect/lazy-node#classinspect_1_1_lazy_node` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a485a595f290032645c5c97c8d32d9847(std::string_view name, F callback, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a7d58e16786bc285c82362645f8ac1ed4(std::string_view name, double floor, double step_size, size_t buckets) __WARN_UNUSED_RESULT` | `LinearDoubleHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1aa64863ea733cf53a93ebdfb64624a209(std::string_view name, int64_t floor, int64_t step_size, size_t buckets) __WARN_UNUSED_RESULT` | `LinearIntHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a403d249eb29e7eb56ad4fcb18207a409(std::string_view name, uint64_t floor, uint64_t step_size, size_t buckets) __WARN_UNUSED_RESULT` | `LinearUintHistogram` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a9bb3a011af00b5369aa294eaf1a3e076(std::string_view name, const std::string & value) __WARN_UNUSED_RESULT` | `StringProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1aa12cf8e538f38a70324037a721876d49(std::string_view name, const std::string & value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ab1d56e10cd58055936dce214ce8e4961(std::string_view name, size_t slots) __WARN_UNUSED_RESULT` | `StringArray` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a267f64aed807a77f660ee9bc0129333b(std::string_view name, uint64_t value) __WARN_UNUSED_RESULT` | `UintProperty` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a5e69f0957a53bf51fc47a7a7bcdfcc68(std::string_view name, uint64_t value, T *list)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1af54a1a77ddc2664f35d83374776bae32(std::string_view name, size_t slots) __WARN_UNUSED_RESULT` | `UintArray` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a623da1d2eca22afd09d169a35f5e3572(T value)` | `void` Associates the lifetime of the given value with the node lifetime. |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a712e028801b94e0aab5b4a8b7896c9eb(std::string_view name, bool value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a5031e643ca4357736bb66738861a33a3(std::string_view name, https://fuchsia.dev/reference/cpp/other/singletoncpp20/span#singletoncpp20_1_1span< const uint8_t > value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a725609c7eaa8b9928194d53fb2707be6(std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a79a3c3e5c3bf6c5539908dd9a5b6711f(std::string_view name, double value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a91c9a81100ed3f503540face3a768fd3(std::string_view name, int64_t value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a1b276e0e2543c02c123679bb9a0232c5(std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ab43a4b004f0d28076947c8b5dfdd339c(std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a6d4ea573842686d2545e48e0e707c4a0(std::string_view name, const std::string & value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a0c4351339741dbe92ea613d87eeae113(std::string_view name, uint64_t value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a2bd52251838ca7475b6b73725ada3698(const std::string & prefix)` | `std::string` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1a844065a696f84129e7581bed04b061c2() const ` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ae8d5335c5593aaa60e36b654e1c6d946(const https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node & other)=delete` | `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node &` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node_1ade78e565987852e6879274ad2e33a850(https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node && other) noexcept` | `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node &` |

## Public functions

### AtomicUpdate

```c++
void AtomicUpdate(
  AtomicUpdateCallbackFn callback
)
```

### CreateBool

```c++
BoolProperty CreateBool(
  std::string_view name,
  bool value
) __WARN_UNUSED_RESULT
```

### CreateBool

```c++
void CreateBool(
  std::string_view name,
  bool value,
  T *list
)
```

### CreateByteVector

```c++
ByteVectorProperty CreateByteVector(
  std::string_view name,
  cpp20::span< const uint8_t > value
) __WARN_UNUSED_RESULT
```

### CreateByteVector

```c++
void CreateByteVector(
  std::string_view name,
  cpp20::span< const uint8_t > value,
  T *list
)
```

### CreateChild

```c++
Node CreateChild(
  std::string_view name
) __WARN_UNUSED_RESULT
```

### CreateChild

```c++
void CreateChild(
  std::string_view name,
  T *list
)
```

### CreateDouble

```c++
DoubleProperty CreateDouble(
  std::string_view name,
  double value
) __WARN_UNUSED_RESULT
```

### CreateDouble

```c++
void CreateDouble(
  std::string_view name,
  double value,
  T *list
)
```

### CreateDoubleArray

```c++
DoubleArray CreateDoubleArray(
  std::string_view name,
  size_t slots
) __WARN_UNUSED_RESULT
```

### CreateExponentialDoubleHistogram

```c++
ExponentialDoubleHistogram CreateExponentialDoubleHistogram(
  std::string_view name,
  double floor,
  double initial_step,
  double step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateExponentialIntHistogram

```c++
ExponentialIntHistogram CreateExponentialIntHistogram(
  std::string_view name,
  int64_t floor,
  int64_t initial_step,
  int64_t step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateExponentialUintHistogram

```c++
ExponentialUintHistogram CreateExponentialUintHistogram(
  std::string_view name,
  uint64_t floor,
  uint64_t initial_step,
  uint64_t step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateInt

```c++
IntProperty CreateInt(
  std::string_view name,
  int64_t value
) __WARN_UNUSED_RESULT
```

### CreateInt

```c++
void CreateInt(
  std::string_view name,
  int64_t value,
  T *list
)
```

### CreateIntArray

```c++
IntArray CreateIntArray(
  std::string_view name,
  size_t slots
) __WARN_UNUSED_RESULT
```

### CreateLazyNode

```c++
LazyNode CreateLazyNode(
  std::string_view name,
  LazyNodeCallbackFn callback
) __WARN_UNUSED_RESULT
```

### CreateLazyNode

```c++
void CreateLazyNode(
  std::string_view name,
  F callback,
  T *list
)
```

### CreateLazyValues

```c++
LazyNode CreateLazyValues(
  std::string_view name,
  LazyNodeCallbackFn callback
) __WARN_UNUSED_RESULT
```

### CreateLazyValues

```c++
void CreateLazyValues(
  std::string_view name,
  F callback,
  T *list
)
```

### CreateLinearDoubleHistogram

```c++
LinearDoubleHistogram CreateLinearDoubleHistogram(
  std::string_view name,
  double floor,
  double step_size,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateLinearIntHistogram

```c++
LinearIntHistogram CreateLinearIntHistogram(
  std::string_view name,
  int64_t floor,
  int64_t step_size,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateLinearUintHistogram

```c++
LinearUintHistogram CreateLinearUintHistogram(
  std::string_view name,
  uint64_t floor,
  uint64_t step_size,
  size_t buckets
) __WARN_UNUSED_RESULT
```

### CreateString

```c++
StringProperty CreateString(
  std::string_view name,
  const std::string & value
) __WARN_UNUSED_RESULT
```

### CreateString

```c++
void CreateString(
  std::string_view name,
  const std::string & value,
  T *list
)
```

### CreateStringArray

```c++
StringArray CreateStringArray(
  std::string_view name,
  size_t slots
) __WARN_UNUSED_RESULT
```

### CreateUint

```c++
UintProperty CreateUint(
  std::string_view name,
  uint64_t value
) __WARN_UNUSED_RESULT
```

### CreateUint

```c++
void CreateUint(
  std::string_view name,
  uint64_t value,
  T *list
)
```

### CreateUintArray

```c++
UintArray CreateUintArray(
  std::string_view name,
  size_t slots
) __WARN_UNUSED_RESULT
```

### Node

```c++
 Node()=default
```

### Node

```c++
 Node(
  const Node & other
)=delete
```

### Node

```c++
 Node(
  Node && other
)=default
```

### Record

```c++
void Record(
  T value
)
```
Associates the lifetime of the given value with the node lifetime.

### RecordBool

```c++
void RecordBool(
  std::string_view name,
  bool value
)
```

### RecordByteVector

```c++
void RecordByteVector(
  std::string_view name,
  cpp20::span< const uint8_t > value
)
```

### RecordChild

```c++
void RecordChild(
  std::string_view name,
  RecordChildCallbackFn callback
)
```

### RecordDouble

```c++
void RecordDouble(
  std::string_view name,
  double value
)
```

### RecordInt

```c++
void RecordInt(
  std::string_view name,
  int64_t value
)
```

### RecordLazyNode

```c++
void RecordLazyNode(
  std::string_view name,
  LazyNodeCallbackFn callback
)
```

### RecordLazyValues

```c++
void RecordLazyValues(
  std::string_view name,
  LazyNodeCallbackFn callback
)
```

### RecordString

```c++
void RecordString(
  std::string_view name,
  const std::string & value
)
```

### RecordUint

```c++
void RecordUint(
  std::string_view name,
  uint64_t value
)
```

### UniqueName

```c++
std::string UniqueName(
  const std::string & prefix
)
```

### operator bool

```c++
 operator bool() const 
```

### operator=

```c++
Node & operator=(
  const Node & other
)=delete
```

### operator=

```c++
Node & operator=(
  Node && other
) noexcept
```

### \~Node

```c++
 ~Node()
```