SILICON
Loading...
Searching...
No Matches
projectDocumentPolicy.cpp File Reference
#include "projectDocumentPolicy.hpp"
#include <cctype>
#include <format>
#include <stdexcept>
#include <QFileInfo>
#include <nlohmann/json.hpp>
#include <ui/circuit/components/subcircuit/metadata.hpp>
Include dependency graph for projectDocumentPolicy.cpp:

Go to the source code of this file.

Namespaces

namespace  SILICON
namespace  SILICON::ui
namespace  SILICON::ui::projectDocumentPolicy

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)