AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator > Class Template Reference

Iterator wrapper for LayerToIdsMap that hides non-dirty items Implemented as a template to define const / non-const iterator at same time. More...

#include <LayerManager.h>

Public Types

typedef WrappedIterator::value_type value_type
 

Public Member Functions

 DirtyOnlyIterator (WrappedIterator it, WrappedIterator end)
 ctor More...
 
 DirtyOnlyIterator (const DirtyOnlyIterator &other)
 copy ctor More...
 
DirtyOnlyIteratoroperator++ ()
 pre-increment operator More...
 
DirtyOnlyIterator operator++ (int)
 post-increment operator More...
 
bool operator== (const DirtyOnlyIterator &rhs) const
 equivalence operator More...
 
bool operator!= (const DirtyOnlyIterator &rhs) const
 non equivalence operator More...
 
value_type & operator* ()
 dereference operator
 

Detailed Description

template<typename WrappedIterator>
class AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >

Iterator wrapper for LayerToIdsMap that hides non-dirty items Implemented as a template to define const / non-const iterator at same time.

Constructor & Destructor Documentation

template<typename WrappedIterator >
AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::DirtyOnlyIterator ( WrappedIterator  it,
WrappedIterator  end 
)
inline

ctor

Parameters
itthe start of the iteration range
endthe end of the iteration range
template<typename WrappedIterator >
AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::DirtyOnlyIterator ( const DirtyOnlyIterator< WrappedIterator > &  other)
inline

copy ctor

Parameters
otherthe iterator to copy

Member Function Documentation

template<typename WrappedIterator >
bool AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::operator!= ( const DirtyOnlyIterator< WrappedIterator > &  rhs) const
inline

non equivalence operator

Parameters
rhsthe iterator to compare against
Returns
false if equivalent, true otherwise
template<typename WrappedIterator >
DirtyOnlyIterator& AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::operator++ ( )
inline

pre-increment operator

Returns
a reference to this
template<typename WrappedIterator >
DirtyOnlyIterator AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::operator++ ( int  )
inline

post-increment operator

Returns
a copy of the original iterator value
template<typename WrappedIterator >
bool AL::usdmaya::nodes::DirtyOnlyIterator< WrappedIterator >::operator== ( const DirtyOnlyIterator< WrappedIterator > &  rhs) const
inline

equivalence operator

Parameters
rhsthe iterator to compare against
Returns
true if equivalent

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