#include <utils.h>
Static Public Member Functions | |
static void | encodeVectorDoubleAsString (const vector< double > &v, string &s) |
Encode data in a vector double as a string. | |
static bool | getCommandLineArgument (const QStringList ¶meter, QString &value) |
Overloaded function provided for conveniance. | |
static bool | getCommandLineArgument (const QString ¶meter, QString &value) |
Retrieve an argument from the command line. |
Various utilities for use by TRANTOO itself.
static void Utils::encodeVectorDoubleAsString | ( | const vector< double > & | v, | |
string & | s | |||
) | [inline, static] |
Encode data in a vector double as a string.
v | source vector | |
s | target string |
static bool Utils::getCommandLineArgument | ( | const QStringList & | parameter, | |
QString & | value | |||
) | [inline, static] |
Overloaded function provided for conveniance.
parameter | used to identify the option being used | |
value | for the parameter |
static bool Utils::getCommandLineArgument | ( | const QString & | parameter, | |
QString & | value | |||
) | [inline, static] |
Retrieve an argument from the command line.
parameter | used to identify the option being used (supplied by the caller) | |
value | for the parameter (supplied by this method) |