ROOT
Version v6.34
master
v6.32
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
▼
core
►
base
►
clingutils
►
cont
►
dictgen
►
foundation
►
gui
►
imt
▼
macosx
►
inc
▼
src
CocoaUtils.mm
►
TMacOSXSystem.mm
►
meta
►
metacling
►
multiproc
►
rint
►
testsupport
►
thread
►
unix
►
winnt
►
zip
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
CocoaUtils.mm
Go to the documentation of this file.
1
// @(#)root/graf2d:$Id$
2
// Author: Timur Pocheptsov 6/12/2011
3
4
/*************************************************************************
5
* Copyright (C) 1995-2012, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#include "
CocoaUtils.h
"
13
14
namespace
ROOT
{
15
namespace
MacOSX {
16
namespace
Util
{
17
18
//______________________________________________________________________________
19
AutoreleasePool::AutoreleasePool
(
bool
delayCreation
/* = false*/
)
20
: fPool(
delayCreation
?
nil
: [[
NSAutoreleasePool
alloc
] init])
21
{
22
}
23
24
//______________________________________________________________________________
25
AutoreleasePool::~AutoreleasePool()
26
{
27
[fPool release];
28
}
29
30
//______________________________________________________________________________
31
void
AutoreleasePool::Reset()
32
{
33
if
(fPool)
34
[fPool release];
35
36
fPool = [[
NSAutoreleasePool
alloc
] init];
37
}
38
39
}
//Util
40
}
//MacOSX
41
}
//ROOT
CocoaUtils.h
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
ROOT::MacOSX::Util::AutoreleasePool::AutoreleasePool
AutoreleasePool(bool delayCreation=false)
ROOT::MacOSX::Util
Definition
CocoaUtils.h:22
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
core
macosx
src
CocoaUtils.mm
ROOT tags/6-34-04 - Reference Guide Generated on Tue Mar 25 2025 04:21:08 (GVA Time) using Doxygen 1.10.0