PPL Logo

IsDerivedFrom< D, B > Class Template Reference

#include <charm++.h>


Public Types

enum  { Is = sizeof(Test(static_cast<D*>(0))) == sizeof(Yes) }

Public Member Functions

 IsDerivedFrom ()

Static Private Member Functions

static Yes Test (B *)
static No Test (...)
static void Constraints (D *p)

Data Structures

class  No
class  Yes


Detailed Description

template<typename D, typename B>
class IsDerivedFrom< D, B >

Definition at line 406 of file charm++.h.


Member Enumeration Documentation

template<typename D, typename B>
anonymous enum

Enumerator:
Is 

Definition at line 417 of file charm++.h.


Constructor & Destructor Documentation

template<typename D, typename B>
IsDerivedFrom< D, B >::IsDerivedFrom (  )  [inline]

Definition at line 419 of file charm++.h.

References IsDerivedFrom< D, B >::Constraints(), and p.

Here is the call graph for this function:


Member Function Documentation

template<typename D, typename B>
static Yes IsDerivedFrom< D, B >::Test ( B *   )  [static, private]

template<typename D, typename B>
static No IsDerivedFrom< D, B >::Test (   ...  )  [static, private]

template<typename D, typename B>
static void IsDerivedFrom< D, B >::Constraints ( D *  p  )  [inline, static, private]

Definition at line 414 of file charm++.h.

Referenced by IsDerivedFrom< D, B >::IsDerivedFrom().

Here is the caller graph for this function:


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

Generated on Mon Sep 21 08:26:09 2020 for Charm++ by  doxygen 1.5.5