MuseScore  3.4
Music composition and notation
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OVE::Block Class Reference

#include <ove.h>

Inheritance diagram for OVE::Block:
Inheritance graph
[legend]

Public Member Functions

 Block ()
 
 Block (unsigned int size)
 
virtual ~Block ()
 
virtual void resize (unsigned int count)
 
const unsigned char * data () const
 
unsigned char * data ()
 
int size () const
 
bool operator== (const Block &block) const
 
bool operator!= (const Block &block) const
 
bool toBoolean () const
 
unsigned int toUnsignedInt () const
 
int toInt () const
 
QByteArray toStrByteArray () const
 
QByteArray fixedSizeBufferToStrByteArray () const
 

Private Member Functions

void doResize (unsigned int count)
 

Private Attributes

QList< unsigned char > data_
 

Constructor & Destructor Documentation

◆ Block() [1/2]

OVE::Block::Block ( )

◆ Block() [2/2]

OVE::Block::Block ( unsigned int  size)
explicit

◆ ~Block()

virtual OVE::Block::~Block ( )
inlinevirtual

Member Function Documentation

◆ data() [1/2]

const unsigned char * OVE::Block::data ( ) const

◆ data() [2/2]

unsigned char * OVE::Block::data ( )

◆ doResize()

void OVE::Block::doResize ( unsigned int  count)
private

◆ fixedSizeBufferToStrByteArray()

QByteArray OVE::Block::fixedSizeBufferToStrByteArray ( ) const

◆ operator!=()

bool OVE::Block::operator!= ( const Block block) const

◆ operator==()

bool OVE::Block::operator== ( const Block block) const

◆ resize()

void OVE::Block::resize ( unsigned int  count)
virtual

Reimplemented in OVE::FixedBlock.

◆ size()

int OVE::Block::size ( ) const

◆ toBoolean()

bool OVE::Block::toBoolean ( ) const

◆ toInt()

int OVE::Block::toInt ( ) const

◆ toStrByteArray()

QByteArray OVE::Block::toStrByteArray ( ) const

◆ toUnsignedInt()

unsigned int OVE::Block::toUnsignedInt ( ) const

Member Data Documentation

◆ data_

QList<unsigned char> OVE::Block::data_
private

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