proj home

Files   Classes   Functions   Hierarchy  

stringspace.h File Reference

#include <cassert>
#include <string>
#include <typedefs.h>

Include dependency graph for stringspace.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  myisspace
 My interpretation of space characters. More...
class  spacertrim< SPC >
 Trim a string by removing leading and trailing space. More...
class  spacerdelete< SPC >
 The functional object identifies an empty string. More...

Functions

stringc stringtrim (stringc &str)


Function Documentation

stringc stringtrim ( stringc str  ) 

Definition at line 13 of file stringspace.cpp.

Referenced by mkerrorscompile::compilecode(), mkerrorsstate::mkerrorsstate(), and projunittests::xml().

00014 {
00015   string s2(str);
00016   spacertrim<>()(s2);
00017 
00018   return s2;
00019 }


Generated on Fri Mar 4 00:49:43 2011 for Chelton Evans Source by  doxygen 1.5.8