Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
canopen::ObjectDict::Key Class Reference

#include <objdict.h>

Public Member Functions

bool hasSub () const
 
uint16_t index () const
 
 Key (const std::string &str)
 
 Key (const uint16_t i)
 
 Key (const uint16_t i, const uint8_t s)
 
 operator std::string () const
 
bool operator== (const Key &other) const
 
uint8_t sub_index () const
 

Public Attributes

const size_t hash
 

Static Private Member Functions

static size_t fromString (const std::string &str)
 

Detailed Description

Definition at line 122 of file objdict.h.

Constructor & Destructor Documentation

◆ Key() [1/3]

canopen::ObjectDict::Key::Key ( const uint16_t  i)
inline

Definition at line 126 of file objdict.h.

◆ Key() [2/3]

canopen::ObjectDict::Key::Key ( const uint16_t  i,
const uint8_t  s 
)
inline

Definition at line 127 of file objdict.h.

◆ Key() [3/3]

canopen::ObjectDict::Key::Key ( const std::string &  str)
inline

Definition at line 128 of file objdict.h.

Member Function Documentation

◆ fromString()

size_t ObjectDict::Key::fromString ( const std::string &  str)
staticprivate

Definition at line 31 of file objdict.cpp.

◆ hasSub()

bool canopen::ObjectDict::Key::hasSub ( ) const
inline

Definition at line 129 of file objdict.h.

◆ index()

uint16_t canopen::ObjectDict::Key::index ( ) const
inline

Definition at line 131 of file objdict.h.

◆ operator std::string()

ObjectDict::Key::operator std::string ( ) const

Definition at line 37 of file objdict.cpp.

◆ operator==()

bool canopen::ObjectDict::Key::operator== ( const Key other) const
inline

Definition at line 132 of file objdict.h.

◆ sub_index()

uint8_t canopen::ObjectDict::Key::sub_index ( ) const
inline

Definition at line 130 of file objdict.h.

Member Data Documentation

◆ hash

const size_t canopen::ObjectDict::Key::hash

Definition at line 125 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:26