// ************************************************************************** // // (C) Copyright 2009 Swiss SIMTEC AG // // ************************************************************************** // // $HeadURL$ // $LastChangedBy$ // $LastChangedDate$ // $LastChangedRevision$ // // ************************************************************************** #include "LogViewXdrValue.hpp" namespace N_LogView { // --------------------------------------------------------------- LogViewXdrValue::LogViewXdrValue(const QString& a_name, const int64_t a_value, const LogViewXdrElement::E_ElementKind a_kind) : LogViewXdrElement(a_name, a_kind, "LogViewXdrValue") , m_Value(a_value) {} // --------------------------------------------------------------- void LogViewXdrValue::dump() const { INFO_LOG(m_logger) << "Element[" << getName() << "]: kind=" << getKindName() << " value=" << getValue(); } // --------------------------------------------------------------- int64_t LogViewXdrValue::getValue() const { return m_Value; } } // namespace N_LogView