Type used for file descriptor values. More...
#include <lnx_kernel_utils.hpp>
Public Member Functions | |
| FileDescriptorType () | |
| std::string | str (std::shared_ptr< arion::Arion > arion, uint64_t val) override |
Public Member Functions inherited from arion_type::KernelType | |
| virtual | ~KernelType ()=default |
| Virtual destructor to allow polymorphic deletion. | |
| arion::LOG_COLOR | get_color () |
Additional Inherited Members | |
Protected Member Functions inherited from arion_type::KernelType | |
| KernelType (std::string name, arion::LOG_COLOR color=arion::LOG_COLOR::DEFAULT) | |
Type used for file descriptor values.
|
inline |
Builder for FileDescriptorType instances.
|
overridevirtual |
Converts a file descriptor value to its string representation (e.g., 1 to "1 (stdout)").
| [in] | arion | Shared pointer to the Arion instance. |
| [in] | val | The file descriptor value. |
Reimplemented from arion_type::KernelType.