MUSX Document Model
Loading...
Searching...
No Matches
musx::factory::DocumentFactory::ConstructionSession Class Reference

A move-only draft document that can be populated and finalized exactly once. More...

#include <DocumentFactory.h>

Public Member Functions

 ConstructionSession (const ConstructionSession &)=delete
 
ConstructionSessionoperator= (const ConstructionSession &)=delete
 
 ConstructionSession (ConstructionSession &&) noexcept=default
 
ConstructionSessionoperator= (ConstructionSession &&) noexcept=default
 
const DocumentPtr & getDocument () const
 
ConstructionContextgetConstructionContext ()
 
const ConstructionContextgetConstructionContext () const
 
DocumentPtr finish () &&
 

Friends

class DocumentFactory
 

Detailed Description

A move-only draft document that can be populated and finalized exactly once.