Commander-API V3.0.0
Lightweight Command Parser
Loading...
Searching...
No Matches
CommanderDatabase< T >::dataRecord_t Struct Reference

Data record element. More...

#include <Commander-Database.hpp>

Collaboration diagram for CommanderDatabase< T >::dataRecord_t:

Public Attributes

uint16_t place
 This will store the alphabetical place of the element in the tree. More...
 
dataRecord_tleft
 Left element in the binary tree branch. More...
 
dataRecord_tright
 Right element in the binary tree branch. More...
 
const char * name
 Name of the element. More...
 
data
 Stored data. It comes from the template, so it can be any type of data. More...
 

Detailed Description

template<typename T>
struct CommanderDatabase< T >::dataRecord_t

Data record element.

Definition at line 70 of file Commander-Database.hpp.

Member Data Documentation

◆ data

template<typename T >
T CommanderDatabase< T >::dataRecord_t::data

Stored data. It comes from the template, so it can be any type of data.

Definition at line 77 of file Commander-Database.hpp.

◆ left

template<typename T >
dataRecord_t* CommanderDatabase< T >::dataRecord_t::left

Left element in the binary tree branch.

Definition at line 73 of file Commander-Database.hpp.

◆ name

template<typename T >
const char* CommanderDatabase< T >::dataRecord_t::name

Name of the element.

Definition at line 75 of file Commander-Database.hpp.

◆ place

template<typename T >
uint16_t CommanderDatabase< T >::dataRecord_t::place

This will store the alphabetical place of the element in the tree.

Definition at line 72 of file Commander-Database.hpp.

◆ right

template<typename T >
dataRecord_t* CommanderDatabase< T >::dataRecord_t::right

Right element in the binary tree branch.

Definition at line 74 of file Commander-Database.hpp.