|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Class that holds a component. More...
#include <init_device_model_db.hpp>
Public Attributes | |
| std::optional< uint64_t > | db_id |
| Component id in the database. | |
| std::string | name |
| Component name. | |
| std::optional< std::string > | instance |
| Component instance. | |
| std::optional< int32_t > | evse_id |
| Component evse id. | |
| std::optional< int32_t > | connector_id |
| Component connector id. | |
| std::vector< std::string > | required |
| List of required variables. | |
Friends | |
| bool | operator< (const ComponentKey &l, const ComponentKey &r) |
| operator <, needed to add this class as key in a map. More... | |
Class that holds a component.
When the component is read from the database, the component id will be set. When the component is read from the component config file, the 'required' vector will be filled.
|
friend |
operator <, needed to add this class as key in a map.
| l | ComponentKey to compare with another ComponentKey |
| r | Second componentKey to compare with the other ComponentKey |