/home/runner/work/amr-wind/amr-wind/amr-wind/core/CollMgr.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
CollMgr.H
Go to the documentation of this file.
Definition CollMgr.H:22
~CollMgr()=default
TypeVector & objects()
Return a vector of the registered objects.
Definition CollMgr.H:51
CollMgr()=default
Type & operator()(const std::string &key)
Return the object corresponding to a lookup key.
Definition CollMgr.H:62
bool contains(const std::string &key) const
Query if an object exists using the lookup key.
Definition CollMgr.H:55
CollMgr & operator=(const CollMgr &)=delete
T & operator()(const std::string &key)
Return object for a lookup key cast into its exact class definition.
Definition CollMgr.H:74
CollMgr(const CollMgr &)=delete
TypeVector m_obj_vec
Collection of objects registered so far.
Definition CollMgr.H:81
Type & create(const std::string &key, Args &&... args)
Definition CollMgr.H:38
const Type & operator()(const std::string &key) const
Definition CollMgr.H:67
std::unordered_map< std::string, int > m_obj_map
Key word based lookup.
Definition CollMgr.H:84
Definition BCInterface.cpp:7
Generated by 1.12.0