Class Utils

Class Documentation

class Utils

AIAA Utils.

Public Static Functions

static bool iequals(const std::string &a, const std::string &b)

compare if 2 strings are same with ignore-case

Parameters
  • a: left string
  • b: right string
Return Value
  • true: if a == b
  • false: if a != b

static std::string to_lower(std::string str)

convert string to lower case

Return
lower case version of input string
Parameters
  • str: input string

static std::string tempfilename()

get temporary filename

Return
full path for temporary file

static std::vector<std::string> split(const std::string &str, char delim)

split the sting

Return
vector of split strings
Parameters
  • str: input string
  • delim: delimiter character

static Point stringToPoint(const std::string &str, char delim)

3D point

Parameters
  • str: input string
  • delim: delimiter character
  • point: size which represents x,y,z