|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
Scoped read access to a DocumentState. More...
#include "donner/svg/DocumentState.h"
Public Member Functions | |
| DocumentReadAccess (DocumentState &documentState) | |
| Create a read access guard. | |
| DocumentReadAccess (const DocumentReadAccess &other)=delete | |
| Copying access guards is not allowed. | |
| DocumentReadAccess (DocumentReadAccess &&other) noexcept | |
| Moving access guards transfers the held access. | |
| ~DocumentReadAccess () | |
| Destructor, releasing the held access. | |
| DocumentReadAccess & | operator= (const DocumentReadAccess &other)=delete |
| Copying access guards is not allowed. | |
| DocumentReadAccess & | operator= (DocumentReadAccess &&other) noexcept=delete |
| Moving access guards by assignment is not needed by callers. | |
| DocumentState & | documentState () const |
| Get the guarded document state. | |
| Registry & | registry () const |
| Get the guarded registry. | |
Scoped read access to a DocumentState.
|
inlineexplicit |
Create a read access guard.
| documentState | Document state being accessed. |