openshot-audio  0.1.7
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CodeDocumentLine Class Reference

Public Member Functions

 CodeDocumentLine (const String::CharPointerType startOfLine, const String::CharPointerType endOfLine, const int lineLen, const int numNewLineChars, const int startInFile)
 
bool endsWithLineBreak () const noexcept
 
void updateLength () noexcept
 

Static Public Member Functions

static void createLines (Array< CodeDocumentLine *> &newLines, StringRef text)
 

Public Attributes

String line
 
int lineStartInFile
 
int lineLength
 
int lineLengthWithoutNewLines
 

Constructor & Destructor Documentation

◆ CodeDocumentLine()

CodeDocumentLine::CodeDocumentLine ( const String::CharPointerType  startOfLine,
const String::CharPointerType  endOfLine,
const int  lineLen,
const int  numNewLineChars,
const int  startInFile 
)
inline

Member Function Documentation

◆ createLines()

static void CodeDocumentLine::createLines ( Array< CodeDocumentLine *> &  newLines,
StringRef  text 
)
inlinestatic

◆ endsWithLineBreak()

bool CodeDocumentLine::endsWithLineBreak ( ) const
inlinenoexcept

◆ updateLength()

void CodeDocumentLine::updateLength ( )
inlinenoexcept

Member Data Documentation

◆ line

String CodeDocumentLine::line

◆ lineLength

int CodeDocumentLine::lineLength

◆ lineLengthWithoutNewLines

int CodeDocumentLine::lineLengthWithoutNewLines

◆ lineStartInFile

int CodeDocumentLine::lineStartInFile

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