Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
Memo Class Reference

#include <memo.h>

Inheritance diagram for Memo:
Inheritance graph
Collaboration diagram for Memo:
Collaboration graph

Public Member Functions

 Memo ()
 ~Memo ()
void Serialize (Serialize::Data &data) const anope_override
- Public Member Functions inherited from Serializable
virtual ~Serializable ()
void QueueUpdate ()
bool IsCached (Serialize::Data &)
void UpdateCache (Serialize::Data &)
bool IsTSCached ()
void UpdateTS ()
Serialize::TypeGetSerializableType () const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &)
- Static Public Member Functions inherited from Serializable
static const std::list< Serializable * > & GetItems ()

Data Fields

bool unread
bool receipt
Anope::string owner
time_t time
Anope::string sender
Anope::string text
- Data Fields inherited from Serializable
uint64_t id
unsigned short redis_ignore

Additional Inherited Members

- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 Serializable (const Serializable &)
Serializableoperator= (const Serializable &)

Detailed Description

Definition at line 19 of file memo.h.

Constructor & Destructor Documentation

◆ Memo()

Memo::Memo ( )

Definition at line 21 of file memos.cpp.

References receipt, and unread.

Referenced by Unserialize().

◆ ~Memo()

Memo::~Memo ( )

Definition at line 26 of file memos.cpp.

References MemoInfo::GetMemoInfo(), MemoInfo::memos, and owner.

Member Function Documentation

◆ Serialize()

void Memo::Serialize ( Serialize::Data data) const

Implements Serializable.

Definition at line 39 of file memos.cpp.

References Serialize::Data::DT_INT, owner, receipt, sender, Serialize::Data::SetType(), text, time, and unread.

◆ Unserialize()

Serializable * Memo::Unserialize ( Serializable obj,
Serialize::Data data 

Field Documentation

◆ owner

Anope::string Memo::owner

Definition at line 30 of file memo.h.

Referenced by LoadChannels(), LoadNicks(), MemoServCore::Send(), Serialize(), Unserialize(), and ~Memo().

◆ receipt

bool Memo::receipt

◆ sender

Anope::string Memo::sender

◆ text

Anope::string Memo::text

◆ time

time_t Memo::time

◆ unread

bool Memo::unread

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