Utilities Tasks

Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Summary Owner
Functional Spec Use Cases Unit Tests Technical Spec Implementation
Misc Steve Vallee
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString Utility Steve Vallee
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BList Issac Yonemoto
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString Steve Vallee
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BBlockCache Graham Gilmore
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BStopWatch Steve Vallee





Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Details
Misc Functions
Functional Spec Use Cases Unit Tests Technical Spec Implementation
convert_from_utf8
Functional Spec Use Cases Unit Tests Technical Spec Implementation
convert_to_utf8
BString Utility Functions
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<=(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator==(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>=(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator!=(const char *, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const BString &, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const BString &, const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const BString *, const BString *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const BString *, const BString *);
BList Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BList(int32 itemsPerBlock = 20);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BList(const BList&);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BList();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BList& operator=(const BList &from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(void *item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(void *item, int32 atIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddList(BList *newItems);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddList(BList *newItems, int32 atIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool RemoveItem(void *item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* RemoveItem(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool RemoveItems(int32 index, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool ReplaceItem(int32 index, void *newItem);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void MakeEmpty();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SortItems(int (*cmp)(const void *, const void *));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool SwapItems(int32 indexA, int32 indexB);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool MoveItem(int32 fromIndex, int32 toIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* ItemAt(int32) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* ItemAtFast(int32) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* FirstItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* LastItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* Items() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool HasItem(void *item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IndexOf(void *item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountItems() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEmpty() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DoForEach(bool (*func)(void *));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DoForEach(bool (*func)(void *, void *), void *);
BString Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString(const char *, int32 maxLength);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
~BString();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* String() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 Length() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountChars() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator=(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator=(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator=(char);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& SetTo(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& SetTo(const char *, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& SetTo(const BString &from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Adopt(BString &from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& SetTo(const BString &, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Adopt(BString &from, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& SetTo(char, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CopyInto(BString &into, int32 fromOffset, int32 length) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void CopyInto(char *into, int32 fromOffset, int32 length) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator+=(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator+=(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator+=(char);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Append(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Append(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Append(const BString &, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Append(const char *, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Append(char, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Prepend(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Prepend(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Prepend(const char *, int32);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Prepend(const BString &, int32);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Prepend(char, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const char *, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const char *, int32 length, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const char *, int32 fromOffset, int32 length, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const BString &, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const BString &, int32 length, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(const BString &, int32 fromOffset, int32 length, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Insert(char, int32 count, int32 pos);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Truncate(int32 newLength, bool lazy = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Remove(int32 from, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveFirst(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveLast(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveAll(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveFirst(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveLast(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveAll(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& RemoveSet(const char *setOfCharsToRemove);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& MoveInto(BString &into, int32 from, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void MoveInto(char *into, int32 from, int32 length);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<=(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator==(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>=(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator!=(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator<=(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator==(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>=(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator>(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool operator!=(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const BString &, int32 n) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int Compare(const char *, int32 n) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const BString &, int32 n) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int ICompare(const char *, int32 n) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(const BString &, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(const char *, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(char) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindFirst(char, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(const BString &, int32 beforeOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(const char *, int32 beforeOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(char) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FindLast(char, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindFirst(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindFirst(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindFirst(const BString &, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindFirst(const char *, int32 fromOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindLast(const BString &) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindLast(const char *) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindLast(const BString &, int32 beforeOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IFindLast(const char *, int32 beforeOffset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceFirst(char replaceThis, char withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceLast(char replaceThis, char withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceAll(char replaceThis, char withThis, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Replace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceFirst(const char *replaceThis, const char *withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceLast(const char *replaceThis, const char *withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceAll(const char *replaceThis, const char *withThis, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Replace(const char *replaceThis, const char *withThis, int32 maxReplaceCount, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceFirst(char replaceThis, char withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceLast(char replaceThis, char withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceAll(char replaceThis, char withThis, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceFirst(const char *replaceThis, const char *withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceLast(const char *replaceThis, const char *withThis);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplaceAll(const char *replaceThis, const char *withThis, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& IReplace(const char *replaceThis, const char *withThis, int32 maxReplaceCount, int32 fromOffset = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceSet(const char *setOfChars, char with);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ReplaceSet(const char *setOfChars, const char *with);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char operator[](int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char& operator[](int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char ByteAt(int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char* LockBuffer(int32 maxLength);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& UnlockBuffer(int32 length = -1);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ToLower();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& ToUpper();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& Capitalize();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CapitalizeEachWord();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CharacterEscape(const char* original, const char* setOfCharsToEscape, char escapeWith);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CharacterEscape(const char *setOfCharsToEscape, char escapeWith);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CharacterDeescape(const char *original, char escapeChar);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& CharacterDeescape(char escapeChar);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(const char *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(const BString &);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(char);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(int);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(unsigned int);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(uint32);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(int32);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(uint64);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(int64);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BString& operator<<(float);
BBlockCache Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BBlockCache(size_t cache_size, size_t block_size, uint32 type);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BBlockCache();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void* Get(size_t block_size);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Save(void *pointer, size_t block_size);
BStopWatch Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BStopWatch(const char *name, bool silent = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BStopWatch();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Suspend();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Resume();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bigtime_t Lap();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bigtime_t ElapsedTime() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Reset();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Name() const;





Legend
Functional Spec Functional Spec
Use Cases Use Cases
Unit Tests Unit Tests
Technical Spec Technical Spec
Implementation Implementation
Completed Completed

The OpenBeOS project is hosted by:

SourceForge Logo

Copyright © 2001-2002 OpenBeOS Project