|
template<typename Container > |
bool | casa::utilj::containsKey (const typename Container::key_type &key, const Container &container) |
| template <typename Element, typename Container> bool contains (const Element & e, const Container & c) { return c.find(e) != c.end(); } More...
|
|
template<typename Container > |
bool | casa::utilj::contains (const typename Container::value_type &e, const Container &c) |
|
template<typename F , typename S > |
F & | casa::utilj::first (std::pair< F, S > &pair) |
|
template<typename F , typename S > |
const F & | casa::utilj::first (const std::pair< F, S > &pair) |
|
template<typename Container , typename Element > |
Container | casa::utilj::fillContainer (Element sentinel,...) |
|
template<typename F , typename S > |
FirstFunctor< F, S > | casa::utilj::firstFunctor () |
|
*casacore::String | casa::utilj::formatV (const casacore::String &formatString, va_list vaList) |
| DEPRECATED (casacore::String format (const char * formatString,...) /* "Use casacore::String::format". More...
|
|
template<typename T > |
T | casa::utilj::getEnv (const casacore::String &name, const T &defaultValue) |
|
bool | casa::utilj::getEnv (const casacore::String &name, const bool &defaultValue) |
|
int | casa::utilj::getEnv (const casacore::String &name, const int &defaultValue) |
|
casacore::String | casa::utilj::getTimestamp () |
|
bool | casa::utilj::isEnvDefined (const casacore::String &name) |
|
std::vector< casacore::String > | casa::utilj::split (const casacore::String &string, const casacore::String &splitter, bool ignoreConsecutiveSplitters=false) |
|
template<typename Itr > |
casacore::String | casa::utilj::join (Itr begin, Itr end, const casacore::String &delimiter) |
|
template<typename T > |
casacore::String | casa::utilj::join (const T &strings, const casacore::String &delimiter) |
|
template<typename Itr , typename F > |
casacore::String | casa::utilj::join (Itr begin, Itr end, F f, const casacore::String &delimiter) |
|
template<typename K , typename V > |
std::vector< K > | casa::utilj::mapKeys (const std::map< K, V > &aMap) |
|
casacore::AipsError | casa::utilj::repackageAipsError (casacore::AipsError &error, const casacore::String &message, const casacore::String &file, int line, const casacore::String &func) |
|
template<typename F , typename S > |
F & | casa::utilj::second (std::pair< F, S > &pair) |
|
template<typename F , typename S > |
const F & | casa::utilj::second (const std::pair< F, S > &pair) |
|
template<typename F , typename S > |
SecondFunctor< F, S > | casa::utilj::secondFunctor () |
|
template<typename K , typename V > |
std::vector< V > | casa::utilj::mapValues (const std::map< K, V > &aMap) |
|
void | casa::utilj::printBacktrace (std::ostream &os, const casacore::String &prefix="") |
|
long | casa::utilj::round (double d) |
|
void | casa::utilj::sleepMs (int milliseconds) |
|
void | casa::utilj::toStdError (const casacore::String &m, const casacore::String &prefix="*E* ") |
|
void | casa::utilj::throwIf (bool condition, const casacore::String &message, const casacore::String &file, int line, const casacore::String &func=casacore::String()) |
|
void | casa::utilj::throwIfError (int errorCode, const casacore::String &prefix, const casacore::String &file, int line, const casacore::String &func=casacore::String()) |
|
template<typename It , typename Obj > |
casacore::String | casa::utilj::containerToString (It begin, It end, casacore::String(Obj::*func)() const, const casacore::String &delimiter=",", const casacore::String &wrapper="") |
|
| casa::utilj::transform (a.begin(), a.end(), std::ostream_iterator< int >(cout,"\n"), compose(unary(h), compose(unary(f), unary(f)))) |
| Global Functions. More...
|
|
template<typename F , typename G > |
ComposedFunctor< F, G > | casa::utilj::compose (F f, G g) |
|
template<typename D , typename R > |
UnaryFunctor< D, R > | casa::utilj::unary (R(*f)(D)) |
|