10 #ifndef _STRUS_TRACE_ELEMENT_HPP_INCLUDED
11 #define _STRUS_TRACE_ELEMENT_HPP_INCLUDED
14 #include "strus/base/stdint.h"
80 :m_type(type_) {m_value.
Obj.
Class = cid_; m_value.
Obj.
Id = oid_;}
87 :m_type(type_) {m_value.
UInt = 0;}
92 std::memcpy(
this, &o,
sizeof(*
this));
Definition: traceElement.hpp:35
double Double
Definition: traceElement.hpp:47
std::size_t TraceLogRecordHandle
Handle of a trace log entry.
Definition: traceElement.hpp:21
Definition: traceElement.hpp:36
Type
Definition: traceElement.hpp:29
Definition: traceElement.hpp:39
TraceElement(const TraceElement &o)
Copy constructor.
Definition: traceElement.hpp:90
TraceElement(IntType value_)
Constructor.
Definition: traceElement.hpp:68
const char * Ptr
Definition: traceElement.hpp:51
Definition: traceElement.hpp:43
bool Bool
Definition: traceElement.hpp:48
struct strus::TraceElement::Value::@0 Obj
unsigned int TraceObjectId
Unique object identifier.
Definition: traceElement.hpp:19
TraceElement(bool value_)
Constructor.
Definition: traceElement.hpp:76
struct strus::TraceElement::Value::@1 String
TraceElement(UIntType value_)
Constructor.
Definition: traceElement.hpp:70
std::size_t Size
Definition: traceElement.hpp:51
std::size_t Index
Definition: traceElement.hpp:49
Definition: traceElement.hpp:32
unsigned int TraceTimeCounter
Unique timestamp of logged events.
Definition: traceElement.hpp:20
Definition: traceElement.hpp:31
TraceElement(Type type_)
Definition: traceElement.hpp:86
UIntType UInt
Definition: traceElement.hpp:45
TraceElement(Type type_, const char *ptr_)
Definition: traceElement.hpp:84
TraceElement(Type type_, const char *ptr_, std::size_t size_)
Constructor.
Definition: traceElement.hpp:82
Value value() const
Get the element value.
Definition: traceElement.hpp:60
int64_t IntType
Definition: traceElement.hpp:26
uint64_t UIntType
Definition: traceElement.hpp:27
TraceElement()
Default constructor.
Definition: traceElement.hpp:66
Definition: traceElement.hpp:38
Definition: traceElement.hpp:37
const char * Class
Definition: traceElement.hpp:50
TraceElement(Type type_, std::size_t index_)
Constructor.
Definition: traceElement.hpp:78
TraceElement(float value_)
Constructor.
Definition: traceElement.hpp:74
Element type used to describe traced structures. Any atomic value or structure is described as sequen...
Definition: traceElement.hpp:24
Type type() const
Get the element type.
Definition: traceElement.hpp:55
Definition: traceElement.hpp:40
Definition: traceElement.hpp:33
TraceObjectId Id
Definition: traceElement.hpp:50
Definition: traceElement.hpp:34
TraceElement(Type type_, TraceObjectId oid_, const char *cid_)
Definition: traceElement.hpp:79
TraceElement(double value_)
Constructor.
Definition: traceElement.hpp:72
IntType Int
Definition: traceElement.hpp:46