MemberMap Struct Reference

#include <viewiterator.h>

Public Types

using ValueType = Int
 
using ConstIterator = BaseIterator< const MemberMap, false >
 

Public Member Functions

 MAXON_DISALLOW_COPY_AND_ASSIGN (MemberMap)
 
Block< const IntToBlock () const
 
Block< IntToBlock ()
 
ConstIterator Begin () const
 
ConstIterator End () const
 

Public Attributes

const Int count
 
Int members []
 

Private Member Functions

 MemberMap (Int cnt)
 

Friends

class DataTypeLibImpl
 

Member Typedef Documentation

◆ ValueType

using ValueType = Int

◆ ConstIterator

using ConstIterator = BaseIterator<const MemberMap, false>

Constructor & Destructor Documentation

◆ MemberMap()

MemberMap ( Int  cnt)
explicitprivate

Member Function Documentation

◆ MAXON_DISALLOW_COPY_AND_ASSIGN()

MAXON_DISALLOW_COPY_AND_ASSIGN ( MemberMap  )

◆ ToBlock() [1/2]

Block<const Int> ToBlock ( ) const

◆ ToBlock() [2/2]

Block<Int> ToBlock ( )

◆ Begin()

ConstIterator Begin ( ) const

Gets an iterator pointing to the first member index.

Returns
Iterator for the first member index.

◆ End()

ConstIterator End ( ) const

Returns an iterator pointing to the end of the member indices (one behind last).

Returns
Iterator for the end of the member indices.

Friends And Related Function Documentation

◆ DataTypeLibImpl

friend class DataTypeLibImpl
friend

Member Data Documentation

◆ count

const Int count

◆ members

Int members[]