MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FragmentedSectionIterator Class Reference
Inheritance diagram for FragmentedSectionIterator:
Collaboration diagram for FragmentedSectionIterator:

Public Member Functions

 FragmentedSectionIterator (GenericSectionPtr ptr)
bool setRange (Uint32 start, Uint32 len)
void reset ()
const Uint32 * getNextWords (Uint32 &sz)

Detailed Description

FragmentedSectionIterator

This class acts as an adapter to a GenericSectionIterator instance, providing a sub-range iterator interface. It is used when long sections of a signal are fragmented across multiple actual signals - the user-supplied GenericSectionIterator is then adapted into a GenericSectionIterator that only returns a subset of the contained words for each signal fragment.

Definition at line 899 of file TransporterFacade.cpp.

Member Function Documentation

const Uint32* FragmentedSectionIterator::getNextWords ( Uint32 &  sz)
inlinevirtual

getNextWords (GenericSectionIterator) Get ptr and size of next contiguous words in subrange

Implements GenericSectionIterator.

Definition at line 1041 of file TransporterFacade.cpp.

void FragmentedSectionIterator::reset ( void  )
inlinevirtual

reset (GenericSectionIterator) Reset the iterator to the start of the current sub-range Avoid calling as it could be expensive.

Implements GenericSectionIterator.

Definition at line 1027 of file TransporterFacade.cpp.

bool FragmentedSectionIterator::setRange ( Uint32  start,
Uint32  len 
)
inline

setRange Set the sub-range of the iterator. Must be within the bounds of the underlying iterator After the range is set, the iterator is reset() to the start of the supplied subrange

Definition at line 1007 of file TransporterFacade.cpp.


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