Rosetta  2020.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Constructor & Destructor Documentation

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

Copy Constructor.

References len_, and str_.

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

string Constructor

References len_, and str_.

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

cstring Constructor

References len_, and str_.

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

char Constructor

References str_.

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

signed char Constructor

References str_.

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

unsigned char Constructor

References str_.

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

Length Constructor.

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

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

Length Constructor.

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

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

Length Constructor.

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

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

Length Constructor.

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

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

Length Constructor.

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

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

Length Constructor.

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

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

Length Constructor.

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

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

Length + Fstring Constructor.

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

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

Length + string Constructor.

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

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

Length + cstring Constructor.

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

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

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

Destructor.

References c_str_, str_, and sub_.

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

Substring Range Constructor.

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

Substring Tail Constructor.

Member Function Documentation

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

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

Centered Copy.

References Fstring().

Referenced by ObjexxFCL::center().

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

char of the Fstring

References len_, and str_.

Fstring& ObjexxFCL::Fstring::clear ( )
inline
Fstring & ObjexxFCL::Fstring::compress ( )
Fstring ObjexxFCL::Fstring::compressed ( ) const
inline

Compressed Copy.

References Fstring().

Referenced by ObjexxFCL::compress().

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

Referenced by operator=(), and ObjexxFCL::Fsubstring::operator=().

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

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

References str_.

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

double of the Fstring

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

Empty?

References len_.

Referenced by ObjexxFCL::operator==().

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

Fstring == Fstring Case-Optionally?

References lowercased().

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

Fstring == char Case-Optionally?

References lowercased().

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

char == Fstring Case-Optionally?

References lowercased().

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

Find First Occurrence of an Fstring.

References test.T009_Exceptions::e, len_, and length().

Referenced by head(), and ObjexxFCL::index().

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

Find First Occurrence of a string.

References test.T009_Exceptions::e, and len_.

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

Find First Occurrence of a cstring.

References test.T009_Exceptions::e, and len_.

Fstring::size_type ObjexxFCL::Fstring::find ( char const  c) const

Find First Occurrence of a Character.

References len_, and str_.

Fstring::size_type ObjexxFCL::Fstring::find_first_not_of ( Fstring const &  s) const
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 basic::options::OptionKeys::frags::j, len_, and str_.

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 basic::options::OptionKeys::frags::j, len_, 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 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, basic::options::OptionKeys::frags::j, len_, 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 basic::options::OptionKeys::frags::j, len_, 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 basic::options::OptionKeys::frags::j, len_, and str_.

Fstring::size_type ObjexxFCL::Fstring::find_first_of ( char const  c) const

Find First Occurrence of a Character.

References len_, and str_.

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

Find Last Occurrence of an Fstring.

References len_, and length().

Referenced by ObjexxFCL::last_index().

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

Find Last Occurrence of a string.

References len_.

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

Find Last Occurrence of a cstring.

References len_.

Fstring::size_type ObjexxFCL::Fstring::find_last ( char const  c) const

Find Last Occurrence of a Character.

References len_, and str_.

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

Find Last Occurrence of a Non-Whitespace Character.

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

Fstring::size_type ObjexxFCL::Fstring::find_last_not_of ( Fstring const &  s) const
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 basic::options::OptionKeys::frags::j, len_, and str_.

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 basic::options::OptionKeys::frags::j, len_, and str_.

Fstring::size_type ObjexxFCL::Fstring::find_last_not_of ( char const  c) const

Find Last Occurrence not of a Character.

References 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, basic::options::OptionKeys::frags::j, len_, 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 basic::options::OptionKeys::frags::j, len_, 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 basic::options::OptionKeys::frags::j, len_, and str_.

Fstring::size_type ObjexxFCL::Fstring::find_last_of ( char const  c) const

Find Last Occurrence of a Character.

References len_, and str_.

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

Find Last Occurrence of a Whitespace Character.

References 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 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 len_, ObjexxFCL::NULLC(), ObjexxFCL::SPACE(), str_, and ObjexxFCL::TAB().

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

