Go to the documentation of this file.
40#include <unordered_map>
42#include <shared_mutex>
67 return it !=
debugNames_.end() ? it->second :
"<unknown>";
71 return os <<
"ParamKey{name=\"" << key.
name_ <<
"\", index=" << key.
index_ <<
"}";
79 static std::atomic<IndexType> counter{0};
80 return counter.fetch_add(1, std::memory_order_relaxed);
88 static inline std::unordered_map<IndexType, std::string>
debugNames_;
IndexType getIndex() const
static IndexType generateUniqueIndex()
ParamKey(std::string name)
static void registerDebugName(IndexType index, const std::string &name)
static std::string getDebugName(IndexType index)
const char * getNameCStr() const
const std::string & getName() const
friend std::ostream & operator<<(std::ostream &os, const ParamKey &key)
static std::unordered_map< IndexType, std::string > debugNames_
static std::shared_mutex debugMutex_
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011