libebml_ng
fd.h
Go to the documentation of this file.
1 #ifndef EBML_NG_IO_FD_H
2 #define EBML_NG_IO_FD_H
3 
4 #include "../io.h"
5 
6 namespace ebml {
7  template<>
8  int io<int>::_open(const std::string& filename, const std::ios_base::openmode& mode);
9 
10  template<>
11  void io<int>::_close();
12 
13  template<>
14  bool io<int>::seekable();
15 
16  template<>
17  off_t io<int>::_seek(off_t, int);
18 
19  template<>
20  off_t io<int>::_tell();
21 
22  template<>
23  size_t io<int>::_read(char*, size_t);
24 
25  template<>
26  size_t io<int>::_write(const char*, size_t);
27 
28  template<>
29  size_t io<int>::read(char*, off_t, size_t);
30 
31  template<>
32  size_t io<int>::write(const char*, off_t, size_t);
33 
34  template<>
35  struct stat io<int>::stat();
36 
37  template<>
38  int io<int>::_open(const std::string& filename, const std::ios_base::openmode& mode);
39 
40  template<>
41  void io<int>::_close();
42 
43  template<>
44  bool io<int>::seekable();
45 
46  template<>
47  off_t io<int>::_seek(off_t, int);
48 
49  template<>
50  off_t io<int>::_tell();
51 
52  template<>
53  size_t io<int>::_read(char*, size_t);
54 
55  template<>
56  size_t io<int>::_write(const char*, size_t);
57 
58  template<>
59  size_t io<int>::read(char*, off_t, size_t);
60 
61  template<>
62  size_t io<int>::write(const char*, off_t, size_t);
63 
64  template<>
65  struct stat io<int>::stat();
66 
67  template<>
68  void io<int>::truncate();
69 
70  template<>
71  void io<int>::truncate(off_t);
72 
79  extern template class io<int>;
80 }
81 
82 #endif
bool seekable()
Definition: basictypes.h:40
size_t read(char *, off_t, size_t)
size_t write(const char *, off_t, size_t)