Functions
OSStringUtil.cpp File Reference
#include "OSStringUtil.h"
#include "OSParameters.h"
#include "OSBase64.h"
#include "OSMathUtil.h"
#include <sstream>
Include dependency graph for OSStringUtil.cpp:

Go to the source code of this file.

Functions

std::string writeStringData (std::string str)
 writeStringData More...
 
std::string makeStringFromInt (std::string theString, int theInt)
 

Detailed Description

Author
Horand Gassmann, Jun Ma, Kipp Martin
Remarks
Copyright (C) 2005-2012, Horand Gassmann, Jun Ma, Kipp Martin, Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Eclipse Public License. Please see the accompanying LICENSE file in root directory for terms.

Definition in file OSStringUtil.cpp.

Function Documentation

std::string writeStringData ( std::string  str)

writeStringData

Prepare and output a string that may contain special characters (single or double quotes)

Parameters
strholds the string to be output. If the string does not contain double quotes, it is output surrounded by double quotes, if the string contains double quotes, it is output surrounded by single quotes,
Returns
the prepared string, ready to be printed

Definition at line 38 of file OSStringUtil.cpp.

std::string makeStringFromInt ( std::string  theString,
int  theInt 
)

Definition at line 55 of file OSStringUtil.cpp.