ESP-IDF
ot::Dns::Question
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::Question
ot::Dns::Question class
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:2660
class
Question
{
public
:
Question
(
void
)
=
default
;
explicit
Question
(
uint16_t
aType
,
uint16_t
aClass
=
ResourceRecord
::
kClassInternet
)
{
SetType
(
aType
)
;
SetClass
(
aClass
)
;
}
uint16_t
GetType
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mType
)
;
}
void
SetType
(
uint16_t
aType
)
{
mType
=
BigEndian
::
HostSwap16
(
aType
)
;
}
uint16_t
GetClass
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mClass
)
;
}
void
SetClass
(
uint16_t
aClass
)
{
mClass
=
BigEndian
::
HostSwap16
(
aClass
)
;
}
private
:
uint16_t
mType
;
uint16_t
mClass
;
}
;
Fields
Field
Declared as
ot::Dns::Question::mType
uint16_t
ot::Dns::Question::mClass
uint16_t
Methods
GetType() const
Returns the type of the question.
SetType()
Sets the type of the question.
GetClass() const
Returns the class of the question.
SetClass()
Sets the class of the question.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out