Drake
SolverTypeConverter Class Reference

Converts between SolverType and SolverId. More...

#include <drake/solvers/solver_type_converter.h>

Public Member Functions

 SolverTypeConverter ()=delete
 
 ~SolverTypeConverter ()=delete
 
Does not allow copy, move, or assignment
 SolverTypeConverter (const SolverTypeConverter &)=delete
 
SolverTypeConverteroperator= (const SolverTypeConverter &)=delete
 
 SolverTypeConverter (SolverTypeConverter &&)=delete
 
SolverTypeConverteroperator= (SolverTypeConverter &&)=delete
 

Static Public Member Functions

static SolverId TypeToId (SolverType)
 Converts the given type to its matching ID. More...
 
static optional< SolverTypeIdToType (SolverId)
 Converts the given ID to its matching type, iff the type matches one of SolverType's known values. More...
 

Detailed Description

Converts between SolverType and SolverId.

Constructor & Destructor Documentation

SolverTypeConverter ( )
delete
~SolverTypeConverter ( )
delete

Member Function Documentation

optional< SolverType > IdToType ( SolverId  solver_id)
static

Converts the given ID to its matching type, iff the type matches one of SolverType's known values.

Here is the call graph for this function:

Here is the caller graph for this function:

SolverTypeConverter& operator= ( SolverTypeConverter &&  )
delete
SolverTypeConverter& operator= ( const SolverTypeConverter )
delete
SolverId TypeToId ( SolverType  solver_type)
static

Converts the given type to its matching ID.

Here is the call graph for this function:


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