OR-Tools  8.2
RevVector< IndexType, T >

Detailed Description

template<class IndexType, class T>
class operations_research::RevVector< IndexType, T >

Definition at line 88 of file rev.h.

Public Member Functions

const T & operator[] (IndexType index) const
 
T & MutableRef (IndexType index)
 
int size () const
 
void Grow (int new_size)
 
void GrowByOne ()
 
int Level () const
 
void SetLevel (int level) final
 

Member Function Documentation

◆ Grow()

void Grow ( int  new_size)
inline

Definition at line 103 of file rev.h.

◆ GrowByOne()

void GrowByOne ( )
inline

Definition at line 108 of file rev.h.

◆ Level()

int Level ( ) const
inline

Definition at line 110 of file rev.h.

◆ MutableRef()

T & MutableRef ( IndexType  index)
inline

Definition at line 95 of file rev.h.

◆ operator[]()

const T & operator[] ( IndexType  index) const
inline

Definition at line 90 of file rev.h.

◆ SetLevel()

void SetLevel ( int  level)
inlinefinalvirtual

Implements ReversibleInterface.

Definition at line 112 of file rev.h.

◆ size()

int size ( ) const
inline

Definition at line 101 of file rev.h.


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