MythTV
master
|
#include <libmythfreemheg/BaseClasses.h>
Public Member Functions | |
MHOctetString ()=default | |
MHOctetString (const char *str, int nLen=-1) | |
MHOctetString (const unsigned char *str, int nLen) | |
MHOctetString (const MHOctetString &str, int nOffset=0, int nLen=-1) | |
MHOctetString (const MHOctetString &o) | |
virtual | ~MHOctetString () |
void | Copy (const MHOctetString &str) |
MHOctetString & | operator= (const MHOctetString &o) |
int | Size () const |
int | Compare (const MHOctetString &str) const |
bool | Equal (const MHOctetString &str) const |
unsigned char | GetAt (int i) const |
const unsigned char * | Bytes () const |
void | Append (const MHOctetString &str) |
QString | Printable () const |
void | PrintMe (FILE *fd, int nTabs) const |
Protected Attributes | |
int | m_nLength {0} |
unsigned char * | m_pChars {nullptr} |
Definition at line 107 of file BaseClasses.h.
|
default |
MHOctetString::MHOctetString | ( | const char * | str, |
int | nLen = -1 |
||
) |
Definition at line 38 of file BaseClasses.cpp.
MHOctetString::MHOctetString | ( | const unsigned char * | str, |
int | nLen | ||
) |
Definition at line 64 of file BaseClasses.cpp.
MHOctetString::MHOctetString | ( | const MHOctetString & | str, |
int | nOffset = 0 , |
||
int | nLen = -1 |
||
) |
Definition at line 85 of file BaseClasses.cpp.
|
inline |
Definition at line 114 of file BaseClasses.h.
|
virtual |
Definition at line 113 of file BaseClasses.cpp.
void MHOctetString::Copy | ( | const MHOctetString & | str | ) |
Definition at line 119 of file BaseClasses.cpp.
Referenced by MHClone::CallAction(), MHResidentProgram::CallProgram(), MHColour::Copy(), MHObjectRef::Copy(), MHContentRef::Copy(), MHFontBody::Copy(), MHText::CreateContent(), MHParseText::DoParse(), MHEngine::GetDefaultFontAttrs(), GetString(), MHParseNode::GetStringValue(), MHGenericOctetString::GetValue(), MHOctetStrVar::GetVariableValue(), MHGroup::Initialise(), MHObjectRef::Initialise(), MHEngine::LoadStorePersistent(), MHGroup::MakeClone(), MHEngine::MHEngine(), MHIngredient::MHIngredient(), MHOctetString(), MHPString::MHPString(), MHText::MHText(), MHUnion::MHUnion(), operator=(), MHParseBinary::ParseString(), MHSetColour::Perform(), MHIngredient::Preparation(), MHText::Preparation(), MHOctetStrVar::Preparation(), MHOctetStrVar::Prepare(), MHEngine::RunAll(), MHIngredient::SetData(), MHText::SetFontAttributes(), MHColour::SetFromString(), and MHOctetStrVar::SetVariableValue().
|
inline |
Definition at line 118 of file BaseClasses.h.
|
inline |
Definition at line 120 of file BaseClasses.h.
Referenced by MHStream::BeginPlaying(), MHResidentProgram::CallProgram(), MHText::ContentPreparation(), MHBitmap::ContentPreparation(), GetAt(), MHVisible::GetColour(), MHEngine::GetDefaultFontAttrs(), MHEngine::GetPathName(), MHGenericInteger::GetValue(), MHGroup::Initialise(), InterpretAttributes(), MHColour::IsSet(), MHObjectRef::IsSet(), MHContentRef::IsSet(), MHFontBody::IsSet(), MHEngine::Launch(), MHEngine::LoadStorePersistent(), MHOctetString(), MHText::Preparation(), MHObjectRef::Printable(), MHText::PrintMe(), MHApplication::PrintMe(), MHObjectRef::PrintMe(), MHFontBody::PrintMe(), MHText::Redraw(), MHIntegerVar::SetVariableValue(), and MHEngine::TransitionToScene().
int MHOctetString::Compare | ( | const MHOctetString & | str | ) | const |
Definition at line 165 of file BaseClasses.cpp.
Referenced by Equal(), and MHOctetStrVar::TestVariable().
|
inline |
Definition at line 123 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), MHEngine::LoadStorePersistent(), and MHLink::MatchEvent().
|
inline |
Definition at line 124 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), MHVisible::GetColour(), MHGenericInteger::GetValue(), InterpretAttributes(), MHText::Redraw(), and MHIntegerVar::SetVariableValue().
|
inline |
Definition at line 125 of file BaseClasses.h.
Referenced by MHStream::BeginPlaying(), MHResidentProgram::CallProgram(), MHText::ContentPreparation(), MHBitmap::ContentPreparation(), MHEngine::GetPathName(), InterpretAttributes(), MHEngine::LoadStorePersistent(), MHParseNode::PrintMe(), and MHText::Redraw().
void MHOctetString::Append | ( | const MHOctetString & | str | ) |
Definition at line 198 of file BaseClasses.cpp.
Referenced by MHResidentProgram::CallProgram(), and MHAppend::Perform().
|
inline |
Definition at line 128 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), MHText::ContentArrived(), MHObjectRef::Printable(), MHContentRef::Printable(), MHUnion::Printable(), MHOctetStrVar::SetVariableValue(), and MHOctetStrVar::TestVariable().
void MHOctetString::PrintMe | ( | FILE * | fd, |
int | nTabs | ||
) | const |
Definition at line 142 of file BaseClasses.cpp.
Referenced by MHProgram::PrintMe(), MHIngredient::PrintMe(), MHLink::PrintMe(), MHText::PrintMe(), MHOctetStrVar::PrintMe(), MHApplication::PrintMe(), MHColour::PrintMe(), MHObjectRef::PrintMe(), MHContentRef::PrintMe(), MHGenericOctetString::PrintMe(), and MHFontBody::PrintMe().
|
protected |
Definition at line 133 of file BaseClasses.h.
Referenced by Append(), Compare(), Copy(), MHOctetString(), Printable(), PrintMe(), and Size().
|
protected |
Definition at line 134 of file BaseClasses.h.
Referenced by Append(), Bytes(), Compare(), Copy(), GetAt(), MHOctetString(), Printable(), PrintMe(), and ~MHOctetString().