|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Friend declarations for string conversion access. More...

Friends | |
| std::string | Recognition::Magic::MagicPrivate::ToString (Magic::Flags flag) |
| Convert a Magic flag to its string name. | |
| std::string | Recognition::Magic::MagicPrivate::ToString (Magic::Parameters parameter) |
| Convert a Magic parameter to its string name. | |
Friend declarations for string conversion access.
Grants ToString() functions access to private LIBMAGIC_FLAGS and LIBMAGIC_PARAMETERS arrays for generating human-readable names.
|
friend |
Convert a Magic flag to its string name.
Friend declaration for ToString(Flags) free function.
Returns the symbolic name of a single flag value.
| [in] | flag | The flag to convert. |
|
friend |
Convert a Magic parameter to its string name.
Friend declaration for ToString(Parameters) free function.
Returns the symbolic name of a single parameter value.
| [in] | parameter | The parameter to convert. |