godot/thirdparty/embree/common/sys/filename.cpp

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#include "filename.h"
#include "sysinfo.h"

namespace embree
{
#ifdef __WIN32__
  const char path_sep = '\\';
#else
  const char path_sep =;
#endif

  /*! create an empty filename */
  FileName::FileName () {}

  /*! create a valid filename from a string */
  FileName::FileName (const char* in) {}

  /*! create a valid filename from a string */
  FileName::FileName (const std::string& in) {}
  
  /*! returns path to home folder */
  FileName FileName::homeFolder() 
  {}

  /*! returns path to executable */
  FileName FileName::executableFolder() {}

  /*! returns the path */
  FileName FileName::path() const {}

  /*! returns the basename */
  std::string FileName::base() const {}

  /*! returns the extension */
  std::string FileName::ext() const {}

  /*! returns the extension */
  FileName FileName::dropExt() const {}

  /*! returns the basename without extension */
  std::string FileName::name() const {}

  /*! replaces the extension */
  FileName FileName::setExt(const std::string& ext) const {}

  /*! adds the extension */
  FileName FileName::addExt(const std::string& ext) const {}

  /*! concatenates two filenames to this/other */
  FileName FileName::operator +( const FileName& other ) const {}

  /*! concatenates two filenames to this/other */
  FileName FileName::operator +( const std::string& other ) const {}

  /*! removes the base from a filename (if possible) */
  FileName FileName::operator -( const FileName& base ) const {}

  /*! == operator */
  bool operator== (const FileName& a, const FileName& b) {}
  
  /*! != operator */
  bool operator!= (const FileName& a, const FileName& b) {}

  /*! output operator */
  std::ostream& operator<<(std::ostream& cout, const FileName& filename) {}
}