library of assembled shared sources

http://lass.cocamware.com

lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType > Class Template Reference

Helper class of the enforce macro's. More...

#include <enforcer_impl.h>


Public Member Functions

 Enforcer (T t, ClosureType closure, const char *locus)
operator* () const
template<class MsgType >
Enforceroperator() (const MsgType &msg)

Private Attributes

t_
ClosureType closure_
std::string msg_
const char *const locus_


Detailed Description

template<typename PredicateType, typename RaiserType, typename T, typename ClosureType>
class lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >

Helper class of the enforce macro's.

Definition at line 443 of file enforcer_impl.h.


Constructor & Destructor Documentation

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::Enforcer ( t,
ClosureType  closure,
const char *  locus 
) [inline]

Definition at line 446 of file enforcer_impl.h.

References lass::io::cerr().


Member Function Documentation

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
T lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::operator* (  )  const [inline]

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
template<class MsgType >
Enforcer& lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::operator() ( const MsgType &  msg  )  [inline]


Field Documentation

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
T lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::t_ [private]

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
ClosureType lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::closure_ [private]

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
std::string lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::msg_ [private]

template<typename PredicateType , typename RaiserType , typename T , typename ClosureType >
const char* const lass::util::impl::Enforcer< PredicateType, RaiserType, T, ClosureType >::locus_ [private]


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

Generated on Mon Nov 10 14:22:20 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo