Analysis  version 7.0 - august 2014
Tools.hh File Reference
#include "EventCommon.hh"
#include "StringTools.hh"

Go to the source code of this file.

Functions

Int2 get_int2 (const string &istr)
 
Int4 get_int4 (const string &istr)
 
Real4 get_real4 (const string &istr)
 
Real8 get_real8 (const string &istr)
 
U_Int2 u_int2_LSB (const char *buf)
 
U_Int2 u_int2_MSB (const char *buf)
 
U_Int4 u_int4_LSB (const char *buf)
 
U_Int4 u_int4_MSB (const char *buf)
 
Int2 int2_LSB (const char *buf)
 
Int2 int2_MSB (const char *buf)
 
Int4 int4_LSB (const char *buf)
 
Int4 int4_MSB (const char *buf)
 

Detailed Description

Fichier de déclaration de fonctions diverses utilisées dans les bibliothèques pour l'analyse.

Function Documentation

Int2 get_int2 ( const string &  istr)

Lit un entier 16 bits signé à partir d'une chaîne de caractères

Parameters
istrchaîne contenan la valeur à lire
Int4 get_int4 ( const string &  istr)

Lit un entier 32 bits signé à partir d'une chaîne de caractères

Parameters
istrchaîne contenan la valeur à lire

Referenced by GanilCoderInfo::SetCoderInfo(), GanilEndrunInfo::SetEndrunInfo(), GanilEventInfo::SetEventInfo(), GanilFileInfo::SetFileInfo(), and GanilParamInfo::SetParamInfo().

Real4 get_real4 ( const string &  istr)

Lit un réel 32 bits à partir d'une chaîne de caractères

Parameters
istrchaîne contenan la valeur à lire
Real8 get_real8 ( const string &  istr)

Lit un réel 64 bit à partir d'une chaîne de caractères

Parameters
istrchaîne contenan la valeur à lire
U_Int2 u_int2_LSB ( const char *  buf)

Lecture d'un entier 16 bits non signé depuis une table de caractères en format LSB.

Parameters
bufbuffer de caractères

Referenced by GanilBuffer::ExtractUInt2(), int2_LSB(), and GanilBuffer::SetEventDBInfo().

U_Int2 u_int2_MSB ( const char *  buf)

Lecture d'un entier 16 bits non signé depuis une table de caractères en format MSB.

Parameters
bufbuffer de caractères

Referenced by GanilBuffer::ExtractUInt2(), int2_MSB(), and GanilBuffer::SetEventDBInfo().

U_Int4 u_int4_LSB ( const char *  buf)

Lecture d'un entier 32 bits non signé depuis une table de caractères en format LSB.

Parameters
bufbuffer de caractères

Referenced by GanilBuffer::ExtractUInt4(), and int4_LSB().

U_Int4 u_int4_MSB ( const char *  buf)

Lecture d'un entier 32 bits non signé depuis une table de caractères en format MSB.

Parameters
bufbuffer de caractères

Referenced by GanilBuffer::ExtractUInt4(), and int4_MSB().

Int2 int2_LSB ( const char *  buf)
inline

Lecture d'un entier 16 bits signé depuis une table de caractères. en format LSB.

Parameters
bufbuffer de caractères

References u_int2_LSB().

Referenced by GanilBuffer::ExtractInt2().

Int2 int2_MSB ( const char *  buf)
inline

Lecture d'un entier 16 bits signé depuis une table de caractères. en format MSB.

Parameters
bufbuffer de caractères

References u_int2_MSB().

Referenced by GanilBuffer::ExtractInt2().

Int4 int4_LSB ( const char *  buf)
inline

Lecture d'un entier 32 bits signé depuis une table de caractères. en format LSB.

Parameters
bufbuffer de caractères

References u_int4_LSB().

Referenced by GanilBuffer::ExtractInt4().

Int4 int4_MSB ( const char *  buf)
inline

Lecture d'un entier 32 bits signé depuis une table de caractères. en format MSB.

Parameters
bufbuffer de caractères

References u_int4_MSB().

Referenced by GanilBuffer::ExtractInt4().