WinStd
Additional templates and function helpers for Microsoft Windows using Standard C++ classes
Public Member Functions | List of all members
winstd::event_data Class Reference

EVENT_DATA_DESCRIPTOR wrapper. More...

#include <WinStd/ETW.h>

Inheritance diagram for winstd::event_data:

Public Member Functions

 event_data ()
 Construct empty class.
 
 event_data (1 const char &data)
 Construct class pointing to an char. More...
 
 event_data (1 const unsigned char &data)
 Construct class pointing to an unsigned char. More...
 
 event_data (1 const int &data)
 Construct class pointing to an int. More...
 
 event_data (1 const unsigned int &data)
 Construct class pointing to an unsigned int. More...
 
 event_data (1 const long &data)
 Construct class pointing to a long. More...
 
 event_data (1 const unsigned long &data)
 Construct class pointing to an unsigned long. More...
 
 event_data (1 const GUID &data)
 Construct class pointing to a GUID. More...
 
 event_data (1 const char *data)
 Construct class pointing to a string. More...
 
 event_data (1 const wchar_t *data)
 Construct class pointing to a wide string. More...
 
template<class _Elem , class _Traits , class _Ax >
 event_data (1 const std::basic_string< _Elem, _Traits, _Ax > &data)
 Template to construct pointing to a std::basic_string<>. More...
 
 event_data (const void *data, 1 ULONG size)
 Construct class pointing to binary data. More...
 

Detailed Description

EVENT_DATA_DESCRIPTOR wrapper.

Constructor & Destructor Documentation

◆ event_data() [1/11]

winstd::event_data::event_data ( 1 const char &  data)
inline

Construct class pointing to an char.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [2/11]

winstd::event_data::event_data ( 1 const unsigned char &  data)
inline

Construct class pointing to an unsigned char.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [3/11]

winstd::event_data::event_data ( 1 const int &  data)
inline

Construct class pointing to an int.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [4/11]

winstd::event_data::event_data ( 1 const unsigned int &  data)
inline

Construct class pointing to an unsigned int.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [5/11]

winstd::event_data::event_data ( 1 const long &  data)
inline

Construct class pointing to a long.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [6/11]

winstd::event_data::event_data ( 1 const unsigned long &  data)
inline

Construct class pointing to an unsigned long.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [7/11]

winstd::event_data::event_data ( 1 const GUID &  data)
inline

Construct class pointing to a GUID.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [8/11]

winstd::event_data::event_data ( 1 const char *  data)
inline

Construct class pointing to a string.

Parameters
[in]dataEvent data. When NULL, the event data will be "(null)".
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [9/11]

winstd::event_data::event_data ( 1 const wchar_t *  data)
inline

Construct class pointing to a wide string.

Parameters
[in]dataEvent data. When NULL, the event data will be "(null)".
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [10/11]

template<class _Elem , class _Traits , class _Ax >
winstd::event_data::event_data ( 1 const std::basic_string< _Elem, _Traits, _Ax > &  data)
inline

Template to construct pointing to a std::basic_string<>.

Parameters
[in]dataEvent data
Note
This class saves a reference to the data only. Therefore, data must be kept available.

◆ event_data() [11/11]

winstd::event_data::event_data ( const void *  data,
1 ULONG  size 
)
inline

Construct class pointing to binary data.

Parameters
[in]dataPointer to event data
[in]sizeSize of data in bytes
Note
This class saves a reference to the data only. Therefore, data must be kept available.

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