/[v1]/trunk/c++/include/corelib/ncbiobj.hpp
ViewVC logotype

Log of /trunk/c++/include/corelib/ncbiobj.hpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 99781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 17:44:44 2023 UTC (12 months ago) by vasilche
File length: 86041 byte(s)
Diff to previous 90278
Use std::atomic for CObject reference counter. Use atomic for in-heap detection TLS container. JIRA: OMDM-5

Revision 90278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 19:10:47 2020 UTC (3 years, 11 months ago) by vasilche
File length: 86069 byte(s)
Diff to previous 90274
Optimize in favor of assignment of non-empty refs. JIRA: CXX-11368

Revision 90274 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 17:00:48 2020 UTC (3 years, 11 months ago) by vasilche
File length: 86765 byte(s)
Diff to previous 90266
Optimized move operator for CRef to different types. JIRA: CXX-11368

Revision 90266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 12:29:33 2020 UTC (3 years, 11 months ago) by vasilche
File length: 85434 byte(s)
Diff to previous 89222
Added move constructors and assignments. JIRA: CXX-11368

Revision 89222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 10 13:13:29 2020 UTC (4 years, 2 months ago) by gouriano
File length: 78459 byte(s)
Diff to previous 89059
Added namespace qualifier. JIRA: CXX-11159

Revision 89059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 16:35:31 2020 UTC (4 years, 2 months ago) by ucko
File length: 78454 byte(s)
Diff to previous 87762
Move NCBI_NORETURN to before NCBI_*_EXPORT.  JIRA: CXX-10943.

Revision 87762 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 30 15:30:44 2019 UTC (4 years, 7 months ago) by dicuccio
File length: 78454 byte(s)
Diff to previous 87681
Reorder attribute specifiers to silence warnings
JIRA: CXX-10943

Revision 87681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 23 03:58:14 2019 UTC (4 years, 7 months ago) by lavr
File length: 78454 byte(s)
Diff to previous 84598
Cosmetics

Revision 84598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 20:23:54 2018 UTC (5 years, 5 months ago) by ucko
File length: 78474 byte(s)
Diff to previous 80432
Push forward with override declarations within corelib exceptions.

Now that the standard exception-related macros inject some methods
declared with "override", some Clang versions issue warnings for
classes that use these macros but don't specify "override" for their
other overrides.  Use "override" throughout exception classes declared
within corelib headers, many of which are widely included.

Revision 80432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 7 16:41:53 2017 UTC (6 years, 5 months ago) by gouriano
File length: 78456 byte(s)
Diff to previous 80390
Corrected copy constructors. JIRA: CXX-5683

Revision 80390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 4 14:35:10 2017 UTC (6 years, 5 months ago) by gouriano
File length: 77905 byte(s)
Diff to previous 80375
Added CIRef copy constructors and assignment operators to allow implicit conversion from derived to base type. JIRA: CXX-5683

Revision 80375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 30 19:39:49 2017 UTC (6 years, 5 months ago) by gouriano
File length: 76675 byte(s)
Diff to previous 80374
Fixed compilation. JIRA: CXX-5683

Revision 80374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 30 19:29:05 2017 UTC (6 years, 5 months ago) by gouriano
File length: 76369 byte(s)
Diff to previous 80372
Tuneups. JIRA: CXX-5683

Revision 80372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 30 19:15:31 2017 UTC (6 years, 5 months ago) by gouriano
File length: 76720 byte(s)
Diff to previous 77208
Added CRef copy constructors and assignment operators to allow implicit conversion from derived to base type. JIRA: CXX-5683

Revision 77208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 15:08:59 2017 UTC (7 years, 1 month ago) by vasilche
File length: 75412 byte(s)
Diff to previous 77204
Removed redundant default constructor. JIRA: CXX-8325

Revision 77204 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 14:51:34 2017 UTC (7 years, 1 month ago) by vasilche
File length: 75454 byte(s)
Diff to previous 72734
Added user-defined constructors for CObjectFor<>. JIRA: CXX-8325

Revision 72734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 24 22:41:09 2016 UTC (7 years, 11 months ago) by vasilche
File length: 75412 byte(s)
Diff to previous 72538
Guard against self-move-assignment on MSVC (not allowed by Standard).

Revision 72538 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 15:23:07 2016 UTC (8 years ago) by vasilche
File length: 75074 byte(s)
Diff to previous 72512
Implement move constructor and assignment without using Swap().

Revision 72512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 14:35:33 2016 UTC (8 years ago) by vasilche
File length: 74326 byte(s)
Diff to previous 66882
Define C++11 move constructors.

Revision 66882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 30 18:03:40 2015 UTC (9 years, 1 month ago) by vasilche
File length: 73385 byte(s)
Diff to previous 66599
Added 64-bit atomic counter where possible - currently GCC/ICC/MSVC on Interl x64.
Moved non API CObject counter constant from header to cpp. Added comments. JIRA: CXX-5828

Revision 66599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 13 12:47:31 2015 UTC (9 years, 2 months ago) by vasilche
File length: 74594 byte(s)
Diff to previous 63580
Use ERR_FATAL macro for correct no-return info. JIRA: CXX-5700

Revision 63580 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 14:23:39 2014 UTC (9 years, 10 months ago) by grichenk
File length: 74566 byte(s)
Diff to previous 54645
Added CNullable template. Converted number of retries to CNullable. Added g_HttpGet and g_HttpPost. JIRA CXX-4501

Revision 54645 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 30 16:56:59 2012 UTC (11 years, 11 months ago) by vasilche
File length: 74631 byte(s)
Diff to previous 52377
In-heap CObject detection via TLS variable. JIRA: CXX-1808

Revision 52377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 21 14:17:41 2011 UTC (12 years, 4 months ago) by vasilche
File length: 74550 byte(s)
Diff to previous 52371
Avoid unused arguments warnings.

Revision 52371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 19:53:42 2011 UTC (12 years, 4 months ago) by vasilche
File length: 74397 byte(s)
Diff to previous 51199
Added missing method necessary for CIRef::Swap().

Revision 51199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 12 19:49:01 2011 UTC (12 years, 8 months ago) by lavr
File length: 73980 byte(s)
Diff to previous 51177
+typeinfo

Revision 51177 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 12 15:28:34 2011 UTC (12 years, 8 months ago) by lavr
File length: 73960 byte(s)
Diff to previous 49220
Reduce dependencies

Revision 49220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 14:26:37 2011 UTC (13 years, 1 month ago) by vasilche
File length: 73980 byte(s)
Diff to previous 48977
Added description of lock/unlock monitoring methods. JIRA: CXX-492.

Revision 48977 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 14:44:43 2011 UTC (13 years, 2 months ago) by vasilche
File length: 73205 byte(s)
Diff to previous 48965
Added CObjectCounterLocker::TransferLock() and updated CRef<>::Swap() to support MonitorObjectType(). JIRA: CXX-492

Revision 48965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 15 18:18:51 2011 UTC (13 years, 2 months ago) by vasilche
File length: 71333 byte(s)
Diff to previous 47784
Added CObjectCounterLocker::MonitorObjectType(). JIRA: CXX-492

Revision 47784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 15:23:55 2010 UTC (13 years, 6 months ago) by kazimird
File length: 70500 byte(s)
Diff to previous 47672
Removed constness from CObject::DeleteThis() as all of its implementations are meant to change the object.  JIRA: CXX-1979

Revision 47672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 19:36:56 2010 UTC (13 years, 6 months ago) by ucko
File length: 70507 byte(s)
Diff to previous 47671
CWeakIRef<>::Lock: explicitly qualify base member references with
this-> for compatibility with GCC 4.x.

Revision 47671 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 19:28:07 2010 UTC (13 years, 6 months ago) by ivanovp
File length: 70489 byte(s)
Diff to previous 46354
CWeakIRef::Lock to return more intuitively understandable class CIRef instead of CRef.

Revision 46354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 13:50:24 2010 UTC (13 years, 10 months ago) by satskyse
File length: 70053 byte(s)
Diff to previous 46060
Introducing CWeakObject class. (JIRA: CXX-1758)

