# inspect::Inspector

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a80839669f149a6f0d3126bd42a216cc8()` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1acdf6e0fa6a6ab906abdc5304dfdb5a39(const https://fuchsia.dev/reference/cpp/struct/inspect/inspect-settings#structinspect_1_1_inspect_settings & settings)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a8e80052898e54e59f852c691426c6a1a(https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo vmo)` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a775ac67fd1cf8c9331fa2cfc908edf2e(https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a8d93008f742d1680a60b755d4079ddd4()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a06b4497d5229bd5265bf7d7569be9db4() const ` | `std::optional< std::vector< uint8_t > >` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a571e1d72693591eb8ec8c23be447f23d() const ` | `std::optional< https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo >` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a989658c2aeb2d559704e7ab20d736bb6()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a5b774e1538c9ac62bb5111ba3e685c99() const ` | `https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1afe29fe5cc6ab8f8cea0d82c5e4178361() const ` | `std::optional< https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo >` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a248e1997f77dfbedf47e9ba1c15a4b27() const ` | `std::vector< std::string >` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1afd577ac6c87b3ec4a9cc3f512d134fb2() const ` | `https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node &` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a40c13168deadf7eff37e87517c7f647c() const ` | `https://fuchsia.dev/reference/cpp/struct/inspect/inspect-stats#structinspect_1_1_inspect_stats` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1adbda1681b6fa15d02f2c88093c5168e6(const std::string & name) const ` | `https://fuchsia.dev/reference/cpp/class/fpromise/promise-impl#classfpromise_1_1promise__impl< https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector >` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1ab5469397b15e70eb32ab51f6e6566d34(T value)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/inspector#classinspect_1_1_inspector_1a41b930abf4ec4cca9fd5f94719630532() const ` | ` `` ` |

## Public functions

### AtomicUpdate

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

### ClearRecorded

```c++
void ClearRecorded()
```

### CopyBytes

```c++
std::optional< std::vector< uint8_t > > CopyBytes() const 
```

### CopyVmo

```c++
std::optional< zx::vmo > CopyVmo() const 
```

### CreateStatsNode

```c++
void CreateStatsNode()
```

### DuplicateVmo

```c++
zx::vmo DuplicateVmo() const 
```

### FrozenVmoCopy

```c++
std::optional< zx::vmo > FrozenVmoCopy() const 
```

### GetChildNames

```c++
std::vector< std::string > GetChildNames() const 
```

### GetRoot

```c++
Node & GetRoot() const 
```

### GetStats

```c++
InspectStats GetStats() const 
```

### Inspector

```c++
 Inspector()
```

### Inspector

```c++
 Inspector(
  const InspectSettings & settings
)
```

### Inspector

```c++
 Inspector(
  zx::vmo vmo
)
```

### OpenChild

```c++
fpromise::promise< Inspector > OpenChild(
  const std::string & name
) const 
```

### emplace

```c++
void emplace(
  T value
)
```

### operator bool

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