OpenStructure
|
#include <formatted_line.hh>
Inherits StringRef.
Public Member Functions | |
LPadded (const char *s, size_t l) | |
LPadded (const String &s) | |
LPadded (const char *s) | |
Public Member Functions inherited from StringRef | |
StringRef (const char *begin, size_t len) | |
StringRef () | |
const char * | begin () const |
const char * | end () const |
const char * | data () const |
size_t | size () const |
size_t | length () const |
char | front () const |
const_iterator | find (char p) const |
StringRef | substr (size_t pos, size_t n=std::string::npos) const |
std::string | str () const |
char | back () const |
const char & | operator[] (int index) const |
bool | operator== (const StringRef &rhs) const |
bool | operator!= (const StringRef &rhs) const |
StringRef | rtrim () const |
StringRef | ltrim () const |
StringRef | trim () const |
std::pair< bool, int > | to_int () const |
std::pair< bool, float > | to_float () const |
bool | empty () const |
std::vector< StringRef > | split (char p) const |
std::vector< StringRef > | split () const |
std::string | str_no_whitespace () const |
Additional Inherited Members | |
Public Types inherited from StringRef | |
typedef char * | iterator |
typedef const char * | const_iterator |
typedef char | value_type |
Definition at line 20 of file formatted_line.hh.
|
inline |
Definition at line 21 of file formatted_line.hh.
Definition at line 25 of file formatted_line.hh.
|
inlineexplicit |
Definition at line 28 of file formatted_line.hh.