ifw-core 6.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
tools.cpp File Reference
#include <sstream>
#include <typeinfo>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/algorithm/string.hpp>
#include <ifw/core/utils/base/tools.hpp>

Namespaces

namespace  ifw
 
namespace  ifw::core
 
namespace  ifw::core::utils
 
namespace  ifw::core::utils::base
 
namespace  ifw::core::utils::base::testutils
 

Functions

log4cplus::Logger & ifw::core::utils::base::Logger ()
 
std::string ifw::core::utils::base::ResolvePath (const std::string &filename)
 Resolve the filename if it contains env. variables, "~" and relative paths.
 
std::string ifw::core::utils::base::GenUniqueId (const std::string &prefix="")
 Generate a unique UUID based ID. A prefix may be prepended, if requested.
 
std::string ifw::core::utils::base::testutils::GetResDir (const std::string &module_path, const std::string &test_res_dir)
 Derives the "resource" directory from the current working point.
 
void ifw::core::utils::base::testutils::SetRootEnvVars (const std::string &module_path, const std::string &test_res_dir, const std::vector< std::string > &cfgpath_dirs)
 Set the root environment variables: CFGPATH, INTROOT, DATAROOT.
 
void IFW_DEBUG (const char *format,...)
 Print out a temporary debug log. These kind of logs should be removed from the code.
 

Function Documentation

◆ IFW_DEBUG()

void IFW_DEBUG ( const char * format,
... )

Print out a temporary debug log. These kind of logs should be removed from the code.