Revision e93001231ffa36013c5ba4e95c7eaf7cd9ba0726 authored by Fons Rademakers on 27 September 2006, 08:49:14 UTC, committed by Fons Rademakers on 27 September 2006, 08:49:14 UTC
Use TRefArray for storing per-point object ids; provide custom Streamer to write-out the referenced objects in case they're owned by the TPointSet3D. git-svn-id: http://root.cern.ch/svn/root/trunk@16355 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 6637700
TSQLTableInfo.h
// @(#)root/net:$Name: $:$Id: TSQLTableInfo.h,v 1.1 2006/05/31 12:35:46 brun Exp $
// Author: Sergey Linev 31/05/2006
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TSQLTableInfo
#define ROOT_TSQLTableInfo
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TList;
class TSQLColumnInfo;
class TSQLTableInfo : public TNamed {
protected:
TList* fColumns; //! list of TSQLColumnInfo objects, describing each table column
TString fEngine; //! SQL tables engine name
TString fCreateTime; //! table creation time
TString fUpdateTime; //! table update time
public:
TSQLTableInfo();
TSQLTableInfo(const char* tablename,
TList* columns,
const char* comment = "SQL table",
const char* engine = 0,
const char* create_time = 0,
const char* update_time = 0);
virtual ~TSQLTableInfo();
virtual void Print(Option_t* option = "") const;
TList* GetColumns() const { return fColumns; }
TSQLColumnInfo* FindColumn(const char* columnname);
const char* GetEngine() const { return fEngine.Data(); }
const char* GetCreateTime() const { return fCreateTime.Data(); }
const char* GetUpdateTime() const { return fUpdateTime.Data(); }
ClassDef(TSQLTableInfo, 0) // Summury information about SQL table
};
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...