lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
NameIndex.hh File Reference

Declares XtcData::NameIndex, which holds a private copy of a Names xtc and name-to-index maps, and the IndexMap typedef. More...

#include "xtcdata/xtc/ShapesData.hh"
#include <map>

Classes

class  XtcData::NameIndex
 Holds a malloc'd copy of a Names xtc (extent bytes) plus two maps: nameMap (field name to its position in the Names) and shapeMap (field name to its position among the array fields, those with rank > 0). More...
 

Namespaces

namespace  XtcData
 Namespace of the XTC data-format classes (Xtc, Dgram, TypeId, Src, NamesId, ShapesData, DescData, iterators, ...).
 

Typedefs

typedef std::map< std::string, unsigned > IndexMap
 Map from a field name to an index, used by NameIndex.
 

Detailed Description

Declares XtcData::NameIndex, which holds a private copy of a Names xtc and name-to-index maps, and the IndexMap typedef.

Typedef Documentation

◆ IndexMap

typedef std::map<std::string, unsigned> IndexMap

Map from a field name to an index, used by NameIndex.