Zivid  1.0.1+3607.8a7510c4
Zivid API
Classes | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::FrameInfo::SoftwareVersion Class Reference

The version information for installed software at the time of image capture More...

#include <FrameInfo.h>

Classes

class  ZividAPI
 Version information for the Zivid API library More...
 
class  ZividCameraFile
 Version information for the ZividCameraFile driver More...
 
class  ZividCameraToshibaTeli
 Version information for the ZividCameraToshibaTeli driver More...
 
class  ZividStudio
 Version information for the ZividStudio applicaton More...
 

Public Member Functions

 SoftwareVersion (const std::string &fileName)
 Construct object by loading from file More...
 
void set (const std::string &fullPath, const std::string &value)
 Set a value from string by specifying the path More...
 
std::string getString (const std::string &fullPath) const
 Get a value as string by specifying the path More...
 
SoftwareVersionset (const ZividStudio &value)
 Set ZividStudio More...
 
const ZividStudiozividStudio () const
 Get ZividStudio More...
 
SoftwareVersionset (const ZividStudio::FileDescription &value)
 Set ZividStudio::FileDescription More...
 
SoftwareVersionset (const ZividStudio::FileVersion &value)
 Set ZividStudio::FileVersion More...
 
SoftwareVersionset (const ZividStudio::ProductVersion &value)
 Set ZividStudio::ProductVersion More...
 
SoftwareVersionset (const ZividStudio::Comments &value)
 Set ZividStudio::Comments More...
 
SoftwareVersionset (const ZividAPI &value)
 Set ZividAPI More...
 
const ZividAPIzividAPI () const
 Get ZividAPI More...
 
SoftwareVersionset (const ZividAPI::FileDescription &value)
 Set ZividAPI::FileDescription More...
 
SoftwareVersionset (const ZividAPI::FileVersion &value)
 Set ZividAPI::FileVersion More...
 
SoftwareVersionset (const ZividAPI::ProductVersion &value)
 Set ZividAPI::ProductVersion More...
 
SoftwareVersionset (const ZividAPI::Comments &value)
 Set ZividAPI::Comments More...
 
SoftwareVersionset (const ZividCameraToshibaTeli &value)
 Set ZividCameraToshibaTeli More...
 
const ZividCameraToshibaTelizividCameraToshibaTeli () const
 Get ZividCameraToshibaTeli More...
 
SoftwareVersionset (const ZividCameraToshibaTeli::FileDescription &value)
 Set ZividCameraToshibaTeli::FileDescription More...
 
SoftwareVersionset (const ZividCameraToshibaTeli::FileVersion &value)
 Set ZividCameraToshibaTeli::FileVersion More...
 
SoftwareVersionset (const ZividCameraToshibaTeli::ProductVersion &value)
 Set ZividCameraToshibaTeli::ProductVersion More...
 
SoftwareVersionset (const ZividCameraToshibaTeli::Comments &value)
 Set ZividCameraToshibaTeli::Comments More...
 
SoftwareVersionset (const ZividCameraFile &value)
 Set ZividCameraFile More...
 
const ZividCameraFilezividCameraFile () const
 Get ZividCameraFile More...
 
SoftwareVersionset (const ZividCameraFile::FileDescription &value)
 Set ZividCameraFile::FileDescription More...
 
SoftwareVersionset (const ZividCameraFile::FileVersion &value)
 Set ZividCameraFile::FileVersion More...
 
SoftwareVersionset (const ZividCameraFile::ProductVersion &value)
 Set ZividCameraFile::ProductVersion More...
 
SoftwareVersionset (const ZividCameraFile::Comments &value)
 Set ZividCameraFile::Comments More...
 
template<typename F >
void forEach (const F &f) const
 Run the given function on each direct member with the value of the member as parameter More...
 
template<typename F >
void forEach (const F &f)
 Run the given function on each direct member with the value of the member as parameter More...
 
template<typename F >
void traverseValues (const F &f) const
 Traverse the entire tree using the given function with the value of the member as parameter More...
 
template<typename F >
void traverseValues (const F &f)
 Traverse all members using the given function with the value of the member as parameter More...
 
std::string toString () const
 Get the value as string More...
 
void save (const std::string &fileName) const
 Save to the given file More...
 
void setFromString (const std::string &value)
 Set from the given string More...
 
void load (const std::string &fileName)
 Load from the given file More...
 
bool operator== (const SoftwareVersion &other) const
 Equality operator More...
 
bool operator!= (const SoftwareVersion &other) const
 Inequality operator More...
 

Static Public Attributes

static constexpr bool isContainer {true}
 Whether this node contains child values More...
 
static constexpr const char * path {"SoftwareVersion"}
 The full path for this value More...
 
static constexpr const char * name {"SoftwareVersion"}
 The name of this value More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const SoftwareVersion &value)
 Operator to send the value as string to a stream More...
 
std::istream & operator>> (std::istream &stream, SoftwareVersion &value)
 Operator to set the value from a stream More...
 