Revision 46060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 15:53:11 2010 UTC (13 years, 11 months ago) by vasilche
File length: 67603 byte(s)
Diff to previous 45675
Reformat code in accordance with NORETURN attribute. JIRA: CXX-1647

Revision 45675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 16:19:44 2010 UTC (14 years ago) by gouriano
File length: 67747 byte(s)
Diff to previous 44117
Added NORETURN attribute to some functions. JIRA: CXX-1647

Revision 44117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 15:05:40 2009 UTC (14 years, 5 months ago) by ivanovp
File length: 67669 byte(s)
Diff to previous 41960
Fix bug of throwing incorrect exception.

Revision 41960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 16:12:13 2009 UTC (14 years, 11 months ago) by ivanovp
File length: 67672 byte(s)
Diff to previous 41952
Adjust for Windows DLL build.

Revision 41952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 14:09:04 2009 UTC (14 years, 11 months ago) by ivanovp
File length: 67628 byte(s)
Diff to previous 41951
Fix compilation errors.

Revision 41951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 13:57:00 2009 UTC (14 years, 11 months ago) by ivanovp
File length: 67614 byte(s)
Diff to previous 41399
- Make possible for CObject-derived classes to be not deleted after removing last reference.
- Fix for CWeakRef to allow CObjectEx to exist after last reference is removed.
NOJIRA

Revision 41399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 19:18:37 2009 UTC (15 years, 1 month ago) by ivanovp
File length: 66171 byte(s)
Diff to previous 38326
For CWeakRef: add missing comparison operators and remove unnecessary function.

Revision 38326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 18:15:49 2008 UTC (15 years, 10 months ago) by ivanovp
File length: 66029 byte(s)
Diff to previous 38300
Add test for CWeakRef<> and CWeakIRef<> classes. Fix implementation errors found.
JIRA: CXX-497

Revision 38300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 19 20:08:50 2008 UTC (15 years, 10 months ago) by ivanovp
File length: 65502 byte(s)
Diff to previous 38298
Make static function real static.
JIRA: CXX-497

Revision 38298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 19 19:01:31 2008 UTC (15 years, 10 months ago) by ivanovp
File length: 65495 byte(s)
Diff to previous 38288
Change CWeakRef<> and CWeakIRef<> to be completely policy-driven as CRef and CIRef siblings.
JIRA: CXX-497

Revision 38288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 19 17:05:09 2008 UTC (15 years, 10 months ago) by ivanovp
File length: 63769 byte(s)
Diff to previous 37639
Introduce class CObjectEx and templates CWeakRef<> and CWeakIRef<> for weak referencing to objects.
JIRA: CXX-497

Revision 37639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 22 20:59:58 2008 UTC (16 years ago) by vasilche
File length: 55681 byte(s)
Diff to previous 37632
Disable type information until build problem are fixed.

Revision 37632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 22 18:42:25 2008 UTC (16 years ago) by vasilche
File length: 55673 byte(s)
Diff to previous 37531
Added pointer type information to null pointer exception.

Revision 37531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 14 17:47:58 2008 UTC (16 years, 1 month ago) by vasilche
File length: 55217 byte(s)
Diff to previous 36593
Memory filling in CObject::operator new() now is optional.

Revision 36593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 16 19:49:15 2008 UTC (16 years, 4 months ago) by vasilche
File length: 54452 byte(s)
Diff to previous 33823
Fixed order Lock() before Unlock() to avoid accidenatal delete.
Do not store anything in CObjectCounterLocker as it is not thread-safe.

Revision 33823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 14:52:36 2007 UTC (17 years ago) by lavr
File length: 55588 byte(s)
Diff to previous 33815
Reduce dependencies

Revision 33815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 4 17:18:18 2007 UTC (17 years ago) by kazimird
File length: 55619 byte(s)
Diff to previous 32839
Fixed svn properties in trunk/c++.

Revision 32839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 20:41:55 2007 UTC (17 years, 2 months ago) by kazimird
File length: 55619 byte(s)
Diff to previous 31730
CVS $Log$ keyword clean-up: everything except "internal".

