ESPHome
2025.5.0
Loading...
Searching...
No Matches
esphome
components
select
select_traits.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include <string>
5
6
namespace
esphome
{
7
namespace
select {
8
9
class
SelectTraits
{
10
public
:
11
void
set_options
(std::vector<std::string>
options
);
12
std::vector<std::string>
get_options
()
const
;
13
14
protected
:
15
std::vector<std::string>
options_
;
16
};
17
18
}
// namespace select
19
}
// namespace esphome
esphome::select::SelectTraits
Definition
select_traits.h:9
esphome::select::SelectTraits::set_options
void set_options(std::vector< std::string > options)
Definition
select_traits.cpp:6
esphome::select::SelectTraits::get_options
std::vector< std::string > get_options() const
Definition
select_traits.cpp:8
esphome::select::SelectTraits::options_
std::vector< std::string > options_
Definition
select_traits.h:15
options
uint8_t options
Definition
e131_packet.cpp:15
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0