ATLAS Offline Software
Loading...
Searching...
No Matches
addnode.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4// emacs: this is -*- c++ -*-
5//
6// @file addnode.h
7//
8//
9//
10//
11//
12// $Id: addnode.h, v0.0 Thu 21 Apr 2016 20:31:49 CEST sutt $
13
14
15#ifndef ADDNODE_H
16#define ADDNODE_H
17
18#include "node.h"
19
20#include "TDirectory.h"
21
23node* subnode( node* np, const std::string& name );
24
26node* addnode( node* np, const std::string& name, TObject* td=0, node::TYPE t=node::DIRECTORY );
27
28#endif // ADDNODE_H
29
30
31
32
33
34
35
36
37
38
node * subnode(node *np, const std::string &name)
check if a subnode already exists
Definition addnode.cxx:20
node * addnode(node *np, const std::string &name, TObject *td=0, node::TYPE t=node::DIRECTORY)
add a new node (or return the already existing node with this name)
Definition addnode.cxx:28
Definition node.h:24
TYPE
Definition node.h:28
@ DIRECTORY
Definition node.h:28