OpenStructure
Public Member Functions
FormattedLine Class Reference

#include <formatted_line.hh>

Public Member Functions

 FormattedLine (size_t width)
 
void Clear ()
 
 ~FormattedLine ()
 
LineSlice operator() (int start, int len)
 
const char * Data () const
 
size_t GetWidth () const
 
char operator[] (size_t index) const
 
char & operator[] (size_t index)
 

Detailed Description

Definition at line 187 of file formatted_line.hh.

Constructor & Destructor Documentation

◆ FormattedLine()

FormattedLine ( size_t  width)
inline

Definition at line 189 of file formatted_line.hh.

◆ ~FormattedLine()

~FormattedLine ( )
inline

Definition at line 199 of file formatted_line.hh.

Member Function Documentation

◆ Clear()

void Clear ( )
inline

Definition at line 195 of file formatted_line.hh.

◆ Data()

const char* Data ( ) const
inline

Definition at line 207 of file formatted_line.hh.

◆ GetWidth()

size_t GetWidth ( ) const
inline

Definition at line 209 of file formatted_line.hh.

◆ operator()()

LineSlice operator() ( int  start,
int  len 
)
inline

Definition at line 201 of file formatted_line.hh.

◆ operator[]() [1/2]

char& operator[] ( size_t  index)
inline

Definition at line 217 of file formatted_line.hh.

◆ operator[]() [2/2]

char operator[] ( size_t  index) const
inline

Definition at line 211 of file formatted_line.hh.


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