AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
ntv2version.cpp File Reference

Defines for the NTV2 SDK version helpers. See the ajantv2/includes/ntv2version.h.in template when building with CMake. More...

#include "ntv2version.h"
#include <sstream>
Include dependency graph for ntv2version.cpp:

Go to the source code of this file.

Functions

const std::string & NTV2GitHash (void)
 
const std::string & NTV2GitHashShort (void)
 
std::string NTV2Version (const bool inDetailed)
 

Detailed Description

Defines for the NTV2 SDK version helpers. See the ajantv2/includes/ntv2version.h.in template when building with CMake.

Definition in file ntv2version.cpp.

Function Documentation

◆ NTV2GitHash()

const std::string& NTV2GitHash ( void  )
Returns
the 40-character ID of the last commit for this SDK build

Definition at line 19 of file ntv2version.cpp.

◆ NTV2GitHashShort()

const std::string& NTV2GitHashShort ( void  )
Returns
the 10-character ID of the last commit for this SDK build

Definition at line 30 of file ntv2version.cpp.

◆ NTV2Version()

std::string NTV2Version ( const bool  inDetailed = false)
Returns
a string containing SDK version information

Definition at line 41 of file ntv2version.cpp.