From b2257ad3263f1eaf8dcf637edb480e0c8274fd73 Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 4 Apr 2011 20:42:46 +0000 Subject: # New: function imImageMergeAttributes. --- include/im_attrib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/im_attrib.h') diff --git a/include/im_attrib.h b/include/im_attrib.h index 76302ef..f7d5b0e 100644 --- a/include/im_attrib.h +++ b/include/im_attrib.h @@ -45,6 +45,10 @@ public: void CopyFrom(const imAttribTable& table) { imAttribTableCopyFrom(ptable, table.ptable); } + /** Merges the contents of the given table into this table. */ + void MergeFrom(const imAttribTable& table) + { imAttribTableMergeFrom(ptable, table.ptable); } + /** Inserts an attribute into the table. \n * If data_type is BYTE then count can be -1 to indicate a NULL terminated string. * Data is duplicated if not NULL, else data is initialized with zeros. -- cgit v1.2.3