TXpower - TX Power.
More...
#include <radarlib/odimh5v21_support.hpp>
|
| TXpower () |
| Create an object with values set to 0. More...
|
|
| TXpower (double value) |
| Create an object set to the value passed. More...
|
|
| TXpower (const std::string &value) |
| Create an object set to the value passed. More...
|
|
void | set (double value) |
| Set field. More...
|
|
void | parse (const std::string &str) |
| Set object fields decoding the indicated string. More...
|
|
std::string | toString () const |
| Convert TX Power to a string formated according to OdimH5 specifications. More...
|
|
std::string | toString (int precision) const |
| Convert TX Power to a string formated according to OdimH5 specifications. More...
|
|
|
static std::vector< TXpower > | parseSequence (const std::string &str) |
| Create a collection of TX Powers decoding a string. More...
|
|
static std::vector< TXpower > | parseSimpleArray (const std::vector< double > &value) |
| Create a collection of TX Powers importing a vector of double. More...
|
|
static std::string | toString (const std::vector< TXpower > &right) |
|
static std::string | toString (const std::vector< TXpower > &right, int precision) |
| Convert a collection of TX Powers to a string formated according to OdimH5 specifications. More...
|
|
TXpower - TX Power.
This class represent the TX Power
- See also
- Horizontal_Product_2D | TXpower
◆ TXpower() [1/3]
OdimH5v21::TXpower::TXpower |
( |
| ) |
|
Create an object with values set to 0.
◆ TXpower() [2/3]
OdimH5v21::TXpower::TXpower |
( |
double |
value | ) |
|
Create an object set to the value passed.
- Parameters
-
[in] | value | a double value for the TX Power |
◆ TXpower() [3/3]
OdimH5v21::TXpower::TXpower |
( |
const std::string & |
value | ) |
|
Create an object set to the value passed.
- Parameters
-
[in] | value | a string value for the TX Power |
◆ set()
void OdimH5v21::TXpower::set |
( |
double |
value | ) |
|
◆ parse()
void OdimH5v21::TXpower::parse |
( |
const std::string & |
str | ) |
|
Set object fields decoding the indicated string.
- Parameters
-
str | a string formatted like "value" |
- Exceptions
-
◆ toString() [1/4]
std::string OdimH5v21::TXpower::toString |
( |
| ) |
const |
Convert TX Power to a string formated according to OdimH5 specifications.
◆ toString() [2/4]
std::string OdimH5v21::TXpower::toString |
( |
int |
precision | ) |
const |
Convert TX Power to a string formated according to OdimH5 specifications.
- Parameters
-
precision | precision to use when converting double values to strings |
◆ parseSequence()
std::vector< TXpower > OdimH5v21::TXpower::parseSequence |
( |
const std::string & |
str | ) |
|
|
static |
Create a collection of TX Powers decoding a string.
- Parameters
-
str | a string formatted like "value,value,..." |
- Exceptions
-
◆ parseSimpleArray()
std::vector< TXpower > OdimH5v21::TXpower::parseSimpleArray |
( |
const std::vector< double > & |
value | ) |
|
|
static |
Create a collection of TX Powers importing a vector of double.
- Parameters
-
value | a vector of double to be imported |
- Exceptions
-
◆ toString() [3/4]
std::string OdimH5v21::TXpower::toString |
( |
const std::vector< TXpower > & |
right | ) |
|
|
static |
- Parameters
-
right | the values to convert Convert a collection of TX Powers to a string formated according to OdimH5 specifications |
◆ toString() [4/4]
std::string OdimH5v21::TXpower::toString |
( |
const std::vector< TXpower > & |
right, |
|
|
int |
precision |
|
) |
| |
|
static |
Convert a collection of TX Powers to a string formated according to OdimH5 specifications.
- Parameters
-
right | the destination string |
precision | precision to use when converting double values to strings |
◆ value
double OdimH5v21::TXpower::value |
The documentation for this class was generated from the following files: