SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Public Types | Public Member Functions | Public Attributes | Friends | List of all members
smtk::attribute::ReferenceItem::const_iterator Class Reference

An iterator for references held by a ReferenceItem. More...

#include <ReferenceItem.h>

Collaboration diagram for smtk::attribute::ReferenceItem::const_iterator:
[legend]

Classes

struct  CacheIterator
 

Public Types

typedef const_iterator self_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef value_type reference
 
typedef value_type pointer
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 const_iterator (const const_iterator &it)
 
const_iteratoroperator= (const const_iterator &it)
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const_iterator operator++ (int)
 
const_iterator operator-- (int)
 
const_iterator operator+ (const difference_type &d) const
 
const_iterator operator- (const difference_type &d) const
 
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (const difference_type &d)
 
bool isSet () const
 

Public Attributes

const typedef smtk::resource::PersistentObjectPtr value_type
 

Friends

class ReferenceItem
 
difference_type SMTKCORE_EXPORT operator- (const const_iterator &, const const_iterator &)
 
bool SMTKCORE_EXPORT operator< (const const_iterator &it1, const const_iterator &it2)
 
bool SMTKCORE_EXPORT operator> (const const_iterator &it1, const const_iterator &it2)
 
bool SMTKCORE_EXPORT operator<= (const const_iterator &it1, const const_iterator &it2)
 
bool SMTKCORE_EXPORT operator>= (const const_iterator &it1, const const_iterator &it2)
 
bool SMTKCORE_EXPORT operator== (const const_iterator &it1, const const_iterator &it2)
 
bool SMTKCORE_EXPORT operator!= (const const_iterator &it1, const const_iterator &it2)
 

Detailed Description

An iterator for references held by a ReferenceItem.

Iterators into ReferenceItem will always dereference to a PersistentObjectPtr, regardless of the underlying storage mechanism used to hold the reference.


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