#include "rntuple"
#include <istream>
#include <sstream>
#include "vfind"
#include "vmanip"
#include "words"
#include "snums"
#include "sto"
#include "s2time"
#include "chars"
#include "strip"
#include "cids"
#include "ntuple_binding"
#include "sout"
#include "num2s"
#include <fstream>
Go to the source code of this file.
◆ tools_rcsv_ntuple
#define tools_rcsv_ntuple |
◆ TOOLS_RCSV_NTUPLE_CREATE_VEC_COL
#define TOOLS_RCSV_NTUPLE_CREATE_VEC_COL |
( |
|
a__name, |
|
|
|
a__type |
|
) |
| |
Value: if(type==(std::string(#a__name)+"[]")) {\
create_column< std::vector<a__type> >(name,a_bd.find_variable< std::vector<a__type> >(name));\
}
◆ TOOLS_RCSV_NTUPLE_IF_CID
#define TOOLS_RCSV_NTUPLE_IF_CID |
( |
|
a__name, |
|
|
|
a__type |
|
) |
| |
Value: if(a_id==column<a__type>::id_class()) {\
static const std::string s_v(#a__name);\
return s_v;\
}
◆ TOOLS_RCSV_NTUPLE_IF_COL
#define TOOLS_RCSV_NTUPLE_IF_COL |
( |
|
a__type | ) |
|
Value: if(col_##a__type* _col_##a__type = id_cast<icol_t,col_##a__type>(*(*it))) {\
a__type v;\
if(!_read(m_reader,m_sz,m_sep,v)) return false;\
_col_##a__type->set_value(v);\
}
◆ TOOLS_RCSV_NTUPLE_IF_VEC_CID
#define TOOLS_RCSV_NTUPLE_IF_VEC_CID |
( |
|
a__name, |
|
|
|
a__type |
|
) |
| |
Value: if(a_id==column< std::vector<a__type> >::id_class()) {\
static const std::string s_v(#a__name+std::string("[]"));\
return s_v;\
}
◆ TOOLS_RCSV_NTUPLE_IF_VEC_COL
#define TOOLS_RCSV_NTUPLE_IF_VEC_COL |
( |
|
a__type | ) |
|
Value: if(col_vec_##a__type* _col_vec_##a__type = id_cast<icol_t,col_vec_##a__type>(*(*it))) {\
std::vector<a__type> v;\
if(!_vec_read(m_reader,m_sz,iss,tmp,m_sep,vec_sep,v)) return false;\
_col_vec_##a__type->set_value(v);\
}