Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ModelCollection Class Reference

Holds a collection of models. More...

#include <model_collection.h>

Public Member Functions

 ModelCollection ()=default
 default constructor
 
 ModelCollection (ParameterMap &pmap)
 primary constructor
 
 ModelCollection (ModelCollection &&)=default
 
ModelCollectionoperator= (ModelCollection &&)=default
 
 ModelCollection (const ModelCollection &)=delete
 
ModelCollectionoperator= (const ModelCollection &)=delete
 
template<typename T >
const T * try_get () const
 Try to retrieve a model of the specified type.
 

Detailed Description

Holds a collection of models.

Member Function Documentation

◆ try_get()

template<typename T >
const T * ModelCollection::try_get ( ) const
inline

Try to retrieve a model of the specified type.

Returns
A pointer to the specified model-type (if applicable).

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