|
WPOCT Software Developer's Kit (SDK)
SDK For using Wasatch Photonics OCT Spectrometers
|
Utility functions. More...
#include "stdafx.h"#include <boost/algorithm/string.hpp>#include <boost/thread/thread.hpp>#include <boost/filesystem/operations.hpp>#include <iostream>#include "FileUtils.h"#include "Helper.h"
Functions | |
| void | Waitms (int val) |
| bool | ParseBool (const char *cstr) |
| int | ParseNumberInt (const char *cstr) |
| double | ParseNumberDouble (const char *cstr) |
| std::string | GetFilledDigits (int number, size_t totalDigits) |
| Gets the string prefixed with zeros so the string is a certain length. More... | |
| std::string | GetUserProfile () |
| void | GetFullPathName (const char *rpstr, char *&ret_buff, int buffLen) |
| void | GetFullPathName (const char *rpstr, const char *ipstr, char *&ret_buff, int buffLen) |
| std::string | GetFullPathName (std::string relativePathName, std::string initPath) |
| void | StringToLower (std::string &str) |
| void | StringToUpper (std::string &str) |
| void | smessage (std::string msg) |
Utility functions.
| std::string GetFilledDigits | ( | int | number, |
| size_t | totalDigits | ||
| ) |
Gets the string prefixed with zeros so the string is a certain length.
Gets the string prefixed with zeros so the string is a certain length.
| number | The number to convert to a string. |
| totalDigits | The total length to make the string. |