Skip to content
Snippets Groups Projects
Commit 428e463d authored by Fons Rademakers's avatar Fons Rademakers
Browse files

add missing cvs identification line.

git-svn-id: http://root.cern.ch/svn/root/trunk@8196 27541ba8-7e3a-0410-8455-c3a389f83636
parent 01f5dcf7
No related branches found
No related tags found
No related merge requests found
// @(#)root/table:$Name:$:$Id:$
// Author: Valery Fine(fine@bnl.gov) 01/03/2001
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* Copyright (C) 2001 [BNL] Brookhaven National Laboratory. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#include "TIndexTable.h"
//////////////////////////////////////////////////////////////////////////////
// TIndexTable class is helper class to keep the list of the referencs to the
// TTable rows and iterate over it.
// TIndexTable is a persistent class.
// TIndexTable is a persistent class.
// The pointer to the TIndexTable object may be used as an element
// of the TTable row and saved with the table all together.
//
......@@ -25,7 +37,7 @@
// // Find all hits of this track
// LArHitTable::iterator hit = hits->begin();
// LArHitTable::iterator lastHit = hits->end();
// Long_t hitIndx = 0;
// Long_t hitIndx = 0;
// // Create an empty list of this track hits
// (*track).hits = new TIndexTable(hits);
// for(;hit != lastHit;hit++,hitIndx) {
......@@ -39,7 +51,7 @@
// TableClassImpl(TIndexTable,int);
TTableDescriptor *TIndexTable::fgColDescriptors = TIndexTable::CreateDescriptor();
ClassImp(TIndexTable)
#if 0
#if 0
void TIndexTable::Dictionary()
{
TClass *c = CreateClass(_QUOTE_(className), Class_Version(),
......@@ -65,7 +77,7 @@
if (!fgColDescriptors) CreateDescriptor();
fSize = fgColDescriptors->Sizeof();
// Add refered table to this index.
// yf if (table) Add((TDataSet *)table);
// yf if (table) Add((TDataSet *)table);
}
//___________________________________________________________________
TTableDescriptor *TIndexTable::CreateDescriptor()
......@@ -81,7 +93,7 @@ TTableDescriptor *TIndexTable::CreateDescriptor()
memset(&row,0,sizeof(row));
strncpy(row.fColumnName,"index",sizeof(row.fColumnName));
row.fType = kInt;
row.fType = kInt;
row.fTypeSize = sizeof(Int_t);
row.fSize = row.fTypeSize;
dsc.AddAt(&row);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment