![]()  | 
  
    fpmas 1.6
    
   | 
 
Namespaces | |
| namespace | perf | 
Classes | |
| struct | Concat | 
| struct | Max | 
| struct | Min | 
| class | VoidCallback | 
Functions | |
| template<typename T1 , typename T2 > | |
| api::utils::PtrWrapper< T1 > | ptr_wrapper_cast (T2 *ptr) | 
| template<typename T1 , typename T2 > | |
| std::vector< api::utils::PtrWrapper< T1 > > | ptr_wrapper_cast (std::vector< T2 * > vec) | 
| std::string | format (std::string input, int rank) | 
| std::string | format (std::string input, api::scheduler::TimeStep time) | 
| std::string | format (std::string input, int rank, api::scheduler::TimeStep time) | 
| template<typename T > | |
| std::string | format (std::string input, std::string replace, T arg) | 
Utility classes.
| api::utils::PtrWrapper< T1 > fpmas::utils::ptr_wrapper_cast | ( | T2 * | ptr | ) | 
ptr is converted to T1 using a dynamic_cast operation, and the result is wrapped and returned in an fpmas::api::utils::PtrWrapper instance.
If T1==T2, no dynamic_cast is performed and the result is just wrapped in an fpmas::api::utils::PtrWrapper instance.
| ptr | pointer to cast | 
| T1 | target type | 
| T2 | source type | 
| std::vector< api::utils::PtrWrapper< T1 > > fpmas::utils::ptr_wrapper_cast | ( | std::vector< T2 * > | vec | ) | 
Applies ptr_wrapper_cast to all items of the input vector and returns a new fpmas::api::utils::PtrWrapper vector.
| vec | vector containing pointers to cast and wrap | 
| T1 | items target type | 
| T2 | items source type | 
| std::string fpmas::utils::format | ( | std::string | input, | 
| int | rank | ||
| ) | 
Replaces "%r" sequences in input by rank.
| input | input string | 
| rank | replacement rank | 
| std::string fpmas::utils::format | ( | std::string | input, | 
| api::scheduler::TimeStep | time | ||
| ) | 
Replaces "%t" sequences in input by time.
| input | input string | 
| time | replacement time | 
| std::string fpmas::utils::format | ( | std::string | input, | 
| int | rank, | ||
| api::scheduler::TimeStep | time | ||
| ) | 
Replaces "%r" and "%t" sequences in input respectibely by rank and time.
| input | input string | 
| rank | replacement rank | 
| time | replacement time | 
| std::string fpmas::utils::format | ( | std::string | input, | 
| std::string | replace, | ||
| T | arg | ||
| ) | 
Replaces all the occurences of replace in the input string by arg, serialized using the output stream operator <<.
| input | input string | 
| replace | sequence to replace | 
| arg | replacement |