Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Functions
a
b
c
d
e
f
h
i
l
n
o
p
r
s
t
u
v
Variables
Typedefs
Enumerations
a
c
d
f
h
i
l
m
p
r
s
t
v
Enumerator
a
c
d
f
h
i
l
m
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
Enumerations
Enumerator
b
c
d
e
f
i
m
n
q
r
s
x
Files
File List
File Members
All
f
o
r
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
endpoint_uri_to_str.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_address/endpoint_uri_to_str.h
10
//! @brief Format EndpointUri to string.
11
12
#ifndef ROC_ADDRESS_ENDPOINT_URI_TO_STR_H_
13
#define ROC_ADDRESS_ENDPOINT_URI_TO_STR_H_
14
15
#include "
roc_address/endpoint_uri.h
"
16
#include "
roc_core/noncopyable.h
"
17
18
namespace
roc
{
19
namespace
address {
20
21
//! Convert EndpointUri to string.
22
class
endpoint_uri_to_str
:
public
core::NonCopyable
<> {
23
public
:
24
//! Construct.
25
explicit
endpoint_uri_to_str
(
const
EndpointUri
&);
26
27
//! Get formatted string.
28
const
char
*
c_str
()
const
{
29
return
buf_;
30
}
28
const
char
*
c_str
()
const
{
…
}
31
32
private
:
33
char
buf_[1024];
34
};
22
class
endpoint_uri_to_str
:
public
core::NonCopyable
<> {
…
};
35
36
}
// namespace address
37
}
// namespace roc
38
39
#endif
// ROC_ADDRESS_ENDPOINT_URI_TO_STR_H_
roc::address::EndpointUri
Network endpoint URI.
Definition
endpoint_uri.h:27
roc::address::endpoint_uri_to_str
Convert EndpointUri to string.
Definition
endpoint_uri_to_str.h:22
roc::address::endpoint_uri_to_str::c_str
const char * c_str() const
Get formatted string.
Definition
endpoint_uri_to_str.h:28
roc::address::endpoint_uri_to_str::endpoint_uri_to_str
endpoint_uri_to_str(const EndpointUri &)
Construct.
roc::core::NonCopyable
Base class for non-copyable objects.
Definition
noncopyable.h:23
endpoint_uri.h
Network endpoint URI.
roc
Root namespace.
noncopyable.h
Non-copyable object.
roc_address
endpoint_uri_to_str.h
Generated by
1.9.8