#include <persistent_surface_store.h>
◆ Id() [1/3]
mir::shell::PersistentSurfaceStore::Id::Id |
( |
| ) |
|
Generate a new, unique Id.
◆ Id() [2/3]
mir::shell::PersistentSurfaceStore::Id::Id |
( |
std::string const & |
serialized_form | ) |
|
Construct an Id from its serialized string form.
- Parameters
-
serialized_form | [in] The previously-serialized Id |
- Exceptions
-
std::invalid_argument | if
- serialized_form is not parseable as an Id.
|
◆ Id() [3/3]
mir::shell::PersistentSurfaceStore::Id::Id |
( |
Id const & |
rhs | ) |
|
◆ operator=()
Id& mir::shell::PersistentSurfaceStore::Id::operator= |
( |
Id const & |
rhs | ) |
|
◆ operator==()
bool mir::shell::PersistentSurfaceStore::Id::operator== |
( |
Id const & |
rhs | ) |
const |
◆ serialize_to_string()
std::string mir::shell::PersistentSurfaceStore::Id::serialize_to_string |
( |
| ) |
const |
Serialize to a UTF-8 string.
- Returns
- A string representation of the Id; this is guaranteed to be valid UTF-8
◆ std::hash< Id >
friend struct std::hash< Id > |
|
friend |
The documentation for this class was generated from the following file:
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Mar 27 12:06:55 UTC 2017