HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfMask::iterator Class Reference

#include <mask.h>

Public Types

using value_type = _BaseIterator::value_type
 

Public Member Functions

 iterator ()
 
bool operator== (const iterator &rhs) const
 
bool operator!= (const iterator &rhs) const
 
value_type operator* () const
 
iteratoroperator++ ()
 
bool IsAtEnd () const
 
void AdvanceToEnd ()
 
int AdvanceTo (value_type index)
 

Friends

class VdfMask
 

Detailed Description

Iterator class used to iterate through the elements of the mask.

Definition at line 399 of file mask.h.

Member Typedef Documentation

using VdfMask::iterator::value_type = _BaseIterator::value_type

Definition at line 403 of file mask.h.

Constructor & Destructor Documentation

VdfMask::iterator::iterator ( void  )
inline

Constructs an null iterator that is already at end.

Definition at line 407 of file mask.h.

Member Function Documentation

int VdfMask::iterator::AdvanceTo ( value_type  index)
inline

Advance the iterator to the first index that is set in the mask located at or after index.

Definition at line 449 of file mask.h.

void VdfMask::iterator::AdvanceToEnd ( )
inline

Advance the iterator to the end.

Definition at line 442 of file mask.h.

bool VdfMask::iterator::IsAtEnd ( ) const
inline

Returns true if the iteration is finished.

Definition at line 436 of file mask.h.

bool VdfMask::iterator::operator!= ( const iterator rhs) const
inline

Returns true if this iterator and rhs do not compare equal.

Definition at line 417 of file mask.h.

value_type VdfMask::iterator::operator* ( ) const
inline

Returns the index of the current element.

Definition at line 423 of file mask.h.

iterator& VdfMask::iterator::operator++ ( )
inline

Increment the iterator to the next element.

Definition at line 429 of file mask.h.

bool VdfMask::iterator::operator== ( const iterator rhs) const
inline

Returns true if this iterator and rhs compare equal.

Definition at line 411 of file mask.h.

Friends And Related Function Documentation

friend class VdfMask
friend

Definition at line 472 of file mask.h.


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