OpenStructure
Public Member Functions
RPadded Struct Reference

#include <formatted_line.hh>

Inherits StringRef.

Public Member Functions

 RPadded (const char *s, size_t l)
 RPadded (const String &s)
 RPadded (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< StringRefsplit (char p) const

Additional Inherited Members

- Public Types inherited from StringRef
typedef char * iterator
typedef const char * const_iterator
typedef char value_type

Detailed Description

Definition at line 32 of file formatted_line.hh.


Constructor & Destructor Documentation

RPadded ( const char *  s,
size_t  l 
)
inline

Definition at line 33 of file formatted_line.hh.

RPadded ( const String s)
inlineexplicit

Definition at line 37 of file formatted_line.hh.

RPadded ( const char *  s)
inlineexplicit

Definition at line 40 of file formatted_line.hh.


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