|
rohdeschwarz
0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
|
Data type for handling named and indexed quantities. More...
#include <index_name.hpp>
Static Public Member Functions | |
| static std::vector< IndexName > | parse (const char *csvList) |
| Parses index-name pairs from text. More... | |
| static std::vector< IndexName > | parse (const std::string &csvList) |
| Parses index-name pairs from text. More... | |
| static std::vector< unsigned int > | indexesFrom (const std::vector< IndexName > &list) |
| Returns index list from IndexName list. More... | |
| static std::vector< std::string > | namesFrom (const std::vector< IndexName > &list) |
| Returns names list from IndexName list. More... | |
Public Attributes | |
| unsigned int | index |
| std::string | name |
Data type for handling named and indexed quantities.
The ZNX will often return a list of objects in the format:
<index1>,<name1>,<index2>,<name2>,...
This struct is designed to handle this type of data
Definition at line 29 of file index_name.hpp.
|
static |
Returns index list from IndexName list.
Definition at line 46 of file index_name.cpp.
|
static |
Returns names list from IndexName list.
Definition at line 61 of file index_name.cpp.
|
static |
Parses index-name pairs from text.
| [in] | csvList | CSV list of index-name pairs in a C style string |
Definition at line 17 of file index_name.cpp.
|
static |
Parses index-name pairs from text.
| [in] | csvList | CSV list of index-name pairs in a C++ style string |
Definition at line 24 of file index_name.cpp.
| unsigned int rohdeschwarz::scpi::IndexName::index |
Definition at line 33 of file index_name.hpp.
| std::string rohdeschwarz::scpi::IndexName::name |
Definition at line 34 of file index_name.hpp.