#include <stdlib.h>
#include <sstream>
#include <functional>
#include <limits>
#include <boost/version.hpp>
#include <boost/cast.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include "libecs.hpp"
#include "Exceptions.hpp"
Go to the source code of this file.
Namespaces | |
namespace | libecs |
Classes | |
struct | libecs::PtrGreater< T > |
struct | libecs::PtrLess< T > |
class | libecs::StaticCaster< NEW, GIVEN > |
class | libecs::DynamicCaster< NEW, GIVEN > |
class | libecs::LexicalCaster< NEW, GIVEN > |
class | libecs::NumericCaster< NEW, GIVEN > |
Defines | |
#define | __STRINGCAST_SPECIALIZATION_DECL(NEW, GIVEN) template<> ECELL_API const NEW stringCast<NEW,GIVEN>( const GIVEN& ) |
#define | FOR_ALL(SEQCLASS, SEQ) |
Form a 'for' loop over a STL sequence. | |
#define | FOR_ALL_SECOND(SEQCLASS, SEQ, METHOD) |
For each 'second' member of element in a sequence, call a given method. | |
Functions | |
template<typename NEW, typename GIVEN> | |
const NEW | libecs::stringCast (const GIVEN &aValue) |
A universal to String / from String converter. | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (String, Real) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (String, HighReal) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (String, Integer) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (String, UnsignedInteger) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (Real, String) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (HighReal, String) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (Integer, String) | |
libecs::__STRINGCAST_SPECIALIZATION_DECL (UnsignedInteger, String) | |
void | libecs::eraseWhiteSpaces (StringRef str) |
Erase white space characters ( ' ', '', and ' ' ) from a string. | |
template<class Sequence> | |
void | libecs::checkSequenceSize (const Sequence &aSequence, const typename Sequence::size_type aMin, const typename Sequence::size_type aMax) |
Check if aSequence's size() is within [ aMin, aMax ]. | |
template<class Sequence> | |
void | libecs::checkSequenceSize (const Sequence &aSequence, const typename Sequence::size_type aMin) |
Check if aSequence's size() is at least aMin. | |
void | libecs::throwSequenceSizeError (const int aSize, const int aMin, const int aMax) |
ECELL_API void | libecs::throwSequenceSizeError (const int aSize, const int aMin) |
template<> | |
const Polymorph | libecs::nullValue () |
template<typename T> | |
Real | libecs::real_not (T n) |
These functions are prepared for ExpressionFluxProcess and are used in it. | |
template<typename T> | |
Real | libecs::real_eq (T n1, T n2) |
template<typename T> | |
Real | libecs::real_neq (T n1, T n2) |
template<typename T> | |
Real | libecs::real_gt (T n1, T n2) |
template<typename T> | |
Real | libecs::real_lt (T n1, T n2) |
template<typename T> | |
Real | libecs::real_geq (T n1, T n2) |
template<typename T> | |
Real | libecs::real_leq (T n1, T n2) |
template<typename T> | |
Real | libecs::real_and (T n1, T n2) |
template<typename T> | |
Real | libecs::real_or (T n1, T n2) |
template<typename T> | |
Real | libecs::real_xor (T n1, T n2) |
template<typename T> | |
T | libecs::asinh (T n) |
template<typename T> | |
T | libecs::acosh (T n) |
template<typename T> | |
T | libecs::atanh (T n) |
template<typename T> | |
T | libecs::sec (T n) |
template<typename T> | |
T | libecs::csc (T n) |
template<typename T> | |
T | libecs::cot (T n) |
template<typename T> | |
T | libecs::asec (T n) |
template<typename T> | |
T | libecs::acsc (T n) |
template<typename T> | |
T | libecs::acot (T n) |
template<typename T> | |
T | libecs::sech (T n) |
template<typename T> | |
T | libecs::csch (T n) |
template<typename T> | |
T | libecs::coth (T n) |
template<typename T> | |
T | libecs::asech (T n) |
template<typename T> | |
T | libecs::acsch (T n) |
template<typename T> | |
T | libecs::acoth (T n) |
template<typename T> | |
T | libecs::fact (T n) |
const Polymorph | libecs::convertStringMapToPolymorph (StringMapCref aMap) |