|
template<typename EnumType > |
Flags< EnumType > | makeFlags (EnumType value) |
|
CPPASSIST_API AbstractLogHandler * | loggingHandler () |
| Get global logging handler. More...
|
|
CPPASSIST_API void | setLoggingHandler (AbstractLogHandler *handler) |
| Set global logging handler. More...
|
|
CPPASSIST_API int | verbosityLevel () |
| Get current log level. More...
|
|
CPPASSIST_API void | setVerbosityLevel (int verbosity) |
| Set current log level. More...
|
|
CPPASSIST_API LogMessageBuilder | log (int level, const std::string &context="") |
| Get log stream. More...
|
|
CPPASSIST_API LogMessageBuilder | critical (const std::string &context="") |
| Get log stream for critical errors. More...
|
|
CPPASSIST_API LogMessageBuilder | error (const std::string &context="") |
| Get log stream for error messages. More...
|
|
CPPASSIST_API LogMessageBuilder | warning (const std::string &context="") |
| Get log stream for warning messages. More...
|
|
CPPASSIST_API LogMessageBuilder | info (const std::string &context="") |
| Get log stream for info messages. More...
|
|
CPPASSIST_API LogMessageBuilder | debug (const std::string &context="") |
| Get log stream for debug messages. More...
|
|
CPPASSIST_API LogMessageBuilder | debug (unsigned int debugLevel, const std::string &context="") |
| Get log stream for debug messages at a given debug level. More...
|
|
template<class T , class... Args> |
detail::UniqueIf< T >::UniqueSingle | make_unique (Args &&... args) |
|
template<class T > |
detail::UniqueIf< T >::UniqueArrayUnknownBound | make_unique (std::size_t n) |
|
template<class T , class... Args> |
detail::UniqueIf< T >::UniqueArrayKnownBound | make_unique (Args &&...)=delete |
|
template<typename Class , typename Type > |
std::ptrdiff_t | offset (Type Class::*member) |
| Determines the offset of a member within a class. More...
|
|
template<typename T , size_t SIMD_SIZE> |
void | add (const vector< T, SIMD_SIZE > &first, const vector< T, SIMD_SIZE > &second, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | sub (const vector< T, SIMD_SIZE > &first, const vector< T, SIMD_SIZE > &second, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | mul (const vector< T, SIMD_SIZE > &first, const vector< T, SIMD_SIZE > &second, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | div (const vector< T, SIMD_SIZE > &first, const vector< T, SIMD_SIZE > &second, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | add (const vector< T, SIMD_SIZE > &first, const typename vector< T, SIMD_SIZE >::primitive_type &scalar, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | sub (const vector< T, SIMD_SIZE > &first, const typename vector< T, SIMD_SIZE >::primitive_type &scalar, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | mul (const vector< T, SIMD_SIZE > &first, const typename vector< T, SIMD_SIZE >::primitive_type &scalar, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | div (const vector< T, SIMD_SIZE > &first, const typename vector< T, SIMD_SIZE >::primitive_type &scalar, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | add (const typename vector< T, SIMD_SIZE >::primitive_type &scalar, const vector< T, SIMD_SIZE > &first, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | sub (const typename vector< T, SIMD_SIZE >::primitive_type &scalar, const vector< T, SIMD_SIZE > &first, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | mul (const typename vector< T, SIMD_SIZE >::primitive_type &scalar, const vector< T, SIMD_SIZE > &first, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | div (const typename vector< T, SIMD_SIZE >::primitive_type &scalar, const vector< T, SIMD_SIZE > &first, vector< T, SIMD_SIZE > &result) |
|
template<typename T , size_t SIMD_SIZE> |
void | sqrt (const vector< T, SIMD_SIZE > &first, vector< T, SIMD_SIZE > &result) |
|
void * | aligned_malloc (size_t size, size_t alignment) |
|
void | aligned_free (void *ptr) |
|
auto | operator+ (const value< float, 1 > &first, const value< float, 1 > &second) -> value< float, 1 > |
|
auto | operator- (const value< float, 1 > &first, const value< float, 1 > &second) -> value< float, 1 > |
|
auto | operator* (const value< float, 1 > &first, const value< float, 1 > &second) -> value< float, 1 > |
|
auto | operator/ (const value< float, 1 > &first, const value< float, 1 > &second) -> value< float, 1 > |
|
auto | operator+ (const value< float, 1 > &first, const value< float, 1 >::primitive_type &scalar) -> value< float, 1 > |
|
auto | operator- (const value< float, 1 > &first, const value< float, 1 >::primitive_type &scalar) -> value< float, 1 > |
|
auto | operator* (const value< float, 1 > &first, const value< float, 1 >::primitive_type &scalar) -> value< float, 1 > |
|
auto | operator/ (const value< float, 1 > &first, const value< float, 1 >::primitive_type &scalar) -> value< float, 1 > |
|
auto | operator+ (const value< float, 1 >::primitive_type &scalar, const value< float, 1 > &other) -> value< float, 1 > |
|
auto | operator- (const value< float, 1 >::primitive_type &scalar, const value< float, 1 > &other) -> value< float, 1 > |
|
auto | operator* (const value< float, 1 >::primitive_type &scalar, const value< float, 1 > &other) -> value< float, 1 > |
|
auto | operator/ (const value< float, 1 >::primitive_type &scalar, const value< float, 1 > &other) -> value< float, 1 > |
|
auto | sqrt (const value< float, 1 > &first) -> value< float, 1 > |
|
auto | operator+ (const value< float, 16 > &first, const value< float, 16 > &second) -> value< float, 16 > |
|
auto | operator- (const value< float, 16 > &first, const value< float, 16 > &second) -> value< float, 16 > |
|
auto | operator* (const value< float, 16 > &first, const value< float, 16 > &second) -> value< float, 16 > |
|
auto | operator/ (const value< float, 16 > &first, const value< float, 16 > &second) -> value< float, 16 > |
|
auto | operator+ (const value< float, 16 > &first, const value< float, 16 >::primitive_type &scalar) -> value< float, 16 > |
|
auto | operator- (const value< float, 16 > &first, const value< float, 16 >::primitive_type &scalar) -> value< float, 16 > |
|
auto | operator* (const value< float, 16 > &first, const value< float, 16 >::primitive_type &scalar) -> value< float, 16 > |
|
auto | operator/ (const value< float, 16 > &first, const value< float, 16 >::primitive_type &scalar) -> value< float, 16 > |
|
auto | operator+ (const value< float, 16 >::primitive_type &scalar, const value< float, 16 > &other) -> value< float, 16 > |
|
auto | operator- (const value< float, 16 >::primitive_type &scalar, const value< float, 16 > &other) -> value< float, 16 > |
|
auto | operator* (const value< float, 16 >::primitive_type &scalar, const value< float, 16 > &other) -> value< float, 16 > |
|
auto | operator/ (const value< float, 16 >::primitive_type &scalar, const value< float, 16 > &other) -> value< float, 16 > |
|
auto | sqrt (const value< float, 16 > &first) -> value< float, 16 > |
|
auto | operator+ (const value< float, 4 > &first, const value< float, 4 > &second) -> value< float, 4 > |
|
auto | operator- (const value< float, 4 > &first, const value< float, 4 > &second) -> value< float, 4 > |
|
auto | operator* (const value< float, 4 > &first, const value< float, 4 > &second) -> value< float, 4 > |
|
auto | operator/ (const value< float, 4 > &first, const value< float, 4 > &second) -> value< float, 4 > |
|
auto | operator+ (const value< float, 4 > &first, const value< float, 4 >::primitive_type &scalar) -> value< float, 4 > |
|
auto | operator- (const value< float, 4 > &first, const value< float, 4 >::primitive_type &scalar) -> value< float, 4 > |
|
auto | operator* (const value< float, 4 > &first, const value< float, 4 >::primitive_type &scalar) -> value< float, 4 > |
|
auto | operator/ (const value< float, 4 > &first, const value< float, 4 >::primitive_type &scalar) -> value< float, 4 > |
|
auto | operator+ (const value< float, 4 >::primitive_type &scalar, const value< float, 4 > &other) -> value< float, 4 > |
|
auto | operator- (const value< float, 4 >::primitive_type &scalar, const value< float, 4 > &other) -> value< float, 4 > |
|
auto | operator* (const value< float, 4 >::primitive_type &scalar, const value< float, 4 > &other) -> value< float, 4 > |
|
auto | operator/ (const value< float, 4 >::primitive_type &scalar, const value< float, 4 > &other) -> value< float, 4 > |
|
auto | sqrt (const value< float, 4 > &first) -> value< float, 4 > |
|
auto | operator+ (const value< float, 8 > &first, const value< float, 8 > &second) -> value< float, 8 > |
|
auto | operator- (const value< float, 8 > &first, const value< float, 8 > &second) -> value< float, 8 > |
|
auto | operator* (const value< float, 8 > &first, const value< float, 8 > &second) -> value< float, 8 > |
|
auto | operator/ (const value< float, 8 > &first, const value< float, 8 > &second) -> value< float, 8 > |
|
auto | operator+ (const value< float, 8 > &first, const value< float, 8 >::primitive_type &scalar) -> value< float, 8 > |
|
auto | operator- (const value< float, 8 > &first, const value< float, 8 >::primitive_type &scalar) -> value< float, 8 > |
|
auto | operator* (const value< float, 8 > &first, const value< float, 8 >::primitive_type &scalar) -> value< float, 8 > |
|
auto | operator/ (const value< float, 8 > &first, const value< float, 8 >::primitive_type &scalar) -> value< float, 8 > |
|
auto | operator+ (const value< float, 8 >::primitive_type &scalar, const value< float, 8 > &other) -> value< float, 8 > |
|
auto | operator- (const value< float, 8 >::primitive_type &scalar, const value< float, 8 > &other) -> value< float, 8 > |
|
auto | operator* (const value< float, 8 >::primitive_type &scalar, const value< float, 8 > &other) -> value< float, 8 > |
|
auto | operator/ (const value< float, 8 >::primitive_type &scalar, const value< float, 8 > &other) -> value< float, 8 > |
|
auto | sqrt (const value< float, 8 > &first) -> value< float, 8 > |
|
template<typename Callback , typename Vector , typename... Vectors> |
void | traverse (Callback callback, Vector &&vector, Vectors &&... vectors) |
|
template<typename Callback , typename Vector , typename... Vectors> |
void | traverse_mt (Callback callback, Vector &&vector, Vectors &&... vectors) |
|
CPPASSIST_API size_t | getNumberOfThreads () |
| Get optimal number of threads for parallelization. More...
|
|
template<typename T > |
void | forEach (T start, T end, typename identity< std::function< void(T)>>::type callback, bool parallelize=true) |
| Call a function on each iteration of a loop. More...
|
|
template<typename T > |
void | parallelFor (T start, T end, typename identity< std::function< void(T)>>::type callback) |
| Call a function on each iteration of a loop (parallelized in threads) More...
|
|
template<typename T > |
void | parallelFor (const std::vector< T > &elements, typename identity< std::function< void(const T &element)>>::type callback) |
| Call a function on each item of a list (parallelized in threads) More...
|
|
template<typename T > |
void | parallelFor (std::vector< T > &elements, typename identity< std::function< void(T &element)>>::type callback) |
| Call a function on each item of a list (parallelized in threads) More...
|
|
template<typename T > |
void | sequentialFor (T start, T end, typename identity< std::function< void(T)>>::type callback) |
| Call a function on each iteration of a loop (sequential) More...
|
|
template<typename T > |
void | sequentialFor (const std::vector< T > &elements, typename identity< std::function< void(const T &element)>>::type callback) |
| Call a function on each item of a list (sequential) More...
|
|
template<typename T > |
void | sequentialFor (std::vector< T > &elements, typename identity< std::function< void(T &element)>>::type callback) |
| Call a function on each item of a list (sequential) More...
|
|