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