Log of /trunk/core/base/inc/TRef.h
Parent Directory
Revision
22961 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by
rdm
File length: 2456 byte(s)
Diff to
previous 20877
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
Revision
12543 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 26 12:17:36 2005 UTC (9 years, 5 months ago) by
brun
Original Path:
trunk/base/inc/TRef.h
File length: 2515 byte(s)
Diff to
previous 4238
From Axel:
the static TRef::SetObject() works on TRef::fgObject, and is a misnomer
wrt TRef::GetObject(), which works on the referenced object. This patch
names the access to the referenced object GetObject(), while the access
to the static fgObject will be called Get/SetStaticObject(), where
GetStaticObject() is a new function.
TRef::SetObject is kept (for the time being) for back compatibility.
I did not implement TRef::SetObject(const TObject*) (as an alias to
operator=(const TObject*)) to ensure that this interface change will
result in a compiler error if the old TRef::SetObject (now
TRef::SetStaticObject) is used.
Also, TRef::GetObject() now sets fgObject to "this" before calling the
TExec, allowing the TExec to access the TRef's fUniqueID, so it can
determine which object needs to be dereferenced. I need this for storing
the documentation objects.
Docs and the tutorial GetWebHistogram are updated accordingly.
Revision
3351 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 2 15:20:07 2001 UTC (13 years, 1 month ago) by
brun
Original Path:
trunk/base/inc/TRef.h
File length: 2145 byte(s)
Diff to
previous 3295
Many changes/simplification of the TRef classes using the new functions
from TProcessID.
With this new version, it is possible to write a TRef to a new file
without writing the referenced object.
Implement assignement operator TRef& operator=(cont TRef &ref).
Revision
3295 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 28 14:49:01 2001 UTC (13 years, 1 month ago) by
brun
Original Path:
trunk/base/inc/TRef.h
File length: 2431 byte(s)
Diff to
previous 3285
New and backward incompatible version of TRef.
See the long list of comments in the TRef header.
The new version supports lazy instantiation or Action on Demand
when dereferencing a TRef.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.