util.h File Reference

#include <list>
#include <sstream>
#include "compressed.h"
#include "utilException.h"
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/exception.hpp>

Go to the source code of this file.

Namespaces

namespace  Spm
namespace  Spm::Util

Functions

miniXml::ustring Spm::Util::getUserName ()
boost::filesystem::path Spm::Util::getUserHome ()
boost::filesystem::path Spm::Util::getUserHome (const miniXml::ustring &user) throw (UnknownUserException)
boost::filesystem::path Spm::Util::getSpmUserDir ()
boost::filesystem::path Spm::Util::getSpmUserDir (const miniXml::ustring &user)
bool Spm::Util::isRoot ()
void Spm::Util::checkSpmDir (const boost::filesystem::path &dir)
 Check the Spm directory structure.
bool Spm::Util::haveEnoughRight (const boost::filesystem::path &dir)
 Check that the user have write access to a dir.
template<class T>
miniXml::ustring Spm::Util::toString (T t)
bool Spm::Util::checkPath (const boost::filesystem::path &path)
 Check if a path exist.
int Spm::Util::numberOfProcessors ()


Generated on Sat Mar 21 17:00:14 2009 for libSpm by  doxygen 1.5.2