Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_lnx_type::FileDescriptorType Class Reference

Type used for file descriptor values. More...

#include <lnx_kernel_utils.hpp>

Inheritance diagram for arion_lnx_type::FileDescriptorType:
arion_type::KernelType

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)
 

Detailed Description

Type used for file descriptor values.

Constructor & Destructor Documentation

◆ FileDescriptorType()

arion_lnx_type::FileDescriptorType::FileDescriptorType ( )
inline

Builder for FileDescriptorType instances.

Member Function Documentation

◆ str()

std::string arion_lnx_type::FileDescriptorType::str ( std::shared_ptr< arion::Arion arion,
uint64_t  val 
)
overridevirtual

Converts a file descriptor value to its string representation (e.g., 1 to "1 (stdout)").

Parameters
[in]arionShared pointer to the Arion instance.
[in]valThe file descriptor value.
Returns
String representation of the file descriptor.

Reimplemented from arion_type::KernelType.


The documentation for this class was generated from the following file: