Sauce-0.10.1
A C++ Dependency Injection Framework
Public Member Functions | Friends | List of all members
sauce::internal::ResolvedTypeId< Type > Class Template Reference

The TypeId derived class that acknowledges the hidden type. More...

#include <sauce/internal/type_id.h>

Inheritance diagram for sauce::internal::ResolvedTypeId< Type >:
Inheritance graph
[legend]
Collaboration diagram for sauce::internal::ResolvedTypeId< Type >:
Collaboration graph
[legend]

Public Member Functions

void throwOutOfScopeException () const
 Throw an OutOfScopeException appropriate for the hidden type, assuming it is a Scope. More...
 
- Public Member Functions inherited from sauce::internal::TypeId
bool operator== (TypeId const &id) const
 
bool operator!= (TypeId const &id) const
 
bool operator< (TypeId const &id) const
 
virtual void throwOutOfScopeException () const
 Throw an OutOfScopeException appropriate for the hidden type, assuming it is a Scope. More...
 

Friends

TypeId typeIdOf ()
 How one gets TypeIds. More...
 

Additional Inherited Members

- Protected Member Functions inherited from sauce::internal::TypeId
 TypeId (TypeSignature const &signature)
 

Detailed Description

template<typename Type>
class sauce::internal::ResolvedTypeId< Type >

The TypeId derived class that acknowledges the hidden type.

Member Function Documentation

◆ throwOutOfScopeException()

template<typename Type >
void sauce::internal::ResolvedTypeId< Type >::throwOutOfScopeException ( ) const
inlinevirtual

Throw an OutOfScopeException appropriate for the hidden type, assuming it is a Scope.

Reimplemented from sauce::internal::TypeId.

84 {
85 throw OutOfScopeExceptionFor<Type>();
86 }

Friends And Related Function Documentation

◆ typeIdOf

template<typename Type >
TypeId typeIdOf ( )
friend

How one gets TypeIds.

93 {
94 return ResolvedTypeId<Type>();
95}

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