float of the Fstring

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

Has an Fstring?

References len_.

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

Has a string?

References len_.

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

Has a cstring?

References len_.

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

Has a Character?

References len_, and str_.

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

Has Any Character of an Fstring?

References test.T009_Exceptions::e, basic::options::OptionKeys::frags::j, len_, and str_.

Referenced by ObjexxFCL::has_any_of().

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

Has Any Character of a string?

References basic::options::OptionKeys::frags::j, len_, and str_.

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

Has Any Character of a cstring?

References basic::options::OptionKeys::frags::j, len_, and str_.

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

Has a Character?

References len_, and str_.

bool ObjexxFCL::Fstring::has_prefix ( Fstring const &  s,
bool const  exact_case = true 
) const

Has a Prefix Case-Optionally?

References len_, and lowercased().

bool ObjexxFCL::Fstring::has_prefix ( c_cstring const  s,
bool const  exact_case = true 
) const

Has a Prefix Case-Optionally?

References Fstring(), len_, lowercase(), and lowercased().

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

Space-Free Head Constant Substring.

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

Fsubstring ObjexxFCL::Fstring::head ( )

Space-Free Head Substring.

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

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

int of the Fstring

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

Blank?

References len_trim().

Referenced by ObjexxFCL::is_blank(), and ObjexxFCL::is_type().

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

Fstring is Readable as a bool?

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

Fstring is Readable as a char?

References size().

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

Fstring is Readable as a double?

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

Fstring is Readable as a float?

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

Fstring is Readable as an int?

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

Fstring is Readable as a long int?

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

Fstring is Readable as a long double?

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

Fstring is Readable as a short int?

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

Fstring is Readable as a string?

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

Fstring is Readable as a char Supporting Stream Input?

References ObjexxFCL::size().

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

Fstring is Readable as an unsigned int?

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

Fstring is Readable as a unsigned long int?

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

Fstring is Readable as a unsigned short int?

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

Whitespace?

References len_trim_whitespace().

Referenced by is_type().

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

Left-Justified Copy.

References Fstring().

Referenced by ObjexxFCL::ljust().

Fstring & ObjexxFCL::Fstring::left_justify ( )

Left Justify.

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

Referenced by center().

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

Length.

References len_.

Fstring::size_type ObjexxFCL::Fstring::len_trim ( ) const

Length Space-Trimmed.

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

Referenced by center(), is_blank(), ObjexxFCL::len_trim(), not_blank(), tail(), and trimmed().

Fstring::size_type ObjexxFCL::Fstring::len_trim_whitespace ( ) const
size_type ObjexxFCL::Fstring::length ( ) const
inline
long int ObjexxFCL::Fstring::long_of ( ) const
inline

long int of the Fstring

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

long double of the Fstring

Fstring & ObjexxFCL::Fstring::lowercase ( )

Lowercase.

References len_, and str_.

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

Fstring ObjexxFCL::Fstring::lowercased ( ) const
inline
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 ( )

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

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

Specified Characters Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

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

Space Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

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

Whitespace Stripped from Left Tail Copy.

References find_first_not_of(), and Fstring().

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

Not blank?

References len_trim().

Referenced by ObjexxFCL::not_blank().

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

Not whitespace?

References len_trim_whitespace().

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

string Conversion

References len_, and str_.

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

Constant Substring: s( i, j )

References Fsubstring.

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

Substring: s( i, j )

References Fsubstring.

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

Constant Tail Substring: s( i )

References Fsubstring.

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

Tail Substring: s( i )

References Fsubstring.

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

Copy Assignment.

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

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

= string

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

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

= cstring

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

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

= char

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

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

Constant char: s[ i ].

References len_, and str_.

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

char: s[ i ]

References len_, and str_.

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

Overlay an Fstring.

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

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

Overlay a string.

References len_, and make_symmdef_file_denovo::pos.

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

Overlay a cstring.

References len_, and make_symmdef_file_denovo::pos.

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

Right-Justified Copy.

