BStringList: Add Join()
This commit is contained in:
@@ -50,6 +50,8 @@ public:
|
||||
int32 CountStrings() const;
|
||||
bool IsEmpty() const;
|
||||
|
||||
BString Join(const char* separator, int32 length = -1);
|
||||
|
||||
// Iteration
|
||||
void DoForEach(bool (*func)(const BString& string));
|
||||
void DoForEach(bool (*func)(const BString& string,
|
||||
@@ -63,6 +65,8 @@ private:
|
||||
void _IncrementRefCounts() const;
|
||||
void _DecrementRefCounts() const;
|
||||
|
||||
BString _Join(const char* separator, int32 length);
|
||||
|
||||
private:
|
||||
BList fStrings;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user