Revision 31730 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 21:37:32 2006 UTC (17 years, 4 months ago) by joukovv
File length: 64867 byte(s)
Diff to previous 31345
Default for CRef is generalized, prepared for weak reference implementation

Revision 31345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 29 13:56:30 2006 UTC (17 years, 5 months ago) by gouriano
File length: 63932 byte(s)
Diff to previous 29181
Moved GetErrorCodeString method into cpp

Revision 29181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 17 14:15:54 2006 UTC (17 years, 10 months ago) by ucko
File length: 64238 byte(s)
Diff to previous 26890
ObjectStateUnreferenced, ObjectStateReferencedOnlyOnce: Ensure that
both sides of == have the same signedness to avoid false negatives
under VisualAge.

Revision 26890 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 24 15:22:58 2006 UTC (18 years, 2 months ago) by vasilche
File length: 64014 byte(s)
Diff to previous 26836
Fixed order of locking and unlocking in CRef assignment.

Revision 26836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 21:07:42 2006 UTC (18 years, 2 months ago) by vasilche
File length: 62514 byte(s)
Diff to previous 26814
Removed constness from interface locker methods.

Revision 26814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 14:38:59 2006 UTC (18 years, 2 months ago) by vasilche
File length: 62435 byte(s)
Diff to previous 22881
Implemented templates CIRef and CIConstRef.

Revision 22881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 17 21:37:45 2005 UTC (18 years, 11 months ago) by vasilche
File length: 57074 byte(s)
Diff to previous 22880
Fixed type in CRef<>::ReleaseOrNull().

Revision 22880 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 17 21:29:31 2005 UTC (18 years, 11 months ago) by vasilche
File length: 56980 byte(s)
Diff to previous 22874
Add reference to new object _before_ removing reference to old object in Reset.

Revision 22874 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 17 15:29:02 2005 UTC (18 years, 11 months ago) by vasilche
File length: 56372 byte(s)
Diff to previous 21839
Changed CRef<> and CConstRef<> to use second template argument for locking.
Store locking object in CRef<>/CConstRef<> using pair_base_member.
Moved CObject inline methods from ncbiobj.inl to ncbiobj.hpp.
Added set of CRef::GetNC*() const methods to allow getting non-const pointer.

Revision 21839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 26 14:08:33 2005 UTC (19 years ago) by vasilche
File length: 50676 byte(s)
Diff to previous 21007
Allow allocation of CObjects from CObjectMemoryPool.
Documented CObject counter bits.

Revision 21007 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 17 20:24:29 2005 UTC (19 years, 2 months ago) by ucko
File length: 49373 byte(s)
Diff to previous 21005
Update comments to reflect change in bit usage of counter.

Revision 21005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 17 19:54:30 2005 UTC (19 years, 2 months ago) by grichenk
File length: 49205 byte(s)
Diff to previous 20683
DoDeleteThisObject() fails for objects not in heap.

Revision 20683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 18:45:02 2005 UTC (19 years, 2 months ago) by didenko
File length: 48853 byte(s)
Diff to previous 19900
Added Swap method and std::swap functions for
CRef and CConstRef classes

Revision 19900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 24 17:09:36 2005 UTC (19 years, 3 months ago) by vasilche
File length: 47931 byte(s)
Diff to previous 19786
Safe boolean operators.

Revision 19786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 12 16:53:03 2005 UTC (19 years, 4 months ago) by vasilche
File length: 46457 byte(s)
Diff to previous 19226
Removed operator bool(). Pointer conversion will be used instead.

Revision 19226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 14:40:05 2004 UTC (19 years, 5 months ago) by dicuccio
File length: 46808 byte(s)
Diff to previous 14798
Added conditional includ eof ncbi_os_mswin.hpp to work around Win32's
definitions of GetObject(), which clash with CRef<>::GetObject()

Revision 14798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 6 20:34:23 2004 UTC (20 years, 1 month ago) by grichenk
File length: 46397 byte(s)
Diff to previous 14162
Added atomic release and reset to CRef.

