# zx::pager

## Summary

### Inheritance

Inherits from: [zx::object\< pager \>](https://fuchsia.dev/reference/cpp/class/zx/object)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a3cb32836014d1bf9c184323bb504a568()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1aa9f8445aef38eda05f315f0298179ce3(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a80a7087adfdac4698663704fb06d4c2b(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a41834d6b51d0e398c7dcc10b5f840420(https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a0bfeae79ee9d7ffb3fc630b044d9f907 = ZX_OBJ_TYPE_PAGER` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a41b2859192ebaf38256fff6e92209a7b(uint32_t options, const https://fuchsia.dev/reference/cpp/class/zx/port#classzx_1_1port & port, uint64_t key, uint64_t size, https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo *result)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1aa03df9f563dbb46d299af5ff4a3d1f09(const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & vmo)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a6226cb2e318008c779dec35a8ca024e7(uint32_t op, const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & pager_vmo, uint64_t offset, uint64_t length, uint64_t data)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1a79d29fb6e3bf6b7fe9ee8ebae6d1b79a(https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager && other)` | `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager &` |
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1aa77d98572e877584d32c200a90df4823(const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & pager_vmo, uint64_t offset, uint64_t length, const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & aux_vmo, uint64_t aux_offset)` | `zx_status_t` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager_1aa4fab55b463eff52cc3657b8be1df08d(uint32_t options, https://fuchsia.dev/reference/cpp/class/zx/pager#classzx_1_1pager *result)` | `zx_status_t` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_PAGER
```

## Public functions

### create_vmo

```c++
zx_status_t create_vmo(
  uint32_t options,
  const port & port,
  uint64_t key,
  uint64_t size,
  vmo *result
)
```

### detach_vmo

```c++
zx_status_t detach_vmo(
  const vmo & vmo
)
```

### op_range

```c++
zx_status_t op_range(
  uint32_t op,
  const vmo & pager_vmo,
  uint64_t offset,
  uint64_t length,
  uint64_t data
)
```

### operator=

```c++
pager & operator=(
  pager && other
)
```

### pager

```c++
constexpr pager()=default
```

### pager

```c++
 pager(
  zx_handle_t value
)
```

### pager

```c++
 pager(
  handle && h
)
```

### pager

```c++
 pager(
  pager && other
)
```

### supply_pages

```c++
zx_status_t supply_pages(
  const vmo & pager_vmo,
  uint64_t offset,
  uint64_t length,
  const vmo & aux_vmo,
  uint64_t aux_offset
)
```

## Public static functions

### create

```c++
zx_status_t create(
  uint32_t options,
  pager *result
)
```