References Fstring().

Referenced by ObjexxFCL::rjust().

Fstring & ObjexxFCL::Fstring::right_justify ( )

Right Justify.

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

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

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

Specified Characters Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

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

Space Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

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

Whitespace Stripped from Right Tail Copy.

References find_last_not_of(), and Fstring().

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

short int of the Fstring

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

Size.

References len_.

Referenced by is_char().

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

string of the Fstring

References len_, 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 ( )

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

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

Specified Characters Stripped from Tails Copy.

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

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

Space Stripped from Tails Copy.

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

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

Whitespace Stripped from Tails Copy.

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

c_cstring ObjexxFCL::Fstring::t_str ( ) const

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

Note
This shares data/pointer with c_str()

References c_str_, len_trim_whitespace(), and str_.

Fsubstring ObjexxFCL::Fstring::tail ( )

Space Tail Substring.

References Fsubstring, and len_trim().

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

Space Tail Constant Substring.

References Fsubstring, and len_trim().

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

Trim Trailing Space.

Note
No effect for Fstring: Included for interface consistency
Fstring & ObjexxFCL::Fstring::trim_whitespace ( )

Trim Trailing Whitespace Replacing it with Space.

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

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

Trailing Space Trimmed Copy.

References Fstring(), and len_trim().

Referenced by ObjexxFCL::trimmed().

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

Trailing Whitespace Trimmed Copy.

References Fstring(), and len_trim_whitespace().

Referenced by ObjexxFCL::is_type(), and ObjexxFCL::type_of().

Fstring::size_type ObjexxFCL::Fstring::trimmed_whitespace_range ( size_type b,
size_type e 
) const

Get Range of Whitespace-Trimmed Portion and Return its Length.

References find_non_whitespace(), len_trim_whitespace(), and max().

Referenced by is_type(), and type_of().

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

char of an Fstring

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

unsigned int of the Fstring

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

unsigned long int of the Fstring

Fstring & ObjexxFCL::Fstring::uppercase ( )

Uppercase.

References len_, and str_.

Referenced by ObjexxFCL::str_up(), ObjexxFCL::str_upcase(), and ObjexxFCL::uppercase().

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

Uppercased Copy.

References Fstring().

Referenced by ObjexxFCL::upcase(), and ObjexxFCL::uppercased().

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

unsigned short int of the Fstring

Friends And Related Function Documentation

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

Fstring == Fstring Case-Insensitively?

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

Fstring == string Case-Insensitively?

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

string == Fstring Case-Insensitively?

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

Fstring == char Case-Insensitively?

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

char == Fstring Case-Insensitively?

friend class Fsubstring
friend

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

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

Get from Stream.

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

Get Line from Stream.

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

Fstring != string.

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

string != Fstring

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

Fstring != cstring.

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

cstring != Fstring

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

Fstring != char.

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

char != Fstring

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

Fstring + string.

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

string + Fstring

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

Fstring + cstring.

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

cstring + Fstring

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

Fstring + char.

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

char + Fstring

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

Fstring < string.

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

string < Fstring

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

Fstring < cstring.

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

cstring < Fstring

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

Stream Output.

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

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

Fstring <= string.

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

string <= Fstring

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

Fstring <= cstring.

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

cstring <= Fstring

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

Fstring == string.

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

string == Fstring

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

Fstring == cstring.

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

cstring == Fstring

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

Fstring == char.

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

char == Fstring

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

Fstring > string.

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

string > Fstring

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

Fstring > cstring.

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

cstring > Fstring

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

Fstring >= string.

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

string >= Fstring

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

Fstring >= cstring.

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

cstring >= Fstring

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

Stream Input.

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

Read from Stream.

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

Read Available Characters from Stream.

Member Data Documentation

char* ObjexxFCL::Fstring::c_str_
mutableprivate

cstring

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

size_type ObjexxFCL::Fstring::len_
private
char* ObjexxFCL::Fstring::str_
private
bool const ObjexxFCL::Fstring::sub_
private

Substring flag.

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


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