V-Gears 0
Free Final Fantasy VII engine.
CodeLine Struct Reference

Structure representing a line of code. More...

#include <Graph.h>

Public Member Functions

 CodeLine (const std::string &line, bool unindent_before, bool indent_after)
 Constructor for CodeLine. More...
 

Public Attributes

std::string line = "0"
 The line of code. More...
 
bool unindent_before = false
 Whether or not to add an indentation level before outputting the line. More...
 
bool indent_after = false
 Whether to remove an indentation level after outputting the line. More...
 

Detailed Description

Structure representing a line of code.

Constructor & Destructor Documentation

◆ CodeLine()

CodeLine::CodeLine ( const std::string &  line,
bool  unindent_before,
bool  indent_after 
)

Constructor for CodeLine.

Parameters
[in]lineThe line of code.
[in]unindent_beforeWhether or not to remove an indentation level before the line. Defaults to false.
[in]indent_afterWhether or not to add an indentation level after the line. Defaults to false.

Member Data Documentation

◆ indent_after

bool CodeLine::indent_after = false

Whether to remove an indentation level after outputting the line.

◆ line

std::string CodeLine::line = "0"

The line of code.

◆ unindent_before

bool CodeLine::unindent_before = false

Whether or not to add an indentation level before outputting the line.


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