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

Declares the self-describing data classes: AlgVersion, Alg, Name, Shape, NameInfo, the Names xtc, and the ShapesData xtc with its Shapes and Data children. More...

#include <vector>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include "xtcdata/xtc/Xtc.hh"
#include "xtcdata/xtc/Array.hh"
#include "xtcdata/xtc/TypeId.hh"
#include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/Dgram.hh"
#include "xtcdata/xtc/NamesId.hh"

Classes

class  XtcData::AlgVersion
 Version packed in 32 bits: major in bits 23:16, minor in bits 15:8, micro in bits 7:0. More...
 
class  XtcData::Alg
 Algorithm name (char[MaxNameSize]) plus an AlgVersion. More...
 
class  XtcData::Name
 Description of one data field: an Alg, a name (char[MaxNameSize]), a DataType and a rank. More...
 
class  XtcData::Shape
 Fixed array of MaxRank uint32_t dimensions. More...
 
class  XtcData::AutoParentAlloc
 Xtc whose alloc() overloads also add the same size to the extent of a parent (and optionally a grandparent) Xtc. More...
 
class  XtcData::NameInfo
 mechanism for the DataName to point to the correct DetInfo. More...
 
class  XtcData::Names
 Xtc of type TypeId::Names: the header, a NameInfo, then an array of Name entries appended by add(). More...
 
class  XtcData::Data
 Child xtc of ShapesData with type TypeId::Data (version 0). More...
 
class  XtcData::Shapes
 Child xtc of ShapesData with type TypeId::Shapes (version 0); an array of Shape entries follows the header (see get()). More...
 
class  XtcData::ShapesData
 Xtc of type TypeId::ShapesData whose payload holds a Shapes xtc and a Data xtc, in either order. More...
 

Namespaces

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

Variables

static const int XtcData::MaxNameSize = 256
 Size (256) of the fixed char arrays that hold names in Alg, Name and NameInfo.
 

Detailed Description

Declares the self-describing data classes: AlgVersion, Alg, Name, Shape, NameInfo, the Names xtc, and the ShapesData xtc with its Shapes and Data children.