ExtString Class Reference
[Extended String]

Extended String, inherate from string and contains some useful additional functions. More...

#include <ExtString.h>

List of all members.

Public Member Functions

 ExtString ()
 inherited constructors
 ExtString (const string &str)
 ExtString (const string &str, size_t pos, size_t n=npos)
 ExtString (const char *s, size_t n)
 ExtString (const char *s)
 ExtString (size_t n, char c)
ExtString getline ()
 return the first line of application string
ExtString eraseline ()
 return application string without first line
int countlines ()
 return the number of lines of application string


Detailed Description

Extended String, inherate from string and contains some useful additional functions.

Class that contains some useful additional functions for string objects: getline():get a line (terminated with line feed) in an ExtString; eraseline():delete a line (terminated with line feed) in an ExtString; countlines():counts the number of lines in a an ExtString;

Author:
Antonio Franchi and Marco Barbalinardo - email:barba82@yahoo.it
Date:
2008/11/07
Bug:
none

Constructor & Destructor Documentation

ExtString::ExtString (  )  [inline, explicit]

inherited constructors

ExtString::ExtString ( const string &  str  )  [inline]

ExtString::ExtString ( const string &  str,
size_t  pos,
size_t  n = npos 
) [inline]

ExtString::ExtString ( const char *  s,
size_t  n 
) [inline]

ExtString::ExtString ( const char *  s  )  [inline]

ExtString::ExtString ( size_t  n,
char  c 
) [inline]


Member Function Documentation

ExtString ExtString::getline (  ) 

return the first line of application string

ExtString ExtString::eraseline (  ) 

return application string without first line

int ExtString::countlines (  ) 

return the number of lines of application string


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

Generated on Mon Feb 20 07:01:09 2017 for MIP by  doxygen 1.5.6