|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Mixin base class providing a runtime instance name for tracing/debugging. More...
#include <Defines.hpp>
Public Member Functions | |
| ObjectNaming ()=default | |
| ObjectNaming (const ObjectNaming &)=default | |
| ObjectNaming (ObjectNaming &&)=default | |
| ObjectNaming & | operator= (const ObjectNaming &)=default |
| ObjectNaming & | operator= (ObjectNaming &&)=default |
| ~ObjectNaming ()=default | |
| void | setObjectName (const std::string &name) |
| const std::string & | getObjectName () const |
| std::string | getObjectIdentity (const std::string &sig) const |
Mixin base class providing a runtime instance name for tracing/debugging.
Array and its subclasses inherit this to carry a human-readable name (e.g., "coords", "cell2node") that appears in assertion messages. Zero overhead when no name is set (empty string). NOT added to device-callable types (ArrayView, ArrayLayout).
Definition at line 220 of file Defines.hpp.
|
default |
|
default |
|
default |
|
default |
|
inline |
Returns "name(sig)" if name is set, or just "sig" otherwise. Callers pass the type signature (e.g., GetArrayName()) as sig.
Definition at line 237 of file Defines.hpp.
|
inline |
Definition at line 233 of file Defines.hpp.
|
default |
|
default |
|
inline |