Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
clara::TextFlow Namespace Reference

Classes

class  Column
 
class  Columns
 
class  Spacer
 

Functions

auto isWhitespace (char c) -> bool
 
auto isBreakableBefore (char c) -> bool
 
auto isBreakableAfter (char c) -> bool
 

Function Documentation

◆ isBreakableAfter()

auto clara::TextFlow::isBreakableAfter ( char c) -> bool
inline

Definition at line 65 of file clara.hpp.

65 {
66 static std::string chars = "])}>.,:;*+-=&/\\";
67 return chars.find( c ) != std::string::npos;
68 }

◆ isBreakableBefore()

auto clara::TextFlow::isBreakableBefore ( char c) -> bool
inline

Definition at line 61 of file clara.hpp.

61 {
62 static std::string chars = "[({<|";
63 return chars.find( c ) != std::string::npos;
64 }

◆ isWhitespace()

auto clara::TextFlow::isWhitespace ( char c) -> bool
inline

Definition at line 57 of file clara.hpp.

57 {
58 static std::string chars = " \t\n\r";
59 return chars.find( c ) != std::string::npos;
60 }
Here is the caller graph for this function: