Bitcoin Core  26.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 119 of file net.h.

Constructor & Destructor Documentation

◆ CSerializedNetMsg() [1/3]

CSerializedNetMsg::CSerializedNetMsg ( )
default

◆ CSerializedNetMsg() [2/3]

CSerializedNetMsg::CSerializedNetMsg ( CSerializedNetMsg &&  )
default

◆ CSerializedNetMsg() [3/3]

CSerializedNetMsg::CSerializedNetMsg ( const CSerializedNetMsg msg)
delete

Member Function Documentation

◆ Copy()

CSerializedNetMsg CSerializedNetMsg::Copy ( ) const
inline

Definition at line 127 of file net.h.

◆ GetMemoryUsage()

size_t CSerializedNetMsg::GetMemoryUsage ( ) const
noexcept

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

Definition at line 121 of file net.cpp.

Here is the call graph for this function:

◆ operator=() [1/2]

CSerializedNetMsg& CSerializedNetMsg::operator= ( const CSerializedNetMsg )
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ data

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

Definition at line 135 of file net.h.

◆ m_type

std::string CSerializedNetMsg::m_type

Definition at line 136 of file net.h.


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