Rosetta
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
ObjexxFCL::Fstring Class Reference

Fstring: Fixed-Length Fortran-Compatible String. More...

#include <Fstring.hh>

Inheritance diagram for ObjexxFCL::Fstring:
Inheritance graph
[legend]

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...
 
Fstringoperator= (Fstring const &s)
 Copy Assignment. More...
 
Fstringoperator= (std::string const &s)
 = string More...
 
Fstringoperator= (c_cstring const s)
 = cstring More...
 
Fstringoperator= (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...
 
Fstringlowercase ()
 Lowercase. More...
 
Fstringuppercase ()
 Uppercase. More...
 
Fstringleft_justify ()
 Left Justify. More...
 
Fstringright_justify ()
 Right Justify. More...
 
Fstringcenter ()
 Center. More...
 
Fstringcompress ()
 Compress Out Whitespace. More...
 
Fstringtrim ()
 Trim Trailing Space. More...
 
Fstringtrim_whitespace ()
 Trim Trailing Whitespace Replacing it with Space. More...
 
Fstringstrip (std::string const &chars)
 Strip Specified Characters from an Fstring's Tails. More...
 
Fstringlstrip (std::string const &chars)
 Strip Specified Characters from an Fstring's Left Tail. More...
 
Fstringrstrip (std::string const &chars)
 Strip Specified Characters from an Fstring's Right Tail. More...
 
Fstringstrip ()
 Strip Space from an Fstring's Tails. More...
 
Fstringlstrip ()
 Strip Space from an Fstring's Left Tail. More...
 
Fstringrstrip ()
 Strip Space from an Fstring's Right Tail. More...
 
Fstringstrip_whitespace ()
 Strip Whitespace from an Fstring's Tails. More...
 
Fstringlstrip_whitespace ()
 Strip Whitespace from an Fstring's Left Tail. More...
 
Fstringrstrip_whitespace ()
 Strip Whitespace from an Fstring's Right Tail. More...
 
Fstringclear ()
 Clear. More...
 
Fstringoverlay (Fstring const &s, size_type const pos=1)
 Overlay an Fstring. More...
 
Fstringoverlay (std::string const &s, size_type const pos=1)
 Overlay a string. More...
 
Fstringoverlay (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...
 

Detailed Description

Fstring: Fixed-Length Fortran-Compatible String.

Remarks
  • Subscripts run from 1 to the length
  • Space-padding is used in comparisons and assignments
  • Internal string rep is not null-terminated
  • Zero-length Fstrings are supported but cannot be indexed into (no valid indices)
  • All the length constructors are needed to avoid ambiguity with the char constructor
  • Assignment can set length/string if Fstring is uninitialized (default constructed)
  • Substrings: Use s( i, j ) or s( i ) / Pass s( i, j ).ref() to a non-const Fstring& argument
  • Assumes that char is a single-byte ASCII-collated character

Member Typedef Documentation

◆ initializer_function

typedef void(* ObjexxFCL::Fstring::initializer_function) (Fstring &)

◆ InitializerFunction

typedef void(* ObjexxFCL::Fstring::InitializerFunction) (Fstring &)

◆ Size

typedef std::size_t ObjexxFCL::Fstring::Size

◆ size_type

typedef std::size_t ObjexxFCL::Fstring::size_type

Constructor & Destructor Documentation

◆ Fstring() [1/21]

ObjexxFCL::Fstring::Fstring ( )
inline

◆ Fstring() [2/21]

ObjexxFCL::Fstring::Fstring ( Fstring const &  s)

Copy Constructor.

References len_, docking::s, and str_.

◆ Fstring() [3/21]

ObjexxFCL::Fstring::Fstring ( std::string const &  s)

string Constructor

References len_, docking::s, and str_.

◆ Fstring() [4/21]

ObjexxFCL::Fstring::Fstring ( c_cstring const  s)

cstring Constructor

References len_, docking::s, and str_.

◆ Fstring() [5/21]

ObjexxFCL::Fstring::Fstring ( char const  c)
inlineexplicit

◆ Fstring() [6/21]

ObjexxFCL::Fstring::Fstring ( signed char const  c)
inlineexplicit

signed char Constructor

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and str_.

◆ Fstring() [7/21]

ObjexxFCL::Fstring::Fstring ( unsigned char const  c)
inlineexplicit

unsigned char Constructor

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and str_.

◆ Fstring() [8/21]

ObjexxFCL::Fstring::Fstring ( short int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [9/21]

ObjexxFCL::Fstring::Fstring ( int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [10/21]

ObjexxFCL::Fstring::Fstring ( long int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [11/21]

ObjexxFCL::Fstring::Fstring ( unsigned short int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [12/21]

ObjexxFCL::Fstring::Fstring ( unsigned int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [13/21]

ObjexxFCL::Fstring::Fstring ( unsigned long int const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [14/21]

ObjexxFCL::Fstring::Fstring ( unsigned long long const  len_a)
explicit

Length Constructor.

References len_, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [15/21]

ObjexxFCL::Fstring::Fstring ( size_type const  len_a,
Fstring const &  s 
)

Length + Fstring Constructor.

References len_, docking::s, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [16/21]

ObjexxFCL::Fstring::Fstring ( size_type const  len_a,
std::string const &  s 
)

Length + string Constructor.

References len_, docking::s, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [17/21]

ObjexxFCL::Fstring::Fstring ( size_type const  len_a,
c_cstring const  s 
)

Length + cstring Constructor.

References len_, docking::s, ObjexxFCL::SPACE(), and str_.

◆ Fstring() [18/21]

ObjexxFCL::Fstring::Fstring ( size_type const  len_a,
char const  c 
)

Length + char Constructor.

Note
Fills with specified char => Use Fstring( len_a, "c" ) for space-padded single character

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, len_, and str_.

◆ Fstring() [19/21]

ObjexxFCL::Fstring::Fstring ( size_type const  len_a,
initializer_function  init 
)

Length + Initializer Constructor.

References basic::init(), len_, ObjexxFCL::SPACE(), and str_.

◆ ~Fstring()

virtual ObjexxFCL::Fstring::~Fstring ( )
inlinevirtual

Destructor.

References c_str_, str_, and sub_.

◆ Fstring() [20/21]

ObjexxFCL::Fstring::Fstring ( Fstring const &  s,
size_type const  i,
size_type const  j 
)
protected

Substring Range Constructor.

References create_a3b_hbs::i.

◆ Fstring() [21/21]

ObjexxFCL::Fstring::Fstring ( Fstring const &  s,
size_type const  i 
)
protected

Substring Tail Constructor.

References create_a3b_hbs::i.

Member Function Documentation

◆ c_str()

c_cstring ObjexxFCL::Fstring::c_str ( ) const

Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring.

References c_str_, len_, and str_.

◆ center()

Fstring & ObjexxFCL::Fstring::center ( )

◆ centered()

Fstring ObjexxFCL::Fstring::centered ( ) const
inline

Centered Copy.

References Fstring().

◆ char_of()

char ObjexxFCL::Fstring::char_of ( ) const
inline

char of the Fstring

References len_, and str_.

◆ clear()

Fstring& ObjexxFCL::Fstring::clear ( )
inline

◆ compress()

Fstring & ObjexxFCL::Fstring::compress ( )

◆ compressed()

Fstring ObjexxFCL::Fstring::compressed ( ) const
inline

Compressed Copy.

References Fstring().

Referenced by pyrosetta.distributed.cluster.io.IO::_save_results().

◆ copy()

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 len_, min(), str(), and str_.

◆ data()

c_cstring ObjexxFCL::Fstring::data ( ) const
inline

Non-Null-Terminated cstring Copy of the Fstring Data.

References str_.

◆ double_of()

double ObjexxFCL::Fstring::double_of ( ) const
inline

double of the Fstring

◆ empty()

bool ObjexxFCL::Fstring::empty ( ) const
inline

Empty?

References len_.

◆ equal() [1/3]

bool ObjexxFCL::Fstring::equal ( char const  c,
Fstring const &  s,
bool const  exact_case = true 
)
inline

◆ equal() [2/3]

bool ObjexxFCL::Fstring::equal ( Fstring const &  s,
char const  c,
bool const  exact_case = true 
)
inline

◆ equal() [3/3]

bool ObjexxFCL::Fstring::equal ( Fstring const &  s,
Fstring const &  t,
bool const  exact_case = true 
)
inline

Fstring == Fstring Case-Optionally?

References docking::s, and predPRE::t.

◆ find() [1/4]

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.

◆ find() [2/4]

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_.

◆ find() [3/4]

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().

◆ find() [4/4]

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.

◆ find_first_not_of() [1/4]

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_.

◆ find_first_not_of() [2/4]

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_.

◆ find_first_not_of() [3/4]

Fstring::size_type ObjexxFCL::Fstring::find_first_not_of ( Fstring const &  s) const

◆ find_first_not_of() [4/4]

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_.

◆ find_first_of() [1/4]

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_.

◆ find_first_of() [2/4]

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_.

◆ find_first_of() [3/4]

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_.

◆ find_first_of() [4/4]

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_.

◆ find_last() [1/4]

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.

◆ find_last() [2/4]

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_.

◆ find_last() [3/4]

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.

◆ find_last() [4/4]

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.

◆ find_last_non_whitespace()

Fstring::size_type ObjexxFCL::Fstring::find_last_non_whitespace ( ) const

◆ find_last_not_of() [1/4]

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_.

◆ find_last_not_of() [2/4]

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_.

◆ find_last_not_of() [3/4]

Fstring::size_type ObjexxFCL::Fstring::find_last_not_of ( Fstring const &  s) const

◆ find_last_not_of() [4/4]

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_.

◆ find_last_of() [1/4]

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_.

◆ find_last_of() [2/4]

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_.

◆ find_last_of() [3/4]

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_.

◆ find_last_of() [4/4]

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_.

◆ find_last_whitespace()

Fstring::size_type ObjexxFCL::Fstring::find_last_whitespace ( ) const

◆ find_non_whitespace()

Fstring::size_type ObjexxFCL::Fstring::find_non_whitespace ( ) const

◆ find_whitespace()

Fstring::size_type ObjexxFCL::Fstring::find_whitespace ( ) const

◆ float_of()

float ObjexxFCL::Fstring::float_of ( ) const
inline

float of the Fstring

◆ has() [1/4]

bool ObjexxFCL::Fstring::has ( c_cstring const  s) const

Has a cstring?

References create_a3b_hbs::i, len_, and docking::s.

◆ has() [2/4]

bool ObjexxFCL::Fstring::has ( char const  c) const

◆ has() [3/4]

bool ObjexxFCL::Fstring::has ( Fstring const &  s) const

Has an Fstring?

References create_a3b_hbs::i, len_, and docking::s.

◆ has() [4/4]

bool ObjexxFCL::Fstring::has ( std::string const &  s) const

Has a string?

References create_a3b_hbs::i, len_, and docking::s.

◆ has_any_of() [1/4]

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_.

◆ has_any_of() [2/4]

bool ObjexxFCL::Fstring::has_any_of ( char const  c) const

◆ has_any_of() [3/4]

bool ObjexxFCL::Fstring::has_any_of ( Fstring const &  s) const

◆ has_any_of() [4/4]

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_.

◆ has_prefix() [1/2]

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.

◆ has_prefix() [2/2]

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.

◆ head() [1/2]

Fsubstring ObjexxFCL::Fstring::head ( )

Space-Free Head Substring.

References find(), Fsubstring, len_, and ObjexxFCL::SPACE().

◆ head() [2/2]

Fsubstring const ObjexxFCL::Fstring::head ( ) const

Space-Free Head Constant Substring.

References find(), Fsubstring, len_, and ObjexxFCL::SPACE().

◆ int_of()

int ObjexxFCL::Fstring::int_of ( ) const
inline

int of the Fstring

◆ is_blank()

bool ObjexxFCL::Fstring::is_blank ( ) const
inline

Blank?

References len_trim().

◆ is_bool()

bool ObjexxFCL::Fstring::is_bool ( ) const
inline

Fstring is Readable as a bool?

◆ is_char()

bool ObjexxFCL::Fstring::is_char ( ) const
inline

Fstring is Readable as a char?

References size().

◆ is_double()

bool ObjexxFCL::Fstring::is_double ( ) const
inline

Fstring is Readable as a double?

◆ is_float()

bool ObjexxFCL::Fstring::is_float ( ) const
inline

Fstring is Readable as a float?

◆ is_int()

bool ObjexxFCL::Fstring::is_int ( ) const
inline

Fstring is Readable as an int?

◆ is_long()

bool ObjexxFCL::Fstring::is_long ( ) const
inline

Fstring is Readable as a long int?

◆ is_longdouble()

bool ObjexxFCL::Fstring::is_longdouble ( ) const
inline

Fstring is Readable as a long double?

◆ is_short()

bool ObjexxFCL::Fstring::is_short ( ) const
inline

Fstring is Readable as a short int?

◆ is_string()

bool ObjexxFCL::Fstring::is_string ( ) const
inline

Fstring is Readable as a string?

◆ is_type() [1/2]

template<typename T >
bool ObjexxFCL::Fstring::is_type ( ) const
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().

◆ is_type() [2/2]

template<>
bool ObjexxFCL::Fstring::is_type ( ) const
inline

Fstring is Readable as a char Supporting Stream Input?

References size().

◆ is_uint()

bool ObjexxFCL::Fstring::is_uint ( ) const
inline

Fstring is Readable as an unsigned int?

◆ is_ulong()

bool ObjexxFCL::Fstring::is_ulong ( ) const
inline

Fstring is Readable as a unsigned long int?

◆ is_ushort()

bool ObjexxFCL::Fstring::is_ushort ( ) const
inline

Fstring is Readable as a unsigned short int?

◆ is_whitespace()

bool ObjexxFCL::Fstring::is_whitespace ( ) const
inline

Whitespace?

References len_trim_whitespace().

Referenced by is_type().

◆ left_justified()

Fstring ObjexxFCL::Fstring::left_justified ( ) const
inline

Left-Justified Copy.

References Fstring().

◆ left_justify()

Fstring & ObjexxFCL::Fstring::left_justify ( )

Left Justify.

References create_a3b_hbs::i, len_, ObjexxFCL::SPACE(), and str_.

Referenced by center().

◆ len()

size_type ObjexxFCL::Fstring::len ( ) const
inline

Length.

References len_.

◆ len_trim()

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().

◆ len_trim_whitespace()

Fstring::size_type ObjexxFCL::Fstring::len_trim_whitespace ( ) const

◆ length()

size_type ObjexxFCL::Fstring::length ( ) const
inline

◆ long_of()

long int ObjexxFCL::Fstring::long_of ( ) const
inline

long int of the Fstring

◆ longdouble_of()

long double ObjexxFCL::Fstring::longdouble_of ( ) const
inline

long double of the Fstring

◆ lowercase()

Fstring & ObjexxFCL::Fstring::lowercase ( )

Lowercase.

References create_a3b_hbs::i, len_, and str_.

Referenced by has_prefix(), and ObjexxFCL::str_dncase().

◆ lowercased()

Fstring ObjexxFCL::Fstring::lowercased ( ) const
inline

Lowercased Copy.

References Fstring().

Referenced by has_prefix().

◆ lstrip() [1/2]

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_.

◆ lstrip() [2/2]

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_.

◆ lstrip_whitespace()

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().

◆ lstripped() [1/2]

Fstring ObjexxFCL::Fstring::lstripped ( ) const
inline

Space Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

◆ lstripped() [2/2]

Fstring ObjexxFCL::Fstring::lstripped ( std::string const &  chars) const
inline

Specified Characters Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

◆ lstripped_whitespace()

Fstring ObjexxFCL::Fstring::lstripped_whitespace ( ) const
inline

Whitespace Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

◆ not_blank()

bool ObjexxFCL::Fstring::not_blank ( ) const
inline

Not blank?

References len_trim().

◆ not_whitespace()

bool ObjexxFCL::Fstring::not_whitespace ( ) const
inline

Not whitespace?

References len_trim_whitespace().

◆ operator std::string()

ObjexxFCL::Fstring::operator std::string ( ) const
inline

string Conversion

References len_, and str_.

◆ operator()() [1/4]

Fsubstring ObjexxFCL::Fstring::operator() ( size_type const  i)

Tail Substring: s( i )

References Fsubstring, and create_a3b_hbs::i.

◆ operator()() [2/4]

Fstring const ObjexxFCL::Fstring::operator() ( size_type const  i) const

Constant Tail Substring: s( i )

References Fsubstring, and create_a3b_hbs::i.

◆ operator()() [3/4]

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.

◆ operator()() [4/4]

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.

◆ operator=() [1/4]

Fstring & ObjexxFCL::Fstring::operator= ( c_cstring const  s)

= cstring

References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.

◆ operator=() [2/4]

Fstring & ObjexxFCL::Fstring::operator= ( char const  c)

◆ operator=() [3/4]

Fstring & ObjexxFCL::Fstring::operator= ( Fstring const &  s)

Copy Assignment.

References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.

◆ operator=() [4/4]

Fstring & ObjexxFCL::Fstring::operator= ( std::string const &  s)

= string

References len_, docking::s, ObjexxFCL::SPACE(), str_, and sub_.

◆ operator[]() [1/2]

char& ObjexxFCL::Fstring::operator[] ( size_type const  i)
inline

char: s[ i ]

References create_a3b_hbs::i, len_, and str_.

◆ operator[]() [2/2]

char ObjexxFCL::Fstring::operator[] ( size_type const  i) const
inline

Constant char: s[ i ].

References create_a3b_hbs::i, len_, and str_.

◆ overlay() [1/3]

Fstring & ObjexxFCL::Fstring::overlay ( c_cstring const  s,
size_type const  pos = 1 
)

Overlay a cstring.

References len_, make_symmdef_file_denovo::pos, and docking::s.

◆ overlay() [2/3]

Fstring & ObjexxFCL::Fstring::overlay ( Fstring const &  s,
size_type const  pos = 1 
)

Overlay an Fstring.

References len_, min(), make_symmdef_file_denovo::pos, and docking::s.

◆ overlay() [3/3]

Fstring & ObjexxFCL::Fstring::overlay ( std::string const &  s,
size_type const  pos = 1 
)

Overlay a string.

References len_, make_symmdef_file_denovo::pos, and docking::s.

◆ right_justified()

Fstring ObjexxFCL::Fstring::right_justified ( ) const
inline

Right-Justified Copy.

References Fstring().

◆ right_justify()

Fstring & ObjexxFCL::Fstring::right_justify ( )

Right Justify.

References create_a3b_hbs::i, len_, ObjexxFCL::SPACE(), and str_.

◆ rstrip() [1/2]

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_.

◆ rstrip() [2/2]

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_.

◆ rstrip_whitespace()

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().

◆ rstripped() [1/2]

Fstring ObjexxFCL::Fstring::rstripped ( ) const
inline

Space Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

◆ rstripped() [2/2]

Fstring ObjexxFCL::Fstring::rstripped ( std::string const &  chars) const
inline

Specified Characters Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

◆ rstripped_whitespace()

Fstring ObjexxFCL::Fstring::rstripped_whitespace ( ) const
inline

Whitespace Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

◆ short_of()

short int ObjexxFCL::Fstring::short_of ( ) const
inline

short int of the Fstring

◆ size()

size_type ObjexxFCL::Fstring::size ( ) const
inline

Size.

References len_.

Referenced by is_char(), and is_type().

◆ string_of()

std::string ObjexxFCL::Fstring::string_of ( ) const
inline

string of the Fstring

References len_, and str_.

◆ strip() [1/2]

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_.

◆ strip() [2/2]

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_.

◆ strip_whitespace()

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().

◆ stripped() [1/2]

Fstring ObjexxFCL::Fstring::stripped ( ) const
inline

Space Stripped from Tails Copy.

References find_first_not_of(), find_last_not_of(), and Fstring().

◆ stripped() [2/2]

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().

◆ stripped_whitespace()

Fstring ObjexxFCL::Fstring::stripped_whitespace ( ) const
inline

Whitespace Stripped from Tails Copy.

References find_first_not_of(), find_last_not_of(), and Fstring().

◆ t_str()

c_cstring ObjexxFCL::Fstring::t_str ( ) const

Whitespace-Trimmed Null-Terminated cstring Copy of the Fstring that is Owned by the Fstring.

Note
This shares data/pointer with c_str()

References c_str_, len_trim_whitespace(), and str_.

◆ tail() [1/2]

Fsubstring ObjexxFCL::Fstring::tail ( )

Space Tail Substring.

References Fsubstring, and len_trim().

◆ tail() [2/2]

Fsubstring const ObjexxFCL::Fstring::tail ( ) const

Space Tail Constant Substring.

References Fsubstring, and len_trim().

◆ trim()

Fstring& ObjexxFCL::Fstring::trim ( )
inline

Trim Trailing Space.

Note
No effect for Fstring: Included for interface consistency

◆ trim_whitespace()

Fstring & ObjexxFCL::Fstring::trim_whitespace ( )

Trim Trailing Whitespace Replacing it with Space.

References len_, len_trim_whitespace(), ObjexxFCL::SPACE(), and str_.

◆ trimmed()

Fstring ObjexxFCL::Fstring::trimmed ( ) const
inline

Trailing Space Trimmed Copy.

References Fstring(), and len_trim().

◆ trimmed_whitespace()

Fstring ObjexxFCL::Fstring::trimmed_whitespace ( ) const
inline

Trailing Whitespace Trimmed Copy.

References Fstring(), and len_trim_whitespace().

◆ trimmed_whitespace_range()

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().

Referenced by is_type(), and type_of().

◆ type_of() [1/2]

template<typename T >
T ObjexxFCL::Fstring::type_of ( ) const
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().

◆ type_of() [2/2]

template<>
char ObjexxFCL::Fstring::type_of ( ) const
inline

char of an Fstring

References len_, and str_.

◆ uint_of()

unsigned int ObjexxFCL::Fstring::uint_of ( ) const
inline

unsigned int of the Fstring

◆ ulong_of()

unsigned long int ObjexxFCL::Fstring::ulong_of ( ) const
inline

unsigned long int of the Fstring

◆ uppercase()

Fstring & ObjexxFCL::Fstring::uppercase ( )

Uppercase.

References create_a3b_hbs::i, len_, and str_.

Referenced by ObjexxFCL::str_upcase().

◆ uppercased()

Fstring ObjexxFCL::Fstring::uppercased ( ) const
inline

Uppercased Copy.

References Fstring().

◆ ushort_of()

unsigned short int ObjexxFCL::Fstring::ushort_of ( ) const
inline

unsigned short int of the Fstring

Friends And Related Function Documentation

◆ equali [1/5]

bool equali ( char const  c,
Fstring const &  s 
)
friend

char == Fstring Case-Insensitively?

◆ equali [2/5]

bool equali ( Fstring const &  s,
char const  c 
)
friend

Fstring == char Case-Insensitively?

◆ equali [3/5]

bool equali ( Fstring const &  s,
Fstring const &  t 
)
friend

Fstring == Fstring Case-Insensitively?

◆ equali [4/5]

bool equali ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring == string Case-Insensitively?

◆ equali [5/5]

bool equali ( std::string const &  s,
Fstring const &  t 
)
friend

string == Fstring Case-Insensitively?

◆ Fsubstring

friend class Fsubstring
friend

Referenced by head(), operator()(), and tail().

◆ get

std::istream& get ( std::istream &  stream,
Fstring s 
)
friend

Get from Stream.

◆ getline

std::istream& getline ( std::istream &  stream,
Fstring s 
)
friend

Get Line from Stream.

◆ operator!= [1/7]

bool operator!= ( c_cstring const  t,
Fstring const &  s 
)
friend

cstring != Fstring

◆ operator!= [2/7]

bool operator!= ( char const  c,
Fstring const &  s 
)
friend

char != Fstring

◆ operator!= [3/7]

bool operator!= ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring != cstring.

◆ operator!= [4/7]

bool operator!= ( Fstring const &  s,
char const  c 
)
friend

Fstring != char.

◆ operator!= [5/7]

bool operator!= ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator!= [6/7]

bool operator!= ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring != string.

◆ operator!= [7/7]

bool operator!= ( std::string const &  t,
Fstring const &  s 
)
friend

string != Fstring

◆ operator+ [1/7]

Fstring operator+ ( c_cstring const  s,
Fstring const &  t 
)
friend

cstring + Fstring

◆ operator+ [2/7]

Fstring operator+ ( char const  c,
Fstring const &  s 
)
friend

char + Fstring

◆ operator+ [3/7]

Fstring operator+ ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring + cstring.

◆ operator+ [4/7]

Fstring operator+ ( Fstring const &  s,
char const  c 
)
friend

Fstring + char.

◆ operator+ [5/7]

Fstring operator+ ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator+ [6/7]

std::string operator+ ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring + string.

◆ operator+ [7/7]

std::string operator+ ( std::string const &  t,
Fstring const &  s 
)
friend

string + Fstring

◆ operator< [1/5]

bool operator< ( c_cstring const  s,
Fstring const &  t 
)
friend

cstring < Fstring

◆ operator< [2/5]

bool operator< ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring < cstring.

◆ operator< [3/5]

bool operator< ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator< [4/5]

bool operator< ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring < string.

◆ operator< [5/5]

bool operator< ( std::string const &  s,
Fstring const &  t 
)
friend

string < Fstring

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
Fstring const &  s 
)
friend

Stream Output.

◆ operator<= [1/5]

bool operator<= ( c_cstring const  s,
Fstring const &  t 
)
friend

cstring <= Fstring

◆ operator<= [2/5]

bool operator<= ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring <= cstring.

◆ operator<= [3/5]

bool operator<= ( Fstring const &  s,
Fstring const &  t 
)
friend

Fstring <= Fstring.

Fstring == Fstring Case-Optionally?

Fstring == char Case-Optionally?

char == Fstring Case-Optionally?

Fstring <= Fstring

◆ operator<= [4/5]

bool operator<= ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring <= string.

◆ operator<= [5/5]

bool operator<= ( std::string const &  s,
Fstring const &  t 
)
friend

string <= Fstring

◆ operator== [1/7]

bool operator== ( c_cstring const  t,
Fstring const &  s 
)
friend

cstring == Fstring

◆ operator== [2/7]

bool operator== ( char const  c,
Fstring const &  s 
)
friend

char == Fstring

◆ operator== [3/7]

bool operator== ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring == cstring.

◆ operator== [4/7]

bool operator== ( Fstring const &  s,
char const  c 
)
friend

Fstring == char.

◆ operator== [5/7]

bool operator== ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator== [6/7]

bool operator== ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring == string.

◆ operator== [7/7]

bool operator== ( std::string const &  t,
Fstring const &  s 
)
friend

string == Fstring

◆ operator> [1/5]

bool operator> ( c_cstring const  s,
Fstring const &  t 
)
friend

cstring > Fstring

◆ operator> [2/5]

bool operator> ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring > cstring.

◆ operator> [3/5]

bool operator> ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator> [4/5]

bool operator> ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring > string.

◆ operator> [5/5]

bool operator> ( std::string const &  s,
Fstring const &  t 
)
friend

string > Fstring

◆ operator>= [1/5]

bool operator>= ( c_cstring const  s,
Fstring const &  t 
)
friend

cstring >= Fstring

◆ operator>= [2/5]

bool operator>= ( Fstring const &  s,
c_cstring const  t 
)
friend

Fstring >= cstring.

◆ operator>= [3/5]

bool operator>= ( Fstring const &  s,
Fstring const &  t 
)
friend

◆ operator>= [4/5]

bool operator>= ( Fstring const &  s,
std::string const &  t 
)
friend

Fstring >= string.

◆ operator>= [5/5]

bool operator>= ( std::string const &  s,
Fstring const &  t 
)
friend

string >= Fstring

◆ operator>>

std::istream& operator>> ( std::istream &  stream,
Fstring s 
)
friend

Stream Input.

◆ read

std::istream& read ( std::istream &  stream,
Fstring s 
)
friend

Read from Stream.

◆ readsome

std::istream& readsome ( std::istream &  stream,
Fstring s 
)
friend

Read Available Characters from Stream.

Member Data Documentation

◆ c_str_

char* ObjexxFCL::Fstring::c_str_
mutableprivate

cstring

Referenced by c_str(), t_str(), and ~Fstring().

◆ len_

size_type ObjexxFCL::Fstring::len_
private

◆ str_

char* ObjexxFCL::Fstring::str_
private

◆ sub_

bool const ObjexxFCL::Fstring::sub_
private

Substring flag.

Referenced by operator=(), and ~Fstring().


The documentation for this class was generated from the following files: