Introduce BMessage::CompareData() which is a Haiku API extension. It compares

the data of two BMessages and allows recursive comparison (BMessage inside
BMessage). Note that using this API might require you to recompile your app in
the path to R1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28174 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2008-10-16 15:55:36 +00:00
parent baa1c04611
commit 5b25b917f9
2 changed files with 63 additions and 0 deletions
+4
View File
@@ -216,6 +216,10 @@ class BMessage {
status_t ReplaceData(const char *name, type_code type, int32 index,
const void *data, ssize_t numBytes);
// Compareing data (only) - Haiku experimental API
bool CompareData(const BMessage &other,
bool ignoreFieldOrder = true, bool deep = false) const;
void *operator new(size_t size);
void *operator new(size_t, void *pointer);
void operator delete(void *pointer, size_t size);