SILICON
Loading...
Searching...
No Matches
SILICON::ui::projectDocumentPolicy Namespace Reference

Functions

std::string defaultCircuitPath ()
SILICON::project::Document defaultCircuitDocument ()
SILICON::project::ProjectInfo defaultProjectInfo (const QString &fileName)
void ensureProjectDocuments (SILICON::project::ProjectContext &context)
std::string emptyGraphicalDocumentJson (const SILICON::project::DocumentType type)
std::string uniqueDocumentPath (const SILICON::project::ProjectContext &context, const SILICON::project::DocumentType type, const QString &requestedName)

Function Documentation

◆ defaultCircuitDocument()

SILICON::project::Document defaultCircuitDocument ( )
nodiscard

Definition at line 19 of file projectDocumentPolicy.cpp.

◆ defaultCircuitPath()

std::string defaultCircuitPath ( )
nodiscard

Definition at line 14 of file projectDocumentPolicy.cpp.

◆ defaultProjectInfo()

SILICON::project::ProjectInfo defaultProjectInfo ( const QString & fileName)
nodiscard

Definition at line 24 of file projectDocumentPolicy.cpp.

◆ emptyGraphicalDocumentJson()

std::string emptyGraphicalDocumentJson ( const SILICON::project::DocumentType type)
nodiscard

Definition at line 41 of file projectDocumentPolicy.cpp.

◆ ensureProjectDocuments()

void ensureProjectDocuments ( SILICON::project::ProjectContext & context)

Definition at line 32 of file projectDocumentPolicy.cpp.

◆ uniqueDocumentPath()

std::string uniqueDocumentPath ( const SILICON::project::ProjectContext & context,
const SILICON::project::DocumentType type,
const QString & requestedName )
nodiscard

Definition at line 57 of file projectDocumentPolicy.cpp.