|
libosmscout 0.1
|
#include <ChargingStationFeature.h>
Classes | |
| struct | Socket |
Public Types | |
| enum class | SocketType : uint8_t { Unknown = 0 , Type1 = 1 , Typ1Combo = 2 , Type2 = 3 , Type2Cable = 4 , Type2Combo = 5 , Chademo = 6 , TeslaSupercharger = 7 , TeslaDestination = 8 } |
Public Member Functions | |
| void | AddSocket (const Socket &socket) |
| ChargingStationFeatureValue ()=default | |
| ChargingStationFeatureValue (const ChargingStationFeatureValue &other)=default | |
| const std::vector< Socket > & | GetSockets () const |
| bool | HasSockets () const |
| ChargingStationFeatureValue & | operator= (const FeatureValue &other) override |
| bool | operator== (const FeatureValue &other) const override |
| void | Read (FileScanner &scanner) override |
| Read the value of the Feature from the FileScanner. | |
| void | Write (FileWriter &writer) override |
| Write the FeatureValue to disk. | |
| Public Member Functions inherited from osmscout::FeatureValue | |
| FeatureValue ()=default | |
| FeatureValue (const FeatureValue &featureValue)=default | |
| virtual std::string | GetLabel (const Locale &, size_t) const |
| virtual bool | IsFlagSet (size_t) const |
| virtual bool | operator!= (const FeatureValue &other) const |
| virtual | ~FeatureValue ()=default |
|
strong |
|
default |
Referenced by ChargingStationFeatureValue(), operator=(), and operator==().
|
default |
References ChargingStationFeatureValue(), osmscout::FeatureValue::FeatureValue(), operator=(), operator==(), Read(), and Write().
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from osmscout::FeatureValue.
References ChargingStationFeatureValue(), and osmscout::FeatureValue::FeatureValue().
Referenced by ChargingStationFeatureValue().
|
overridevirtual |
Implements osmscout::FeatureValue.
References ChargingStationFeatureValue(), and osmscout::FeatureValue::FeatureValue().
Referenced by ChargingStationFeatureValue().
|
overridevirtual |
Read the value of the Feature from the FileScanner.
| IOException |
Implements osmscout::FeatureValue.
References osmscout::FileScanner::ReadString(), osmscout::FileScanner::ReadUInt64Number(), and osmscout::FileScanner::ReadUInt8().
Referenced by ChargingStationFeatureValue().
|
overridevirtual |
Write the FeatureValue to disk.
| IOException. |
Implements osmscout::FeatureValue.
References osmscout::FileWriter::Write(), and osmscout::FileWriter::WriteNumber().
Referenced by ChargingStationFeatureValue().