Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions
MyNewsItem Struct Reference
Inheritance diagram for MyNewsItem:
Inheritance graph
[legend]
Collaboration diagram for MyNewsItem:
Collaboration graph
[legend]

Public Member Functions

void Serialize (Serialize::Data &data) const anope_override
 
- Public Member Functions inherited from NewsItem
 NewsItem ()
 
- 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 &data)
 
- Static Public Member Functions inherited from Serializable
static const std::list
< Serializable * > & 
GetItems ()
 

Additional Inherited Members

- Data Fields inherited from NewsItem
NewsType type
 
Anope::string text
 
Anope::string who
 
time_t time
 
- Data Fields inherited from Serializable
uint64_t id
 
unsigned short redis_ignore
 
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 
 Serializable (const Serializable &)
 
Serializableoperator= (const Serializable &)
 

Detailed Description

Definition at line 62 of file os_news.cpp.

Member Function Documentation

void MyNewsItem::Serialize ( Serialize::Data data) const
inlinevirtual

Implements Serializable.

Definition at line 64 of file os_news.cpp.

References NewsItem::text, NewsItem::time, NewsItem::type, and NewsItem::who.

static Serializable* MyNewsItem::Unserialize ( Serializable obj,
Serialize::Data data 
)
inlinestatic

Definition at line 72 of file os_news.cpp.

References anope_dynamic_static_cast(), and news_service().


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