![]() |
AJA NTV2 SDK
18.0.0.2717
NTV2 SDK 18.0.0.2717
|
One-stop shop for parsing device specifications. (New in SDK 16.3) I do very little in the way of validating semantics. I simply do the parsing & provide the info needed to load & operate plugins. More...
#include <ntv2nubaccess.h>
Public Member Functions | |
| NTV2DeviceSpecParser (const std::string inSpec="") | |
| My constructor. If given device specification is non-empty, proceeds to Parse it. More... | |
| void | Reset (const std::string inSpec="") |
| Resets me, then parses the given device specification. More... | |
| std::string | MakeDeviceSpec (const bool urlEncodeQuery) const |
| std::string | MakeQueryString (const bool urlEncode) const |
| std::string | Resource (const bool inStripLeadSlash=true) const |
| std::ostream & | PrintErrors (std::ostream &oss) const |
| std::ostream & | Print (std::ostream &oss, const bool inDumpResults=false) const |
| std::string | InfoString (void) const |
| std::string | DeviceSerial (void) const |
| std::string | DeviceModel (void) const |
| NTV2DeviceID | DeviceID (void) const |
| UWord | DeviceIndex (void) const |
Static Public Member Functions | |
| static bool | ParseQueryParams (const NTV2Dictionary &inParams, NTV2Dictionary &outQueryParams) |
One-stop shop for parsing device specifications. (New in SDK 16.3) I do very little in the way of validating semantics. I simply do the parsing & provide the info needed to load & operate plugins.
Definition at line 161 of file ntv2nubaccess.h.
| NTV2DeviceSpecParser::NTV2DeviceSpecParser | ( | const std::string | inSpec = "" | ) |
My constructor. If given device specification is non-empty, proceeds to Parse it.
Definition at line 275 of file ntv2nubaccess.cpp.
| NTV2DeviceID NTV2DeviceSpecParser::DeviceID | ( | void | ) | const |
Definition at line 548 of file ntv2nubaccess.cpp.
| UWord NTV2DeviceSpecParser::DeviceIndex | ( | void | ) | const |
Definition at line 557 of file ntv2nubaccess.cpp.
|
inline |
Definition at line 187 of file ntv2nubaccess.h.
|
inline |
Definition at line 186 of file ntv2nubaccess.h.
| string NTV2DeviceSpecParser::InfoString | ( | void | ) | const |
Definition at line 541 of file ntv2nubaccess.cpp.
| string NTV2DeviceSpecParser::MakeDeviceSpec | ( | const bool | urlEncodeQuery | ) | const |
Definition at line 485 of file ntv2nubaccess.cpp.
| string NTV2DeviceSpecParser::MakeQueryString | ( | const bool | urlEncode | ) | const |
Definition at line 520 of file ntv2nubaccess.cpp.
|
static |
Definition at line 1593 of file ntv2nubaccess.cpp.
| ostream & NTV2DeviceSpecParser::Print | ( | std::ostream & | oss, |
| const bool | inDumpResults = false |
||
| ) | const |
Definition at line 456 of file ntv2nubaccess.cpp.
| ostream & NTV2DeviceSpecParser::PrintErrors | ( | std::ostream & | oss | ) | const |
Definition at line 564 of file ntv2nubaccess.cpp.
| void NTV2DeviceSpecParser::Reset | ( | const std::string | inSpec = "" | ) |
Resets me, then parses the given device specification.
Definition at line 280 of file ntv2nubaccess.cpp.
| string NTV2DeviceSpecParser::Resource | ( | const bool | inStripLeadSlash = true | ) | const |
Definition at line 291 of file ntv2nubaccess.cpp.