|
SILICON
|
#include <projectDocument.hpp>
Public Member Functions | |
| Document (std::string path, std::string contents) | |
| const std::string & | getPath () const noexcept |
| const std::string & | getContents () const noexcept |
| DocumentType | getType () const noexcept |
| void | setContents (std::string contents) |
Private Attributes | |
| std::string | path |
| std::string | contents |
A document always has a valid, immutable project-relative path. Its type is derived from that path. Contents are the only persisted representation.
Definition at line 109 of file projectDocument.hpp.
| Document | ( | std::string | path, |
| std::string | contents ) |
Definition at line 202 of file projectDocument.cpp.
|
nodiscardnoexcept |
Definition at line 215 of file projectDocument.cpp.
|
nodiscardnoexcept |
Definition at line 210 of file projectDocument.cpp.
|
nodiscardnoexcept |
Definition at line 220 of file projectDocument.cpp.
| void setContents | ( | std::string | contents | ) |
Definition at line 225 of file projectDocument.cpp.
|
private |
Definition at line 121 of file projectDocument.hpp.
|
private |
Definition at line 120 of file projectDocument.hpp.