sdObjectMemberIter Class Template Reference

Inheritance diagram for sdObjectMemberIter:

sdObjectAttributeIter sdObjectRelationshipIter


Public Methods

const SDClass * operator * () const
bool operator== (const sdObjectMemberIter< SDClass > &iter) const
bool operator!= (const sdObjectMemberIter< SDClass > &iter) const
sdObjectMemberIter< SDClass > & operator++ ()

Protected Types

typedef std::vector< const SDClass * > MemberVector
typedef MemberVector::const_iterator MemberConstIter

Detailed Description

template<class SDClass>
class sdObjectMemberIter< SDClass >

The sdObjectMemberIter class is a template class that supports base functionality for iterating over the members (sdAttribute objects and sdRelationshipBase objects) of an sdObject.


Member Typedef Documentation

template<class SDClass>
typedef MemberVector::const_iterator sdObjectMemberIter< SDClass >::MemberConstIter [protected]
 

template<class SDClass>
typedef std::vector<const SDClass*> sdObjectMemberIter< SDClass >::MemberVector [protected]
 


Member Function Documentation

template<class SDClass>
const SDClass * sdObjectMemberIter< SDClass >::operator *   const
 

This function returns the object at the current iterator position. If this iterator is on an empty collection, NULL is returned.

template<class SDClass>
bool sdObjectMemberIter< SDClass >::operator!= const sdObjectMemberIter< SDClass > &    iter const
 

This function returns TRUE if the specified iterator is not the same as this iterator.

Parameters:
iter The iterator to compare to this iterator.

template<class SDClass>
sdObjectMemberIter< SDClass > & sdObjectMemberIter< SDClass >::operator++  
 

This function increments the iterator position to point to the next object.

template<class SDClass>
bool sdObjectMemberIter< SDClass >::operator== const sdObjectMemberIter< SDClass > &    iter const
 

This function returns TRUE if the specified iterator points to the same object as the this iterator.

Parameters:
iter The iterator to compare to this iterator.


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

Return to top of page