Public Member Functions | Private Attributes | List of all members
rokubimini::serial::RokubiminiSerialResponseRegexProductName Class Reference

#include <RokubiminiSerialCommunication.hpp>

Inheritance diagram for rokubimini::serial::RokubiminiSerialResponseRegexProductName:
Inheritance graph
[legend]

Public Member Functions

const std::string & getFirstWord ()
 
const std::string & getFourthWord ()
 
const std::string & getSecondWord ()
 
const std::string & getThirdWord ()
 
bool matchInString (const std::string &str) override
 
- Public Member Functions inherited from rokubimini::serial::RokubiminiSerialResponseRegex
 RokubiminiSerialResponseRegex ()=default
 
virtual ~RokubiminiSerialResponseRegex ()=default
 

Private Attributes

std::string firstWord_
 
const std::string format_ = "name: BFF-%s-%s-%s"
 
std::string fourthWord_
 
std::string secondWord_
 
const std::regex stringRegex_ = std::regex("name: BFF-\\w{3}(-\\w{2}){3}")
 
std::string thirdWord_
 

Detailed Description

Definition at line 213 of file RokubiminiSerialCommunication.hpp.

Member Function Documentation

const std::string& rokubimini::serial::RokubiminiSerialResponseRegexProductName::getFirstWord ( )
inline

Definition at line 218 of file RokubiminiSerialCommunication.hpp.

const std::string& rokubimini::serial::RokubiminiSerialResponseRegexProductName::getFourthWord ( )
inline

Definition at line 230 of file RokubiminiSerialCommunication.hpp.

const std::string& rokubimini::serial::RokubiminiSerialResponseRegexProductName::getSecondWord ( )
inline

Definition at line 222 of file RokubiminiSerialCommunication.hpp.

const std::string& rokubimini::serial::RokubiminiSerialResponseRegexProductName::getThirdWord ( )
inline

Definition at line 226 of file RokubiminiSerialCommunication.hpp.

bool rokubimini::serial::RokubiminiSerialResponseRegexProductName::matchInString ( const std::string &  str)
overridevirtual

Member Data Documentation

std::string rokubimini::serial::RokubiminiSerialResponseRegexProductName::firstWord_
private

Definition at line 238 of file RokubiminiSerialCommunication.hpp.

const std::string rokubimini::serial::RokubiminiSerialResponseRegexProductName::format_ = "name: BFF-%s-%s-%s"
private

Definition at line 237 of file RokubiminiSerialCommunication.hpp.

std::string rokubimini::serial::RokubiminiSerialResponseRegexProductName::fourthWord_
private

Definition at line 241 of file RokubiminiSerialCommunication.hpp.

std::string rokubimini::serial::RokubiminiSerialResponseRegexProductName::secondWord_
private

Definition at line 239 of file RokubiminiSerialCommunication.hpp.

const std::regex rokubimini::serial::RokubiminiSerialResponseRegexProductName::stringRegex_ = std::regex("name: BFF-\\w{3}(-\\w{2}){3}")
private

Definition at line 236 of file RokubiminiSerialCommunication.hpp.

std::string rokubimini::serial::RokubiminiSerialResponseRegexProductName::thirdWord_
private

Definition at line 240 of file RokubiminiSerialCommunication.hpp.


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


rokubimini_serial
Author(s):
autogenerated on Wed Mar 3 2021 03:09:18