Revision 14162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 18:40:21 2004 UTC (20 years, 2 months ago) by gorelenk
File length: 44233 byte(s)
Diff to previous 14159
Added/Removed NCBI_XNCBI_EXPORT prefixes.

Revision 14159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 17:34:05 2004 UTC (20 years, 2 months ago) by gorelenk
File length: 44093 byte(s)
Diff to previous 11627
Removed NCBI_XNCBI_EXPORT prefix for classes members-functions
that are implemented as a inline functions.

Revision 11627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 20 20:07:10 2003 UTC (20 years, 6 months ago) by siyan
File length: 43639 byte(s)
Diff to previous 11328
Added CORELIB___ prefix in conditional includes.

Revision 11328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 1 00:24:02 2003 UTC (20 years, 7 months ago) by ucko
File length: 43519 byte(s)
Diff to previous 11074
CConstRef::AtomicSwap: use reinterpret_cast rather than static_cast to
placate MIPSpro.

Revision 11074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 17:57:38 2003 UTC (20 years, 8 months ago) by vasilche
File length: 43308 byte(s)
Diff to previous 11067
Added Ref() and ConstRef() templated functions for getting CRef<> objects.

Revision 11067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 15:20:46 2003 UTC (20 years, 8 months ago) by vasilche
File length: 42507 byte(s)
Diff to previous 10386
Moved atomic counter swap functions to separate file.
Added CRef<>::AtomicResetFrom(), CRef<>::AtomicReleaseTo() methods.

Revision 10386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 12 13:35:50 2003 UTC (20 years, 9 months ago) by siyan
File length: 40121 byte(s)
Diff to previous 10382
Minor comment changes.

Revision 10382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 12 12:03:48 2003 UTC (20 years, 9 months ago) by siyan
File length: 40053 byte(s)
Diff to previous 9892
Added documentation. Change private method name from AddReferenceOverflow()
to a more meaningful name of its purpose, CheckReferenceOverflow().

Revision 9892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 23:01:32 2003 UTC (20 years, 10 months ago) by vasilche
File length: 23963 byte(s)
Diff to previous 9867
Added matching operator delete.

Revision 9867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 20:01:07 2003 UTC (20 years, 10 months ago) by vasilche
File length: 23822 byte(s)
Diff to previous 8947
Added inplace operator new().

Revision 8947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 18 04:47:09 2003 UTC (21 years ago) by vakatov
File length: 23693 byte(s)
Diff to previous 8945
Rollback to R1.43, as R1.44 created another, more problematic warning --
that "operator T*()" would be chosen over "operator bool()" for non-const

Revision 8945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 18 03:36:37 2003 UTC (21 years ago) by vakatov
File length: 23445 byte(s)
Diff to previous 8220
Remove seemingly useless non-const versions of C[Const]Ref::operator bool()

Revision 8220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 1 14:20:37 2003 UTC (21 years, 1 month ago) by siyan
File length: 23490 byte(s)
Diff to previous 6972
Added doxygen support

Revision 6972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 18 22:53:21 2002 UTC (21 years, 5 months ago) by dicuccio
File length: 23367 byte(s)
Diff to previous 6790
Added export specifier for building DLLs in windows.  Added global list of
all such specifiers in mswin_exports.hpp, included through ncbistl.hpp

Revision 6790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 27 12:53:14 2002 UTC (21 years, 5 months ago) by dicuccio
File length: 23128 byte(s)
Diff to previous 6769
Added CObject::ThrowNullPointerException to get around some inlining issues.
Fixed a few returns (m_Ptr -> ptr).

Revision 6769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 14:25:34 2002 UTC (21 years, 5 months ago) by dicuccio
File length: 23083 byte(s)
Diff to previous 6664
Added more explicit error reporting for thrown exceptions.

Revision 6664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 8 19:43:39 2002 UTC (21 years, 6 months ago) by grichenk
File length: 22629 byte(s)
Diff to previous 6640
CConstRef<> constructor made explicit

Revision 6640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 4 21:30:53 2002 UTC (21 years, 6 months ago) by grichenk
File length: 22528 byte(s)
Diff to previous 6184
Made CRef<> constructor explicit, const CRef<> getters
return const references/pointers.

