Zivid
1.0.0+3593.8aa835e3
Zivid API
|
Various information for a frame More...
#include <FrameInfo.h>
Classes | |
class | SoftwareVersion |
The version information for installed software at the time of image capture More... | |
class | TimeStamp |
The time of frame capture More... | |
Static Public Attributes | |
static constexpr bool | isContainer {true} |
Whether this node contains child values More... | |
static constexpr const char * | path {""} |
The full path for this value More... | |
static constexpr const char * | name {"FrameInfo"} |
The name of this value More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const FrameInfo &value) |
Operator to send the value as string to a stream More... | |
std::istream & | operator>> (std::istream &stream, FrameInfo &value) |
Operator to set the value from a stream More... | |
Various information for a frame
|
explicit |
Construct object by loading from file
|
inline |
Run the given function on each direct member with the value of the member as parameter
|
inline |
Run the given function on each direct member with the value of the member as parameter
std::string Zivid::FrameInfo::getString | ( | const std::string & | fullPath | ) | const |
Get a value as string by specifying the path
void Zivid::FrameInfo::load | ( | const std::string & | fileName | ) |
Load from the given file
bool Zivid::FrameInfo::operator!= | ( | const FrameInfo & | other | ) | const |
Inequality operator
bool Zivid::FrameInfo::operator== | ( | const FrameInfo & | other | ) | const |
Equality operator
void Zivid::FrameInfo::save | ( | const std::string & | fileName | ) | const |
Save to the given file
void Zivid::FrameInfo::set | ( | const std::string & | fullPath, |
const std::string & | value | ||
) |
Set a value from string by specifying the path
|
inline |
Set SoftwareVersion
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Zivid::FrameInfo::setFromString | ( | const std::string & | value | ) |
Set from the given string
|
inline |
Get SoftwareVersion
std::string Zivid::FrameInfo::toString | ( | ) | const |
Get the value as string
|
inline |
Traverse the entire tree using the given function with the value of the member as parameter
|
inline |
Traverse all members using the given function with the value of the member as parameter
|
friend |
Operator to send the value as string to a stream
|
friend |
Operator to set the value from a stream
|
static |
Whether this node contains child values
|
static |
The name of this value
|
static |
The full path for this value