EUROPEAN SYNCHROTRON RADIATION FACILITY
INSTALLATION EUROPEENNE DE RAYONNEMENT SYNCHROTRON
ESRF Logo
Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

StrUtils.h

Go to the documentation of this file.
00001 //=============================================================================
00002 //
00003 // file :        StrUtils.h
00004 //
00005 // description : Header of StrUtils.cpp 
00006 //               Functions useful to manage strings.
00007 //
00008 // project :    TextTalker TANGO Device Server
00009 //
00010 // $Author: bourtemb $
00011 //
00012 // $Revision: 1.1 $
00013 //
00014 // $Log: StrUtils_8h-source.html,v $
00014 // Revision 1.1  2005/06/30 15:24:54  bourtemb
00014 // Initial revision
00014 //
00015 //
00016 // copyleft :    European Synchrotron Radiation Facility
00017 //               BP 220, Grenoble 38043
00018 //               FRANCE
00019 //
00020 //=============================================================================
00021 //         (c) - Software Engineering Group - ESRF
00022 //=============================================================================
00023 
00024 #ifndef _STR_UTILS_H
00025 #define _STR_UTILS_H
00026 
00027 #include <string>
00028 
00029 using namespace std;
00030 
00031 //+----------------------------------------------------------------------------
00032 //
00033 // method :     string  addQuotes(String str)
00034 // 
00035 // description :        to add quote to the specified String
00036 // example : "It's cool" will become "It''s cool"
00037 // This function is usefull before a call to put_property
00038 //
00039 // in : str => the String to modify
00040 // out: The new String with qotes added
00041 //
00042 //-----------------------------------------------------------------------------
00043 
00044 string addQuotes(string str);
00045 
00046 #endif
Tango Device Server User's Guide



(c) ESRF - Software Engineering Group