Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
NewsItem Struct Reference

#include <os_news.h>

Inheritance diagram for NewsItem:
Inheritance graph
[legend]
Collaboration diagram for NewsItem:
Collaboration graph
[legend]

Public Member Functions

 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
 
virtual void Serialize (Serialize::Data &data) const =0
 
- Public Member Functions inherited from Base
 Base ()
 
virtual ~Base ()
 
void AddReference (ReferenceBase *r)
 
void DelReference (ReferenceBase *r)
 

Data Fields

NewsType type
 
Anope::string text
 
Anope::string who
 
time_t time
 
- Data Fields inherited from Serializable
uint64_t id
 
unsigned short redis_ignore
 

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::list
< Serializable * > & 
GetItems ()
 
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 
 Serializable (const Serializable &)
 
Serializableoperator= (const Serializable &)
 

Detailed Description

Definition at line 18 of file os_news.h.

Constructor & Destructor Documentation

NewsItem::NewsItem ( )
inline

Definition at line 25 of file os_news.h.

Field Documentation

Anope::string NewsItem::text

Definition at line 21 of file os_news.h.

Referenced by NewsBase::DoAdd(), LoadNews(), and MyNewsItem::Serialize().

time_t NewsItem::time

Definition at line 23 of file os_news.h.

Referenced by NewsBase::DoAdd(), LoadNews(), and MyNewsItem::Serialize().

NewsType NewsItem::type
Anope::string NewsItem::who

Definition at line 22 of file os_news.h.

Referenced by NewsBase::DoAdd(), LoadNews(), and MyNewsItem::Serialize().


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