24 class SolutionInvalidityRegistry;
66 std::ostream &
operator<<(std::ostream &
os,
const SolutionInvalidityName & name);
92 SolutionInvalidityInfo,
93 SoltionInvalidityNameHash>
105 const std::string & message,
std::string name(const ElemQuality q)
SolutionInvalidityName(const std::string &object_type, const std::string &message)
std::string message
The invalid message.
unsigned int InvalidSolutionID
bool warning
Whether or not this is a warning.
friend SolutionInvalidityRegistry & getSolutionInvalidityRegistry()
So it can be constructed.
std::basic_ostream< charT, traits > * os
void hash_combine(std::size_t &)
Used for hash function specialization for Attribute objects.
InvalidSolutionID registerInvalidity(const std::string &object_type, const std::string &message, const bool warning)
Call to register an invalid calculation.
SolutionInvalidityRegistry()
The place where all sections with solution invalid warnings will be stored.
SolutionInvalidityInfo(const std::string &object_type, const std::string &message, const InvalidSolutionID id, const bool warning)
std::string object_type
The type of the object.
std::ostream & operator<<(std::ostream &os, const SolutionInvalidityName &name)
InvalidSolutionID id
The solution ID.
Helper class that stores the name associated with an invalid solution.
The SolutionInvalidity will contain all the information about the occurrence(s) of solution invalidit...
SolutionInvalidityRegistry & getSolutionInvalidityRegistry()
Get the global SolutionInvalidityRegistry singleton.
bool operator==(const SolutionInvalidityName &other) const
void dataStore(std::ostream &, SolutionInvalidity &, void *)
Helper class that hash the name associated with an invalid solution.
Helper class that stores the info associated with an invalid solution.
friend SolutionInvalidity
This is only here so that SolutionInvalidity can access readSectionInfo.
size_t operator()(const SolutionInvalidityName &name) const