yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::project::ProjectFilePassthrough Struct Reference

Lines of a .yaze file that this build does not model. More...

#include <project.h>

Classes

struct  Line
 
struct  Section
 

Public Member Functions

bool empty () const
 

Public Attributes

std::vector< Section > sections
 

Detailed Description

Lines of a .yaze file that this build does not model.

ParseFromString records them and SerializeToString writes them back, so a project file written by a newer build, another tool or by hand survives a save by this build:

  • sections this build does not know: verbatim, in file order, after the known sections;
  • keys this build does not know inside a known section: verbatim, in file order, at the end of that section;
  • comments: before the key they preceded in the file, else at the end of their section. Blank lines and the generated header and footer comments are not kept.

Definition at line 193 of file project.h.

Member Function Documentation

◆ empty()

bool yaze::project::ProjectFilePassthrough::empty ( ) const
inline

Member Data Documentation

◆ sections

std::vector<Section> yaze::project::ProjectFilePassthrough::sections

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