ATLAS Offline Software
Classes | Functions
Crest Namespace Reference

Classes

class  CrestClient
 
class  CrestClientExt
 
struct  data
 
class  urlParameters
 

Functions

size_t CurlWrite_CallbackFunc_StdString (void *contents, size_t size, size_t nmemb, std::string *s)
 

Function Documentation

◆ CurlWrite_CallbackFunc_StdString()

size_t Crest::CurlWrite_CallbackFunc_StdString ( void *  contents,
size_t  size,
size_t  nmemb,
std::string *  s 
)

Definition at line 1281 of file CrestApi.cxx.

1281  {
1282  size_t newLength = size * nmemb;
1283 
1284  try
1285  {
1286  s->append((char*) contents, newLength);
1287  }
1288  catch (std::bad_alloc& e)
1289  {
1290  //handle memory problem
1291  return 0;
1292  }
1293  return newLength;
1294  }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
contents
void contents(std::vector< std::string > &keys, TDirectory *td, const std::string &directory, const std::string &pattern, const std::string &path)
Definition: computils.cxx:319
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26