From fc96db275f65a9d5adc4a40758f50297fc5bdbf0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 10 Apr 2009 06:23:07 +0000 Subject: Added some new goodness to the fbasicstring, fixing some inconsistancies and adding some more helpers. Hopefully this won't affect anything, but if it complains about any functions not working the way they used to, see if they're returning an int or an iterator. I made several functions handle iterators instead of ints, the int versions have an "Idx" suffix added now. I'm trying to switch entirely to iterators to reduce flattening and increase performance and stability. Also...something must have changed in the cache code... --- src/cache.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/cache.h') diff --git a/src/cache.h b/src/cache.h index f36c29b..2b93479 100644 --- a/src/cache.h +++ b/src/cache.h @@ -90,7 +90,12 @@ namespace Bu return pData; } - bool isLoaded() const + bool isValid() const + { + return pCache != NULL; + } + + bool isBound() const { return pData != NULL; } -- cgit v1.2.3