Asylo
|
A name shared between trusted and untrusted code. More...
#include <shared_name.h>
Classes | |
struct | Eq |
struct | Hash |
Public Member Functions | |
SharedName ()=default | |
Constructs an invalid, null SharedName. More... | |
SharedName (SharedNameKind kind, const std::string &name) | |
Constructs a SharedName. More... | |
SharedNameKind | kind () const |
The SharedName's kind of resource name domain. More... | |
const std::string & | name () const |
The SharedName's name within its kind. More... | |
Static Public Member Functions | |
static SharedName | Address (const std::string &name) |
Constructs a SharedName with kind kAddressName. More... | |
static SharedName | MemBlock (const std::string &name) |
Constructs a SharedName with kind kMemBlockName. More... | |
static SharedName | Socket (const std::string &name) |
Constructs a SharedName with kind kSocketName. More... | |
static SharedName | Timer (const std::string &name) |
Constructs a SharedName with kind kTimerName. More... | |
A name shared between trusted and untrusted code.
A tagged string class representing a name shared between trusted and untrusted code.
|
default |
Constructs an invalid, null SharedName.
|
inline |
Constructs a SharedName.
kind | The kind of the name's resource domain |
name | The SharedName's name that should be unique within its kind. |
|
inlinestatic |
Constructs a SharedName with kind kAddressName.
|
inline |
The SharedName's kind of resource name domain.
|
inlinestatic |
Constructs a SharedName with kind kMemBlockName.
|
inline |
The SharedName's name within its kind.
|
inlinestatic |
Constructs a SharedName with kind kSocketName.
|
inlinestatic |
Constructs a SharedName with kind kTimerName.