#include <sys/times.h>#include <sys/resource.h>#include <cstring>#include <cctype>#include <algorithm>#include <stdio.h>#include <iostream>#include <iomanip>#include "TypeDef.h"#include "Util.h"#include "Timer.h"#include "util/file.hh"Go to the source code of this file.
Namespaces | |
| namespace | Moses |
Functions | |
| string | Moses::GetTempFolder () |
| x-platform reference to temp folder | |
| const std::string | Moses::ToLower (const std::string &str) |
| template<> | |
| bool | Moses::Scan< bool > (const std::string &input) |
| Specialisation to understand yes/no y/n true/false 0/1. | |
| bool | Moses::FileExists (const std::string &filePath) |
| const std::string | Moses::Trim (const std::string &str, const std::string dropChars=" \t\n\r") |
| delete white spaces at beginning and end of string | |
| void | Moses::ResetUserTime () |
| void | Moses::PrintUserTime (const std::string &message) |
| double | Moses::GetUserTime () |
| std::map< std::string, std::string > | Moses::ProcessAndStripSGML (std::string &line) |
Variables | |
| Timer | Moses::g_timer |
1.5.9