summaryrefslogtreecommitdiff
path: root/include/im_attrib.h
diff options
context:
space:
mode:
authorscuri <scuri>2011-04-04 20:42:46 +0000
committerscuri <scuri>2011-04-04 20:42:46 +0000
commitb2257ad3263f1eaf8dcf637edb480e0c8274fd73 (patch)
treea3838f5b4dccdc7c8bbae13a930e3e9d6738835b /include/im_attrib.h
parent128f620d057c076c445116d264947c993ea5187b (diff)
# New: function imImageMergeAttributes.
Diffstat (limited to 'include/im_attrib.h')
-rw-r--r--include/im_attrib.h4
1 files changed, 4 insertions, 0 deletions
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.