mtag: utils Class Reference

- Main Page
- Classes
- Files

- Class List
- Class Members

# utils Class Reference

`#include <utils.h>`

List of all members.

## Static Public Member Functions
static bool | setVerbose (const bool flag)
static void | vout (const char *s)
static void | vout (const string s)
static string | absPath (const char *path)
static void | setStripPath (const char *path)
static string | stripPath (const char *path)

## Detailed Description

some usefull things..

## Member Function Documentation

bool utils::setVerbose | ( | const bool | flag | ) | `[static]`

sets verbose output.

Parameters:

  `[in]` | flag |

void utils::vout | ( | const char * | s | ) | `[static]`

prints out s if verbose

Parameters:

  `[in]` | s |

void utils::vout | ( | const string | s | ) | `[static]`

See also:
  vout

string utils::absPath | ( | const char * | path | ) | `[static]`

build an absolut path from path)

Parameters:

  `[in]` | path | path

void utils::setStripPath | ( | const char * | path | ) | `[static]`

sets path to strip from output.

Parameters:

  `[in]` | path | path

string utils::stripPath | ( | const char * | path | ) | `[static]`

strips leading path from given path

Parameters:

  `[in]` | path | path

See also:
  setStripPath

The documentation for this class was generated from the following files:

- utils.h
- utils.cpp