ESPHome  2024.12.2
Public Member Functions | Data Fields | Protected Attributes
esphome::sml::SmlFile Class Reference

#include <sml_parser.h>

Public Member Functions

 SmlFile (bytes buffer)
 
bool setup_node (SmlNode *node)
 
std::vector< ObisInfoget_obis_info ()
 

Data Fields

std::vector< SmlNodemessages
 

Protected Attributes

const bytes buffer_
 
size_t pos_
 

Detailed Description

Definition at line 34 of file sml_parser.h.

Constructor & Destructor Documentation

◆ SmlFile()

esphome::sml::SmlFile::SmlFile ( bytes  buffer)

Definition at line 8 of file sml_parser.cpp.

Member Function Documentation

◆ get_obis_info()

std::vector< ObisInfo > esphome::sml::SmlFile::get_obis_info ( )

Definition at line 87 of file sml_parser.cpp.

◆ setup_node()

bool esphome::sml::SmlFile::setup_node ( SmlNode node)

Definition at line 22 of file sml_parser.cpp.

Field Documentation

◆ buffer_

const bytes esphome::sml::SmlFile::buffer_
protected

Definition at line 42 of file sml_parser.h.

◆ messages

std::vector<SmlNode> esphome::sml::SmlFile::messages

Definition at line 38 of file sml_parser.h.

◆ pos_

size_t esphome::sml::SmlFile::pos_
protected

Definition at line 43 of file sml_parser.h.


The documentation for this class was generated from the following files: