|
Classes |
struct | static_caster< D > |
struct | dynamic_caster< D > |
Defines |
#define | PI 3.141592653589 |
#define | MOOSHERE MOOSFormat("File %s Line %d", __FILE__,__LINE__).c_str() |
#define | UNUSED_PARAMETER(a) |
Typedefs |
typedef std::list< std::string > | STRING_LIST |
Functions |
bool | MOOSGetValueFromToken (STRING_LIST &sParams, const std::string &sToken, std::string &sVal) |
bool | MOOSValFromString (std::string &sVal, const std::string &sStr, const std::string &sTk) |
bool | MOOSValFromString (double &dfVal, const std::string &sStr, const std::string &sTk) |
bool | MOOSValFromString (int &nVal, const std::string &sStr, const std::string &sTk) |
bool | MOOSValFromString (bool &bVal, const std::string &sStr, const std::string &sTk) |
bool | MOOSValFromString (std::vector< double > &dfValVec, int &nRows, int &nCols, const std::string &sStr, const std::string &sToken) |
bool | MOOSVectorFromString (const std::string &sStr, std::vector< double > &dfVecVal, int &nRows, int &nCols) |
bool | MOOSVectorFromString (const std::string &sStr, std::vector< unsigned int > &dfVecVal, int &nRows, int &nCols) |
std::string | DoubleVector2String (const std::vector< double > &V) |
std::stringstream & | Write (std::stringstream &os, const std::vector< double > &Vec) |
std::stringstream & | Write (std::stringstream &os, const std::vector< int > &Vec) |
std::string | MOOSChomp (std::string &sStr, const std::string &sTk=",") |
void | MOOSRemoveChars (std::string &sStr, const std::string &sTok) |
void | MOOSToUpper (std::string &str) |
void | MOOSTrimWhiteSpace (std::string &str) |
bool | MOOSIsNumeric (std::string str) |
bool | MOOSStrCmp (std::string s1, std::string s2) |
double | GetMOOSSkew () |
void | SetMOOSSkew (double dfSkew) |
void | MOOSPause (int nMS) |
double | MOOSTime () |
double | HPMOOSTime () |
int | MOOSGetch () |
void | MOOSTrace (std::string Str) |
void | MOOSTrace (char *FmtStr,...) |
std::string | MOOSFormat (char *FmtStr,...) |
bool | MOOSFail (char *FmtStr,...) |
std::string | MOOSGetTimeStampString () |
std::string | MOOSGetDate () |
void | Progress (double dfPC) |
std::string | MOOSThirdPartyActuationString (double *pdfRudder, double *pdfElevator, double *pdfThrust) |
std::string | MOOSThirdPartyStatusString (std::string sStatusCommand) |
double | MOOS_ANGLE_WRAP (double dfAng) |
double | MOOSDeg2Rad (double dfDeg) |
double | MOOSRad2Deg (double dfRad) |
bool | MOOSAbsLimit (double &dfVal, double dfLimit) |
double | MOOSWhiteNoise (double Sigma) |
double | MOOSNormalInv (double dfArea) |
int | MOOSDiscreteUniform (int nMin, int nMax) |
double | MOOSUniformRandom (double dfMin, double dfMax) |
template<class T> |
const T & | MOOSClamp (const T &val, const T &min, const T &max) |
bool | GetDirectoryContents (const std::string &sPath, std::list< std::string > &sContents, bool bFiles=true) |
bool | MOOSCreateDirectory (const std::string &sDirectory) |
bool | MOOSFileParts (std::string sFullPath, std::string &sPath, std::string &sFile, std::string &sExtension) |
template<class T> |
T | SwapByteOrder (const T &v) |
bool | IsLittleEndian () |