3DiVi Face SDK
3.24.1
Main Page
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Groups
WrapOStreamImpl.h
1
#ifndef __PBIO_API__PBIO__STL_WRAPS_IMPLS__WRAP_OSTREAM_IMPL_H_
2
#define __PBIO_API__PBIO__STL_WRAPS_IMPLS__WRAP_OSTREAM_IMPL_H_
3
5
6
7
#include <ostream>
8
9
#include "pbio/stl_wraps/WrapOStream.h"
10
11
namespace
pbio
12
{
13
namespace
stl_wraps
14
{
15
16
class
WrapOStreamImpl :
public
WrapOStream
17
{
18
public
:
19
WrapOStreamImpl(std::ostream &s):_s(s){}
20
21
virtual
void
write(
const
char
* buf, uint64_t size)
22
{
23
_s.write(buf, size);
24
}
25
26
private
:
27
std::ostream &_s;
28
};
29
30
}
// stl_wraps namespace
31
}
// pbio namespace
32
34
35
#endif // __PBIO_API__PBIO__STL_WRAPS_IMPLS__WRAP_OSTREAM_IMPL_H_
pbio
stl_wraps_impls
WrapOStreamImpl.h
Generated on Fri Oct 18 2024 09:28:10 for 3DiVi Face SDK by
1.8.6