MythTV
master
|
#include <libmythfreemheg/BaseClasses.h>
Public Types | |
enum | UnionTypes : std::uint8_t { U_Int, U_Bool, U_String, U_ObjRef, U_ContentRef, U_None } |
Public Member Functions | |
MHUnion ()=default | |
MHUnion (int nVal) | |
MHUnion (bool fVal) | |
MHUnion (const MHOctetString &strVal) | |
MHUnion (const MHObjectRef &objVal) | |
MHUnion (const MHContentRef &cnVal) | |
MHUnion & | operator= (const MHUnion &)=default |
void | GetValueFrom (const MHParameter &value, MHEngine *engine) |
QString | Printable () const |
void | CheckType (enum UnionTypes t) const |
Static Public Member Functions | |
static const char * | GetAsString (enum UnionTypes t) |
Public Attributes | |
enum MHUnion::UnionTypes | U_None |
int | m_nIntVal {0} |
bool | m_fBoolVal {false} |
MHOctetString | m_strVal |
MHObjectRef | m_objRefVal |
MHContentRef | m_contentRefVal |
Definition at line 283 of file BaseClasses.h.
enum MHUnion::UnionTypes : std::uint8_t |
Enumerator | |
---|---|
U_Int | |
U_Bool | |
U_String | |
U_ObjRef | |
U_ContentRef | |
U_None |
Definition at line 298 of file BaseClasses.h.
|
default |
|
inline |
Definition at line 287 of file BaseClasses.h.
|
inline |
Definition at line 288 of file BaseClasses.h.
|
inline |
Definition at line 289 of file BaseClasses.h.
|
inline |
Definition at line 290 of file BaseClasses.h.
|
inline |
Definition at line 291 of file BaseClasses.h.
void MHUnion::GetValueFrom | ( | const MHParameter & | value, |
MHEngine * | engine | ||
) |
Definition at line 615 of file BaseClasses.cpp.
Referenced by MHResidentProgram::CallProgram(), GetBool(), GetInt(), GetString(), MHSetVariable::Perform(), MHTestVariable::Perform(), and MHSendEvent::Perform().
QString MHUnion::Printable | ( | ) | const |
Definition at line 675 of file BaseClasses.cpp.
Referenced by MHResidentProgram::CallProgram(), and MHEngine::LoadStorePersistent().
void MHUnion::CheckType | ( | enum UnionTypes | t | ) | const |
Definition at line 666 of file BaseClasses.cpp.
Referenced by MHResidentProgram::CallProgram(), GetBool(), GetInt(), GetString(), MHGenericBoolean::GetValue(), MHGenericInteger::GetValue(), MHGenericOctetString::GetValue(), MHGenericObjectRef::GetValue(), MHGenericContentRef::GetValue(), MHIntegerAction::Perform(), MHAppend::Perform(), MHBooleanVar::SetVariableValue(), MHIntegerVar::SetVariableValue(), MHOctetStrVar::SetVariableValue(), MHObjectRefVar::SetVariableValue(), MHContentRefVar::SetVariableValue(), MHBooleanVar::TestVariable(), MHIntegerVar::TestVariable(), MHOctetStrVar::TestVariable(), MHObjectRefVar::TestVariable(), and MHContentRefVar::TestVariable().
|
static |
Definition at line 645 of file BaseClasses.cpp.
Referenced by MHResidentProgram::CallProgram(), and CheckType().
enum MHUnion::UnionTypes MHUnion::U_None |
Referenced by MHResidentProgram::CallProgram(), GetAsString(), GetValueFrom(), MHLink::MatchEvent(), MHLink::MHLink(), and Printable().
int MHUnion::m_nIntVal {0} |
Definition at line 302 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), GetInt(), MHGenericInteger::GetValue(), MHGenericOctetString::GetValue(), GetValueFrom(), MHIntegerVar::GetVariableValue(), MHLink::Initialise(), MHLink::MatchEvent(), MHIntegerAction::Perform(), Printable(), MHLink::PrintMe(), MHIntegerVar::SetVariableValue(), MHOctetStrVar::SetVariableValue(), and MHIntegerVar::TestVariable().
Definition at line 303 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), GetBool(), MHGenericBoolean::GetValue(), GetValueFrom(), MHBooleanVar::GetVariableValue(), MHLink::Initialise(), MHLink::MatchEvent(), Printable(), MHLink::PrintMe(), MHBooleanVar::SetVariableValue(), and MHBooleanVar::TestVariable().
MHOctetString MHUnion::m_strVal |
Definition at line 304 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), GetString(), MHGenericInteger::GetValue(), MHGenericOctetString::GetValue(), GetValueFrom(), MHOctetStrVar::GetVariableValue(), MHLink::Initialise(), MHLink::MatchEvent(), MHUnion(), MHAppend::Perform(), Printable(), MHLink::PrintMe(), MHIntegerVar::SetVariableValue(), MHOctetStrVar::SetVariableValue(), and MHOctetStrVar::TestVariable().
MHObjectRef MHUnion::m_objRefVal |
Definition at line 305 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), MHGenericObjectRef::GetValue(), GetValueFrom(), MHObjectRefVar::GetVariableValue(), MHUnion(), Printable(), MHObjectRefVar::SetVariableValue(), and MHObjectRefVar::TestVariable().
MHContentRef MHUnion::m_contentRefVal |
Definition at line 306 of file BaseClasses.h.
Referenced by MHResidentProgram::CallProgram(), MHGenericContentRef::GetValue(), GetValueFrom(), MHContentRefVar::GetVariableValue(), MHUnion(), Printable(), MHContentRefVar::SetVariableValue(), and MHContentRefVar::TestVariable().