Open Search
    SetInterface< TYPE >::IteratorTemplate< CONSTITERATOR > Class Template Reference

    #include <set.h>

    Public Types

    using CollectionType = typename ConstIf< SetInterface, CONSTITERATOR >::type
     
    using Type = const TYPE
     
    using Memory = Int[64]
     

    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 > & ()
     
    Typeoperator* () const
     
    Typeoperator-> () const
     
    Bool operator== (const IteratorTemplate &b) const
     
    Bool operator!= (const IteratorTemplate &b) const
     
    IteratorTemplateoperator++ ()
     
    void operator++ (int)
     
    const void * GetMemory () const
     
    void * GetMemory ()
     

    Private Member Functions

     MAXON_DISALLOW_COPY_AND_ASSIGN (IteratorTemplate)
     

    Private Attributes

    CollectionType_set
     
    Memory _memory
     

    Member Typedef Documentation

    ◆ CollectionType

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

    ◆ Type

    using Type = const TYPE

    ◆ Memory

    using Memory = Int[64]

    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 > & ( )

    ◆ operator*()

    Type& operator* ( ) const

    ◆ operator->()

    Type* operator-> ( void  ) 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 ( )

    ◆ MAXON_DISALLOW_COPY_AND_ASSIGN()

    MAXON_DISALLOW_COPY_AND_ASSIGN ( IteratorTemplate< CONSTITERATOR >  )
    private

    Member Data Documentation

    ◆ _set

    CollectionType* _set
    private

    ◆ _memory

    Memory _memory
    private