MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / castFromInt

Method castFromInt

include/thundersvm/util/log.h:595–597  ·  view source on GitHub ↗

@brief Casts int(ushort) to level, useful for iterating through enum.

Source from the content-addressed store, hash-verified

593 }
594 /// @brief Casts int(ushort) to level, useful for iterating through enum.
595 static Level castFromInt(base::type::EnumType l) {
596 return static_cast<Level>(l);
597 }
598 /// @brief Converts level to associated const char*
599 /// @return Upper case string based level.
600 static const char* convertToString(Level level);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected