Rosetta
Classes | Namespaces | Functions
Fstring.hh File Reference
#include <ObjexxFCL/Fstring.fwd.hh>
#include <ObjexxFCL/string.functions.hh>
#include <ObjexxFCL/TypeTraits.hh>
#include <cassert>
#include <cctype>
#include <cstring>
#include <iomanip>
#include <iosfwd>
#include <string>
#include <sstream>

Classes

class  ObjexxFCL::Fstring
 Fstring: Fixed-Length Fortran-Compatible String. More...
 
class  ObjexxFCL::Fsubstring
 Fsubstring: Fixed-Length Fortran-Compatible Substring. More...
 

Namespaces

 ObjexxFCL
 
 ObjexxFCL::Fortran
 

Functions

Fstring ObjexxFCL::operator+ (Fstring const &s, Fstring const &t)
 Fstring + Fstring. More...
 
std::string ObjexxFCL::operator+ (Fstring const &s, std::string const &t)
 Fstring + string. More...
 
std::string ObjexxFCL::operator+ (std::string const &t, Fstring const &s)
 string + Fstring More...
 
Fstring ObjexxFCL::operator+ (Fstring const &s, c_cstring const t)
 Fstring + cstring. More...
 
Fstring ObjexxFCL::operator+ (c_cstring const s, Fstring const &t)
 cstring + Fstring More...
 
Fstring ObjexxFCL::operator+ (Fstring const &s, char const c)
 Fstring + char. More...
 
Fstring ObjexxFCL::operator+ (char const c, Fstring const &s)
 char + Fstring More...
 
bool ObjexxFCL::operator== (Fstring const &s, Fstring const &t)
 Fstring == Fstring. More...
 
bool ObjexxFCL::operator!= (Fstring const &s, Fstring const &t)
 Fstring != Fstring. More...
 
bool ObjexxFCL::operator== (Fstring const &s, std::string const &t)
 Fstring == string. More...
 
bool ObjexxFCL::operator== (std::string const &t, Fstring const &s)
 string == Fstring More...
 
bool ObjexxFCL::operator!= (Fstring const &s, std::string const &t)
 Fstring != string. More...
 
bool ObjexxFCL::operator!= (std::string const &t, Fstring const &s)
 string != Fstring More...
 
bool ObjexxFCL::operator== (Fstring const &s, c_cstring const t)
 Fstring == cstring. More...
 
bool ObjexxFCL::operator== (c_cstring const t, Fstring const &s)
 cstring == Fstring More...
 
bool ObjexxFCL::operator!= (Fstring const &s, c_cstring const t)
 Fstring != cstring. More...
 
bool ObjexxFCL::operator!= (c_cstring const t, Fstring const &s)
 cstring != Fstring More...
 
bool ObjexxFCL::operator== (Fstring const &s, char const c)
 Fstring == char. More...
 
bool ObjexxFCL::operator== (char const c, Fstring const &s)
 char == Fstring More...
 
bool ObjexxFCL::operator!= (Fstring const &s, char const c)
 Fstring != char. More...
 
bool ObjexxFCL::operator!= (char const c, Fstring const &s)
 char != Fstring More...
 
bool ObjexxFCL::equali (Fstring const &s, Fstring const &t)
 Fstring == Fstring Case-Insensitively? More...
 
bool ObjexxFCL::equali (Fstring const &s, std::string const &t)
 Fstring == string Case-Insensitively? More...
 
bool ObjexxFCL::equali (std::string const &s, Fstring const &t)
 string == Fstring Case-Insensitively? More...
 
bool ObjexxFCL::equali (Fstring const &s, char const c)
 Fstring == char Case-Insensitively? More...
 
bool ObjexxFCL::equali (char const c, Fstring const &s)
 char == Fstring Case-Insensitively? More...
 
bool ObjexxFCL::operator<= (Fstring const &s, Fstring const &t)
 Fstring <= Fstring. More...
 
bool ObjexxFCL::operator< (Fstring const &s, Fstring const &t)
 Fstring < Fstring. More...
 
bool ObjexxFCL::operator>= (Fstring const &s, Fstring const &t)
 Fstring >= Fstring. More...
 
bool ObjexxFCL::operator> (Fstring const &s, Fstring const &t)
 Fstring > Fstring. More...
 
bool ObjexxFCL::operator<= (Fstring const &s, std::string const &t)
 Fstring <= string. More...
 
bool ObjexxFCL::operator< (Fstring const &s, std::string const &t)
 Fstring < string. More...
 
bool ObjexxFCL::operator>= (Fstring const &s, std::string const &t)
 Fstring >= string. More...
 
bool ObjexxFCL::operator> (Fstring const &s, std::string const &t)
 Fstring > string. More...
 
bool ObjexxFCL::operator<= (std::string const &s, Fstring const &t)
 string <= Fstring More...
 
bool ObjexxFCL::operator< (std::string const &s, Fstring const &t)
 string < Fstring More...
 
bool ObjexxFCL::operator>= (std::string const &s, Fstring const &t)
 string >= Fstring More...
 
bool ObjexxFCL::operator> (std::string const &s, Fstring const &t)
 string > Fstring More...
 
bool ObjexxFCL::operator<= (Fstring const &s, c_cstring const t)
 Fstring <= cstring. More...
 
bool ObjexxFCL::operator< (Fstring const &s, c_cstring const t)
 Fstring < cstring. More...
 
bool ObjexxFCL::operator>= (Fstring const &s, c_cstring const t)
 Fstring >= cstring. More...
 
bool ObjexxFCL::operator> (Fstring const &s, c_cstring const t)
 Fstring > cstring. More...
 
bool ObjexxFCL::operator<= (c_cstring const s, Fstring const &t)
 cstring <= Fstring More...
 
bool ObjexxFCL::operator< (c_cstring const s, Fstring const &t)
 cstring < Fstring More...
 
bool ObjexxFCL::operator>= (c_cstring const s, Fstring const &t)
 cstring >= Fstring More...
 
bool ObjexxFCL::operator> (c_cstring const s, Fstring const &t)
 cstring > Fstring More...
 
std::istream & ObjexxFCL::operator>> (std::istream &stream, Fstring &s)
 Stream Input. More...
 
std::istream & ObjexxFCL::get (std::istream &stream, Fstring &s)
 Get from Stream. More...
 
std::istream & ObjexxFCL::getline (std::istream &stream, Fstring &s)
 Get Line from Stream. More...
 
std::istream & ObjexxFCL::read (std::istream &stream, Fstring &s)
 Read from Stream. More...
 
std::istream & ObjexxFCL::readsome (std::istream &stream, Fstring &s)
 Read Available Characters from Stream. More...
 
std::ostream & ObjexxFCL::operator<< (std::ostream &stream, Fstring const &s)
 Stream Output. More...
 
template<>
bool ObjexxFCL::Fstring::is_type< std::string > () const
 Fstring is Readable as a string Supporting Stream Input? More...
 
template<>
std::string ObjexxFCL::Fstring::type_of< std::string > () const
 string of an Fstring More...
 
Fstring ObjexxFCL::Fortran::CHAR (int const i)
 One-Character Fstring of a Given ASCII Integer Value. More...
 
Fstring ObjexxFCL::Fortran::ACHAR (int const i)
 One-Character Fstring of a Given ASCII Integer Value. More...
 
int ObjexxFCL::ICHAR (Fstring const &s)
 Integer Value of a Given One-Character Fstring. More...
 
int ObjexxFCL::IACHAR (Fstring const &s)
 ASCII Integer Value of a Given One-Character Fstring. More...
 
Fstring::size_type ObjexxFCL::index (Fstring const &s, Fstring const &ss)
 First Index Position of a Substring in an Fstring. More...
 
Fstring::size_type ObjexxFCL::index (Fstring const &s, c_cstring const ss)
 First Index Position of a C-Substring in an Fstring. More...
 
Fstring::size_type ObjexxFCL::index (Fstring const &s, char const c)
 First Index Position of a Character in an Fstring. More...
 
Fstring::size_type ObjexxFCL::len (Fstring const &s)
 Length. More...
 
Fstring::size_type ObjexxFCL::len_trim (Fstring const &s)
 Length Space-Trimmed. More...
 
Fstring ObjexxFCL::trimmed (Fstring const &s)
 Space-Trimmed Copy. More...
 
bool ObjexxFCL::lge (Fstring const &s, Fstring const &t)
 ASCII Lexical >= Comparison. More...
 
bool ObjexxFCL::lgt (Fstring const &s, Fstring const &t)
 ASCII Lexical < Comparison. More...
 
bool ObjexxFCL::lle (Fstring const &s, Fstring const &t)
 ASCII Lexical <= Comparison. More...
 
bool ObjexxFCL::llt (Fstring const &s, Fstring const &t)
 ASCII Lexical < Comparison. More...
 
bool ObjexxFCL::is_blank (Fstring const &s)
 Fstring is Blank? More...
 
bool ObjexxFCL::not_blank (Fstring const &s)
 Fstring is Not Blank? More...
 
bool ObjexxFCL::has_any_of (Fstring const &s, Fstring const &t)
 Fstring Has Any Characters of a Set? More...
 
bool ObjexxFCL::has_any_of (Fstring const &s, c_cstring const t)
 Fstring Has Any Characters of a Set? More...
 
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, Fstring const &ss)
 Last Index Position of a Substring in an Fstring. More...
 
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, c_cstring const ss)
 Last Index Position of a Substring in an Fstring. More...
 
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, char const c)
 Last Index Position of a Character in an Fstring. More...
 
Fstring & ObjexxFCL::lowercase (Fstring &s)
 Lowercase an Fstring. More...
 
Fstring & ObjexxFCL::uppercase (Fstring &s)
 Uppercase an Fstring. More...
 
void ObjexxFCL::str_dn (Fstring &s)
 Lowercase an Fstring. More...
 
void ObjexxFCL::str_up (Fstring &s)
 Uppercase an Fstring. More...
 
