cpp-mate  0.7
Helpful library for C++.
CppMate::GenericBase Class Reference

The base class of some generics which type required to be detected in runtime. More...

#include <GenericBase.hpp>

Public Member Functions

virtual ~GenericBase ()=default
 
template<typename T >
bool isInstance () const
 Checks that the instance of the specified type. More...
 

Protected Member Functions

 GenericBase ()=default
 

Detailed Description

The base class of some generics which type required to be detected in runtime.

Constructor & Destructor Documentation

◆ ~GenericBase()

virtual CppMate::GenericBase::~GenericBase ( )
virtualdefault

Default destructor.

◆ GenericBase()

CppMate::GenericBase::GenericBase ( )
protecteddefault

Default constructor.

Member Function Documentation

◆ isInstance()

template<typename T >
bool CppMate::GenericBase::isInstance ( ) const
inline

Checks that the instance of the specified type.

Returns
true if attribute is instance of specified type; false otherwise.

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