Revision 6184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 19 20:05:44 2002 UTC (21 years, 8 months ago) by vasilche
File length: 21481 byte(s)
Diff to previous 5991
Safe initialization of static mutexes

Revision 5991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 28 17:05:50 2002 UTC (21 years, 8 months ago) by vasilche
File length: 21500 byte(s)
Diff to previous 5676
Remove virtual inheritance, fixed heap detection

Revision 5676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 15 18:18:10 2002 UTC (21 years, 10 months ago) by gouriano
File length: 21405 byte(s)
Diff to previous 5656
renamed CNcbiException and its descendents

Revision 5656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 14:23:48 2002 UTC (21 years, 10 months ago) by gouriano
File length: 21303 byte(s)
Diff to previous 5295
exceptions replaced by CNcbiException-type ones

Revision 5295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 31 15:16:51 2002 UTC (21 years, 11 months ago) by gouriano
File length: 20489 byte(s)
Diff to previous 5284
more unsigned ints in EObjectState flags

Revision 5284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 18:32:14 2002 UTC (21 years, 11 months ago) by gouriano
File length: 20442 byte(s)
Diff to previous 5245
changed eStateBitsValid to "unsigned int" to make some compilers happy

Revision 5245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 23 22:24:23 2002 UTC (21 years, 11 months ago) by ucko
File length: 20295 byte(s)
Diff to previous 5199
Use low-level atomic operations for reference counts

Revision 5199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 17 14:27:13 2002 UTC (22 years ago) by gouriano
File length: 19940 byte(s)
Diff to previous 5171
added DebugDump base class and function to CObject

Revision 5171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 14 21:12:59 2002 UTC (22 years ago) by gouriano
File length: 19840 byte(s)
Diff to previous 5153
DebugDump moved into a separate class

Revision 5153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 14 14:44:25 2002 UTC (22 years ago) by gouriano
File length: 20046 byte(s)
Diff to previous 4783
added DebugDump function to CObject

Revision 4783 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 11 20:39:20 2002 UTC (22 years, 1 month ago) by ivanov
File length: 19511 byte(s)
Diff to previous 3596
CVS log moved to end of the file

Revision 3596 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 10 04:03:22 2001 UTC (22 years, 7 months ago) by vakatov
File length: 19289 byte(s)
Diff to previous 3026
Added operator> for C(Const)Ref -- for ICC and MIPSpro

Revision 3026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 21 15:17:42 2001 UTC (22 years, 10 months ago) by kholodov
File length: 18928 byte(s)
Diff to previous 2972
Added: null special value, support for null in CRef classes, equality
operators.

Revision 2972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 13 14:19:54 2001 UTC (22 years, 11 months ago) by grichenk
File length: 17368 byte(s)
Diff to previous 2831
Added operators == and != for C(Const)Ref

Revision 2831 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 17 15:07:16 2001 UTC (23 years ago) by lavr
File length: 16236 byte(s)
Diff to previous 2638
Typos corrected

Revision 2638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 21:22:52 2001 UTC (23 years, 1 month ago) by vakatov
File length: 16173 byte(s)
Diff to previous 2572
Minor cosmetics

Revision 2572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 22:43:50 2001 UTC (23 years, 2 months ago) by vakatov
File length: 16100 byte(s)
Diff to previous 2537
Made "CObject" MT-safe
+ CObject::DoDeleteThisObject()

Revision 2537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 22:14:18 2001 UTC (23 years, 2 months ago) by vakatov
File length: 15787 byte(s)
Diff to previous 2491
Added "operator<" for CRef:: and CConstRef:: to make them useable
as keys in the stnadard C++ associative containers (set, map, ...)

Revision 2491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 21 21:16:08 2001 UTC (23 years, 2 months ago) by grichenk
File length: 15342 byte(s)
Diff to previous 2262
CRef:: Release, Reset -- reset m_Ptr BEFORE removing the reference

Revision 2262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 26 17:25:38 2000 UTC (23 years, 4 months ago) by vasilche
File length: 15224 byte(s)
Diff to previous 2233
CRef<> returns non const object.

