#include <persistent_surface_store.h>
mir::shell::PersistentSurfaceStore::Id::Id |
( |
| ) |
|
Generate a new, unique Id.
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.
|
mir::shell::PersistentSurfaceStore::Id::Id |
( |
Id const & |
rhs | ) |
|
Id& mir::shell::PersistentSurfaceStore::Id::operator= |
( |
Id const & |
rhs | ) |
|
bool mir::shell::PersistentSurfaceStore::Id::operator== |
( |
Id const & |
rhs | ) |
const |
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
friend struct std::hash< Id > |
|
friend |
The documentation for this class was generated from the following file:
Copyright © 2012-2016 Canonical Ltd.
Generated on Wed May 10 10:41:27 UTC 2017