FreeHEP API
Version v1.1

hep.io.root
Interface RootObjectRepresentation

All Known Implementing Classes:
AbstractRootObject

public interface RootObjectRepresentation

A representation of a RootObject

Version:
$Id: RootObjectRepresentation.java,v 1.5 2002/06/12 23:15:13 duns Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Method Summary
 Object get(String name)
          Get the value of a member variable
 Object getMangled(String mangledName)
           
 Object getProxy()
           
 RootClass getRootClass()
          Get the class of this object
 RootObjectRepresentation getSuperClass(String name)
          Get the (super) class of a specific type
 RootObjectRepresentation[] getSuperClasses()
          Get the super class instances for this object
 Enumeration members()
          Return an Enumeration of the member variables
 int nMembers()
          Get the number of member variables
 void read(RootInput in)
          Read an instance of this object from an input stream.
 

Method Detail

read

public void read(RootInput in)
          throws IOException
Read an instance of this object from an input stream. Equivalent to the read part of the Root Streamer method.

IOException

members

public Enumeration members()
Return an Enumeration of the member variables


nMembers

public int nMembers()
Get the number of member variables


get

public Object get(String name)
Get the value of a member variable


getMangled

public Object getMangled(String mangledName)

getRootClass

public RootClass getRootClass()
Get the class of this object

Returns:
The RootClass for this object

getSuperClasses

public RootObjectRepresentation[] getSuperClasses()
Get the super class instances for this object


getSuperClass

public RootObjectRepresentation getSuperClass(String name)
Get the (super) class of a specific type

Parameters:
name - The super class to find
Returns:
The superclass, or null if not found

getProxy

public Object getProxy()

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.