#include <dtUtil/export.h>
#include <sstream>
#include <algorithm>
#include <locale>
#include <string>
#include <vector>
#include <functional>
#include <osg/io_utils>
Namespaces | ||||
| namespace | dtUtil | |||
Classes | ||||
| class | dtUtil::StringTokenizer< Pred > | |||
| class | dtUtil::IsSpace | |||
| A functor which tests if a character is whitespace. More... | ||||
| class | dtUtil::IsSlash | |||
| Determines if the current character is a forward slash. More... | ||||
| class | dtUtil::IsDelimeter | |||
| Generic string delimeter check function class. More... | ||||
Functions | ||||
| const std::string & | dtUtil::trim (std::string &toTrim) | |||
| Trims whitespace off the front and end of a string. | ||||
| template<class VecType> | ||||
| bool | dtUtil::ParseVec (const std::string &value, VecType &vec, unsigned size, unsigned numberPrecision=16) | |||
| A templated function for taking any of the osg vector types and reading the data from a string. | ||||
| template<typename T> | ||||
| std::string | dtUtil::ToString (const T &t) | |||
| A utility function to convert a basic type into a string. | ||||
| long DT_UTIL_EXPORT | dtUtil::GetTimeZone (tm &timeParts) | |||
| const std::string DT_UTIL_EXPORT | dtUtil::TimeAsUTC (time_t time) | |||
| ||||
| float DT_UTIL_EXPORT | dtUtil::ToFloat (const std::string &d) | |||
| Converts a string to a 'float'. | ||||
| double DT_UTIL_EXPORT | dtUtil::ToDouble (const std::string &str) | |||
| converts a std::string to a 'double' | ||||
| unsigned int DT_UTIL_EXPORT | dtUtil::ToUnsignedInt (const std::string &u) | |||
| converts a std::string to an 'unsigned int' | ||||
| template<typename T> | ||||
| T | dtUtil::ToType (const std::string &u) | |||
| Converts a string to a specified type. | ||||
| bool DT_UTIL_EXPORT | dtUtil::Match (char *wildCards, char *str) | |||
| void DT_UTIL_EXPORT | dtUtil::MakeIndexString (unsigned index, std::string &toFill, unsigned paddedLength=4) | |||
| ||||
David Guthrie John K. Grant William E. Johnson II Chris Osborn