|
std::ostream & | Exiv2::operator<< (std::ostream &os, const Value &value) |
| Output operator for Value types.
|
|
template<typename T > |
TypeId | Exiv2::getType () |
| Template to determine the TypeId for a type T.
|
|
template<> |
TypeId | Exiv2::getType< uint16_t > () |
| Specialization for an unsigned short.
|
|
template<> |
TypeId | Exiv2::getType< uint32_t > () |
| Specialization for an unsigned long.
|
|
template<> |
TypeId | Exiv2::getType< URational > () |
| Specialization for an unsigned rational.
|
|
template<> |
TypeId | Exiv2::getType< int16_t > () |
| Specialization for a signed short.
|
|
template<> |
TypeId | Exiv2::getType< int32_t > () |
| Specialization for a signed long.
|
|
template<> |
TypeId | Exiv2::getType< Rational > () |
| Specialization for a signed rational.
|
|
template<> |
TypeId | Exiv2::getType< float > () |
| Specialization for a float.
|
|
template<> |
TypeId | Exiv2::getType< double > () |
| Specialization for a double.
|
|
template<typename T > |
T | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
uint16_t | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
uint32_t | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
URational | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
int16_t | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
int32_t | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
Rational | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
float | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<> |
double | Exiv2::getValue (const byte *buf, ByteOrder byteOrder) |
| Read a value of type T from the data buffer. More...
|
|
template<typename T > |
long | Exiv2::toData (byte *buf, T t, ByteOrder byteOrder) |
| Convert a value of type T to data, write the data to the data buffer. More...
|
|
template<> |
long | Exiv2::toData (byte *buf, uint16_t t, ByteOrder byteOrder) |
| Specialization to write an unsigned short to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, uint32_t t, ByteOrder byteOrder) |
| Specialization to write an unsigned long to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, URational t, ByteOrder byteOrder) |
| Specialization to write an unsigned rational to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, int16_t t, ByteOrder byteOrder) |
| Specialization to write a signed short to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, int32_t t, ByteOrder byteOrder) |
| Specialization to write a signed long to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, Rational t, ByteOrder byteOrder) |
| Specialization to write a signed rational to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, float t, ByteOrder byteOrder) |
| Specialization to write a float to the data buffer. Return the number of bytes written.
|
|
template<> |
long | Exiv2::toData (byte *buf, double t, ByteOrder byteOrder) |
| Specialization to write a double to the data buffer. Return the number of bytes written.
|
|
Value interface and concrete subclasses.
- Author
- Andreas Huggel (ahu) ahuggel@gmx.net
- Date
- 09-Jan-04, ahu: created 11-Feb-04, ahu: isolated as a component 31-Jul-04, brad: added Time, Data and String values