WSF
SOSM_Utility.hpp File Reference
#include <iosfwd>
#include <string>
#include <vector>
#include "UtLog.hpp"
Include dependency graph for SOSM_Utility.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SOSM_Utility
 A collection of utility functions.

Enumerations

enum  SOSM_Utility::SpectralPrintFormat { SOSM_Utility::cSPF_WAVENUMBER , SOSM_Utility::cSPF_WAVELENGTH }

Functions

void SOSM_Utility::SetSpectralPrintFormat (SpectralPrintFormat aSpectralPrintFormat)
void SOSM_Utility::PrintSpectralVector (ut::log::MessageStream &aStream, const SOSM_Selector &aSelector, const std::vector< float > &aVector, const std::string &aHeader)
 Print a vector that represents the spectral product of something (target model, atmosphere, etc.).
std::string SOSM_Utility::BaseName (const std::string &aPath)
 A C++ equivalent of the Unix 'basename' command, without the option to remove the suffix.
std::string SOSM_Utility::DirName (const std::string &aPath)
void SOSM_Utility::StripPathPrefix (const std::string &aPrefixedPath, std::string &aPrefix, std::string &aPath)
 Strip off Windows/DOS path prefix data.
bool SOSM_Utility::MakePath (const std::string &aPath)
 Like Unix 'mkdir -p'.
bool SOSM_Utility::CreateDirectory (const std::string &aDirName)
bool SOSM_Utility::DirectoryExists (const std::string &aDirName)
bool SOSM_Utility::FileExists (const std::string &aFileName)
bool SOSM_Utility::FileIsCurrent (const std::string &aTargetFile, const std::string &aSourceFile)
double SOSM_Utility::FileModificationTime (const std::string &aFile)
Copyrights Multiple, All Rights Reserved