Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Namespaces | Functions
mrtUtils.h File Reference
#include <csl.h>
#include "mrtError.h"

Go to the source code of this file.

Namespaces

 mty
 Namespace of MARTY.
 

Functions

template<typename T , typename U >
bool mty::IsOfType (std::shared_ptr< const U > const &expr)
 
template<typename T , typename U >
bool mty::IsOfType (U const *expr)
 
template<typename T , typename U >
bool mty::IsOfType (U const &expr)
 
template<typename T , typename U >
std::shared_ptr< T > mty::ConvertToShared (std::shared_ptr< U > const &expr)
 
template<typename T , typename U >
T * mty::ConvertToPtr (std::shared_ptr< U > const &expr)
 
template<typename T , typename U >
const T * mty::ConvertToPtr (const U *expr)
 
template<typename T , typename U >
mty::ConvertTo (std::shared_ptr< U > const &expr)
 
template<typename T , typename U >
T & mty::ConvertTo (std::shared_ptr< U > &expr)
 
template<typename T , typename U >
T * mty::ConvertToPtr (U *parent)
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3