# trace::Record

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a3c54df7e81395883a79cd9ea1508ce26(https://fuchsia.dev/reference/cpp/struct/trace/record/metadata#structtrace_1_1_record_1_1_metadata record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a080b4e5354f13a8cb523b5e84846a8db(https://fuchsia.dev/reference/cpp/struct/trace/record/initialization#structtrace_1_1_record_1_1_initialization record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a7b5996e30455626ab2f652871fe7dede(https://fuchsia.dev/reference/cpp/struct/trace/record/string#structtrace_1_1_record_1_1_string record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1aa172f2c7364a9949138e34331ee718da(https://fuchsia.dev/reference/cpp/struct/trace/record/thread#structtrace_1_1_record_1_1_thread record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a5ef310a76af111fc7d09a2558a76d313(https://fuchsia.dev/reference/cpp/struct/trace/record/event#structtrace_1_1_record_1_1_event record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1ac696d09c160f432fe29baa0f40bcbb96(https://fuchsia.dev/reference/cpp/struct/trace/record/blob#structtrace_1_1_record_1_1_blob record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1aaeae87289d17dfd73a6368d1651c711e(https://fuchsia.dev/reference/cpp/struct/trace/record/kernel-object#structtrace_1_1_record_1_1_kernel_object record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a4991939a123fd11571a2b630cec855da(https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event#structtrace_1_1_record_1_1_scheduler_event record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a3334f17f2bc179852b7c93c4e59f2ee1(https://fuchsia.dev/reference/cpp/struct/trace/record/log#structtrace_1_1_record_1_1_log record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1aa38a1e6aace1a7a025b88c0369650fac(https://fuchsia.dev/reference/cpp/class/trace/large-record-data#classtrace_1_1_large_record_data record)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a9cdbd14ede80d8e876d08654f8402412(const https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a7bc2e49b49cebd82d5d0bfcc11244444(https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &&)` ||
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a03370f2eb07d753179c5adad70f4a114()` ||

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a97c736f0c33dba46170df66b9fe33cee` | using `https://fuchsia.dev/reference/cpp/class/trace/large-record-data#classtrace_1_1_large_record_data` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1adc6eed0567119d329fffbcd30a9a2a66() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/blob#structtrace_1_1_record_1_1_blob &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a8d8385ca3b4af360d093f9ad5c6036ad() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/event#structtrace_1_1_record_1_1_event &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a8cfc94c914b458833c67d3534f610870() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/initialization#structtrace_1_1_record_1_1_initialization &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1acebf7d2a46b0cf7de3ac86cc1feb69be() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/kernel-object#structtrace_1_1_record_1_1_kernel_object &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a62fd8937fbcd6faf7ca53618a184d1b9() const ` | `const https://fuchsia.dev/reference/cpp/class/trace/large-record-data#classtrace_1_1_large_record_data &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a4aa06f8a7ebd5458d78e28cc19837f31() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/log#structtrace_1_1_record_1_1_log &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1aa5321a6bf7f645908d38337476458290() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/metadata#structtrace_1_1_record_1_1_metadata &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1af5514412f3434c5ca452cbbb74085fe9() const ` | `std::optional< std::string >` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a167c14c1b5a970ba0f7b3fd9bbc6511c() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event#structtrace_1_1_record_1_1_scheduler_event &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a0fdaa9cafff843f71a738facabcef380() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/string#structtrace_1_1_record_1_1_string &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1aef0a3ff2006df3d27e0ceeb4795a07b6() const ` | `const https://fuchsia.dev/reference/cpp/struct/trace/record/thread#structtrace_1_1_record_1_1_thread &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a978cf766da355127b978030edae6d18f() const ` | `std::string` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a331e6dd197558823cbef0d268dfe4d72(const https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &)=default` | `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a9c5fbac7c0eb2776682d71ca3dab000e(https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &&)=default` | `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record &` |
| `https://fuchsia.dev/reference/cpp/class/trace/record#classtrace_1_1_record_1a3bf1b40becd6be2b4e32d54114e17a26() const ` | `RecordType` |

| ### Structs ||
|---|---|
| [trace::Record::Blob](https://fuchsia.dev/reference/cpp/struct/trace/record/blob) |   |
| [trace::Record::Event](https://fuchsia.dev/reference/cpp/struct/trace/record/event) |   |
| [trace::Record::Initialization](https://fuchsia.dev/reference/cpp/struct/trace/record/initialization) |   |
| [trace::Record::KernelObject](https://fuchsia.dev/reference/cpp/struct/trace/record/kernel-object) |   |
| [trace::Record::Log](https://fuchsia.dev/reference/cpp/struct/trace/record/log) |   |
| [trace::Record::Metadata](https://fuchsia.dev/reference/cpp/struct/trace/record/metadata) |   |
| [trace::Record::SchedulerEvent](https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event) |   |
| [trace::Record::String](https://fuchsia.dev/reference/cpp/struct/trace/record/string) |   |
| [trace::Record::Thread](https://fuchsia.dev/reference/cpp/struct/trace/record/thread) |   |

## Public types

### Large

```c++
LargeRecordData Large
```

## Public functions

### GetBlob

```c++
const Blob & GetBlob() const 
```

### GetEvent

```c++
const Event & GetEvent() const 
```

### GetInitialization

```c++
const Initialization & GetInitialization() const 
```

### GetKernelObject

```c++
const KernelObject & GetKernelObject() const 
```

### GetLargeRecord

```c++
const Large & GetLargeRecord() const 
```

### GetLog

```c++
const Log & GetLog() const 
```

### GetMetadata

```c++
const Metadata & GetMetadata() const 
```

### GetName

```c++
std::optional< std::string > GetName() const 
```

### GetSchedulerEvent

```c++
const SchedulerEvent & GetSchedulerEvent() const 
```

### GetString

```c++
const String & GetString() const 
```

### GetThread

```c++
const Thread & GetThread() const 
```

### Record

```c++
 Record(
  Metadata record
)
```

### Record

```c++
 Record(
  Initialization record
)
```

### Record

```c++
 Record(
  String record
)
```

### Record

```c++
 Record(
  Thread record
)
```

### Record

```c++
 Record(
  Event record
)
```

### Record

```c++
 Record(
  Blob record
)
```

### Record

```c++
 Record(
  KernelObject record
)
```

### Record

```c++
 Record(
  SchedulerEvent record
)
```

### Record

```c++
 Record(
  Log record
)
```

### Record

```c++
 Record(
  Large record
)
```

### Record

```c++
 Record(
  const Record &
)=default
```

### Record

```c++
 Record(
  Record &&
)=default
```

### ToString

```c++
std::string ToString() const 
```

### operator=

```c++
Record & operator=(
  const Record &
)=default
```

### operator=

```c++
Record & operator=(
  Record &&
)=default
```

### type

```c++
RecordType type() const 
```

### \~Record

```c++
 ~Record()=default
```