Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CSerializedNetMsg Struct Reference

#include <net.h>

Public Member Functions

 CSerializedNetMsg ()=default
 CSerializedNetMsg (CSerializedNetMsg &&)=default
CSerializedNetMsgoperator= (CSerializedNetMsg &&)=default
 CSerializedNetMsg (const CSerializedNetMsg &msg)=delete
CSerializedNetMsgoperator= (const CSerializedNetMsg &)=delete
CSerializedNetMsg Copy () const
size_t GetMemoryUsage () const noexcept
 Compute total memory usage of this object (own memory + any dynamic memory). More...

Public Attributes

std::vector< unsigned char > data
std::string m_type

Detailed Description

Definition at line 114 of file net.h.

Constructor & Destructor Documentation

◆ CSerializedNetMsg() [1/3]

CSerializedNetMsg::CSerializedNetMsg ( )

◆ CSerializedNetMsg() [2/3]

CSerializedNetMsg::CSerializedNetMsg ( CSerializedNetMsg &&  )

◆ CSerializedNetMsg() [3/3]

CSerializedNetMsg::CSerializedNetMsg ( const CSerializedNetMsg msg)

Member Function Documentation

◆ Copy()

CSerializedNetMsg CSerializedNetMsg::Copy ( ) const

Definition at line 122 of file net.h.

◆ GetMemoryUsage()

size_t CSerializedNetMsg::GetMemoryUsage ( ) const

Compute total memory usage of this object (own memory + any dynamic memory).

Definition at line 119 of file net.cpp.

Here is the call graph for this function:

◆ operator=() [1/2]

CSerializedNetMsg& CSerializedNetMsg::operator= ( const CSerializedNetMsg )

◆ operator=() [2/2]

CSerializedNetMsg& CSerializedNetMsg::operator= ( CSerializedNetMsg &&  )

Member Data Documentation

◆ data

std::vector<unsigned char> CSerializedNetMsg::data

Definition at line 130 of file net.h.

◆ m_type

std::string CSerializedNetMsg::m_type

Definition at line 131 of file net.h.

The documentation for this struct was generated from the following files: