SILICON
Loading...
Searching...
No Matches
ProjectSession Struct Reference

#include <projectSession.hpp>

Collaboration diagram for ProjectSession:

Public Member Functions

std::optional< std::string > firstCircuitPath (std::string_view excludedPath={}) const

Public Attributes

QString currentFileName
std::optional< SILICON::project::ProjectMetadata > currentProjectMetadata
std::optional< SILICON::project::ProjectInfo > currentProjectInfo
std::string activeDocumentPath
SILICON::project::ProjectContext projectContext
SILICON::project::ProjectCircuitResolver circuitResolver

Detailed Description

Project lifetime and persistence state shared by the editor controllers.

Definition at line 26 of file projectSession.hpp.

Member Function Documentation

◆ firstCircuitPath()

std::optional< std::string > firstCircuitPath ( std::string_view excludedPath = {}) const
nodiscard

Definition at line 8 of file projectSession.cpp.

Member Data Documentation

◆ activeDocumentPath

std::string activeDocumentPath

Definition at line 30 of file projectSession.hpp.

◆ circuitResolver

Initial value:

Definition at line 33 of file projectSession.hpp.

◆ currentFileName

QString currentFileName

Definition at line 27 of file projectSession.hpp.

◆ currentProjectInfo

std::optional<SILICON::project::ProjectInfo> currentProjectInfo

Definition at line 29 of file projectSession.hpp.

◆ currentProjectMetadata

std::optional<SILICON::project::ProjectMetadata> currentProjectMetadata

Definition at line 28 of file projectSession.hpp.

◆ projectContext

Definition at line 32 of file projectSession.hpp.


The documentation for this struct was generated from the following files: