hugin_base/hugin_utils/utils.cpp File Reference
#include "utils.h"#include <sys/time.h>#include <time.h>#include <stdio.h>#include <cstdio>Include dependency graph for utils.cpp:

Namespaces | |
| namespace | hugin_utils |
Functions | |
| std::string | CurrentTime () |
| current time as a string | |
| std::string | getExtension (const std::string &basename2) |
| Get extension of a filename. | |
| std::string | stripExtension (const std::string &basename2) |
| remove extension of a filename | |
| std::string | stripPath (const std::string &filename) |
| remove the path of a filename (mainly useful for gui display of filenames) | |
| std::string | getPathPrefix (const std::string &filename) |
| Get the path to a filename. | |
| std::string | doubleToString (double d, int digits) |
| convert a double to a string, suitable for display within a GUI. | |
| void | ControlPointErrorColour (const double cperr, double &r, double &g, double &b) |
Detailed Description
- Author:
- Pablo d'Angelo <pablo.dangelo@web.de>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Function Documentation
|
||||||||||||||||||||
|
|
|
|
current time as a string
|
|
||||||||||||
|
convert a double to a string, suitable for display within a GUI.
|
|
|
Get extension of a filename.
|
|
|
Get the path to a filename.
|
|
|
remove extension of a filename
|
|
|
remove the path of a filename (mainly useful for gui display of filenames)
|
1.3.9.1