|
libpsynth 0.2.1
|
Time-stamp: <2010-10-17 20:56:57 raskolnikov> More...
#include <string>

Go to the source code of this file.
Namespaces | |
| namespace | psynth |
| namespace | psynth::base |
Functions | |
| template<class T > | |
| T | psynth::base::clamp (T x, T min, T max) |
| template<typename T > | |
| T | psynth::base::sign (T x) |
| Returns the sign of a number or zero if zero. | |
| template<class T > | |
| T | psynth::base::phase (T x) |
| Returns the fractional part of a number. | |
| template<class T > | |
| T | psynth::base::linear_interp (T val, T next, T delta) |
| Returns the linear interpolation between to values. | |
| char * | psynth::base::itoa (int val, int base) |
| Returns a the string representation of an integer. | |
| char * | psynth::base::ftoa (double f, double sigfigs) |
| Returns a the string representation of a floating point. | |
| int | psynth::base::strcmp_i (const char *a, const char *b) |
| Compares two strings without being case sensible. | |
| std::string | psynth::base::dirname_str (std::string str) |
String implementation of dirname. | |
| const char * | psynth::base::get_extension (const char *file) |
| Returns a pointer to the begining of the extension part of a file name string, defined as the first character after the last dot in the string or the begining of the string if no dot is in it. | |
Time-stamp: <2010-10-17 20:56:57 raskolnikov>
Time-stamp: <2011-06-28 17:09:57 raskolnikov>
Miscellaneos functions. Interface. This file is part of the Psychosynth project.
1.7.4