libopenraw  0.3.7
Public Types | Public Member Functions | List of all members
OpenRaw::MetaValue Class Reference

Metadata value. More...

#include <metavalue.hpp>

Public Types

typedef boost::variant< std::string, uint8_t, uint32_t, int32_t, double, OpenRaw::Internals::IFD::ORRational, OpenRaw::Internals::IFD::ORSRational > value_t
 

Public Member Functions

 MetaValue (const MetaValue &)
 
template<class T >
 MetaValue (const T &v)
 
template<class T >
 MetaValue (const std::vector< T > &v)
 
 MetaValue (const value_t &v)
 
 MetaValue (const std::vector< value_t > &v)
 
uint32_t getCount () const
 
uint32_t getUInteger (int idx) const
 
int32_t getSInteger (int idx) const
 
const std::string & getString (int idx) const
 
double getDouble (int idx) const
 
const std::string & getAsString (bool full) const
 Convert to a string. More...
 

Detailed Description

Metadata value.

Definition at line 34 of file metavalue.hpp.

Member Function Documentation

◆ getAsString()

const std::string & OpenRaw::MetaValue::getAsString ( bool  full) const

Convert to a string.

Parameters
fullboolean to indicate to print in full or just the first 20 values

Definition at line 132 of file metavalue.cpp.


The documentation for this class was generated from the following files: