Function eCAL::Config::GeteCALDataDirImpl

Function Documentation

std::string eCAL::Config::GeteCALDataDirImpl(const Util::IDirProvider &dir_provider_ = Util::DirProvider(), const Util::IDirManager &dir_manager_ = Util::DirManager())

Returns the path to the eCAL data directory. Searches in following order:

  1. Environment variable ECAL_DATA
  2. Local user path
  3. System path like /etc/ecal, ProgramData/eCAL

Returns:

The path to the eCAL data directory. Returns empty string no valid path was or the path does not exist yet.