MythTV  master
Public Member Functions | Protected Attributes | List of all members
MHOctetString Class Reference

#include <BaseClasses.h>

Collaboration diagram for MHOctetString:
Collaboration graph
[legend]

Public Member Functions

 MHOctetString ()
 
 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)
 
MHOctetStringoperator= (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
 
unsigned char * m_pChars {nullptr}
 

Detailed Description

Definition at line 105 of file BaseClasses.h.

Constructor & Destructor Documentation

◆ MHOctetString() [1/5]

MHOctetString::MHOctetString ( )

Definition at line 34 of file BaseClasses.cpp.

◆ MHOctetString() [2/5]

MHOctetString::MHOctetString ( const char *  str,
int  nLen = -1 
)

Definition at line 41 of file BaseClasses.cpp.

◆ MHOctetString() [3/5]

MHOctetString::MHOctetString ( const unsigned char *  str,
int  nLen 
)

Definition at line 67 of file BaseClasses.cpp.

◆ MHOctetString() [4/5]

MHOctetString::MHOctetString ( const MHOctetString str,
int  nOffset = 0,
int  nLen = -1 
)

Definition at line 89 of file BaseClasses.cpp.

◆ MHOctetString() [5/5]

MHOctetString::MHOctetString ( const MHOctetString o)
inline

Definition at line 112 of file BaseClasses.h.

◆ ~MHOctetString()

MHOctetString::~MHOctetString ( )
virtual

Definition at line 125 of file BaseClasses.cpp.

Member Function Documentation

◆ Copy()

void MHOctetString::Copy ( const MHOctetString str)

◆ operator=()

MHOctetString& MHOctetString::operator= ( const MHOctetString o)
inline

Definition at line 116 of file BaseClasses.h.

◆ Size()

int MHOctetString::Size ( ) const
inline

◆ Compare()

int MHOctetString::Compare ( const MHOctetString str) const

Definition at line 177 of file BaseClasses.cpp.

Referenced by Equal(), and MHOctetStrVar::TestVariable().

◆ Equal()

bool MHOctetString::Equal ( const MHOctetString str) const
inline

Definition at line 120 of file BaseClasses.h.

Referenced by MHResidentProgram::CallProgram(), and MHLink::MatchEvent().

◆ GetAt()

unsigned char MHOctetString::GetAt ( int  i) const
inline

◆ Bytes()

const unsigned char* MHOctetString::Bytes ( ) const
inline

◆ Append()

void MHOctetString::Append ( const MHOctetString str)

Definition at line 213 of file BaseClasses.cpp.

Referenced by MHResidentProgram::CallProgram(), and MHAppend::Perform().

◆ Printable()

QString MHOctetString::Printable ( ) const
inline

◆ PrintMe()

void MHOctetString::PrintMe ( FILE *  fd,
int  nTabs 
) const

Member Data Documentation

◆ m_nLength

int MHOctetString::m_nLength
protected

Definition at line 130 of file BaseClasses.h.

Referenced by Append(), Compare(), Copy(), MHOctetString(), Printable(), PrintMe(), and Size().

◆ m_pChars

unsigned char* MHOctetString::m_pChars {nullptr}
protected

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