~chris-rogers/maus/1312

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/Data.hh

candidate 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    void SetEvent(Spill* spill) {SetSpill(spill);}
90
90
 
91
91
  private:
 
92
    // Count number of references to data and make a stack trace at construction
 
93
    // time so we know who built it
 
94
    void IncreaseRefCount();
 
95
    void DecreaseRefCount();
 
96
    static int _reference_count;
92
97
    Spill* _spill;
93
98
    std::string _event_type;
94
99
    MAUS_VERSIONED_CLASS_DEF(Data)