InspIRCd  3.0
Classes | Public Member Functions | List of all members
Serializable Class Referenceabstract

#include <serialize.h>

Inheritance diagram for Serializable:
Extensible Channel Membership User FakeUser LocalUser RemoteUser

Classes

class  Data
 

Public Member Functions

virtual bool Deserialize (Data &data)=0
 
virtual bool Serialize (Data &data)=0
 

Detailed Description

Base class for serializable elements.

Member Function Documentation

◆ Deserialize()

virtual bool Serializable::Deserialize ( Data data)
pure virtual

Deserializes the specified Data instance into this object.

Parameters
dataThe Data object to deserialize from.
Returns
True if the deserialisation succeeded; otherwise, false.

Implemented in LocalUser, User, and Extensible.

◆ Serialize()

virtual bool Serializable::Serialize ( Data data)
pure virtual

Serializes the this object into the specified Data obect.

Parameters
dataThe Data object to serialize to.
Returns
True if the serialisation succeeded; otherwise, false.

Implemented in LocalUser, User, and Extensible.


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