Exiv2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Exiv2::Internal::SliceBase Struct Reference

#include <slice.hpp>

Inheritance diagram for Exiv2::Internal::SliceBase:
Inheritance graph
[legend]

Public Member Functions

 SliceBase (size_t begin, size_t end)
 
size_t size () const throw ()
 

Protected Member Functions

void rangeCheck (size_t index) const
 

Protected Attributes

const size_t begin_
 
const size_t end_
 

Detailed Description

Common base class of all slice implementations.

Implements only the most basic functions, which do not require any knowledge about the stored data.

Member Function Documentation

void Exiv2::Internal::SliceBase::rangeCheck ( size_t  index) const
inlineprotected
size_t Exiv2::Internal::SliceBase::size ( ) const
throw (
)
inline

Return the number of elements in the slice.

References begin_.

Referenced by Exiv2::makeSlice(), Exiv2::makeSliceFrom(), Exiv2::Internal::operator<<(), Exiv2::IptcData::printStructure(), and rangeCheck().

Member Data Documentation

const size_t Exiv2::Internal::SliceBase::begin_
protected

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