Undocumented class. More...
Inherits BFlattenable.
Public Member Functions | |
BStringList (const BStringList &other) | |
Undocumented public method. | |
BStringList (int32 count=20) | |
Undocumented public method. | |
virtual | ~BStringList () |
Undocumented public method. | |
bool | Add (const BString &string) |
Undocumented public method. | |
bool | Add (const BString &string, int32 index) |
Undocumented public method. | |
bool | Add (const BStringList &list) |
Undocumented public method. | |
bool | Add (const BStringList &list, int32 index) |
Undocumented public method. | |
virtual bool | AllowsTypeCode (type_code code) const |
Undocumented public method. | |
int32 | CountStrings () const |
Undocumented public method. | |
void | DoForEach (bool(*func)(const BString &string)) |
Undocumented public method. | |
void | DoForEach (bool(*func)(const BString &string, void *arg2), void *arg2) |
Undocumented public method. | |
BString | First () const |
Undocumented public method. | |
virtual status_t | Flatten (void *buffer, ssize_t size) const |
Undocumented public method. | |
virtual ssize_t | FlattenedSize () const |
Undocumented public method. | |
bool | HasString (const BString &string, bool ignoreCase=false) const |
Undocumented public method. | |
int32 | IndexOf (const BString &string, bool ignoreCase=false) const |
Undocumented public method. | |
bool | IsEmpty () const |
Undocumented public method. | |
virtual bool | IsFixedSize () const |
Undocumented public method. | |
BString | Join (const char *separator, int32 length=-1) const |
Undocumented public method. | |
BString | Last () const |
Undocumented public method. | |
void | MakeEmpty () |
Undocumented public method. | |
bool | Move (int32 fromIndex, int32 toIndex) |
Undocumented public method. | |
bool | operator!= (const BStringList &other) const |
Undocumented public method. | |
BStringList & | operator= (const BStringList &other) |
Undocumented public method. | |
bool | operator== (const BStringList &other) const |
Undocumented public method. | |
bool | Remove (const BString &string, bool ignoreCase=false) |
Undocumented public method. | |
bool | Remove (const BStringList &list, bool ignoreCase=false) |
Undocumented public method. | |
BString | Remove (int32 index) |
Undocumented public method. | |
bool | Remove (int32 index, int32 count) |
Undocumented public method. | |
bool | Replace (int32 index, const BString &string) |
Undocumented public method. | |
void | Sort (bool ignoreCase=false) |
Undocumented public method. | |
BString | StringAt (int32 index) const |
Undocumented public method. | |
bool | Swap (int32 indexA, int32 indexB) |
Undocumented public method. | |
virtual type_code | TypeCode () const |
Undocumented public method. | |
virtual status_t | Unflatten (type_code code, const void *buffer, ssize_t size) |
Undocumented public method. | |
Public Member Functions inherited from BFlattenable | |
virtual | ~BFlattenable () |
Destructor. Does nothing. | |
virtual bool | AllowsTypeCode (type_code code) const |
Get whether or not the supplied type_code is supported. | |
virtual status_t | Flatten (void *buffer, ssize_t size) const =0 |
Pure virtual that should flatten the object into the supplied buffer. | |
virtual ssize_t | FlattenedSize () const =0 |
Pure virtual that should return the size of the flattened object in bytes. | |
virtual bool | IsFixedSize () const =0 |
Pure virtual that should return whether or not flattened objects of this type always have a fixed size. | |
virtual type_code | TypeCode () const =0 |
Pure virtual that returns the type_code this class flattens to. | |
virtual status_t | Unflatten (type_code code, const void *buffer, ssize_t size)=0 |
Pure virtual that should unflatten the buffer and put the contents into the current object. | |
Undocumented class.
BStringList::BStringList | ( | int32 | count = 20 | ) |
Undocumented public method.
count | Undocumented |
<value> | Undocumented |
BStringList::BStringList | ( | const BStringList & | other | ) |
Undocumented public method.
other | Undocumented |
<value> | Undocumented |
|
virtual |
Undocumented public method.
<value> | Undocumented |
bool BStringList::Add | ( | const BString & | string | ) |
Undocumented public method.
string | Undocumented |
<value> | Undocumented |
Undocumented public method.
string | Undocumented |
index | Undocumented |
<value> | Undocumented |
bool BStringList::Add | ( | const BStringList & | list | ) |
Undocumented public method.
list | Undocumented |
<value> | Undocumented |
bool BStringList::Add | ( | const BStringList & | list, |
int32 | index | ||
) |
Undocumented public method.
list | Undocumented |
index | Undocumented |
<value> | Undocumented |
|
virtual |
Undocumented public method.
code | Undocumented |
<value> | Undocumented |
Reimplemented from BFlattenable.
int32 BStringList::CountStrings | ( | ) | const |
Undocumented public method.
<value> | Undocumented |
void BStringList::DoForEach | ( | bool(*)(const BString &string) | func | ) |
Undocumented public method.
func | Undocumented |
void BStringList::DoForEach | ( | bool(*)(const BString &string, void *arg2) | func, |
void * | arg2 | ||
) |
Undocumented public method.
func | Undocumented |
arg2 | Undocumented |
BString BStringList::First | ( | ) | const |
Undocumented public method.
<value> | Undocumented |
|
virtual |
Undocumented public method.
buffer | Undocumented |
size | Undocumented |
<value> | Undocumented |
Implements BFlattenable.
|
virtual |
Undocumented public method.
<value> | Undocumented |
Implements BFlattenable.
|
inline |
Undocumented public method.
string | Undocumented |
ignoreCase | Undocumented |
<value> | Undocumented |
References IndexOf().
Undocumented public method.
string | Undocumented |
ignoreCase | Undocumented |
<value> | Undocumented |
Referenced by HasString().
bool BStringList::IsEmpty | ( | ) | const |
Undocumented public method.
<value> | Undocumented |
|
virtual |
Undocumented public method.
<value> | Undocumented |
Implements BFlattenable.
Undocumented public method.
separator | Undocumented |
length | Undocumented |
<value> | Undocumented |
BString BStringList::Last | ( | ) | const |
Undocumented public method.
<value> | Undocumented |
void BStringList::MakeEmpty | ( | ) |
Undocumented public method.
Undocumented public method.
fromIndex | Undocumented |
toIndex | Undocumented |
<value> | Undocumented |
|
inline |
Undocumented public method.
other | Undocumented |
<value> | Undocumented |
BStringList & BStringList::operator= | ( | const BStringList & | other | ) |
Undocumented public method.
other | Undocumented |
<value> | Undocumented |
bool BStringList::operator== | ( | const BStringList & | other | ) | const |
Undocumented public method.
other | Undocumented |
<value> | Undocumented |
bool BStringList::Remove | ( | const BString & | string, |
bool | ignoreCase = false |
||
) |
Undocumented public method.
string | Undocumented |
ignoreCase | Undocumented |
<value> | Undocumented |
bool BStringList::Remove | ( | const BStringList & | list, |
bool | ignoreCase = false |
||
) |
Undocumented public method.
list | Undocumented |
ignoreCase | Undocumented |
<value> | Undocumented |
Undocumented public method.
index | Undocumented |
<value> | Undocumented |
Undocumented public method.
index | Undocumented |
count | Undocumented |
<value> | Undocumented |
Undocumented public method.
index | Undocumented |
string | Undocumented |
<value> | Undocumented |
void BStringList::Sort | ( | bool | ignoreCase = false | ) |
Undocumented public method.
ignoreCase | Undocumented |
Undocumented public method.
index | Undocumented |
<value> | Undocumented |
Undocumented public method.
indexA | Undocumented |
indexB | Undocumented |
<value> | Undocumented |
|
virtual |
Undocumented public method.
<value> | Undocumented |
Implements BFlattenable.
Undocumented public method.
code | Undocumented |
buffer | Undocumented |
size | Undocumented |
<value> | Undocumented |
Implements BFlattenable.