Open Search
    MultiIndex< INT_TYPE > Class Template Reference

    #include <multiindex.h>

    Classes

    class  Iterator
     

    Public Member Functions

     MultiIndex ()=default
     
     MAXON_OPERATOR_EQUALITY_HASHCODE (MultiIndex, _value)
     
    Iterator Begin () const
     
    Iterator End () const
     
    String ToString (const FormatStatement *fmt=nullptr) const
     
    MultiIndex GetParent () const
     
    MultiIndex Prepend (Int index) const
     
    MultiIndex Concat (Int index) const
     
    MultiIndex Concat (const MultiIndex &index) const
     
    MultiIndex FromEnd (Int count) const
     
    Int GetCount () const
     
    Bool IsEmpty () const
     
    Bool IsPopulated () const
     
    Int GetFirst () const
     

    Private Member Functions

     MultiIndex (const INT_TYPE &value)
     

    Private Attributes

    INT_TYPE _value
     

    Friends

    class MultiIndexBuilder< INT_TYPE >
     

    Constructor & Destructor Documentation

    ◆ MultiIndex() [1/2]

    MultiIndex ( )
    default

    ◆ MultiIndex() [2/2]

    MultiIndex ( const INT_TYPE &  value)
    explicitprivate

    Member Function Documentation

    ◆ MAXON_OPERATOR_EQUALITY_HASHCODE()

    MAXON_OPERATOR_EQUALITY_HASHCODE ( MultiIndex< INT_TYPE >  ,
    _value   
    )

    ◆ Begin()

    Iterator Begin ( ) const

    ◆ End()

    Iterator End ( ) const

    ◆ ToString()

    String ToString ( const FormatStatement fmt = nullptr) const

    ◆ GetParent()

    MultiIndex GetParent ( ) const

    ◆ Prepend()

    MultiIndex Prepend ( Int  index) const

    ◆ Concat() [1/2]

    MultiIndex Concat ( Int  index) const

    ◆ Concat() [2/2]

    MultiIndex Concat ( const MultiIndex< INT_TYPE > &  index) const

    ◆ FromEnd()

    MultiIndex FromEnd ( Int  count) const

    ◆ GetCount()

    Int GetCount ( ) const

    ◆ IsEmpty()

    Bool IsEmpty ( ) const

    ◆ IsPopulated()

    Bool IsPopulated ( ) const

    ◆ GetFirst()

    Int GetFirst ( ) const

    Friends And Related Function Documentation

    ◆ MultiIndexBuilder< INT_TYPE >

    friend class MultiIndexBuilder< INT_TYPE >
    friend

    Member Data Documentation

    ◆ _value

    INT_TYPE _value
    private