Holds the information on the transducer.
More...
#include <ElementInformation.h>
Holds the information on the transducer.
◆ ElementInformation() [1/3]
sf::ElementInformation::ElementInformation |
( |
| ) |
|
Default constructor which initializes the data members.
◆ ElementInformation() [2/3]
sf::ElementInformation::ElementInformation |
( |
double |
focus_length, |
|
|
double |
spot_size |
|
) |
| |
Initializing constructor which initializes the data members.
- Parameters
-
focus_length | Length of the focus point. |
spot_size | Spot size at the focus point. |
◆ ElementInformation() [3/3]
◆ assign() [1/2]
Assigns the values from the passed instance.
- Returns
- This instance.
◆ assign() [2/2]
ElementInformation & sf::ElementInformation::assign |
( |
double |
focus_length, |
|
|
double |
spot_size |
|
) |
| |
Assign both member values.
- Parameters
-
- Returns
- This instance.
◆ clear()
void sf::ElementInformation::clear |
( |
| ) |
|
Clears the data members to their default values.
◆ getFocusLength()
double sf::ElementInformation::getFocusLength |
( |
| ) |
const |
Gets the focus length of the element.
◆ getSpotSize()
double sf::ElementInformation::getSpotSize |
( |
| ) |
const |
Gets the spot size of the element.
◆ operator!=()
Compare non-equal operator.
◆ operator=()
◆ operator==()
◆ read()
bool sf::ElementInformation::read |
( |
const IniProfile & |
ini, |
|
|
const std::string & |
section = {} |
|
) |
| |
Reads the class data from an ini-profile.
- Parameters
-
ini | Reference to the ini-profile instance. |
section | Section to read the info from where an empty string defaults to the default section name. |
- Returns
- True when reading is successful.
◆ setFocusLength()
void sf::ElementInformation::setFocusLength |
( |
double |
value | ) |
|
Sets the focus length of the element.
◆ setSpotSize()
void sf::ElementInformation::setSpotSize |
( |
double |
value | ) |
|
Sets the spot size of the element.
◆ write()
void sf::ElementInformation::write |
( |
IniProfile & |
ini, |
|
|
const std::string & |
section = {} |
|
) |
| |
Writes the class data to an ini-profile.
- Parameters
-
ini | Reference to the ini-profile instance. |
section | Section to read the info from where an empty string defaults to the default section name. |
The documentation for this class was generated from the following file: