isa_base.h File Reference

inheritance relationship descriptor More...

#include <typeinfo>
#include <set>
#include "classdesc.h"
Include dependency graph for isa_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  classdesc_access::access_isa< T >
 

Namespaces

 classdesc
 Contains definitions related to classdesc functionality.
 
 classdesc_access
 Contains access_* structs, and nothing else. These structs are used to gain access to private members.
 

Typedefs

typedef std::set< const std::type_info * > classdesc::isa_t
 data structure for storing inheritance relationships
 

Functions

template<class T >
void classdesc::isa (classdesc::isa_t &t, const classdesc::string &d, T &x)
 
template<class T >
void classdesc::isa (classdesc::isa_t &t, const classdesc::string &d, const T &x)
 
template<class T , class U >
void classdesc::isa (classdesc::isa_t &t, const classdesc::string &d, const T &x, const U &y)
 
template<class T , class U , class V >
void classdesc::isa (classdesc::isa_t &t, classdesc::string d, const T &x, const U &y, const V &z,...)
 
template<class T >
void classdesc::isa_onbase (isa_t &t, const string &d, T &a)
 
template<class trialT , class baseT >
bool isa (const trialT &x, const baseT &y)
 

Detailed Description

inheritance relationship descriptor

This descriptor is deprecated in favour of std::tr1::::is_base_of

Function Documentation

◆ isa()

template<class trialT , class baseT >
bool isa ( const trialT &  x,
const baseT &  y 
)

return whether trialT is derived from baseT