# fdf::ServiceValidator

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fdf/service-validator#classfdf_1_1_service_validator_1a6c5fbf76ef027f954b01aeaade28772c(const std::vector< fuchsia_driver_framework::Offer > & offers)` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fdf/service-validator#classfdf_1_1_service_validator_1a5559b9d877caa8f534d2f6c1af47669d(const std::string & service_name, const std::string & instance) const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/class/fdf/service-validator#classfdf_1_1_service_validator_1a672423ec8f2cfcf2806258a7c876e5a1(const std::string & service_name, const std::string & instance) const ` | `bool` |

## Public functions

### IsValidDriverServiceInstance

```c++
bool IsValidDriverServiceInstance(
  const std::string & service_name,
  const std::string & instance
) const 
```

### IsValidZirconServiceInstance

```c++
bool IsValidZirconServiceInstance(
  const std::string & service_name,
  const std::string & instance
) const 
```

### ServiceValidator

```c++
 ServiceValidator(
  const std::vector< fuchsia_driver_framework::Offer > & offers
)
```