CAPD DynSys Library  5.2.0
capd::krak::frstring Class Reference

#include <capd/krak/frstring.h>

Public Member Functions

virtual int who (void)
 
 frstring (void)
 
 frstring (const frstring &from)
 
 frstring (const char *init_string)
 
virtual ~frstring (void)
 
char * string (void) const
 
char character (int n)
 
virtual atomcopy ()
 
int operator+ (frstring &second_string)
 
int operator+ (int an_int)
 
frstringoperator= (const frstring &second_string)
 
frstringoperator= (const char *c)
 
frstringoperator= (double a_double)
 
frstring operator++ (void)
 
frstring operator++ (int)
 
frstring operator-- (void)
 
int operator<= (frstring &second_string)
 
int operator>= (frstring &second_string)
 
int operator< (frstring &second_string)
 
int operator> (frstring &second_string)
 
int operator== (const frstring &second_string)
 
int operator!= (const frstring &second_string)
 
int operator<= (capd::krak::atom &an_atom)
 
int operator>= (capd::krak::atom &an_atom)
 
int operator== (capd::krak::atom &an_atom)
 
virtual void resize (int len)
 
frstring operator[] (int last)
 
frstring operator() (int first) const
 
frstring operator() (int first, int last) const
 
frstring rmqm (void)
 
void insert (int pos, char c)
 
void remove (int pos)
 
void split (int ncol)
 
virtual frstring descriptor (void)
 
virtual void put (std::ostream &out)
 
frstring extractFirstItem (void)
 
frstring getFirstItem (void)
 
int get (void)
 

Friends

class item
 
class var
 
class field
 
class pointing_field
 
class flexstring
 
class colstring
 
class view_job
 
frstringoperator>> (frstring &in, char &c)
 
frstringoperator>> (frstring &in, int &n)
 
frstringoperator>> (frstring &in, double &d)
 
frstringoperator<< (frstring &out, char c)
 
frstringoperator<< (frstring &out, int n)
 
frstringoperator<< (frstring &out, double d)
 
frstringoperator<< (frstring &out, frstring f)
 
frstring operator^ (const frstring &first_str, const frstring &second_string)
 
frstring operator^ (const char *t, const frstring &s)
 
frstring operator^ (const frstring &s, const char *t)
 
int operator+ (int an_int, frstring &s)
 
void getstring (std::istream &in, frstring &a_string, int len)
 
void gettoken (std::istream &stream, frstring &a_string)
 
void get_to_eol (std::istream &in, frstring &a_string)
 
void get_line (std::istream &in, frstring &a_string)
 
std::ostream & operator<< (std::ostream &stream, frstring a_string)
 
int frstrlen (const frstring &a_string)
 
void getitem (std::istream &in, frstring &s)
 
void getitem (frstring &in, frstring &s)
 
frstring normalize (frstring &s)
 
int string2int (frstring &s)
 
double string2double (const frstring &s)
 
double string2double (const frstring &s, int &k)
 
frstring double2string (double number)
 
frstring byte2hex (unsigned char c)
 
frstring halfbyte2hex (unsigned char c)
 
frstring double2hex (double number)
 
void skipto (std::istream &in, frstring &s)
 
frstring deitem (frstring &s)
 
frstring deitem_intitem (frstring &s)
 
frstringoperator<< (frstring &out, capd::krak::Tab &t)
 
view_joboperator<< (capd::krak::view_job &out, capd::krak::Tab &t)
 

Constructor & Destructor Documentation

◆ ~frstring()

capd::krak::frstring::~frstring ( void  )
inlinevirtual

Member Function Documentation

◆ character()

char capd::krak::frstring::character ( int  n)
inline

◆ copy()

capd::krak::atom * capd::krak::frstring::copy ( )
inlinevirtual

◆ descriptor()

capd::krak::frstring capd::krak::frstring::descriptor ( void  )
inlinevirtual

