clan::Resource< Type > Class Template Reference

Resource proxy of a specific type. More...

#include <resource.h>

Public Member Functions

 Resource ()
 
 Resource (std::shared_ptr< Resource_Impl< Type > > object)
 
 Resource (const Type &initial_value)
 
Type & get ()
 
const Type & get () const
 
const std::shared_ptr
< Resource_Impl< Type > > & 
handle () const
 
 operator const Type & () const
 
 operator Type & ()
 
bool operator!= (const Resource &other) const
 
Type * operator-> ()
 
const Type * operator-> () const
 
bool operator< (const Resource &other) const
 
bool operator<= (const Resource &other) const
 
bool operator== (const Resource &other) const
 
bool operator> (const Resource &other) const
 
bool operator>= (const Resource &other) const
 
void set (const Type &value)
 
bool updated ()
 

Detailed Description

template<typename Type>
class clan::Resource< Type >

Resource proxy of a specific type.

Constructor & Destructor Documentation

template<typename Type>
clan::Resource< Type >::Resource ( )
inline
template<typename Type>
clan::Resource< Type >::Resource ( std::shared_ptr< Resource_Impl< Type > >  object)
inline
template<typename Type>
clan::Resource< Type >::Resource ( const Type &  initial_value)
inline

Member Function Documentation

template<typename Type>
Type& clan::Resource< Type >::get ( )
inline
template<typename Type>
const Type& clan::Resource< Type >::get ( ) const
inline
template<typename Type>
const std::shared_ptr<Resource_Impl<Type> >& clan::Resource< Type >::handle ( ) const
inline
template<typename Type>
clan::Resource< Type >::operator const Type & ( ) const
inline
template<typename Type>
clan::Resource< Type >::operator Type & ( )
inline
template<typename Type>
bool clan::Resource< Type >::operator!= ( const Resource< Type > &  other) const
inline
template<typename Type>
Type* clan::Resource< Type >::operator-> ( )
inline
template<typename Type>
const Type* clan::Resource< Type >::operator-> ( ) const
inline
template<typename Type>
bool clan::Resource< Type >::operator< ( const Resource< Type > &  other) const
inline
template<typename Type>
bool clan::Resource< Type >::operator<= ( const Resource< Type > &  other) const
inline
template<typename Type>
bool clan::Resource< Type >::operator== ( const Resource< Type > &  other) const
inline
template<typename Type>
bool clan::Resource< Type >::operator> ( const Resource< Type > &  other) const
inline
template<typename Type>
bool clan::Resource< Type >::operator>= ( const Resource< Type > &  other) const
inline
template<typename Type>
void clan::Resource< Type >::set ( const Type &  value)
inline
template<typename Type>
bool clan::Resource< Type >::updated ( )
inline

The documentation for this class was generated from the following file: