Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CMessage Class Reference

#include <messages.h>

Collaboration diagram for CMessage:
[legend]

Public Member Functions

 CMessage ()
 
void SetNull ()
 
std::string ToString () const
 
 CMessage (const COutPoint &out, const std::string &strName, const std::string &ipfsHash, const int64_t &nExpiredTime, const int64_t &time)
 
bool operator< (const CMessage &rhs) const
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 

Public Attributes

COutPoint out
 
std::string strName
 
std::string ipfsHash
 
int64_t time
 
int64_t nExpiredTime
 
MessageStatus status
 
int nBlockHeight
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 68 of file messages.h.

Constructor & Destructor Documentation

◆ CMessage() [1/2]

CMessage::CMessage ( )

Definition at line 52 of file messages.cpp.

Here is the call graph for this function:

◆ CMessage() [2/2]

CMessage::CMessage ( const COutPoint out,
const std::string &  strName,
const std::string &  ipfsHash,
const int64_t &  nExpiredTime,
const int64_t &  time 
)

Definition at line 56 of file messages.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator<()

bool CMessage::operator< ( const CMessage rhs) const
inline

Definition at line 99 of file messages.h.

◆ SerializationOp()

template<typename Stream , typename Operation >
void CMessage::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 106 of file messages.h.

Here is the call graph for this function:

◆ SetNull()

void CMessage::SetNull ( )
inline

Definition at line 81 of file messages.h.

Here is the caller graph for this function:

◆ ToString()

std::string CMessage::ToString ( ) const
inline

Definition at line 91 of file messages.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CMessage::ADD_SERIALIZE_METHODS

Definition at line 103 of file messages.h.

◆ ipfsHash

std::string CMessage::ipfsHash

Definition at line 73 of file messages.h.

◆ nBlockHeight

int CMessage::nBlockHeight

Definition at line 77 of file messages.h.

◆ nExpiredTime

int64_t CMessage::nExpiredTime

Definition at line 75 of file messages.h.

◆ out

COutPoint CMessage::out

Definition at line 71 of file messages.h.

◆ status

MessageStatus CMessage::status

Definition at line 76 of file messages.h.

◆ strName

std::string CMessage::strName

Definition at line 72 of file messages.h.

◆ time

int64_t CMessage::time

Definition at line 74 of file messages.h.


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