Documentation ¶
Overview ¶
Package rcont contains the definitions of ROOT container types, such as TList, THashList and TObjArray.
Index ¶
- type ArrayC
- func (arr *ArrayC) At(i int) int8
- func (*ArrayC) Class() string
- func (arr *ArrayC) Get(i int) interface{}
- func (arr *ArrayC) Len() int
- func (arr *ArrayC) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayC) RVersion() int16
- func (arr *ArrayC) Set(i int, v interface{})
- func (arr *ArrayC) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayD
- func (arr *ArrayD) At(i int) float64
- func (*ArrayD) Class() string
- func (arr *ArrayD) Get(i int) interface{}
- func (arr *ArrayD) Len() int
- func (arr *ArrayD) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayD) RVersion() int16
- func (arr *ArrayD) Set(i int, v interface{})
- func (arr *ArrayD) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayF
- func (arr *ArrayF) At(i int) float32
- func (*ArrayF) Class() string
- func (arr *ArrayF) Get(i int) interface{}
- func (arr *ArrayF) Len() int
- func (arr *ArrayF) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayF) RVersion() int16
- func (arr *ArrayF) Set(i int, v interface{})
- func (arr *ArrayF) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayI
- func (arr *ArrayI) At(i int) int32
- func (*ArrayI) Class() string
- func (arr *ArrayI) Get(i int) interface{}
- func (arr *ArrayI) Len() int
- func (arr *ArrayI) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayI) RVersion() int16
- func (arr *ArrayI) Set(i int, v interface{})
- func (arr *ArrayI) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayL
- func (arr *ArrayL) At(i int) int64
- func (*ArrayL) Class() string
- func (arr *ArrayL) Get(i int) interface{}
- func (arr *ArrayL) Len() int
- func (arr *ArrayL) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayL) RVersion() int16
- func (arr *ArrayL) Set(i int, v interface{})
- func (arr *ArrayL) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayL64
- func (arr *ArrayL64) At(i int) int64
- func (*ArrayL64) Class() string
- func (arr *ArrayL64) Get(i int) interface{}
- func (arr *ArrayL64) Len() int
- func (arr *ArrayL64) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayL64) RVersion() int16
- func (arr *ArrayL64) Set(i int, v interface{})
- func (arr *ArrayL64) UnmarshalROOT(r *rbytes.RBuffer) error
- type ArrayS
- func (arr *ArrayS) At(i int) int16
- func (*ArrayS) Class() string
- func (arr *ArrayS) Get(i int) interface{}
- func (arr *ArrayS) Len() int
- func (arr *ArrayS) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (*ArrayS) RVersion() int16
- func (arr *ArrayS) Set(i int, v interface{})
- func (arr *ArrayS) UnmarshalROOT(r *rbytes.RBuffer) error
- type ClonesArray
- func (arr *ClonesArray) At(i int) root.Object
- func (arr *ClonesArray) BypassStreamer(bypass bool)
- func (arr *ClonesArray) CanBypassStreamer() bool
- func (arr *ClonesArray) Class() string
- func (arr *ClonesArray) Last() int
- func (arr *ClonesArray) Len() int
- func (arr *ClonesArray) LowerBound() int
- func (arr *ClonesArray) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (arr *ClonesArray) Name() string
- func (*ClonesArray) RVersion() int16
- func (arr *ClonesArray) SetElems(v []root.Object)
- func (arr *ClonesArray) TestBits(bits uint32) bool
- func (arr *ClonesArray) Title() string
- func (arr *ClonesArray) UnmarshalROOT(r *rbytes.RBuffer) error
- type HashList
- type List
- func (li *List) Append(obj root.Object)
- func (li *List) At(i int) root.Object
- func (li *List) Class() string
- func (li *List) Last() int
- func (li *List) Len() int
- func (li *List) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (li *List) Name() string
- func (*List) RVersion() int16
- func (*List) Title() string
- func (li *List) UnmarshalROOT(r *rbytes.RBuffer) error
- type Map
- func (*Map) Class() string
- func (m *Map) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (m *Map) Name() string
- func (*Map) RVersion() int16
- func (m *Map) SetName(name string)
- func (m *Map) Table() map[root.Object]root.Object
- func (m *Map) Title() string
- func (m *Map) UnmarshalROOT(r *rbytes.RBuffer) error
- type ObjArray
- func (arr *ObjArray) At(i int) root.Object
- func (arr *ObjArray) Class() string
- func (arr *ObjArray) Last() int
- func (arr *ObjArray) Len() int
- func (arr *ObjArray) LowerBound() int
- func (arr *ObjArray) MarshalROOT(w *rbytes.WBuffer) (int, error)
- func (arr *ObjArray) Name() string
- func (*ObjArray) RVersion() int16
- func (arr *ObjArray) SetElems(v []root.Object)
- func (arr *ObjArray) TestBits(bits uint32) bool
- func (arr *ObjArray) Title() string
- func (arr *ObjArray) UnmarshalROOT(r *rbytes.RBuffer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayC ¶ added in v0.18.0
type ArrayC struct {
Data []int8
}
ArrayC implements ROOT TArrayC
func (*ArrayC) Class ¶ added in v0.18.0
Class returns the ROOT class name.
func (*ArrayC) MarshalROOT ¶ added in v0.18.0
type ArrayL ¶ added in v0.18.0
type ArrayL struct {
Data []int64
}
ArrayL implements ROOT TArrayL
func (*ArrayL) Class ¶ added in v0.18.0
Class returns the ROOT class name.
func (*ArrayL) MarshalROOT ¶ added in v0.18.0
type ArrayS ¶ added in v0.18.0
type ArrayS struct {
Data []int16
}
ArrayS implements ROOT TArrayS
func (*ArrayS) Class ¶ added in v0.18.0
Class returns the ROOT class name.
func (*ArrayS) MarshalROOT ¶ added in v0.18.0
type ClonesArray ¶ added in v0.18.0
type ClonesArray struct {
// contains filtered or unexported fields
}
ClonesArray implements a ROOT TClonesArray.
func NewClonesArray ¶ added in v0.18.0
func NewClonesArray() *ClonesArray
func (*ClonesArray) At ¶ added in v0.18.0
func (arr *ClonesArray) At(i int) root.Object
func (*ClonesArray) BypassStreamer ¶ added in v0.18.0
func (arr *ClonesArray) BypassStreamer(bypass bool)
func (*ClonesArray) CanBypassStreamer ¶ added in v0.18.0
func (arr *ClonesArray) CanBypassStreamer() bool
func (*ClonesArray) Class ¶ added in v0.18.0
func (arr *ClonesArray) Class() string
func (*ClonesArray) Last ¶ added in v0.18.0
func (arr *ClonesArray) Last() int
func (*ClonesArray) Len ¶ added in v0.18.0
func (arr *ClonesArray) Len() int
func (*ClonesArray) LowerBound ¶ added in v0.18.0
func (arr *ClonesArray) LowerBound() int
func (*ClonesArray) MarshalROOT ¶ added in v0.18.0
func (arr *ClonesArray) MarshalROOT(w *rbytes.WBuffer) (int, error)
ROOTMarshaler is the interface implemented by an object that can marshal itself to a ROOT buffer
func (*ClonesArray) Name ¶ added in v0.18.0
func (arr *ClonesArray) Name() string
func (*ClonesArray) RVersion ¶ added in v0.18.0
func (*ClonesArray) RVersion() int16
func (*ClonesArray) SetElems ¶ added in v0.18.0
func (arr *ClonesArray) SetElems(v []root.Object)
func (*ClonesArray) TestBits ¶ added in v0.18.0
func (arr *ClonesArray) TestBits(bits uint32) bool
func (*ClonesArray) Title ¶ added in v0.18.0
func (arr *ClonesArray) Title() string
func (*ClonesArray) UnmarshalROOT ¶ added in v0.18.0
func (arr *ClonesArray) UnmarshalROOT(r *rbytes.RBuffer) error
ROOTUnmarshaler is the interface implemented by an object that can unmarshal itself from a ROOT buffer
type List ¶
type List struct {
// contains filtered or unexported fields
}
type Map ¶ added in v0.18.0
type Map struct {
// contains filtered or unexported fields
}
Map is a ROOT associative array of (key,value) pairs. Keys and values must implement the root.Object interface.
func (*Map) MarshalROOT ¶ added in v0.18.0
ROOTMarshaler is the interface implemented by an object that can marshal itself to a ROOT buffer
func (*Map) Table ¶ added in v0.18.0
Table returns the underlying hash table.