Sauce-0.10.1
A C++ Dependency Injection Framework
Public Member Functions | Protected Member Functions | List of all members
sauce::internal::TypeId Class Reference

A TypeSignature equipped with specific helper methods dealing in the hidden type. More...

#include <sauce/internal/type_id.h>

Inheritance diagram for sauce::internal::TypeId:
Inheritance graph
[legend]

Public Member Functions

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...
 

Protected Member Functions

 TypeId (TypeSignature const &signature)
 

Detailed Description

A TypeSignature equipped with specific helper methods dealing in the hidden type.

Constructor & Destructor Documentation

◆ TypeId()

sauce::internal::TypeId::TypeId ( TypeSignature const &  signature)
inlineexplicitprotected
42 :
43 signature(signature) {}

◆ ~TypeId()

virtual sauce::internal::TypeId::~TypeId ( )
inlinevirtual
47{}

Member Function Documentation

◆ operator!=()

bool sauce::internal::TypeId::operator!= ( TypeId const &  id) const
inline
53 {
54 return signature != id.signature;
55 }

◆ operator<()

bool sauce::internal::TypeId::operator< ( TypeId const &  id) const
inline
57 {
58 return signature < id.signature;
59 }

◆ operator==()

bool sauce::internal::TypeId::operator== ( TypeId const &  id) const
inline
49 {
50 return signature == id.signature;
51 }

◆ throwOutOfScopeException()

virtual void sauce::internal::TypeId::throwOutOfScopeException ( ) const
inlinevirtual

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

Reimplemented in sauce::internal::ResolvedTypeId< Type >.

64 {
65 throw OutOfScopeException();
66 }

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