Skip to content
8 changes: 3 additions & 5 deletions io/io/inc/TBufferJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class TBufferJSON : public TBuffer {
}
virtual UShort_t WriteProcessID(TProcessID * /*pid*/)
{
Error("WriteProcessID", "useless");
// Error("WriteProcessID", "useless");
return 0;
}

Expand Down Expand Up @@ -421,15 +421,14 @@ class TBufferJSON : public TBuffer {
TJSONStackObj *Stack(Int_t depth = 0);

void WorkWithClass(TStreamerInfo *info, const TClass *cl = 0);
void WorkWithElement(TStreamerElement *elem, Int_t comp_type);

void WorkWithElement(TStreamerElement *elem, Int_t);

void JsonDisablePostprocessing();
Int_t JsonSpecialClass(const TClass *cl) const;

void JsonStartElement(const TStreamerElement *elem, const TClass *base_class = 0);

void PerformPostProcessing(TJSONStackObj *stack, const TStreamerElement *elem = 0);
void PerformPostProcessing(TJSONStackObj *stack, const TClass *obj_cl = 0);

void JsonWriteBasic(Char_t value);
void JsonWriteBasic(Short_t value);
Expand Down Expand Up @@ -459,7 +458,6 @@ class TBufferJSON : public TBuffer {
std::map<const void *, unsigned> fJsonrMap; //! map of recorded objects, used in JsonR to restore references
unsigned fJsonrCnt; //! counter for all objects and arrays
TObjArray fStack; //! stack of streamer infos
Bool_t fExpectedChain; //! flag to resolve situation when several elements of same basic type stored as FastArray
Int_t fCompact; //! 0 - no any compression, 1 - no spaces in the begin, 2 - no new lines, 3 - no spaces at all
TString fSemicolon; //! depending from compression level, " : " or ":"
TString fArraySepar; //! depending from compression level, ", " or ","
Expand Down
3 changes: 3 additions & 0 deletions io/io/inc/TStreamerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class TStreamerInfo : public TVirtualStreamerInfo {
TStreamerInfoActions::TActionSequence *fWriteObjectWise; ///<! List of write action resulting from the compilation.
TStreamerInfoActions::TActionSequence *fWriteMemberWise; ///<! List of write action resulting from the compilation for use in member wise streaming.
TStreamerInfoActions::TActionSequence *fWriteMemberWiseVecPtr; ///<! List of write action resulting from the compilation for use in member wise streaming.
TStreamerInfoActions::TActionSequence *fWriteText; ///<! List of write action resulting for text output like JSON or XML.

static std::atomic<Int_t> fgCount; ///<Number of TStreamerInfo instances

Expand All @@ -128,6 +129,7 @@ class TStreamerInfo : public TVirtualStreamerInfo {
TStreamerInfo& operator=(const TStreamerInfo&); // TStreamerInfo are copiable. Not Implemented.
void AddReadAction(TStreamerInfoActions::TActionSequence *readSequence, Int_t index, TCompInfo *compinfo);
void AddWriteAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo);
void AddWriteTextAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo);
void AddReadMemberWiseVecPtrAction(TStreamerInfoActions::TActionSequence *readSequence, Int_t index, TCompInfo *compinfo);
void AddWriteMemberWiseVecPtrAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo);

Expand Down Expand Up @@ -216,6 +218,7 @@ class TStreamerInfo : public TVirtualStreamerInfo {
TStreamerInfoActions::TActionSequence *GetReadObjectWiseActions() { return fReadObjectWise; }
TStreamerInfoActions::TActionSequence *GetWriteMemberWiseActions(Bool_t forCollection) { return forCollection ? fWriteMemberWiseVecPtr : fWriteMemberWise; }
TStreamerInfoActions::TActionSequence *GetWriteObjectWiseActions() { return fWriteObjectWise; }
TStreamerInfoActions::TActionSequence *GetWriteTextActions() { return fWriteText; }
Int_t GetNdata() const {return fNdata;}
Int_t GetNelement() const { return fElements->GetEntries(); }
Int_t GetNumber() const {return fNumber;}
Expand Down
Loading