The BLOCKS SDK
BlocksProtocol::BlockStringData< MaxSize > Struct Template Reference

Description

template<size_t MaxSize>
struct BlocksProtocol::BlockStringData< MaxSize >

Structure for generic block data.

Public Member Functions

bool isNotEmpty () const
 
juce::String asString () const
 
bool operator== (const BlockStringData &other) const
 
bool operator!= (const BlockStringData &other) const
 

Public Attributes

juce::uint8 data [MaxSize] = {}
 
juce::uint8 length = 0
 

Static Public Attributes

static const size_t maxLength { MaxSize }
 

Member Function Documentation

◆ isNotEmpty()

template<size_t MaxSize>
bool BlocksProtocol::BlockStringData< MaxSize >::isNotEmpty ( ) const

◆ asString()

template<size_t MaxSize>
juce::String BlocksProtocol::BlockStringData< MaxSize >::asString ( ) const

◆ operator==()

template<size_t MaxSize>
bool BlocksProtocol::BlockStringData< MaxSize >::operator== ( const BlockStringData< MaxSize > &  other) const

◆ operator!=()

template<size_t MaxSize>
bool BlocksProtocol::BlockStringData< MaxSize >::operator!= ( const BlockStringData< MaxSize > &  other) const

Member Data Documentation

◆ data

◆ length

◆ maxLength

template<size_t MaxSize>
const size_t BlocksProtocol::BlockStringData< MaxSize >::maxLength { MaxSize }
static

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