Difference between revisions of "Binary Tips"
From FM Plugin Wikipedia
Line 7: | Line 7: | ||
=Binary Public Functions= | =Binary Public Functions= | ||
+ | *[[BinaryData &operator = ( const BinaryData &source )]] | ||
+ | *[[bool operator == ( const BinaryData &compareData ) const]] | ||
+ | *[[bool operator != ( const BinaryData &compareData ) const]] | ||
+ | *[[int GetCount () const]] | ||
+ | *[[int GetIndex ( const QuadChar& dataType ) const]] | ||
+ | *[[ulong GetTotalSize () const]] | ||
+ | *[[void GetType ( int index, QuadChar& dataType ) const]] | ||
+ | *[[ulong GetSize ( int index ) const]] | ||
+ | *[[errcode GetData ( int index, ulong offset, ulong amount, void *buffer ) const]] | ||
+ | |||
+ | |||
+ | *[[errcode Add ( const QuadChar& dataType, ulong amount, void *buffer )]] | ||
+ | *[[bool Remove ( const QuadChar& dataType )]] | ||
+ | *[[void RemoveAll ()]] | ||
+ | |||
+ | |||
+ | *[[errcode GetFNAMData ( Text &filepathlist ) const]] | ||
+ | *[[errcode AddFNAMData ( const Text &filepathlist )]] | ||
+ | *[[errcode GetSIZEData ( short &width, short &height ) const]] | ||
+ | *[[errcode AddSIZEData ( short width, short height )]] | ||
+ | |||
+ | |||
+ | *[[void operator delete ( void *obj )]] | ||
+ | |||
+ | |||
+ | |||
+ | *[[BinaryDataAutoPtr ()]] | ||
+ | *[[BinaryDataAutoPtr ( const BinaryData &sourceData )]] | ||
=Example Binary Functions= | =Example Binary Functions= |
Revision as of 00:41, 12 July 2007
This page is about editing and working with Binary data (Images, sound, etc) passed from FileMaker to your plugin.
Binary Public Functions
- BinaryData &operator = ( const BinaryData &source )
- bool operator == ( const BinaryData &compareData ) const
- bool operator != ( const BinaryData &compareData ) const
- int GetCount () const
- int GetIndex ( const QuadChar& dataType ) const
- ulong GetTotalSize () const
- void GetType ( int index, QuadChar& dataType ) const
- ulong GetSize ( int index ) const
- errcode GetData ( int index, ulong offset, ulong amount, void *buffer ) const
- errcode Add ( const QuadChar& dataType, ulong amount, void *buffer )
- bool Remove ( const QuadChar& dataType )
- void RemoveAll ()
- errcode GetFNAMData ( Text &filepathlist ) const
- errcode AddFNAMData ( const Text &filepathlist )
- errcode GetSIZEData ( short &width, short &height ) const
- errcode AddSIZEData ( short width, short height )