StringUtilities.h File Reference

#include "LocationType.h"
#include <stdio.h>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  StringUtilities

Functions

bool StringUtilities::readSTLString (FILE *pInputFile, size_t readSize, std::string &target, bool append=STL_OVERWRITE)
std::string StringUtilities::stripLeftWhitespace (const std::string &source)
std::string StringUtilities::stripRightWhitespace (const std::string &source)
std::string StringUtilities::stripWhitespace (const std::string &source)
bool StringUtilities::isAllBlank (const std::string &source)
std::string StringUtilities::toLower (const std::string &source)
std::string StringUtilities::toUpper (const std::string &source)
std::vector< std::string > StringUtilities::split (const std::string &source, char separator)
std::string StringUtilities::join (const std::vector< std::string > &source, const std::string &separator)
std::string StringUtilities::latLonToText (LocationType latLonCoords)
std::string StringUtilities::expandVariables (const std::string &originalString, const std::vector< std::string > &ignoredExpansions=std::vector< std::string >())
template<typename T>
std::string StringUtilities::toXmlString (const T &value, bool *pError=NULL)
template<typename T>
StringUtilities::fromXmlString (std::string value, bool *pError=NULL)
template<typename T>
std::string StringUtilities::toDisplayString (const T &value, bool *pError=NULL)
template<typename T>
StringUtilities::fromDisplayString (std::string value, bool *pError=NULL)
template<typename T>
std::vector< T > StringUtilities::getAllEnumValues ()
template<typename T>
std::vector< std::string > StringUtilities::getAllEnumValuesAsDisplayString ()
template<typename T>
std::vector< std::string > StringUtilities::getAllEnumValuesAsXmlString ()
const char * StringUtilities::escapedToken (const std::string &textIn=std::string())

Variables

const bool StringUtilities::STL_APPEND = true
const bool StringUtilities::STL_OVERWRITE = false


Software Development Kit - Opticks 4.9.0 Build 16218