C++ Instrument Catalog
|
Utilities to aid in sending SCPI commands and parsing of SCPI reponses. More...
#include <cstdlib>
#include <string>
#include <vector>
#include <regex>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
MTL | |
MTL::SCPI | |
Macros | |
#define | SCPIParsing_UNUSED_VAR(x) (void)x; |
Typedefs | |
typedef std::vector< unsigned char > | MTL::SCPI::tChannel |
SCPI channel More... | |
typedef std::vector< tChannel > | MTL::SCPI::tChannelList |
SCPI channel list More... | |
Functions | |
template<class iterator_type > | |
bool | MTL::SCPI::IsArbitraryBlock (const iterator_type first, const iterator_type last, size_t &rStartOffset, size_t &rLength) |
Find arbitrary-block data within a buffer. More... | |
void | MTL::SCPI::ToArbitraryBlock (const std::string &rStr, std::string &rArbitraryBlock, bool InfiniteFormat=false) |
Package data as an arbitrary block. More... | |
template<class iterator_type > | |
void | MTL::SCPI::FromStringChannelList (iterator_type first, iterator_type last, tChannelList &rChannelList) |
Decode channel list string. More... | |
void | MTL::SCPI::ToStringChannelList (const tChannelList &rChannelList, std::string &rStr) |
Encode channel list string. More... | |
void | MTL::SCPI::FromBinaryChannelList (const char *pBinaryChanList, size_t Len, tChannelList &rChannelList) |
Decode binary channel list. More... | |
void | MTL::SCPI::ToBinaryChannelList (const tChannelList &rChannelList, std::vector< char > &rBinaryChanList) |
Encode binary channel list. More... | |
void | MTL::SCPI::SplitString (const std::string &rStr, std::vector< std::string > &rStrings, char Sep) |
Split a string into substrings separated by a given character. More... | |
Utilities to aid in sending SCPI commands and parsing of SCPI reponses.
Definition in file SCPIParsing.h.
#define SCPIParsing_UNUSED_VAR | ( | x | ) | (void)x; |
Definition at line 20 of file SCPIParsing.h.