◆ get()

int capd::krak::frstring::get ( void  )
inline

◆ operator!=()

int capd::krak::frstring::operator!= ( const frstring second_string)
inline

◆ operator<=()

int capd::krak::frstring::operator<= ( capd::krak::atom an_atom)
inlinevirtual

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ operator==()

int capd::krak::frstring::operator== ( capd::krak::atom an_atom)
inlinevirtual

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ operator>=()

int capd::krak::frstring::operator>= ( capd::krak::atom an_atom)
inlinevirtual

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ string()

char * capd::krak::frstring::string ( void  ) const
inline

◆ who()

int capd::krak::frstring::who ( void  )
inlinevirtual

Friends And Related Function Documentation

◆ byte2hex

frstring byte2hex ( unsigned char  c)
friend

◆ colstring

friend class colstring
friend

◆ deitem

frstring deitem ( frstring s)
friend

◆ deitem_intitem

frstring deitem_intitem ( frstring s)
friend

◆ double2hex

frstring double2hex ( double  number)
friend

◆ double2string

frstring double2string ( double  number)
friend

◆ field

friend class field
friend

◆ flexstring

friend class flexstring
friend

◆ frstrlen

int frstrlen ( const frstring a_string)
friend

◆ get_line

void get_line ( std::istream &  in,
frstring a_string 
)
friend

◆ get_to_eol

void get_to_eol ( std::istream &  in,
frstring a_string 
)
friend

◆ getitem [1/2]

void getitem ( frstring in,
frstring s 
)
friend

◆ getitem [2/2]

void getitem ( std::istream &  in,
frstring s 
)
friend

◆ getstring

void getstring ( std::istream &  in,
frstring a_string,
int  len 
)
friend

◆ gettoken

void gettoken ( std::istream &  stream,
frstring a_string 
)
friend

◆ halfbyte2hex

frstring halfbyte2hex ( unsigned char  c)
friend

◆ item

friend class item
friend

◆ normalize

frstring normalize ( frstring s)
friend

◆ operator+

int operator+ ( int  an_int,
frstring s 
)
friend

◆ operator<< [1/7]

view_job& operator<< ( capd::krak::view_job out,
capd::krak::Tab t 
)
friend

◆ operator<< [2/7]

frstring& operator<< ( frstring out,
capd::krak::Tab t 
)
friend

◆ operator<< [3/7]

frstring& operator<< ( frstring out,
char  c 
)
friend

◆ operator<< [4/7]

frstring& operator<< ( frstring out,
double  d 
)
friend

◆ operator<< [5/7]

frstring& operator<< ( frstring out,
frstring  f 
)
friend

◆ operator<< [6/7]

frstring& operator<< ( frstring out,
int  n 
)
friend

◆ operator<< [7/7]

std::ostream& operator<< ( std::ostream &  stream,
frstring  a_string 
)
friend

◆ operator>> [1/3]

frstring& operator>> ( frstring in,
char &  c 
)
friend

◆ operator>> [2/3]

frstring& operator>> ( frstring in,
double d 
)
friend

◆ operator>> [3/3]

frstring& operator>> ( frstring in,
int n 
)
friend

◆ operator^ [1/3]

frstring operator^ ( const char *  t,
const frstring s 
)
friend

◆ operator^ [2/3]

frstring operator^ ( const frstring first_str,
const frstring second_string 
)
friend

◆ operator^ [3/3]

frstring operator^ ( const frstring s,
const char *  t 
)
friend

◆ pointing_field

friend class pointing_field
friend

◆ skipto

void skipto ( std::istream &  in,
frstring s 
)
friend

◆ string2double [1/2]

double string2double ( const frstring s)
friend

◆ string2double [2/2]

double string2double ( const frstring s,
int k 
)
friend

◆ string2int

int string2int ( frstring s)
friend

◆ var

friend class var
friend

◆ view_job

friend class view_job
friend