Exiv2
Loading...
Searching...
No Matches
Exiv2::MemIo::Impl Class Referencefinal

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.
Imploperator= (const Impl &)=delete
 Assignment.

Public Attributes

bytedata_ {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.

Detailed Description

Internal Pimpl structure of class MemIo.

Constructor & Destructor Documentation

◆ Impl() [1/3]

Exiv2::MemIo::Impl::Impl ( )
default

Default constructor.

References Impl(), and Exiv2::MemIo::size().

Referenced by Impl(), Impl(), and operator=().

◆ Impl() [2/3]

Exiv2::MemIo::Impl::Impl ( const byte * data,
size_t size )

Constructor 2.

References data_, Exiv2::MemIo::size(), and size_.

◆ Impl() [3/3]

Exiv2::MemIo::Impl::Impl ( const Impl & )
delete

Copy constructor.

References Impl().

Member Function Documentation

◆ operator=()

Impl & Exiv2::MemIo::Impl::operator= ( const Impl & )
delete

Assignment.

References Impl().

◆ reserve()

void Exiv2::MemIo::Impl::reserve ( size_t wcount)

Member Data Documentation

◆ data_

byte* Exiv2::MemIo::Impl::data_ {nullptr}

Pointer to the start of the memory area.

Referenced by Impl(), and reserve().

◆ idx_

size_t Exiv2::MemIo::Impl::idx_ {0}

Index into the memory area.

Referenced by reserve().

◆ isMalloced_

bool Exiv2::MemIo::Impl::isMalloced_ {false}

Was the buffer allocated?

Referenced by reserve().

◆ size_

size_t Exiv2::MemIo::Impl::size_ {0}

Size of the memory area.

Referenced by Impl(), and reserve().

◆ sizeAlloced_

size_t Exiv2::MemIo::Impl::sizeAlloced_ {0}

Size of the allocated buffer.

Referenced by reserve().


The documentation for this class was generated from the following file: