Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
AbsPtr.h File Reference
#include <iostream>
#include <cstring>
#include <limits.h>
#include <typeinfo>
#include "wcpplib/util/FunNameStack.h"

Go to the source code of this file.

Classes

class  Heed::StandardCopyDefinition< X >
 
class  Heed::CountPP_ns::CountPassivePtr
 Counter of protected pointers. More...
 
class  Heed::RegPassivePtr
 
class  Heed::PassivePtr< X >
 

Namespaces

namespace  Heed
 
namespace  Heed::CountPP_ns
 

Macros

#define USE_DOUBLE_PTR_IN_PASSIVEPTR
 
#define USE_DELETE_AT_ZERO_COUNT
 
#define COPY_TYPE_CHECK
 
#define USE_GETSETTERS_IN_PASSIVEPTR
 
#define USE_PRIVATE_PARAM_IN_PASSIVEPTR
 
#define USE_CHAR_CONTROL_VARIABLES
 
#define USE_CHAR_GETSETTERS_PARAMETERS
 

Enumerations

enum  Heed::Pilfer { Heed::steal }
 
enum  Heed::Clone { Heed::do_clone }
 
enum  Heed::Pass { Heed::dont_clone }
 

Functions

template<class X >
std::ostream & Heed::operator<< (std::ostream &file, const PassivePtr< X > &f)
 
template<class X >
int Heed::operator== (const PassivePtr< X > &f1, const PassivePtr< X > &f2)
 
template<class X >
bool Heed::operator< (PassivePtr< X > f1, PassivePtr< X > f2)
 

Macro Definition Documentation

◆ COPY_TYPE_CHECK

#define COPY_TYPE_CHECK

Definition at line 60 of file AbsPtr.h.

◆ USE_CHAR_CONTROL_VARIABLES

#define USE_CHAR_CONTROL_VARIABLES

Definition at line 82 of file AbsPtr.h.

◆ USE_CHAR_GETSETTERS_PARAMETERS

#define USE_CHAR_GETSETTERS_PARAMETERS

Definition at line 115 of file AbsPtr.h.

◆ USE_DELETE_AT_ZERO_COUNT

#define USE_DELETE_AT_ZERO_COUNT

Definition at line 33 of file AbsPtr.h.

◆ USE_DOUBLE_PTR_IN_PASSIVEPTR

#define USE_DOUBLE_PTR_IN_PASSIVEPTR

Definition at line 23 of file AbsPtr.h.

◆ USE_GETSETTERS_IN_PASSIVEPTR

#define USE_GETSETTERS_IN_PASSIVEPTR

Definition at line 64 of file AbsPtr.h.

◆ USE_PRIVATE_PARAM_IN_PASSIVEPTR

#define USE_PRIVATE_PARAM_IN_PASSIVEPTR

Definition at line 73 of file AbsPtr.h.