41 lines
931 B
C++
41 lines
931 B
C++
// **************************************************************************
|
|
//
|
|
// (C) Copyright 2009 Swiss SIMTEC AG
|
|
//
|
|
// **************************************************************************
|
|
//
|
|
// $HeadURL$
|
|
// $LastChangedBy$
|
|
// $LastChangedDate$
|
|
// $LastChangedRevision$
|
|
//
|
|
// **************************************************************************
|
|
|
|
#pragma once
|
|
|
|
#include "LogViewXdrElement.hpp"
|
|
|
|
namespace N_LogView
|
|
{
|
|
/**
|
|
* This class represents XDR-elements which have a value. This are #defines and
|
|
* enum-elements.
|
|
*
|
|
* @author alois.wismer
|
|
* @version 1.0
|
|
* @created 17-Feb-2010 11:17:53
|
|
*/
|
|
class LogViewXdrValue final : public LogViewXdrElement
|
|
{
|
|
public:
|
|
LogViewXdrValue(const QString& a_name, const int64_t a_value, const LogViewXdrElement::E_ElementKind a_kind);
|
|
|
|
void dump() const override;
|
|
int64_t getValue() const;
|
|
|
|
protected:
|
|
|
|
int64_t m_Value;
|
|
};
|
|
}
|