Namespaces | Classes | Typedefs | Functions

OpenTissue::utility Namespace Reference

Namespaces

namespace  detail
namespace  dispatchers
namespace  trackball

Classes

class  BaseIDGenerator
class  ClassIDInterface
class  ClassID
class  ClassIDCompositor
class  EmptyTraits
class  FPSCounter
struct  greater_ptr
class  Identifier
class  IndexIterator
struct  less_ptr
class  map_data_iterator
class  Material
struct  RuntimeType
struct  TagSupportedType
struct  tag_traits
struct  tag_traits< T, typename T::has_tag >
class  Timer

Typedefs

typedef TagSupportedType< int > default_tag_supported_type

Functions

template<typename I1 , typename I2 >
I2 copy (I1 first, I1 last, I2 out)
std::string get_environment_variable (std::string const &name)
template<class T >
bool has_tag (T const &obj, typename boost::disable_if_c< tag_traits< T >::has_tag >::type *dummy=0)
template<class T >
bool has_tag (T const &obj, typename boost::enable_if_c< tag_traits< T >::has_tag >::type *dummy=0)
template<typename T >
tag_traits< T >::tag_type tag_value (T const &obj, typename boost::disable_if_c< tag_traits< T >::has_tag >::type *dummy=0)
template<typename T >
tag_traits< T >::tag_type tag_value (T const &obj, typename boost::enable_if_c< tag_traits< T >::has_tag >::type *dummy=0)
template<class T >
void set_tag (T &, typename tag_traits< T >::tag_type const &, typename boost::disable_if_c< tag_traits< T >::has_tag >::type *dummy=0)
template<class T >
void set_tag (T &obj, typename tag_traits< T >::tag_type const &tag, typename boost::enable_if_c< tag_traits< T >::has_tag >::type *dummy=0)

Typedef Documentation


Function Documentation

template<typename I1 , typename I2 >
I2 OpenTissue::utility::copy ( I1  first,
I1  last,
I2  out 
)
std::string OpenTissue::utility::get_environment_variable ( std::string const &  name  )  [inline]

Retrieve Value of Environment Variable. If environment variable can not be found then a std::logic_error warning is thrown.

Parameters:
A string containing the name of the environment variable. Example: "OPENTISSUE".
Returns:
A string containing the value.
template<class T >
bool OpenTissue::utility::has_tag ( T const &  obj,
typename boost::enable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]
template<class T >
bool OpenTissue::utility::has_tag ( T const &  obj,
typename boost::disable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]
template<class T >
void OpenTissue::utility::set_tag ( T &  ,
typename tag_traits< T >::tag_type const &  ,
typename boost::disable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]
template<class T >
void OpenTissue::utility::set_tag ( T &  obj,
typename tag_traits< T >::tag_type const &  tag,
typename boost::enable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]
template<typename T >
tag_traits<T>::tag_type OpenTissue::utility::tag_value ( T const &  obj,
typename boost::enable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]
template<typename T >
tag_traits<T>::tag_type OpenTissue::utility::tag_value ( T const &  obj,
typename boost::disable_if_c< tag_traits< T >::has_tag >::type dummy = 0 
) [inline]