![]() |
Exiv2
|
Internal Pimpl structure of class MemIo. More...
Public Member Functions | |
| Impl ()=default | |
| Default constructor. | |
| Impl (const byte *data, size_t size) | |
| Constructor 2. | |
| void | reserve (size_t wcount) |
| Reserve memory. | |
| Impl (const Impl &)=delete | |
| Copy constructor. | |
| Impl & | operator= (const Impl &)=delete |
| Assignment. | |
Public Attributes | |
| byte * | data_ {nullptr} |
| Pointer to the start of the memory area. | |
| size_t | idx_ {0} |
| Index into the memory area. | |
| size_t | size_ {0} |
| Size of the memory area. | |
| size_t | sizeAlloced_ {0} |
| Size of the allocated buffer. | |
| bool | isMalloced_ {false} |
| Was the buffer allocated? | |
| bool | eof_ {false} |
| EOF indicator. | |
|
default |
Default constructor.
References Impl(), and Exiv2::MemIo::size().
Referenced by Impl(), Impl(), and operator=().
| Exiv2::MemIo::Impl::Impl | ( | const byte * | data, |
| size_t | size ) |
Constructor 2.
References data_, Exiv2::MemIo::size(), and size_.
|
delete |
Copy constructor.
References Impl().
| void Exiv2::MemIo::Impl::reserve | ( | size_t | wcount | ) |
Reserve memory.
References data_, Exiv2::Error::Error(), idx_, isMalloced_, Exiv2::MemIo::size(), size_, and sizeAlloced_.
| byte* Exiv2::MemIo::Impl::data_ {nullptr} |
| size_t Exiv2::MemIo::Impl::idx_ {0} |
Index into the memory area.
Referenced by reserve().
| bool Exiv2::MemIo::Impl::isMalloced_ {false} |
Was the buffer allocated?
Referenced by reserve().
| size_t Exiv2::MemIo::Impl::sizeAlloced_ {0} |
Size of the allocated buffer.
Referenced by reserve().