void ObjexxFCL::str_dncase (Fstring &s_out, Fstring const &s_in)
 Lowercased Copy in an Output Fstring. More...
 
void ObjexxFCL::str_upcase (Fstring &s_out, Fstring const &s_in)
 Uppercased Copy in an Output Fstring. More...
 
Fstring ObjexxFCL::ljust (Fstring const &s)
 Left-Justified Copy. More...
 
Fstring ObjexxFCL::rjust (Fstring const &s)
 Right-Justified Copy. More...
 
Fstring ObjexxFCL::compress (Fstring const &s)
 Compressed Copy. More...
 
Fstring ObjexxFCL::center (Fstring const &s)
 Centered Copy. More...
 
Fstring ObjexxFCL::lowercased (Fstring const &s)
 Lowercased Copy. More...
 
Fstring ObjexxFCL::uppercased (Fstring const &s)
 Uppercased Copy. More...
 
Fstring ObjexxFCL::dncase (Fstring const &s)
 Lowercased Copy. More...
 
Fstring ObjexxFCL::upcase (Fstring const &s)
 Uppercased Copy. More...
 
template<typename T >
Fstring ObjexxFCL::Fstring_of (T const &t)
 Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<>
Fstring ObjexxFCL::Fstring_of< std::string > (std::string const &t)
 Fstring of a string Specialization. More...
 
template<typename T >
Fstring ObjexxFCL::Fstring_of (T const &t, int const p)
 Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::left_Fstring_of (T const &t, int const w, char const f=' ')
 Left-Justified Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::right_Fstring_of (T const &t, int const w, char const f=' ')
 Right-Justified Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::lead_zero_Fstring_of (T const &t, int const w)
 Leading-Zero Right-Justified Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::general_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified General Format Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::fixed_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified Fixed Format Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
Fstring ObjexxFCL::scientific_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified Scientific Format Fstring of a Template Argument Type Supporting Stream Output. More...
 
template<typename T >
bool ObjexxFCL::is_type (Fstring const &s)
 Fstring is Readable as a Type Supporting Stream Input? More...
 
template<>
bool ObjexxFCL::is_type< std::string > (Fstring const &)
 Fstring is Readable as a string Supporting Stream Input? More...
 
template<>
bool ObjexxFCL::is_type< char > (Fstring const &s)
 Fstring is Readable as a char Supporting Stream Input? More...
 
bool ObjexxFCL::is_bool (Fstring const &s)
 Fstring is Readable as a bool? More...
 
bool ObjexxFCL::is_short (Fstring const &s)
 Fstring is Readable as a short int? More...
 
bool ObjexxFCL::is_int (Fstring const &s)
 Fstring is Readable as an int? More...
 
bool ObjexxFCL::is_long (Fstring const &s)
 Fstring is Readable as a long int? More...
 
bool ObjexxFCL::is_ushort (Fstring const &s)
 Fstring is Readable as a unsigned short int? More...
 
bool ObjexxFCL::is_uint (Fstring const &s)
 Fstring is Readable as an unsigned int? More...
 
bool ObjexxFCL::is_ulong (Fstring const &s)
 Fstring is Readable as a unsigned long int? More...
 
bool ObjexxFCL::is_float (Fstring const &s)
 Fstring is Readable as a float? More...
 
bool ObjexxFCL::is_double (Fstring const &s)
 Fstring is Readable as a double? More...
 
bool ObjexxFCL::is_longdouble (Fstring const &s)
 Fstring is Readable as a long double? More...
 
bool ObjexxFCL::is_char (Fstring const &s)
 Fstring is Readable as a char? More...
 
bool ObjexxFCL::is_string (Fstring const &)
 Fstring is Readable as a string? More...
 
template<typename T >
T ObjexxFCL::type_of (Fstring const &s)
 Type of an Fstring for Type Supporting Stream Input. More...
 
template<>
std::string ObjexxFCL::type_of< std::string > (Fstring const &s)
 string of an Fstring More...
 
template<>
char ObjexxFCL::type_of< char > (Fstring const &s)
 char of an Fstring More...
 
short int ObjexxFCL::short_of (Fstring const &s)
 short int of an Fstring More...
 
int ObjexxFCL::int_of (Fstring const &s)
 int of an Fstring More...
 
long int ObjexxFCL::long_of (Fstring const &s)
 long int of an Fstring More...
 
unsigned short int ObjexxFCL::ushort_of (Fstring const &s)
 unsigned short int of an Fstring More...
 
unsigned int ObjexxFCL::uint_of (Fstring const &s)
 unsigned int of an Fstring More...
 
unsigned long int ObjexxFCL::ulong_of (Fstring const &s)
 unsigned long int of an Fstring More...
 
float ObjexxFCL::float_of (Fstring const &s)
 float of an Fstring More...
 
double ObjexxFCL::double_of (Fstring const &s)
 double of an Fstring More...
 
long double ObjexxFCL::longdouble_of (Fstring const &s)
 long double of an Fstring More...
 
char ObjexxFCL::char_of (Fstring const &s)
 char of an Fstring More...
 
std::string ObjexxFCL::string_of (Fstring const &s)
 string of an Fstring More...