dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::string Class Reference

a fixed size name that crosses a process or kernel boundary by value, where a std::string cannot: the platform's file name length, always terminated, converting to and from std::string More...

#include <dx_common.h>

Public Member Functions

 operator char*()
 operator const char*() const
 operator std::string() const
 bounded: its bytes may come from another process
string& operator =(const char* string)
string& operator =(const std::string& string)
 string()= default
 string(const char* string)
 string(const std::string& string)

Protected Attributes

char _data [DX_FILENAME_LENGTH] {}

Detailed Description

a fixed size name that crosses a process or kernel boundary by value, where a std::string cannot: the platform's file name length, always terminated, converting to and from std::string

Constructor & Destructor Documentation

◆ string() [1/3]

dx::string::string()
default
Here is the caller graph for this function:

◆ string() [2/3]

dx::string::string(const char* string)
inline

◆ string() [3/3]

dx::string::string(const std::string& string)
inline

Member Function Documentation

◆ operator char *()

dx::string::operator char*()
inline

◆ operator const char *()

dx::string::operator const char*() const
inlineexplicit

◆ operator std::string()

dx::string::operator std::string() const
inline

bounded: its bytes may come from another process

◆ operator =() [1/2]

string& dx::string::operator =(const char* string)
inline

◆ operator =() [2/2]

string& dx::string::operator =(const std::string& string)
inline

Member Data Documentation

◆ _data

char dx::string::_data[DX_FILENAME_LENGTH]{}
protected

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