Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::AttrMap< ValueType > Class Template Reference

Detailed Description

template<template< int i > typename ValueType>
class operations_research::math_opt::AttrMap< ValueType >

Definition at line 147 of file derived_data.h.

#include <derived_data.h>

Public Member Functions

template<typename AttrT>
ValueType< AllAttrs::GetIndex< AttrT >()> & operator[] (AttrT a)
template<typename AttrT>
const ValueType< AllAttrs::GetIndex< AttrT >()> & operator[] (AttrT a) const
template<typename Fn>
void ForEachAttrValue (Fn &&fn)

Member Function Documentation

◆ ForEachAttrValue()

template<template< int i > typename ValueType>
template<typename Fn>
void operations_research::math_opt::AttrMap< ValueType >::ForEachAttrValue ( Fn && fn)
inline

Definition at line 168 of file derived_data.h.

◆ operator[]() [1/2]

template<template< int i > typename ValueType>
template<typename AttrT>
ValueType< AllAttrs::GetIndex< AttrT >()> & operations_research::math_opt::AttrMap< ValueType >::operator[] ( AttrT a)
inline

Definition at line 150 of file derived_data.h.

◆ operator[]() [2/2]

template<template< int i > typename ValueType>
template<typename AttrT>
const ValueType< AllAttrs::GetIndex< AttrT >()> & operations_research::math_opt::AttrMap< ValueType >::operator[] ( AttrT a) const
inline

Definition at line 157 of file derived_data.h.


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