Rosetta
|
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. More... | |
Fstring (Fstring const &s) | |
Copy Constructor. More... | |
Fstring (std::string const &s) | |
string Constructor More... | |
Fstring (c_cstring const s) | |
cstring Constructor More... | |
Fstring (char const c) | |
char Constructor More... | |
Fstring (signed char const c) | |
signed char Constructor More... | |
Fstring (unsigned char const c) | |
unsigned char Constructor More... | |
Fstring (short int const len_a) | |
Length Constructor. More... | |
Fstring (int const len_a) | |
Length Constructor. More... | |
Fstring (long int const len_a) | |
Length Constructor. More... | |
Fstring (unsigned short int const len_a) | |
Length Constructor. More... | |
Fstring (unsigned int const len_a) | |
Length Constructor. More... | |
Fstring (unsigned long int const len_a) | |
Length Constructor. More... | |
Fstring (unsigned long long const len_a) | |
Length Constructor. More... | |
Fstring (size_type const len_a, Fstring const &s) | |
Length + Fstring Constructor. More... | |
Fstring (size_type const len_a, std::string const &s) | |
Length + string Constructor. More... | |
Fstring (size_type const len_a, c_cstring const s) | |
Length + cstring Constructor. More... | |
Fstring (size_type const len_a, char const c) | |
Length + char Constructor. More... | |
Fstring (size_type const len_a, initializer_function init) | |
Length + Initializer Constructor. More... | |
virtual | ~Fstring () |
Destructor. More... | |
operator std::string () const | |
string Conversion More... | |
Fstring & | operator= (Fstring const &s) |
Copy Assignment. More... | |
Fstring & | operator= (std::string const &s) |
= string More... | |
Fstring & | operator= (c_cstring const s) |
= cstring More... | |
Fstring & | operator= (char const c) |
= char More... | |
char | operator[] (size_type const i) const |
Constant char: s[ i ]. More... | |
char & | operator[] (size_type const i) |
char: s[ i ] More... | |
bool | empty () const |
Empty? More... | |
bool | is_blank () const |
Blank? More... | |
bool | not_blank () const |
Not blank? More... | |
bool | is_whitespace () const |
Whitespace? More... | |
bool | not_whitespace () const |
Not whitespace? More... | |
bool | has (Fstring const &s) const |
Has an Fstring? More... | |
bool | has (std::string const &s) const |
Has a string? More... | |
bool | has (c_cstring const s) const |
Has a cstring? More... | |
bool | has (char const c) const |
Has a Character? More... | |
bool | has_any_of (Fstring const &s) const |
Has Any Character of an Fstring? More... | |
bool | has_any_of (std::string const &s) const |
Has Any Character of a string? More... | |
bool | has_any_of (c_cstring const s) const |
Has Any Character of a cstring? More... | |
bool | has_any_of (char const c) const |
Has a Character? More... | |
bool | has_prefix (Fstring const &s, bool const exact_case=true) const |
Has a Prefix Case-Optionally? More... | |
bool | has_prefix (c_cstring const s, bool const exact_case=true) const |
Has a Prefix Case-Optionally? More... | |
template<typename T > | |
bool | is_type () const |
Fstring is Readable as a Type Supporting Stream Input? More... | |
bool | is_bool () const |
Fstring is Readable as a bool? More... | |
bool | is_short () const |
Fstring is Readable as a short int? More... | |
bool | is_int () const |
Fstring is Readable as an int? More... | |
bool | is_long () const |
Fstring is Readable as a long int? More... | |
bool | is_ushort () const |
Fstring is Readable as a unsigned short int? More... | |
bool | is_uint () const |
Fstring is Readable as an unsigned int? More... | |
bool | is_ulong () const |
Fstring is Readable as a unsigned long int? More... | |
bool | is_float () const |
Fstring is Readable as a float? More... | |
bool | is_double () const |
Fstring is Readable as a double? More... | |
bool | is_longdouble () const |
Fstring is Readable as a long double? More... | |
bool | is_char () const |
Fstring is Readable as a char? More... | |
bool | is_string () const |
Fstring is Readable as a string? More... | |
size_type | size () const |
Size. More... | |
size_type | length () const |
Length. More... | |
size_type | len () const |
Length. More... | |
size_type | len_trim () const |
Length Space-Trimmed. More... | |
size_type | len_trim_whitespace () const |
Length Whitespace-Trimmed. More... | |
size_type | find_whitespace () const |
Find First Occurrence of a Whitespace Character. More... | |
size_type | find_non_whitespace () const |
Find First Occurrence of a Non-Whitespace Character. More... | |
size_type | find_last_whitespace () const |
Find Last Occurrence of a Whitespace Character. More... | |
size_type | find_last_non_whitespace () const |
Find Last Occurrence of a Non-Whitespace Character. More... | |
size_type | trimmed_whitespace_range (size_type &b, size_type &e) const |
Get Range of Whitespace-Trimmed Portion and Return its Length. More... | |
size_type | find (Fstring const &s) const |
Find First Occurrence of an Fstring. More... | |
size_type | find (std::string const &s) const |
Find First Occurrence of a string. More... | |
size_type | find (c_cstring const s) const |
Find First Occurrence of a cstring. More... | |
size_type | find (char const c) const |
Find First Occurrence of a Character. More... | |
size_type | find_last (Fstring const &s) const |
Find Last Occurrence of an Fstring. More... | |
size_type | find_last (std::string const &s) const |
Find Last Occurrence of a string. More... | |
size_type | find_last (c_cstring const s) const |
Find Last Occurrence of a cstring. More... | |
size_type | find_last (char const c) const |
Find Last Occurrence of a Character. More... | |
size_type | find_first_of (Fstring const &s) const |
Find First Occurrence of Any Character of an Fstring. More... | |
size_type | find_first_of (std::string const &s) const |
Find First Occurrence of Any Character of a string. More... | |
size_type | find_first_of (c_cstring const s) const |
Find First Occurrence of Any Character of a cstring. More... | |
size_type | find_first_of (char const c) const |
Find First Occurrence of a Character. More... | |
size_type | find_first_not_of (Fstring const &s) const |
Find First Occurrence of Any Character not of an Fstring. More... | |
size_type | find_first_not_of (std::string const &s) const |
Find First Occurrence of Any Character not of a string. More... | |
size_type | find_first_not_of (c_cstring const s) const |
Find First Occurrence of Any Character not of a cstring. More... | |
size_type | find_first_not_of (char const c) const |
Find First Occurrence of not a Character. More... | |
size_type | find_last_of (Fstring const &s) const |
Find Last Occurrence of Any Character of an Fstring. More... | |
size_type | find_last_of (std::string const &s) const |
Find Last Occurrence of Any Character of a string. More... | |
size_type | find_last_of (c_cstring const s) const |
Find Last Occurrence of Any Character of a cstring. More... | |
size_type | find_last_of (char const c) const |
Find Last Occurrence of a Character. More... | |
size_type | find_last_not_of (Fstring const &s) const |
Find Last Occurrence of Any Character not of an Fstring. More... | |
size_type | find_last_not_of (std::string const &s) const |
Find Last Occurrence of Any Character not of a string. More... | |
size_type | find_last_not_of (c_cstring const s) const |
Find Last Occurrence of Any Character not of a cstring. More... | |
size_type | find_last_not_of (char const c) const |
Find Last Occurrence not of a Character. More... | |
template<typename T > | |
T | type_of () const |
Type of an Fstring for Type Supporting Stream Input. More... | |
short int | short_of () const |
short int of the Fstring More... | |
int | int_of () const |
int of the Fstring More... | |
long int | long_of () const |
long int of the Fstring More... | |
unsigned short int | ushort_of () const |
unsigned short int of the Fstring More... | |
unsigned int | uint_of () const |
unsigned int of the Fstring More... | |
unsigned long int | ulong_of () const |
unsigned long int of the Fstring More... | |
float | float_of () const |
float of the Fstring More... | |
double | double_of () const |
double of the Fstring More... | |
long double | longdouble_of () const |
long double of the Fstring More... | |
char | char_of () const |
char of the Fstring More... | |
std::string | string_of () const |
string of the Fstring More... | |
Fstring & | lowercase () |
Lowercase. More... | |
Fstring & | uppercase () |
Uppercase. More... | |
Fstring & | left_justify () |
Left Justify. More... | |
Fstring & | right_justify () |
Right Justify. More... | |
Fstring & | center () |
Center. More... | |
Fstring & | compress () |
Compress Out Whitespace. More... | |
Fstring & | trim () |
Trim Trailing Space. More... | |
Fstring & | trim_whitespace () |
Trim Trailing Whitespace Replacing it with Space. More... | |
Fstring & | strip (std::string const &chars) |
Strip Specified Characters from an Fstring's Tails. More... | |
Fstring & | lstrip (std::string const &chars) |
Strip Specified Characters from an Fstring's Left Tail. More... | |
Fstring & | rstrip (std::string const &chars) |
Strip Specified Characters from an Fstring's Right Tail. More... | |
Fstring & | strip () |
Strip Space from an Fstring's Tails. More... | |
Fstring & | lstrip () |
Strip Space from an Fstring's Left Tail. More... | |
Fstring & | rstrip () |
Strip Space from an Fstring's Right Tail. More... | |
Fstring & | strip_whitespace () |
Strip Whitespace from an Fstring's Tails. More... | |
Fstring & | lstrip_whitespace () |
Strip Whitespace from an Fstring's Left Tail. More... | |
Fstring & | rstrip_whitespace () |
Strip Whitespace from an Fstring's Right Tail. More... | |
Fstring & | clear () |
Clear. More... | |
Fstring & | overlay (Fstring const &s, size_type const pos=1) |
Overlay an Fstring. More... | |
Fstring & | overlay (std::string const &s, size_type const pos=1) |
Overlay a string. More... | |
Fstring & | overlay (c_cstring const s, size_type const pos=1) |
Overlay a cstring. More... | |
Fstring | left_justified () const |
Left-Justified Copy. More... | |
Fstring | right_justified () const |
Right-Justified Copy. More... | |
Fstring | centered () const |
Centered Copy. More... | |
Fstring | compressed () const |
Compressed Copy. More... | |
Fstring | lowercased () const |
Lowercased Copy. More... | |
Fstring | uppercased () const |
Uppercased Copy. More... | |
Fstring | trimmed () const |
Trailing Space Trimmed Copy. More... | |
Fstring | trimmed_whitespace () const |
Trailing Whitespace Trimmed Copy. More... | |
Fstring | stripped (std::string const &chars) const |
Specified Characters Stripped from Tails Copy. More... | |
Fstring | lstripped (std::string const &chars) const |
Specified Characters Stripped from Left Tail Copy. More... | |
Fstring | rstripped (std::string const &chars) const |
Specified Characters Stripped from Right Tail Copy. More... | |
Fstring | stripped () const |
Space Stripped from Tails Copy. More... | |
Fstring | lstripped () const |
Space Stripped from Left Tail Copy. More... | |
Fstring | rstripped () const |
Space Stripped from Right Tail Copy. More... | |
Fstring | stripped_whitespace () const |
Whitespace Stripped from Tails Copy. More... | |
Fstring | lstripped_whitespace () const |
Whitespace Stripped from Left Tail Copy. More... | |
Fstring | rstripped_whitespace () const |
Whitespace Stripped from Right Tail Copy. More... | |
c_cstring | c_str () const |
Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring. More... | |
c_cstring | t_str () const |
Whitespace-Trimmed Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring. More... | |
c_cstring | data () const |
Non-Null-Terminated cstring Copy of the Fstring Data. More... | |
size_type | copy (cstring str, size_type const len_a, size_type const off=0) const |
Copy to a Pre-Allocated String. More... | |
bool | equal (Fstring const &s, Fstring const &t, bool const exact_case=true) |
Fstring == Fstring Case-Optionally? More... | |
bool | equal (Fstring const &s, char const c, bool const exact_case=true) |
Fstring == char Case-Optionally? More... | |
bool | equal (char const c, Fstring const &s, bool const exact_case=true) |
char == Fstring Case-Optionally? More... | |
Fsubstring const | operator() (size_type const i, size_type const j) const |
Constant Substring: s( i, j ) More... | |
Fsubstring | operator() (size_type const i, size_type const j) |
Substring: s( i, j ) More... | |
Fstring const | operator() (size_type const i) const |
Constant Tail Substring: s( i ) More... | |
Fsubstring | operator() (size_type const i) |
Tail Substring: s( i ) More... | |
Fsubstring const | head () const |
Space-Free Head Constant Substring. More... | |
Fsubstring | head () |
Space-Free Head Substring. More... | |
Fsubstring | tail () |
Space Tail Substring. More... | |
Fsubstring const | tail () const |
Space Tail Constant Substring. More... | |
template<> | |
bool | is_type () const |
Fstring is Readable as a char Supporting Stream Input? More... | |
template<> | |
char | type_of () const |
char of an Fstring More... | |
Protected Member Functions | |
Fstring (Fstring const &s, size_type const i, size_type const j) | |
Substring Range Constructor. More... | |
Fstring (Fstring const &s, size_type const i) | |
Substring Tail Constructor. More... | |
Private Attributes | |
size_type | len_ |
Length. More... | |
char * | str_ |
String. More... | |
char * | c_str_ |
cstring More... | |
bool const | sub_ |
Substring flag. More... | |
Friends | |
class | Fsubstring |
Fstring | operator+ (Fstring const &s, Fstring const &t) |
Fstring + Fstring. More... | |
std::string | operator+ (Fstring const &s, std::string const &t) |
Fstring + string. More... | |
std::string | operator+ (std::string const &t, Fstring const &s) |
string + Fstring More... | |
Fstring | operator+ (Fstring const &s, c_cstring const t) |
Fstring + cstring. More... | |
Fstring | operator+ (c_cstring const s, Fstring const &t) |
cstring + Fstring More... | |
Fstring | operator+ (Fstring const &s, char const c) |
Fstring + char. More... | |
Fstring | operator+ (char const c, Fstring const &s) |
char + Fstring More... | |
bool | operator== (Fstring const &s, Fstring const &t) |
Fstring == Fstring. More... | |
bool | operator!= (Fstring const &s, Fstring const &t) |
Fstring != Fstring. More... | |
bool | operator== (Fstring const &s, std::string const &t) |
Fstring == string. More... | |
bool | operator== (std::string const &t, Fstring const &s) |
string == Fstring More... | |
bool | operator!= (Fstring const &s, std::string const &t) |
Fstring != string. More... | |
bool | operator!= (std::string const &t, Fstring const &s) |
string != Fstring More... | |
bool | operator== (Fstring const &s, c_cstring const t) |
Fstring == cstring. More... | |
bool | operator== (c_cstring const t, Fstring const &s) |
cstring == Fstring More... | |
bool | operator!= (Fstring const &s, c_cstring const t) |
Fstring != cstring. More... | |
bool | operator!= (c_cstring const t, Fstring const &s) |
cstring != Fstring More... | |
bool | operator== (Fstring const &s, char const c) |
Fstring == char. More... | |
bool | operator== (char const c, Fstring const &s) |
char == Fstring More... | |
bool | operator!= (Fstring const &s, char const c) |
Fstring != char. More... | |
bool | operator!= (char const c, Fstring const &s) |
char != Fstring More... | |
bool | equali (Fstring const &s, Fstring const &t) |
Fstring == Fstring Case-Insensitively? More... | |
bool | equali (Fstring const &s, std::string const &t) |
Fstring == string Case-Insensitively? More... | |
bool | equali (std::string const &s, Fstring const &t) |
string == Fstring Case-Insensitively? More... | |
bool | equali (Fstring const &s, char const c) |
Fstring == char Case-Insensitively? More... | |
bool | equali (char const c, Fstring const &s) |
char == Fstring Case-Insensitively? More... | |
bool | operator<= (Fstring const &s, Fstring const &t) |
Fstring <= Fstring. More... | |
bool | operator< (Fstring const &s, Fstring const &t) |
Fstring < Fstring. More... | |
bool | operator>= (Fstring const &s, Fstring const &t) |
Fstring >= Fstring. More... | |
bool | operator> (Fstring const &s, Fstring const &t) |
Fstring > Fstring. More... | |
bool | operator<= (Fstring const &s, std::string const &t) |
Fstring <= string. More... | |
bool | operator< (Fstring const &s, std::string const &t) |
Fstring < string. More... | |
bool | operator>= (Fstring const &s, std::string const &t) |
Fstring >= string. More... | |
bool | operator> (Fstring const &s, std::string const &t) |
Fstring > string. More... | |
bool | operator<= (std::string const &s, Fstring const &t) |
string <= Fstring More... | |
bool | operator< (std::string const &s, Fstring const &t) |
string < Fstring More... | |
bool | operator>= (std::string const &s, Fstring const &t) |
string >= Fstring More... | |
bool | operator> (std::string const &s, Fstring const &t) |
string > Fstring More... | |
bool | operator<= (Fstring const &s, c_cstring const t) |
Fstring <= cstring. More... | |
bool | operator< (Fstring const &s, c_cstring const t) |
Fstring < cstring. More... | |
bool | operator>= (Fstring const &s, c_cstring const t) |
Fstring >= cstring. More... | |
bool | operator> (Fstring const &s, c_cstring const t) |
Fstring > cstring. More... | |
bool | operator<= (c_cstring const s, Fstring const &t) |
cstring <= Fstring More... | |
bool | operator< (c_cstring const s, Fstring const &t) |
cstring < Fstring More... | |
bool | operator>= (c_cstring const s, Fstring const &t) |
cstring >= Fstring More... | |
bool | operator> (c_cstring const s, Fstring const &t) |
cstring > Fstring More... | |
std::istream & | operator>> (std::istream &stream, Fstring &s) |
Stream Input. More... | |
std::istream & | get (std::istream &stream, Fstring &s) |
Get from Stream. More... | |
std::istream & | getline (std::istream &stream, Fstring &s) |
Get Line from Stream. More... | |
std::istream & | read (std::istream &stream, Fstring &s) |
Read from Stream. More... | |
std::istream & | readsome (std::istream &stream, Fstring &s) |
Read Available Characters from Stream. More... | |
std::ostream & | operator<< (std::ostream &stream, Fstring const &s) |
Stream Output. More... | |
Fstring: Fixed-Length Fortran-Compatible String.
typedef void(* ObjexxFCL::Fstring::initializer_function) (Fstring &) |
typedef void(* ObjexxFCL::Fstring::InitializerFunction) (Fstring &) |
typedef std::size_t ObjexxFCL::Fstring::Size |
typedef std::size_t ObjexxFCL::Fstring::size_type |
|
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.
References len_, docking::s, and str_.
ObjexxFCL::Fstring::Fstring | ( | std::string const & | s | ) |
string Constructor
References len_, docking::s, and str_.
ObjexxFCL::Fstring::Fstring | ( | c_cstring const | s | ) |
cstring Constructor
References len_, docking::s, and str_.
|
inlineexplicit |
char Constructor
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and str_.
|
inlineexplicit |
signed char Constructor
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and str_.
|
inlineexplicit |
unsigned char Constructor
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
|
explicit |
Length Constructor.
References len_, ObjexxFCL::SPACE(), and str_.
Length + Fstring Constructor.
References len_, docking::s, ObjexxFCL::SPACE(), and str_.
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
std::string const & | s | ||
) |
Length + string Constructor.
References len_, docking::s, ObjexxFCL::SPACE(), and str_.
Length + cstring Constructor.
References len_, docking::s, ObjexxFCL::SPACE(), and str_.
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
char const | c | ||
) |
Length + char Constructor.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, len_, and str_.
ObjexxFCL::Fstring::Fstring | ( | size_type const | len_a, |
initializer_function | init | ||
) |
Length + Initializer Constructor.
References basic::init(), len_, ObjexxFCL::SPACE(), and str_.
|
inlinevirtual |
Substring Range Constructor.
References create_a3b_hbs::i.
Substring Tail Constructor.
References create_a3b_hbs::i.
c_cstring ObjexxFCL::Fstring::c_str | ( | ) | const |
Fstring & ObjexxFCL::Fstring::center | ( | ) |
Center.
References left_justify(), len_, len_trim(), ObjexxFCL::pad(), ObjexxFCL::SPACE(), and str_.
|
inline |
Clear.
Referenced by pyrosetta.bindings.pose.ResidueLabelAccessor::discard(), lstrip(), lstrip_whitespace(), rstrip(), rstrip_whitespace(), strip(), and strip_whitespace().
Fstring & ObjexxFCL::Fstring::compress | ( | ) |
Compress Out Whitespace.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, create_a3b_hbs::j, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
Referenced by pyrosetta.toolbox.py_jobdistributor.PyJobDistributor::output_decoy(), and pyrosetta.toolbox.py_jobdistributor.PyJobDistributor::start_decoy().
|
inline |
Compressed Copy.
References Fstring().
Referenced by pyrosetta.distributed.cluster.io.IO::_save_results().
Fstring::size_type ObjexxFCL::Fstring::copy | ( | cstring | str, |
size_type const | len_a, | ||
size_type const | off = 0 |
||
) | const |
|
inline |
|
inline |
Empty?
References len_.
|
inline |
char == Fstring Case-Optionally?
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and docking::s.
|
inline |
Fstring == char Case-Optionally?
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and docking::s.
|
inline |
Fstring == Fstring Case-Optionally?
References docking::s, and predPRE::t.
Fstring::size_type ObjexxFCL::Fstring::find | ( | c_cstring const | s | ) | const |
Find First Occurrence of a cstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, len_, and docking::s.
Fstring::size_type ObjexxFCL::Fstring::find | ( | char const | c | ) | const |
Find First Occurrence of a Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find | ( | Fstring const & | s | ) | const |
Find First Occurrence of an Fstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, len_, and docking::s.
Referenced by head().
Fstring::size_type ObjexxFCL::Fstring::find | ( | std::string const & | s | ) | const |
Find First Occurrence of a string.
References test.T009_Exceptions::e, create_a3b_hbs::i, len_, and docking::s.
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 create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
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 kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_first_not_of | ( | Fstring const & | s | ) | const |
Find First Occurrence of Any Character not of an Fstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Referenced by lstrip(), lstrip_whitespace(), lstripped(), lstripped_whitespace(), strip(), strip_whitespace(), stripped(), and stripped_whitespace().
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 create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | c_cstring const | s | ) | const |
Find First Occurrence of Any Character of a cstring.
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | char const | c | ) | const |
Find First Occurrence of a Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | Fstring const & | s | ) | const |
Find First Occurrence of Any Character of an Fstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_first_of | ( | std::string const & | s | ) | const |
Find First Occurrence of Any Character of a string.
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | c_cstring const | s | ) | const |
Find Last Occurrence of a cstring.
References create_a3b_hbs::i, len_, and docking::s.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | char const | c | ) | const |
Find Last Occurrence of a Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | Fstring const & | s | ) | const |
Find Last Occurrence of an Fstring.
References create_a3b_hbs::i, len_, and docking::s.
Fstring::size_type ObjexxFCL::Fstring::find_last | ( | std::string const & | s | ) | const |
Find Last Occurrence of a string.
References create_a3b_hbs::i, len_, and docking::s.
Fstring::size_type ObjexxFCL::Fstring::find_last_non_whitespace | ( | ) | const |
Find Last Occurrence of a Non-Whitespace Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
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 create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | char const | c | ) | const |
Find Last Occurrence not of a Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_not_of | ( | Fstring const & | s | ) | const |
Find Last Occurrence of Any Character not of an Fstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Referenced by rstrip(), rstrip_whitespace(), rstripped(), rstripped_whitespace(), strip(), strip_whitespace(), stripped(), and stripped_whitespace().
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 create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | c_cstring const | s | ) | const |
Find Last Occurrence of Any Character of a cstring.
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | char const | c | ) | const |
Find Last Occurrence of a Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | Fstring const & | s | ) | const |
Find Last Occurrence of Any Character of an Fstring.
References test.T009_Exceptions::e, create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_of | ( | std::string const & | s | ) | const |
Find Last Occurrence of Any Character of a string.
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
Fstring::size_type ObjexxFCL::Fstring::find_last_whitespace | ( | ) | const |
Find Last Occurrence of a Whitespace Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
Fstring::size_type ObjexxFCL::Fstring::find_non_whitespace | ( | ) | const |
Find First Occurrence of a Non-Whitespace Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
Referenced by trimmed_whitespace_range().
Fstring::size_type ObjexxFCL::Fstring::find_whitespace | ( | ) | const |
Find First Occurrence of a Whitespace Character.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
|
inline |
float of the Fstring
bool ObjexxFCL::Fstring::has | ( | c_cstring const | s | ) | const |
Has a cstring?
References create_a3b_hbs::i, len_, and docking::s.
bool ObjexxFCL::Fstring::has | ( | char const | c | ) | const |
Has a Character?
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
bool ObjexxFCL::Fstring::has | ( | Fstring const & | s | ) | const |
Has an Fstring?
References create_a3b_hbs::i, len_, and docking::s.
bool ObjexxFCL::Fstring::has | ( | std::string const & | s | ) | const |
Has a string?
References create_a3b_hbs::i, len_, and docking::s.
bool ObjexxFCL::Fstring::has_any_of | ( | c_cstring const | s | ) | const |
Has Any Character of a cstring?
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
bool ObjexxFCL::Fstring::has_any_of | ( | char const | c | ) | const |
Has a Character?
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, and str_.
bool ObjexxFCL::Fstring::has_any_of | ( | Fstring const & | s | ) | const |
Has Any Character of an Fstring?
References test.T009_Exceptions::e, create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
bool ObjexxFCL::Fstring::has_any_of | ( | std::string const & | s | ) | const |
Has Any Character of a string?
References create_a3b_hbs::i, create_a3b_hbs::j, len_, docking::s, and str_.
bool ObjexxFCL::Fstring::has_prefix | ( | c_cstring const | s, |
bool const | exact_case = true |
||
) | const |
Has a Prefix Case-Optionally?
References Fstring(), len_, lowercase(), lowercased(), and docking::s.
bool ObjexxFCL::Fstring::has_prefix | ( | Fstring const & | s, |
bool const | exact_case = true |
||
) | const |
Has a Prefix Case-Optionally?
References len_, lowercased(), and docking::s.
Fsubstring ObjexxFCL::Fstring::head | ( | ) |
Space-Free Head Substring.
References find(), Fsubstring, len_, and ObjexxFCL::SPACE().
Fsubstring const ObjexxFCL::Fstring::head | ( | ) | const |
Space-Free Head Constant Substring.
References find(), Fsubstring, len_, and ObjexxFCL::SPACE().
|
inline |
int of the Fstring
|
inline |
Blank?
References len_trim().
|
inline |
Fstring is Readable as a bool?
|
inline |
Fstring is Readable as a double?
|
inline |
Fstring is Readable as a float?
|
inline |
Fstring is Readable as an int?
|
inline |
Fstring is Readable as a long int?
|
inline |
Fstring is Readable as a long double?
|
inline |
Fstring is Readable as a short int?
|
inline |
Fstring is Readable as a string?
|
inline |
Fstring is Readable as a Type Supporting Stream Input?
References compute_difference::b, test.T009_Exceptions::e, is_whitespace(), str_, predPRE::t, and trimmed_whitespace_range().
|
inline |
|
inline |
Fstring is Readable as an unsigned int?
|
inline |
Fstring is Readable as a unsigned long int?
|
inline |
Fstring is Readable as a unsigned short int?
|
inline |
|
inline |
Left-Justified Copy.
References Fstring().
Fstring & ObjexxFCL::Fstring::left_justify | ( | ) |
Left Justify.
References create_a3b_hbs::i, len_, ObjexxFCL::SPACE(), and str_.
Referenced by center().
Fstring::size_type ObjexxFCL::Fstring::len_trim | ( | ) | const |
Length Space-Trimmed.
References create_a3b_hbs::i, len_, ObjexxFCL::SPACE(), and str_.
Referenced by center(), is_blank(), not_blank(), tail(), and trimmed().
Fstring::size_type ObjexxFCL::Fstring::len_trim_whitespace | ( | ) | const |
Length Whitespace-Trimmed.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, create_a3b_hbs::i, len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().
Referenced by is_whitespace(), not_whitespace(), t_str(), trim_whitespace(), trimmed_whitespace(), and trimmed_whitespace_range().
|
inline |
Length.
References len_.
Referenced by enumerate_junctions.Design::attach_valid(), ObjexxFCL::date(), enumerate_junctions.Design::output_string(), enumerate_junctions.Design::output_valid(), enumerate_junctions.DHR::print(), enumerate_junctions.Junction::print(), enumerate_junctions.Junction::to_component(), enumerate_junctions.DHR::write_to_file(), and enumerate_junctions.Junction::write_to_file().
|
inline |
long int of the Fstring
Fstring & ObjexxFCL::Fstring::lowercase | ( | ) |
Lowercase.
References create_a3b_hbs::i, len_, and str_.
Referenced by has_prefix(), and ObjexxFCL::str_dncase().
|
inline |
Fstring & ObjexxFCL::Fstring::lstrip | ( | ) |
Strip Space from an Fstring's Left Tail.
Strip Space from the Left Tail.
References clear(), find_first_not_of(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), str_, and ObjexxFCL::WHITESPACE().
|
inline |
Space Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
|
inline |
Specified Characters Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
|
inline |
Whitespace Stripped from Left Tail Copy.
References find_first_not_of(), and Fstring().
|
inline |
Not blank?
References len_trim().
|
inline |
Not whitespace?
References len_trim_whitespace().
|
inline |
Fsubstring ObjexxFCL::Fstring::operator() | ( | size_type const | i | ) |
Tail Substring: s( i )
References Fsubstring, and create_a3b_hbs::i.
Constant Tail Substring: s( i )
References Fsubstring, and create_a3b_hbs::i.
Fsubstring ObjexxFCL::Fstring::operator() | ( | size_type const | i, |
size_type const | j | ||
) |
Substring: s( i, j )
References Fsubstring, create_a3b_hbs::i, and create_a3b_hbs::j.
Fsubstring const ObjexxFCL::Fstring::operator() | ( | size_type const | i, |
size_type const | j | ||
) | const |
Constant Substring: s( i, j )
References Fsubstring, create_a3b_hbs::i, and create_a3b_hbs::j.
= cstring
References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.
Fstring & ObjexxFCL::Fstring::operator= | ( | char const | c | ) |
= char
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, len_, ObjexxFCL::SPACE(), str_, and sub_.
Copy Assignment.
References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.
Fstring & ObjexxFCL::Fstring::operator= | ( | std::string const & | s | ) |
= string
References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.
|
inline |
char: s[ i ]
References create_a3b_hbs::i, len_, and str_.
|
inline |
Constant char: s[ i ].
References create_a3b_hbs::i, len_, and str_.
Overlay a cstring.
References len_, make_symmdef_file_denovo::pos, and docking::s.
Overlay an Fstring.
References len_, min(), make_symmdef_file_denovo::pos, and docking::s.
Overlay a string.
References len_, make_symmdef_file_denovo::pos, and docking::s.
|
inline |
Right-Justified Copy.
References Fstring().
Fstring & ObjexxFCL::Fstring::right_justify | ( | ) |
Right Justify.
References create_a3b_hbs::i, len_, ObjexxFCL::SPACE(), and str_.
Fstring & ObjexxFCL::Fstring::rstrip | ( | ) |
Strip Space from an Fstring's Right Tail.
Strip Space from the Right Tail.
References clear(), find_last_not_of(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), str_, and ObjexxFCL::WHITESPACE().
|
inline |
Space Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
|
inline |
Specified Characters Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
|
inline |
Whitespace Stripped from Right Tail Copy.
References find_last_not_of(), and Fstring().
|
inline |
short int of the Fstring
|
inline |
|
inline |
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(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), and str_.
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(), len_, ObjexxFCL::SPACE(), str_, and ObjexxFCL::WHITESPACE().
|
inline |
Space Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
|
inline |
Specified Characters Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
|
inline |
Whitespace Stripped from Tails Copy.
References find_first_not_of(), find_last_not_of(), and Fstring().
c_cstring ObjexxFCL::Fstring::t_str | ( | ) | const |
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().
|
inline |
Trim Trailing Space.
Fstring & ObjexxFCL::Fstring::trim_whitespace | ( | ) |
Trim Trailing Whitespace Replacing it with Space.
References len_, len_trim_whitespace(), ObjexxFCL::SPACE(), and str_.
|
inline |
Trailing Space Trimmed Copy.
References Fstring(), and len_trim().
|
inline |
Trailing Whitespace Trimmed Copy.
References Fstring(), and len_trim_whitespace().
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 compute_difference::b, test.T009_Exceptions::e, find_non_whitespace(), len_trim_whitespace(), and max().
|
inline |
Type of an Fstring for Type Supporting Stream Input.
References compute_difference::b, test.T009_Exceptions::e, str_, predPRE::t, and trimmed_whitespace_range().
|
inline |
Fstring & ObjexxFCL::Fstring::uppercase | ( | ) |
|
friend |
Fstring == string Case-Insensitively?
|
friend |
string == Fstring Case-Insensitively?
|
friend |
Referenced by head(), operator()(), and tail().
|
friend |
Get from Stream.
|
friend |
Get Line from Stream.
|
friend |
Stream Output.
|
friend |
Stream Input.
|
friend |
Read from Stream.
|
friend |
Read Available Characters from Stream.
|
mutableprivate |
cstring
Referenced by c_str(), t_str(), and ~Fstring().
|
private |
Length.
Referenced by c_str(), center(), char_of(), clear(), compress(), copy(), empty(), find(), find_first_not_of(), find_first_of(), find_last(), find_last_non_whitespace(), find_last_not_of(), find_last_of(), find_last_whitespace(), find_non_whitespace(), find_whitespace(), Fstring(), has(), has_any_of(), has_prefix(), head(), left_justify(), len(), len_trim(), len_trim_whitespace(), length(), lowercase(), lstrip(), lstrip_whitespace(), operator std::string(), operator=(), ObjexxFCL::Fsubstring::operator=(), operator[](), overlay(), right_justify(), rstrip(), rstrip_whitespace(), size(), string_of(), strip(), strip_whitespace(), trim_whitespace(), type_of(), and uppercase().
|
private |
String.
Referenced by c_str(), center(), char_of(), clear(), compress(), copy(), data(), find(), find_first_not_of(), find_first_of(), find_last(), find_last_non_whitespace(), find_last_not_of(), find_last_of(), find_last_whitespace(), find_non_whitespace(), find_whitespace(), Fstring(), has(), has_any_of(), is_type(), left_justify(), len_trim(), len_trim_whitespace(), lowercase(), lstrip(), lstrip_whitespace(), operator std::string(), operator=(), ObjexxFCL::Fsubstring::operator=(), operator[](), right_justify(), rstrip(), rstrip_whitespace(), string_of(), strip(), strip_whitespace(), t_str(), trim_whitespace(), type_of(), uppercase(), and ~Fstring().
|
private |
Substring flag.
Referenced by operator=(), and ~Fstring().