Detailed Description

The version information for installed software at the time of image capture

Constructor & Destructor Documentation

◆ SoftwareVersion()

Zivid::FrameInfo::SoftwareVersion::SoftwareVersion ( const std::string &  fileName)
explicit

Construct object by loading from file

Member Function Documentation

◆ forEach() [1/2]

template<typename F >
void Zivid::FrameInfo::SoftwareVersion::forEach ( const F &  f) const
inline

Run the given function on each direct member with the value of the member as parameter

◆ forEach() [2/2]

template<typename F >
void Zivid::FrameInfo::SoftwareVersion::forEach ( const F &  f)
inline

Run the given function on each direct member with the value of the member as parameter

◆ getString()

std::string Zivid::FrameInfo::SoftwareVersion::getString ( const std::string &  fullPath) const

Get a value as string by specifying the path

◆ load()

void Zivid::FrameInfo::SoftwareVersion::load ( const std::string &  fileName)

Load from the given file

◆ operator!=()

bool Zivid::FrameInfo::SoftwareVersion::operator!= ( const SoftwareVersion other) const

Inequality operator

◆ operator==()

bool Zivid::FrameInfo::SoftwareVersion::operator== ( const SoftwareVersion other) const

Equality operator

◆ save()

void Zivid::FrameInfo::SoftwareVersion::save ( const std::string &  fileName) const

Save to the given file

◆ set() [1/21]

void Zivid::FrameInfo::SoftwareVersion::set ( const std::string &  fullPath,
const std::string &  value 
)

Set a value from string by specifying the path

◆ set() [2/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividStudio value)
inline

◆ set() [3/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividStudio::FileDescription value)
inline

◆ set() [4/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividStudio::FileVersion value)
inline

◆ set() [5/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividStudio::ProductVersion value)
inline

◆ set() [6/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividStudio::Comments value)
inline

◆ set() [7/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividAPI value)
inline

Set ZividAPI

◆ set() [8/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividAPI::FileDescription value)
inline

◆ set() [9/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividAPI::FileVersion value)
inline

◆ set() [10/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividAPI::ProductVersion value)
inline

◆ set() [11/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividAPI::Comments value)
inline

◆ set() [12/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraToshibaTeli value)
inline

◆ set() [13/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraToshibaTeli::FileDescription value)
inline

◆ set() [14/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraToshibaTeli::FileVersion value)
inline

◆ set() [15/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraToshibaTeli::ProductVersion value)
inline

◆ set() [16/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraToshibaTeli::Comments value)
inline

◆ set() [17/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraFile value)
inline

◆ set() [18/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraFile::FileDescription value)
inline

◆ set() [19/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraFile::FileVersion value)
inline

◆ set() [20/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraFile::ProductVersion value)
inline

◆ set() [21/21]

SoftwareVersion& Zivid::FrameInfo::SoftwareVersion::set ( const ZividCameraFile::Comments value)
inline

◆ setFromString()

void Zivid::FrameInfo::SoftwareVersion::setFromString ( const std::string &  value)

Set from the given string

◆ toString()

std::string Zivid::FrameInfo::SoftwareVersion::toString ( ) const

Get the value as string

◆ traverseValues() [1/2]

template<typename F >
void Zivid::FrameInfo::SoftwareVersion::traverseValues ( const F &  f) const
inline

Traverse the entire tree using the given function with the value of the member as parameter

◆ traverseValues() [2/2]

template<typename F >
void Zivid::FrameInfo::SoftwareVersion::traverseValues ( const F &  f)
inline

Traverse all members using the given function with the value of the member as parameter

◆ zividAPI()

const ZividAPI& Zivid::FrameInfo::SoftwareVersion::zividAPI ( ) const
inline

Get ZividAPI

◆ zividCameraFile()

const ZividCameraFile& Zivid::FrameInfo::SoftwareVersion::zividCameraFile ( ) const
inline

◆ zividCameraToshibaTeli()

const ZividCameraToshibaTeli& Zivid::FrameInfo::SoftwareVersion::zividCameraToshibaTeli ( ) const
inline

◆ zividStudio()

const ZividStudio& Zivid::FrameInfo::SoftwareVersion::zividStudio ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const SoftwareVersion value 
)
friend

Operator to send the value as string to a stream

◆ operator>>

std::istream& operator>> ( std::istream &  stream,
SoftwareVersion value 
)
friend

Operator to set the value from a stream

Member Data Documentation

◆ isContainer

constexpr bool Zivid::FrameInfo::SoftwareVersion::isContainer {true}
static

Whether this node contains child values

◆ name

constexpr const char* Zivid::FrameInfo::SoftwareVersion::name {"SoftwareVersion"}
static

The name of this value

◆ path

constexpr const char* Zivid::FrameInfo::SoftwareVersion::path {"SoftwareVersion"}
static

The full path for this value


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