$search
00001 #ifndef TYPELIB_VALUE_OPS_DETAILS_HH 00002 #define TYPELIB_VALUE_OPS_DETAILS_HH 00003 00004 #include <typelib/memory_layout.hh> 00005 #include <typelib/value.hh> 00006 #include <iosfwd> 00007 00008 #include <boost/tuple/tuple.hpp> 00009 00010 namespace Typelib 00011 { 00015 namespace ValueOps 00016 { 00017 boost::tuple<size_t, MemoryLayout::const_iterator> 00018 dump(uint8_t const* data, size_t in_offset, 00019 OutputStream& stream, MemoryLayout::const_iterator const begin, MemoryLayout::const_iterator const end); 00020 00021 boost::tuple<size_t, MemoryLayout::const_iterator> 00022 load(uint8_t* data, size_t out_offset, 00023 InputStream& stream, 00024 MemoryLayout::const_iterator const begin, MemoryLayout::const_iterator const end); 00025 00026 boost::tuple<bool, uint8_t*, uint8_t*, MemoryLayout::const_iterator> 00027 compare(uint8_t* out_buffer, uint8_t* in_buffer, 00028 MemoryLayout::const_iterator it, 00029 MemoryLayout::const_iterator end); 00030 boost::tuple<uint8_t*, uint8_t*, MemoryLayout::const_iterator> 00031 copy(uint8_t* out_buffer, uint8_t* in_buffer, 00032 MemoryLayout::const_iterator it, 00033 MemoryLayout::const_iterator end); 00034 boost::tuple<uint8_t*, MemoryLayout::const_iterator> 00035 destroy(uint8_t* buffer, 00036 MemoryLayout::const_iterator it, 00037 MemoryLayout::const_iterator end); 00038 boost::tuple<uint8_t*, MemoryLayout::const_iterator> 00039 init(uint8_t* buffer, 00040 MemoryLayout::const_iterator it, 00041 MemoryLayout::const_iterator end); 00042 boost::tuple<uint8_t*, MemoryLayout::const_iterator> 00043 zero(uint8_t* buffer, 00044 MemoryLayout::const_iterator it, 00045 MemoryLayout::const_iterator end); 00046 boost::tuple<size_t, MemoryLayout::const_iterator> 00047 getDumpSize(uint8_t* buffer, 00048 MemoryLayout::const_iterator it, 00049 MemoryLayout::const_iterator end); 00050 } 00051 } 00052 00053 #endif 00054