Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
MCGIDI_vector.hpp File Reference
#include <string.h>
#include <stdio.h>
#include "cassert"
#include <algorithm>
#include <LUPI_declareMacro.hpp>
#include <vector>

Go to the source code of this file.

Classes

class  MCGIDI::Vector< T >

Namespaces

namespace  MCGIDI
 Simple C++ string class, useful as replacement for std::string if this cannot be used, or just for fun.

Macros

#define CPU_MEM   false
#define UVM_MEM   true
#define VAR_MEM   false
#define MCGIDI_SWAP(a, b, type)

Typedefs

typedef int MCGIDI_VectorSizeType

Macro Definition Documentation

◆ CPU_MEM

◆ MCGIDI_SWAP

#define MCGIDI_SWAP ( a,
b,
type )
Value:
{type ttttttttt=a;a=b;b=ttttttttt;}

Definition at line 28 of file MCGIDI_vector.hpp.

Referenced by MCGIDI::String::swap(), and MCGIDI::Vector< T >::swap().

◆ UVM_MEM

◆ VAR_MEM

#define VAR_MEM   false

Definition at line 23 of file MCGIDI_vector.hpp.

Typedef Documentation

◆ MCGIDI_VectorSizeType

typedef int MCGIDI_VectorSizeType

Definition at line 26 of file MCGIDI_vector.hpp.