Revision 2233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 15 19:18:36 2000 UTC (23 years, 5 months ago) by vakatov
File length: 15448 byte(s)
Diff to previous 2229
Added assignment operator for CRef<> and CConstRef<>

Revision 2229 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 15 15:36:41 2000 UTC (23 years, 5 months ago) by vasilche
File length: 15117 byte(s)
Diff to previous 2223
Added header corelib/ncbistr.hpp for all string utility functions.
Optimized string utility functions.
Added assignment operator to CRef<> and CConstRef<>.
Add Upcase() and Locase() methods for automatic conversion.

Revision 2223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 14:20:14 2000 UTC (23 years, 5 months ago) by vasilche
File length: 14860 byte(s)
Diff to previous 2108
Added operator bool to CArgValue.
Added standard typedef element_type to CRef<> and CConstRef<>.
Macro iterate() now calls method end() only once and uses temporary variable.
Various NStr::Compare() methods made faster.
Added class Upcase for printing strings to ostream with automatic conversion.

Revision 2108 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 1 20:35:02 2000 UTC (23 years, 6 months ago) by vasilche
File length: 14425 byte(s)
Diff to previous 2021
Fixed detection of heap objects.
Removed ECanDelete enum and related constructors.

Revision 2021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 13 16:26:30 2000 UTC (23 years, 7 months ago) by vasilche
File length: 15251 byte(s)
Diff to previous 1894
Added heuristic for detection of CObject allocation in heap.

Revision 1894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 1 13:14:25 2000 UTC (23 years, 8 months ago) by vasilche
File length: 16050 byte(s)
Diff to previous 1823
Fixed throw() declaration in CRef/CConstRef

Revision 1823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 15 19:42:06 2000 UTC (23 years, 9 months ago) by vasilche
File length: 15943 byte(s)
Diff to previous 1640
Changed refernce counter to allow detection of more errors.

Revision 1640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 16:29:51 2000 UTC (23 years, 11 months ago) by vasilche
File length: 12535 byte(s)
Diff to previous 1602
Added SetCanDelete() method to allow to change CObject 'in heap' status immediately after creation.

Revision 1602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 7 19:44:22 2000 UTC (23 years, 11 months ago) by vasilche
File length: 12051 byte(s)
Diff to previous 1505
Removed unneeded THROWS declaration - they lead to encreased code size.

Revision 1505 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 16:36:54 2000 UTC (24 years ago) by vasilche
File length: 12373 byte(s)
Diff to previous 1469
CObject::GetTypeInfo now moved to CObjectGetTypeInfo::GetTypeInfo to reduce possible errors.

Revision 1469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 28 16:56:13 2000 UTC (24 years ago) by vasilche
File length: 12278 byte(s)
Diff to previous 1359
Fixed implementation of CRef<> and CConstRef<>

Revision 1359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 17:08:07 2000 UTC (24 years, 1 month ago) by kans
File length: 11959 byte(s)
Diff to previous 1347
moved ECanDelete to public area of CObject

Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 29 15:50:43 2000 UTC (24 years, 1 month ago) by vasilche
File length: 11870 byte(s)
Diff to previous 1306
Added const version of CRef - CConstRef.
CRef and CConstRef now accept classes inherited from CObject.

Revision 1306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 10 14:18:37 2000 UTC (24 years, 2 months ago) by vasilche
File length: 6249 byte(s)
Diff to previous 1295
Added CRef<>::GetPointerOrNull() method similar to std::auto_ptr<>.get()

Revision 1295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 8 14:18:22 2000 UTC (24 years, 2 months ago) by vasilche
File length: 5896 byte(s)
Diff to previous 1290
Fixed throws instructions.

Revision 1290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 7 15:25:42 2000 UTC (24 years, 2 months ago) by vasilche
File length: 5816 byte(s)
Diff to previous 1283
Fixed implementation of CRef::->

Revision 1283 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Mar 7 14:03:15 2000 UTC (24 years, 2 months ago) by vasilche
File length: 5649 byte(s)
Added CObject class as base for reference counted objects.
Added CRef templace for reference to CObject descendant.

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.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure