ROOT logo
// $Id: ZCometBag.h 2088 2008-11-23 20:26:46Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef Gled_ZCometBag_H
#define Gled_ZCometBag_H

#include <Glasses/ZHashList.h>
class ZSubTree;

class ZComet;

class ZCometBag : public ZHashList
{
  MAC_RNR_FRIENDS(ZCometBag);

private:
  void _init();

protected:
  // ZList
  virtual void on_insert(ZList::iterator it);

  //----------------------------------------------------------------------

  Bool_t	bSmartZNodes;	// X{GS} 7 Bool()
  Int_t		mDepth;		// X{GS} 7 Value(-range=>[-1,100,1,1])
  Bool_t	bFollowLinks;	// X{GS} 7 Bool(-join=>1)
  Bool_t	bFollowLists;	// X{GS} 7 Bool()

  // I don't know ... need something better.
  // A really good stone supporting root TFile::Open(<anything>) stuff.
  TString	mFile;		// X{GS} 7 Filor()
  TString	mPath;		// X{GS} 7 Textor()
  TString	mKeyName;	// X{GS} 7 Textor()

  ZSubTree* make_sub_tree_rep(ZGlass* g);

public:
  ZCometBag(const Text_t* n="ZCometBag", const Text_t* t=0) : ZHashList(n,t) { _init(); }

  virtual void ImportSubTree(ZGlass* lens); // X{E} C{1} 7 MCWButt()
  virtual void WriteComet();                // X{E}      7 MButt()

  ZComet* MakeComet();

#include "ZCometBag.h7"
  ClassDef(ZCometBag, 1);
}; // endclass ZCometBag


#endif
 ZCometBag.h:1
 ZCometBag.h:2
 ZCometBag.h:3
 ZCometBag.h:4
 ZCometBag.h:5
 ZCometBag.h:6
 ZCometBag.h:7
 ZCometBag.h:8
 ZCometBag.h:9
 ZCometBag.h:10
 ZCometBag.h:11
 ZCometBag.h:12
 ZCometBag.h:13
 ZCometBag.h:14
 ZCometBag.h:15
 ZCometBag.h:16
 ZCometBag.h:17
 ZCometBag.h:18
 ZCometBag.h:19
 ZCometBag.h:20
 ZCometBag.h:21
 ZCometBag.h:22
 ZCometBag.h:23
 ZCometBag.h:24
 ZCometBag.h:25
 ZCometBag.h:26
 ZCometBag.h:27
 ZCometBag.h:28
 ZCometBag.h:29
 ZCometBag.h:30
 ZCometBag.h:31
 ZCometBag.h:32
 ZCometBag.h:33
 ZCometBag.h:34
 ZCometBag.h:35
 ZCometBag.h:36
 ZCometBag.h:37
 ZCometBag.h:38
 ZCometBag.h:39
 ZCometBag.h:40
 ZCometBag.h:41
 ZCometBag.h:42
 ZCometBag.h:43
 ZCometBag.h:44
 ZCometBag.h:45
 ZCometBag.h:46
 ZCometBag.h:47
 ZCometBag.h:48
 ZCometBag.h:49
 ZCometBag.h:50
 ZCometBag.h:51
 ZCometBag.h:52
 ZCometBag.h:53
 ZCometBag.h:54