Rosetta 3.3
|
Fstring: Fixed-Length Fortran-Compatible String. More...
#include <Fstring.hh>
Public Types | |
typedef std::size_t | size_type |
typedef void(* | initializer_function )(Fstring &) |
typedef std::size_t | Size |
typedef void(* | InitializerFunction )(Fstring &) |
Public Member Functions | |
Fstring () | |
Default Constructor. | |
Fstring (Fstring const &s) | |
Copy Constructor. | |
Fstring (std::string const &s) | |
string Constructor | |
Fstring (c_cstring const s) | |
cstring Constructor | |
Fstring (char const c) | |
char Constructor | |
Fstring (signed char const c) | |
signed char Constructor | |
Fstring (unsigned char const c) | |
unsigned char Constructor | |
Fstring (short int const len_a) | |
Length Constructor. | |
Fstring (int const len_a) | |
Length Constructor. | |
Fstring (long int const len_a) | |
Length Constructor. | |
Fstring (unsigned short int const len_a) | |
Length Constructor. | |
Fstring (unsigned int const len_a) | |
Length Constructor. | |
Fstring (unsigned long int const len_a) | |
Length Constructor. | |
Fstring (size_type const len_a, Fstring const &s) | |
Length + Fstring Constructor. | |
Fstring (size_type const len_a, std::string const &s) | |
Length + string Constructor. | |
Fstring (size_type const len_a, c_cstring const s) | |
Length + cstring Constructor. | |
Fstring (size_type const len_a, char const c) | |
Length + char Constructor. | |
Fstring (size_type const len_a, initializer_function init) | |
Length + Initializer Constructor. | |
virtual | ~Fstring () |
Destructor. | |
operator std::string () const | |
string Conversion | |
Fstring & | operator= (Fstring const &s) |
Copy Assignment. | |
Fstring & | operator= (std::string const &s) |
= string | |
Fstring & | operator= (c_cstring const s) |
= cstring | |
Fstring & | operator= (char const c) |
= char | |
char | operator[] (size_type const i) const |
Constant char: s[ i ]. | |
char & | operator[] (size_type const i) |
char: s[ i ] | |
bool | empty () const |
Empty? | |
bool | is_blank () const |
Blank? | |
bool | not_blank () const |
Not blank? | |
bool | is_whitespace () const |
Whitespace? | |
bool | not_whitespace () const |
Not whitespace? | |
bool | has (Fstring const &s) const |
Has an Fstring? | |
bool | has (std::string const &s) const |
Has a string? | |
bool | has (c_cstring const s) const |
Has a cstring? | |
bool | has (char const c) const |
Has a Character? | |
bool | has_any_of (Fstring const &s) const |
Has Any Character of an Fstring? | |
bool | has_any_of (std::string const &s) const |
Has Any Character of a string? | |
bool | has_any_of (c_cstring const s) const |
Has Any Character of a cstring? | |
bool | has_any_of (char const c) const |
Has a Character? | |
bool | has_prefix (Fstring const &s, bool const exact_case=true) const |
Has a Prefix Case-Optionally? | |
bool | has_prefix (c_cstring const s, bool const exact_case=true) const |
Has a Prefix Case-Optionally? | |
template<typename T > | |
bool | is_type () const |
Fstring is Readable as a Type Supporting Stream Input? | |
bool | is_bool () const |
Fstring is Readable as a bool? | |
bool | is_short () const |
Fstring is Readable as a short int? | |
bool | is_int () const |
Fstring is Readable as an int? | |
bool | is_long () const |
Fstring is Readable as a long int? | |
bool | is_ushort () const |
Fstring is Readable as a unsigned short int? | |
bool | is_uint () const |
Fstring is Readable as an unsigned int? | |
bool | is_ulong () const |
Fstring is Readable as a unsigned long int? | |
bool | is_float () const |
Fstring is Readable as a float? | |
bool | is_double () const |
Fstring is Readable as a double? | |
bool | is_longdouble () const |
Fstring is Readable as a long double? | |
bool | is_char () const |
Fstring is Readable as a char? | |
bool | is_string () const |
Fstring is Readable as a string? | |
size_type | size () const |
Size. | |
size_type | length () const |
Length. | |
size_type | len () const |
Length. | |
size_type | len_trim () const |
Length Space-Trimmed. | |
size_type | len_trim_whitespace () const |
Length Whitespace-Trimmed. | |
size_type | find_whitespace () const |
Find First Occurrence of a Whitespace Character. | |
size_type | find_non_whitespace () const |
Find First Occurrence of a Non-Whitespace Character. | |
size_type | find_last_whitespace () const |
Find Last Occurrence of a Whitespace Character. | |
size_type | find_last_non_whitespace () const |
Find Last Occurrence of a Non-Whitespace Character. | |
size_type | trimmed_whitespace_range (size_type &b, size_type &e) const |
Get Range of Whitespace-Trimmed Portion and Return its Length. | |
size_type | find (Fstring const &s) const |
Find First Occurrence of an Fstring. | |
size_type | find (std::string const &s) const |
Find First Occurrence of a string. | |
size_type | find (c_cstring const s) const |
Find First Occurrence of a cstring. | |
size_type | find (char const c) const |
Find First Occurrence of a Character. | |
size_type | find_last (Fstring const &s) const |
Find Last Occurrence of an Fstring. | |
size_type | find_last (std::string const &s) const |
Find Last Occurrence of a string. | |
size_type | find_last (c_cstring const s) const |
Find Last Occurrence of a cstring. | |
size_type | find_last (char const c) const |
Find Last Occurrence of a Character. | |
size_type | find_first_of (Fstring const &s) const |
Find First Occurrence of Any Character of an Fstring. | |
size_type | find_first_of (std::string const &s) const |
Find First Occurrence of Any Character of a string. | |
size_type | find_first_of (c_cstring const s) const |
Find First Occurrence of Any Character of a cstring. | |
size_type | find_first_of (char const c) const |
Find First Occurrence of a Character. | |
size_type | find_first_not_of (Fstring const &s) const |
Find First Occurrence of Any Character not of an Fstring. | |
size_type | find_first_not_of (std::string const &s) const |
Find First Occurrence of Any Character not of a string. | |
size_type | find_first_not_of (c_cstring const s) const |
Find First Occurrence of Any Character not of a cstring. | |
size_type | find_first_not_of (char const c) const |
Find First Occurrence of not a Character. | |
size_type | find_last_of (Fstring const &s) const |
Find Last Occurrence of Any Character of an Fstring. | |
size_type | find_last_of (std::string const &s) const |
Find Last Occurrence of Any Character of a string. | |
size_type | find_last_of (c_cstring const s) const |
Find Last Occurrence of Any Character of a cstring. | |
size_type | find_last_of (char const c) const |
Find Last Occurrence of a Character. | |
size_type | find_last_not_of (Fstring const &s) const |
Find Last Occurrence of Any Character not of an Fstring. | |
size_type | find_last_not_of (std::string const &s) const |
Find Last Occurrence of Any Character not of a string. | |
size_type | find_last_not_of (c_cstring const s) const |
Find Last Occurrence of Any Character not of a cstring. | |
size_type | find_last_not_of (char const c) const |
Find Last Occurrence not of a Character. | |
template<typename T > | |
T | type_of () const |
Type of an Fstring for Type Supporting Stream Input. | |
short int | short_of () const |
short int of the Fstring | |
int | int_of () const |
int of the Fstring | |
long int | long_of () const |
long int of the Fstring | |
unsigned short int | ushort_of () const |
unsigned short int of the Fstring | |
unsigned int | uint_of () const |
unsigned int of the Fstring | |
unsigned long int | ulong_of () const |
unsigned long int of the Fstring | |
float | float_of () const |
float of the Fstring | |
double | double_of () const |
double of the Fstring | |
long double | longdouble_of () const |
long double of the Fstring | |
char | char_of () const |
char of the Fstring | |
std::string | string_of () const |
string of the Fstring | |
Fstring & | lowercase () |
Lowercase. | |
Fstring & | uppercase () |
Uppercase. | |
Fstring & | left_justify () |
Left Justify. | |
Fstring & | right_justify () |
Right Justify. | |
Fstring & | center () |
Center. | |
Fstring & | compress () |
Compress Out Whitespace. | |
Fstring & | trim () |
Trim Trailing Space. | |
Fstring & | trim_whitespace () |
Trim Trailing Whitespace Replacing it with Space. | |
Fstring & | strip (std::string const &chars) |
Strip Specified Characters from an Fstring's Tails. | |
Fstring & | lstrip (std::string const &chars) |
Strip Specified Characters from an Fstring's Left Tail. | |
Fstring & | rstrip (std::string const &chars) |
Strip Specified Characters from an Fstring's Right Tail. | |
Fstring & | strip () |
Strip Space from an Fstring's Tails. | |
Fstring & | lstrip () |
Strip Space from an Fstring's Left Tail. | |
Fstring & | rstrip () |
Strip Space from an Fstring's Right Tail. | |
Fstring & | strip_whitespace () |
Strip Whitespace from an Fstring's Tails. | |
Fstring & | lstrip_whitespace () |
Strip Whitespace from an Fstring's Left Tail. | |
Fstring & | rstrip_whitespace () |
Strip Whitespace from an Fstring's Right Tail. | |
Fstring & | clear () |
Clear. | |
Fstring & | overlay (Fstring const &s, size_type const pos=1) |
Overlay an Fstring. | |
Fstring & | overlay (std::string const &s, size_type const pos=1) |
Overlay a string. | |
Fstring & | overlay (c_cstring const s, size_type const pos=1) |
Overlay a cstring. | |
Fstring | left_justified () const |
Left-Justified Copy. | |
Fstring | right_justified () const |
Right-Justified Copy. | |
Fstring | centered () const |
Centered Copy. | |
Fstring | compressed () const |
Compressed Copy. | |
Fstring | lowercased () const |
Lowercased Copy. | |
Fstring | uppercased () const |
Uppercased Copy. | |
Fstring | trimmed () const |
Trailing Space Trimmed Copy. | |
Fstring | trimmed_whitespace () const |
Trailing Whitespace Trimmed Copy. | |
Fstring | stripped (std::string const &chars) const |
Specified Characters Stripped from Tails Copy. | |
Fstring | lstripped (std::string const &chars) const |
Specified Characters Stripped from Left Tail Copy. | |
Fstring | rstripped (std::string const &chars) const |
Specified Characters Stripped from Right Tail Copy. | |
Fstring | stripped () const |
Space Stripped from Tails Copy. | |
Fstring | lstripped () const |
Space Stripped from Left Tail Copy. | |
Fstring | rstripped () const |
Space Stripped from Right Tail Copy. | |
Fstring | stripped_whitespace () const |
Whitespace Stripped from Tails Copy. | |
Fstring | lstripped_whitespace () const |
Whitespace Stripped from Left Tail Copy. | |
Fstring | rstripped_whitespace () const |
Whitespace Stripped from Right Tail Copy. | |
c_cstring | c_str () const |
Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring. | |
c_cstring | t_str () const |
Whitespace-Trimmed Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring. | |
c_cstring | data () const |
Non-Null-Terminated cstring Copy of the Fstring Data. | |
size_type | copy (cstring str, size_type const len_a, size_type const off=0) const |
Copy to a Pre-Allocated String. | |
Fsubstring const | operator() (size_type const i, size_type const j) const |
Constant Substring: s( i, j ) | |
Fsubstring | operator() (size_type const i, size_type const j) |
Substring: s( i, j ) | |
Fstring const | operator() (size_type const i) const |
Constant Tail Substring: s( i ) | |
Fsubstring | operator() (size_type const i) |
Tail Substring: s( i ) | |
Fsubstring const | head () const |
Space-Free Head Constant Substring. | |
Fsubstring | head () |
Space-Free Head Substring. | |
Fsubstring | tail () |
Space Tail Substring. | |
Fsubstring const | tail () const |
Space Tail Constant Substring. | |
Protected Member Functions | |
Fstring (Fstring const &s, size_type const i, size_type const j) | |
Substring Range Constructor. | |
Fstring (Fstring const &s, size_type const i) | |
Substring Tail Constructor. | |
Friends | |
class | Fsubstring |
Fstring | operator+ (Fstring const &s, Fstring const &t) |
Fstring + Fstring. | |
std::string | operator+ (Fstring const &s, std::string const &t) |
Fstring + string. | |
std::string | operator+ (std::string const &t, Fstring const &s) |
string + Fstring | |
Fstring | operator+ (Fstring const &s, c_cstring const t) |
Fstring + cstring. | |
Fstring | operator+ (c_cstring const s, Fstring const &t) |
cstring + Fstring | |
Fstring | operator+ (Fstring const &s, char const c) |
Fstring + char. | |
Fstring | operator+ (char const c, Fstring const &s) |
char + Fstring | |
bool | operator== (Fstring const &s, Fstring const &t) |
Fstring == Fstring. | |
bool | operator!= (Fstring const &s, Fstring const &t) |
Fstring != Fstring. | |
bool | operator== (Fstring const &s, std::string const &t) |
Fstring == string. | |
bool | operator== (std::string const &t, Fstring const &s) |
string == Fstring | |
bool | operator!= (Fstring const &s, std::string const &t) |
Fstring != string. | |
bool | operator!= (std::string const &t, Fstring const &s) |
string != Fstring | |
bool | operator== (Fstring const &s, c_cstring const t) |
Fstring == cstring. | |
bool | operator== (c_cstring const t, Fstring const &s) |
cstring == Fstring | |
bool | operator!= (Fstring const &s, c_cstring const t) |
Fstring != cstring. | |
bool | operator!= (c_cstring const t, Fstring const &s) |
cstring != Fstring | |
bool | operator== (Fstring const &s, char const c) |
Fstring == char. | |
bool | operator== (char const c, Fstring const &s) |
char == Fstring | |
bool | operator!= (Fstring const &s, char const c) |
Fstring != char. | |
bool | operator!= (char const c, Fstring const &s) |
char != Fstring | |
bool | equali (Fstring const &s, Fstring const &t) |
Fstring == Fstring Case-Insensitively? | |
bool | equali (Fstring const &s, std::string const &t) |
Fstring == string Case-Insensitively? | |
bool | equali (std::string const &s, Fstring const &t) |
string == Fstring Case-Insensitively? | |
bool | equali (Fstring const &s, char const c) |
Fstring == char Case-Insensitively? | |
bool | equali (char const c, Fstring const &s) |
char == Fstring Case-Insensitively? | |
bool | equal (Fstring const &s, Fstring const &t, bool const exact_case=true) |
Fstring == Fstring Case-Optionally? | |
bool | equal (Fstring const &s, char const c, bool const exact_case=true) |
Fstring == char Case-Optionally? | |
bool | equal (char const c, Fstring const &s, bool const exact_case=true) |
char == Fstring Case-Optionally? | |
bool | operator<= (Fstring const &s, Fstring const &t) |
Fstring <= Fstring. | |
bool | operator< (Fstring const &s, Fstring const &t) |
Fstring < Fstring. | |
bool | operator>= (Fstring const &s, Fstring const &t) |
Fstring >= Fstring. | |
bool | operator> (Fstring const &s, Fstring const &t) |
Fstring > Fstring. | |
bool | operator<= (Fstring const &s, std::string const &t) |
Fstring <= string. | |
bool | operator< (Fstring const &s, std::string const &t) |
Fstring < string. | |
bool | operator>= (Fstring const &s, std::string const &t) |
Fstring >= string. | |
bool | operator> (Fstring const &s, std::string const &t) |
Fstring > string. | |
bool | operator<= (std::string const &s, Fstring const &t) |
string <= Fstring | |
bool | operator< (std::string const &s, Fstring const &t) |
string < Fstring | |
bool | operator>= (std::string const &s, Fstring const &t) |
string >= Fstring | |
bool | operator> (std::string const &s, Fstring const &t) |
string > Fstring | |
bool | operator<= (Fstring const &s, c_cstring const t) |
Fstring <= cstring. | |
bool | operator< (Fstring const &s, c_cstring const t) |
Fstring < cstring. | |
bool | operator>= (Fstring const &s, c_cstring const t) |
Fstring >= cstring. | |
bool | operator> (Fstring const &s, c_cstring const t) |
Fstring > cstring. | |
bool | operator<= (c_cstring const s, Fstring const &t) |
cstring <= Fstring | |
bool | operator< (c_cstring const s, Fstring const &t) |
cstring < Fstring | |
bool | operator>= (c_cstring const s, Fstring const &t) |
cstring >= Fstring | |
bool | operator> (c_cstring const s, Fstring const &t) |
cstring > Fstring | |
std::istream & | operator>> (std::istream &stream, Fstring &s) |
Stream Input. | |
std::istream & | get (std::istream &stream, Fstring &s) |
Get from Stream. | |
std::istream & | getline (std::istream &stream, Fstring &s) |
Get Line from Stream. | |
std::istream & | read (std::istream &stream, Fstring &s) |
Read from Stream. | |
std::istream & | readsome (std::istream &stream, Fstring &s) |
Read Available Characters from Stream. | |
std::ostream & | operator<< (std::ostream &stream, Fstring const &s) |
Stream Output. |
Fstring: Fixed-Length Fortran-Compatible String.
typedef std::size_t ObjexxFCL::Fstring::Size |
typedef std::size_t ObjexxFCL::Fstring::size_type |
ObjexxFCL::Fstring::Fstring | ( | ) | [inline] |
Default Constructor.
Referenced by centered(), compressed(), has_prefix(), left_justified(), lowercased(), lstripped(), lstripped_whitespace(), right_justified(), rstripped(), rstripped_whitespace(), stripped(), stripped_whitespace(), trimmed(), trimmed_whitespace(), and uppercased().
ObjexxFCL::Fstring::Fstring | ( | Fstring const & | s | ) |
Copy Constructor.
ObjexxFCL::Fstring::Fstring | ( | std::string const & | s | ) |
string Constructor
ObjexxFCL::Fstring::Fstring | ( | c_cstring const | s | ) |
cstring Constructor
ObjexxFCL::Fstring::Fstring | ( | char const | c | ) | [inline, explicit] |
char Constructor
ObjexxFCL::Fstring::Fstring | ( | signed char const | c | ) | [inline, explicit] |
signed char Constructor
ObjexxFCL::Fstring::Fstring | ( | unsigned char const | c | ) | [inline, explicit] |
unsigned char Constructor
ObjexxFCL::Fstring::Fstring | ( | short int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | long int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | unsigned short int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | unsigned int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | unsigned long int const | len_a | ) | [explicit] |
Length Constructor.
References ObjexxFCL::SPACE().
Length + Fstring Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
std::string const & | s | ||
) |
Length + string Constructor.
References ObjexxFCL::SPACE().
Length + cstring Constructor.
References ObjexxFCL::SPACE().
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
char const | c | ||
) |
Length + char Constructor.
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
initializer_function | init | ||
) |
Length + Initializer Constructor.
References src::init(), and ObjexxFCL::SPACE().
virtual ObjexxFCL::Fstring::~Fstring | ( | ) | [inline, virtual] |
Destructor.
Substring Range Constructor.
Substring Tail Constructor.
c_cstring ObjexxFCL::Fstring::c_str | ( | ) | const |
Fstring & ObjexxFCL::Fstring::center | ( | ) |
Center.
References left_justify(), len_trim(), ObjexxFCL::pad(), and ObjexxFCL::SPACE().
Fstring ObjexxFCL::Fstring::centered | ( | ) | const [inline] |
char ObjexxFCL::Fstring::char_of | ( | ) | const [inline] |
char of the Fstring
Fstring& ObjexxFCL::Fstring::clear | ( | ) | [inline] |
Clear.
Referenced by lstrip(), lstrip_whitespace(), rstrip(), rstrip_whitespace(), strip(), and strip_whitespace().
Fstring & ObjexxFCL::Fstring::compress | ( | ) |
Compress Out Whitespace.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
Fstring ObjexxFCL::Fstring::compressed | ( | ) | const [inline] |
Fstring::size_type ObjexxFCL::Fstring::copy | ( | cstring | str, |
size_type const | len_a, | ||
size_type const | off = 0 |
||
) | const |
Copy to a Pre-Allocated String.
References basic::options::OptionKeys::ddg::min.
Referenced by ObjexxFCL::Fsubstring::operator=(), and operator=().
c_cstring ObjexxFCL::Fstring::data | ( | ) | const [inline] |
Non-Null-Terminated cstring Copy of the Fstring Data.
bool ObjexxFCL::Fstring::empty | ( | ) | const [inline] |
Empty?
Referenced by ObjexxFCL::operator==().
Fstring::size_type ObjexxFCL::Fstring::find | ( | Fstring const & | s | ) | const |
Find First Occurrence of an Fstring.
References color_pdb::i, and length().
Referenced by head(), and ObjexxFCL::index().
Fstring::size_type ObjexxFCL::Fstring::find | ( | std::string const & | s | ) | const |
Find First Occurrence of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find | ( | char const | c | ) | const |
Find First Occurrence of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find | ( | c_cstring const | s | ) | const |
Find First Occurrence of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_not_of | ( | std::string const & | s | ) | const |
Find First Occurrence of Any Character not of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_not_of | ( | char const | c | ) | const |
Find First Occurrence of not a Character.
Find First Occurrence not of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_not_of | ( | Fstring const & | s | ) | const |
Find First Occurrence of Any Character not of an Fstring.
References color_pdb::i.
Referenced by lstrip(), lstrip_whitespace(), lstripped(), lstripped_whitespace(), strip(), strip_whitespace(), stripped(), and stripped_whitespace().
Fstring::size_type ObjexxFCL::Fstring::find_first_not_of | ( | c_cstring const | s | ) | const |
Find First Occurrence of Any Character not of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | Fstring const & | s | ) | const |
Find First Occurrence of Any Character of an Fstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | std::string const & | s | ) | const |
Find First Occurrence of Any Character of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | c_cstring const | s | ) | const |
Find First Occurrence of Any Character of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | char const | c | ) | const |
Find First Occurrence of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | Fstring const & | s | ) | const |
Find Last Occurrence of an Fstring.
References color_pdb::i, and length().
Referenced by ObjexxFCL::last_index().
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | std::string const & | s | ) | const |
Find Last Occurrence of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | char const | c | ) | const |
Find Last Occurrence of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | c_cstring const | s | ) | const |
Find Last Occurrence of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_non_whitespace | ( | ) | const |
Find Last Occurrence of a Non-Whitespace Character.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | std::string const & | s | ) | const |
Find Last Occurrence of Any Character not of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | c_cstring const | s | ) | const |
Find Last Occurrence of Any Character not of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | char const | c | ) | const |
Find Last Occurrence not of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | Fstring const & | s | ) | const |
Find Last Occurrence of Any Character not of an Fstring.
References color_pdb::i.
Referenced by rstrip(), rstrip_whitespace(), rstripped(), rstripped_whitespace(), strip(), strip_whitespace(), stripped(), and stripped_whitespace().
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | c_cstring const | s | ) | const |
Find Last Occurrence of Any Character of a cstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | char const | c | ) | const |
Find Last Occurrence of a Character.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | Fstring const & | s | ) | const |
Find Last Occurrence of Any Character of an Fstring.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | std::string const & | s | ) | const |
Find Last Occurrence of Any Character of a string.
References color_pdb::i.
Fstring::size_type ObjexxFCL::Fstring::find_last_whitespace | ( | ) | const |
Find Last Occurrence of a Whitespace Character.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
Fstring::size_type ObjexxFCL::Fstring::find_non_whitespace | ( | ) | const |
Find First Occurrence of a Non-Whitespace Character.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
Referenced by trimmed_whitespace_range().
Fstring::size_type ObjexxFCL::Fstring::find_whitespace | ( | ) | const |
Find First Occurrence of a Whitespace Character.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
float ObjexxFCL::Fstring::float_of | ( | ) | const [inline] |
float of the Fstring
Has a cstring?
References color_pdb::i.
bool ObjexxFCL::Fstring::has | ( | char const | c | ) | const |
Has a Character?
References color_pdb::i.
Has an Fstring?
References color_pdb::i.
bool ObjexxFCL::Fstring::has | ( | std::string const & | s | ) | const |
Has a string?
References color_pdb::i.
Has Any Character of a cstring?
References color_pdb::i.
bool ObjexxFCL::Fstring::has_any_of | ( | std::string const & | s | ) | const |
Has Any Character of a string?
References color_pdb::i.
bool ObjexxFCL::Fstring::has_any_of | ( | char const | c | ) | const |
Has a Character?
References color_pdb::i.
Has a Prefix Case-Optionally?
References lowercased().
Has a Prefix Case-Optionally?
References Fstring(), lowercase(), and lowercased().
Fsubstring const ObjexxFCL::Fstring::head | ( | ) | const |
Space-Free Head Constant Substring.
References find(), Fsubstring, and ObjexxFCL::SPACE().
Fsubstring ObjexxFCL::Fstring::head | ( | ) |
Space-Free Head Substring.
References find(), Fsubstring, and ObjexxFCL::SPACE().
bool ObjexxFCL::Fstring::is_blank | ( | ) | const [inline] |
bool ObjexxFCL::Fstring::is_char | ( | ) | const [inline] |
bool ObjexxFCL::Fstring::is_type< char > | ( | ) | const [inline] |
Fstring is Readable as a Type Supporting Stream Input?
Fstring is Readable as a char Supporting Stream Input?
References test::T850_SubClassing::b, is_whitespace(), sd::t, basic::T(), and trimmed_whitespace_range().
bool ObjexxFCL::Fstring::is_whitespace | ( | ) | const [inline] |
Fstring ObjexxFCL::Fstring::left_justified | ( | ) | const [inline] |
Fstring & ObjexxFCL::Fstring::left_justify | ( | ) |
size_type ObjexxFCL::Fstring::len | ( | ) | const [inline] |
Length.
Fstring::size_type ObjexxFCL::Fstring::len_trim | ( | ) | const |
Length Space-Trimmed.
References color_pdb::i, and ObjexxFCL::SPACE().
Referenced by center(), is_blank(), ObjexxFCL::len_trim(), not_blank(), tail(), and trimmed().
Fstring::size_type ObjexxFCL::Fstring::len_trim_whitespace | ( | ) | const |
Length Whitespace-Trimmed.
References color_pdb::i, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), and ObjexxFCL::TAB().
Referenced by is_whitespace(), not_whitespace(), t_str(), trim_whitespace(), trimmed_whitespace(), and trimmed_whitespace_range().
size_type ObjexxFCL::Fstring::length | ( | ) | const [inline] |
Length.
Referenced by ObjexxFCL::fmt::A(), ObjexxFCL::fmt::bite(), ObjexxFCL::date(), find(), find_last(), ObjexxFCL::IACHAR(), ObjexxFCL::ICHAR(), and ObjexxFCL::len().
Fstring & ObjexxFCL::Fstring::lowercase | ( | ) |
Lowercase.
References color_pdb::i.
Referenced by has_prefix(), ObjexxFCL::lowercase(), ObjexxFCL::str_dn(), and ObjexxFCL::str_dncase().
Fstring ObjexxFCL::Fstring::lowercased | ( | ) | const [inline] |
Lowercased Copy.
References Fstring().
Referenced by ObjexxFCL::dncase(), ObjexxFCL::equal(), ObjexxFCL::equali(), has_prefix(), and ObjexxFCL::lowercased().
Fstring & ObjexxFCL::Fstring::lstrip | ( | std::string const & | chars | ) |
Strip Specified Characters from an Fstring's Left Tail.
Strip Specified Characters from the Left Tail.
References clear(), find_first_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::lstrip | ( | ) |
Strip Space from an Fstring's Left Tail.
Strip Space from the Left Tail.
References clear(), find_first_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::lstrip_whitespace | ( | ) |
Strip Whitespace from an Fstring's Left Tail.
Strip Whitespace from the Left Tail.
References clear(), find_first_not_of(), ObjexxFCL::SPACE(), and ObjexxFCL::WHITESPACE().
Fstring ObjexxFCL::Fstring::lstripped | ( | std::string const & | chars | ) | const [inline] |
Specified Characters Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::lstripped | ( | ) | const [inline] |
Space Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::lstripped_whitespace | ( | ) | const [inline] |
Whitespace Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
bool ObjexxFCL::Fstring::not_blank | ( | ) | const [inline] |
bool ObjexxFCL::Fstring::not_whitespace | ( | ) | const [inline] |
Not whitespace?
References len_trim_whitespace().
ObjexxFCL::Fstring::operator std::string | ( | ) | const [inline] |
string Conversion
Constant Tail Substring: s( i )
References Fsubstring.
Fsubstring ObjexxFCL::Fstring::operator() | ( | size_type const | i | ) |
Tail Substring: s( i )
References Fsubstring.
Fsubstring const ObjexxFCL::Fstring::operator() | ( | size_type const | i, |
size_type const | j | ||
) | const |
Constant Substring: s( i, j )
References Fsubstring.
Fsubstring ObjexxFCL::Fstring::operator() | ( | size_type const | i, |
size_type const | j | ||
) |
Substring: s( i, j )
References Fsubstring.
Fstring & ObjexxFCL::Fstring::operator= | ( | std::string const & | s | ) |
Fstring & ObjexxFCL::Fstring::operator= | ( | char const | c | ) |
char ObjexxFCL::Fstring::operator[] | ( | size_type const | i | ) | const [inline] |
Constant char: s[ i ].
char& ObjexxFCL::Fstring::operator[] | ( | size_type const | i | ) | [inline] |
char: s[ i ]
Overlay an Fstring.
References ObjexxFCL::min(), and make_symmdef_file_denovo::pos.
Overlay a string.
References ObjexxFCL::min(), and make_symmdef_file_denovo::pos.
Overlay a cstring.
References ObjexxFCL::min(), and make_symmdef_file_denovo::pos.
Fstring ObjexxFCL::Fstring::right_justified | ( | ) | const [inline] |
Fstring & ObjexxFCL::Fstring::right_justify | ( | ) |
Right Justify.
References color_pdb::i, and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::rstrip | ( | std::string const & | chars | ) |
Strip Specified Characters from an Fstring's Right Tail.
Strip Specified Characters from the Right Tail.
References clear(), find_last_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::rstrip | ( | ) |
Strip Space from an Fstring's Right Tail.
Strip Space from the Right Tail.
References clear(), find_last_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::rstrip_whitespace | ( | ) |
Strip Whitespace from an Fstring's Right Tail.
Strip Whitespace from the Right Tail.
References clear(), find_last_not_of(), ObjexxFCL::SPACE(), and ObjexxFCL::WHITESPACE().
Fstring ObjexxFCL::Fstring::rstripped | ( | std::string const & | chars | ) | const [inline] |
Specified Characters Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::rstripped | ( | ) | const [inline] |
Space Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::rstripped_whitespace | ( | ) | const [inline] |
Whitespace Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
std::string ObjexxFCL::Fstring::string_of | ( | ) | const [inline] |
string of the Fstring
Fstring & ObjexxFCL::Fstring::strip | ( | ) |
Strip Space from an Fstring's Tails.
Strip Space from the Tails.
References clear(), find_first_not_of(), find_last_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::strip | ( | std::string const & | chars | ) |
Strip Specified Characters from an Fstring's Tails.
Strip Specified Characters from the Tails.
References clear(), find_first_not_of(), find_last_not_of(), and ObjexxFCL::SPACE().
Fstring & ObjexxFCL::Fstring::strip_whitespace | ( | ) |
Strip Whitespace from an Fstring's Tails.
Strip Whitespace from the Tails.
References clear(), find_first_not_of(), find_last_not_of(), ObjexxFCL::SPACE(), and ObjexxFCL::WHITESPACE().
Fstring ObjexxFCL::Fstring::stripped | ( | std::string const & | chars | ) | const [inline] |
Specified Characters Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::stripped | ( | ) | const [inline] |
Space Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
Fstring ObjexxFCL::Fstring::stripped_whitespace | ( | ) | const [inline] |
Whitespace Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
c_cstring ObjexxFCL::Fstring::t_str | ( | ) | const |
Whitespace-Trimmed Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring.
References len_trim_whitespace().
Fsubstring ObjexxFCL::Fstring::tail | ( | ) |
Space Tail Substring.
References Fsubstring, and len_trim().
Fsubstring const ObjexxFCL::Fstring::tail | ( | ) | const |
Space Tail Constant Substring.
References Fsubstring, and len_trim().
Fstring& ObjexxFCL::Fstring::trim | ( | ) | [inline] |
Trim Trailing Space.
Fstring & ObjexxFCL::Fstring::trim_whitespace | ( | ) |
Trim Trailing Whitespace Replacing it with Space.
References len_trim_whitespace(), and ObjexxFCL::SPACE().
Fstring ObjexxFCL::Fstring::trimmed | ( | ) | const [inline] |
Trailing Space Trimmed Copy.
References Fstring(), and len_trim().
Referenced by ObjexxFCL::trimmed().
Fstring ObjexxFCL::Fstring::trimmed_whitespace | ( | ) | const [inline] |
Trailing Whitespace Trimmed Copy.
References Fstring(), and len_trim_whitespace().
Referenced by ObjexxFCL::is_type(), and ObjexxFCL::type_of().
Fstring::size_type ObjexxFCL::Fstring::trimmed_whitespace_range | ( | size_type & | b, |
size_type & | e | ||
) | const |
Get Range of Whitespace-Trimmed Portion and Return its Length.
References find_non_whitespace(), len_trim_whitespace(), and ObjexxFCL::max().
char ObjexxFCL::Fstring::type_of< char > | ( | ) | const [inline] |
Type of an Fstring for Type Supporting Stream Input.
char of an Fstring
References test::T850_SubClassing::b, sd::t, basic::T(), and trimmed_whitespace_range().
Fstring & ObjexxFCL::Fstring::uppercase | ( | ) |
Uppercase.
References color_pdb::i.
Referenced by ObjexxFCL::str_up(), ObjexxFCL::str_upcase(), and ObjexxFCL::uppercase().
Fstring ObjexxFCL::Fstring::uppercased | ( | ) | const [inline] |
Uppercased Copy.
References Fstring().
Referenced by ObjexxFCL::upcase(), and ObjexxFCL::uppercased().
unsigned short int ObjexxFCL::Fstring::ushort_of | ( | ) | const [inline] |
unsigned short int of the Fstring
Fstring == char Case-Optionally?
char == Fstring Case-Optionally?
string == Fstring Case-Insensitively?
Fstring == string Case-Insensitively?
friend class Fsubstring [friend] |
Referenced by head(), operator()(), and tail().
std::istream& get | ( | std::istream & | stream, |
Fstring & | s | ||
) | [friend] |
Get from Stream.
std::istream& getline | ( | std::istream & | stream, |
Fstring & | s | ||
) | [friend] |
Get Line from Stream.
std::ostream& operator<< | ( | std::ostream & | stream, |
Fstring const & | s | ||
) | [friend] |
Stream Output.
std::istream& operator>> | ( | std::istream & | stream, |
Fstring & | s | ||
) | [friend] |
Stream Input.
std::istream& read | ( | std::istream & | stream, |
Fstring & | s | ||
) | [friend] |
Read from Stream.
std::istream& readsome | ( | std::istream & | stream, |
Fstring & | s | ||
) | [friend] |
Read Available Characters from Stream.