Classdesc 3.44
isa_base.h File Reference

inheritance relationship descriptor More...

#include <typeinfo>
#include <set>
#include "classdesc.h"
Include dependency graph for isa_base.h:

Go to the source code of this file.

Classes

struct  access_isa< T >

Namespaces

namespace  classdesc
 Contains definitions related to classdesc functionality.
namespace  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 * > isa_t
 data structure for storing inheritance relationships

Functions

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

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

References isa().

Referenced by isa().