Open Search
    MapInterface< K, V >::IteratorTemplate< CONSTITERATOR > Class Template Reference

    #include <map.h>

    Public Types

    using CollectionType = typename ConstIf< MapInterface, CONSTITERATOR >::type
     
    using KeyType = const K
     
    using ValueType = typename ConstIf< V, CONSTITERATOR >::type
     
    using Memory = Int[200]
     

    Public Member Functions

     IteratorTemplate ()
     
     IteratorTemplate (CollectionType &set, Bool end)
     
     IteratorTemplate (IteratorTemplate &&src)
     
    template<typename IT >
     IteratorTemplate (CollectionType &set, IT &&it)
     
     ~IteratorTemplate ()
     
     MAXON_OPERATOR_MOVE_ASSIGNMENT (IteratorTemplate)
     
     operator IteratorTemplate< true > & ()
     
    KeyTypeGetKey () const
     
    ValueTypeGetValue () const
     
    Pair< KeyType &, ValueType & > operator* () const
     
    Bool operator== (const IteratorTemplate &b) const
     
    Bool operator!= (const IteratorTemplate &b) const
     
    IteratorTemplateoperator++ ()
     
    void operator++ (int)
     
    const void * GetMemory () const
     
    void * GetMemory ()
     

    Protected Member Functions

    void operator-> ()
     

    Private Member Functions

     MAXON_DISALLOW_COPY_AND_ASSIGN (IteratorTemplate)
     

    Private Attributes

    CollectionType_set
     
    Memory _memory
     

    Member Typedef Documentation

    ◆ CollectionType

    using CollectionType = typename ConstIf<MapInterface, CONSTITERATOR>::type

    ◆ KeyType

    using KeyType = const K

    ◆ ValueType

    using ValueType = typename ConstIf<V, CONSTITERATOR>::type

    ◆ Memory

    using Memory = Int[200]

    Constructor & Destructor Documentation

    ◆ IteratorTemplate() [1/4]

    ◆ IteratorTemplate() [2/4]

    IteratorTemplate ( CollectionType set,
    Bool  end 
    )

    ◆ IteratorTemplate() [3/4]

    IteratorTemplate ( IteratorTemplate< CONSTITERATOR > &&  src)

    ◆ IteratorTemplate() [4/4]

    IteratorTemplate ( CollectionType set,
    IT &&  it 
    )

    ◆ ~IteratorTemplate()

    Member Function Documentation

    ◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

    MAXON_OPERATOR_MOVE_ASSIGNMENT ( IteratorTemplate< CONSTITERATOR >  )

    ◆ operator IteratorTemplate< true > &()

    operator IteratorTemplate< true > & ( )

    ◆ GetKey()

    KeyType& GetKey ( ) const

    ◆ GetValue()

    ValueType& GetValue ( ) const

    ◆ operator*()

    Pair<KeyType&, ValueType&> operator* ( ) const

    ◆ operator==()

    Bool operator== ( const IteratorTemplate< CONSTITERATOR > &  b) const

    ◆ operator!=()

    Bool operator!= ( const IteratorTemplate< CONSTITERATOR > &  b) const

    ◆ operator++() [1/2]

    IteratorTemplate& operator++ ( )

    ◆ operator++() [2/2]

    void operator++ ( int  )

    ◆ GetMemory() [1/2]

    const void* GetMemory ( ) const

    ◆ GetMemory() [2/2]

    void* GetMemory ( )

    ◆ operator->()

    void operator-> ( )
    protected

    ◆ MAXON_DISALLOW_COPY_AND_ASSIGN()

    MAXON_DISALLOW_COPY_AND_ASSIGN ( IteratorTemplate< CONSTITERATOR >  )
    private

    Member Data Documentation

    ◆ _set

    CollectionType* _set
    private

    ◆ _memory

    Memory _memory
    private