Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
XOPChanAccess Class Reference
Inheritance diagram for XOPChanAccess:
Inheritance graph
[legend]
Collaboration diagram for XOPChanAccess:
Collaboration graph
[legend]

Public Member Functions

 XOPChanAccess (AccessProvider *p)
 
bool HasPriv (const Anope::string &priv) const anope_override
 
Anope::string AccessSerialize () const
 
void AccessUnserialize (const Anope::string &data) anope_override
 
- Public Member Functions inherited from ChanAccess
 ChanAccess (AccessProvider *p)
 
virtual ~ChanAccess ()
 
void SetMask (const Anope::string &mask, ChannelInfo *ci)
 
const Anope::stringMask () const
 
NickCoreGetAccount () const
 
void Serialize (Serialize::Data &data) const anope_override
 
virtual bool Matches (const User *u, const NickCore *nc, Path &p) const
 
virtual bool operator> (const ChanAccess &other) const
 
virtual bool operator< (const ChanAccess &other) const
 
bool operator>= (const ChanAccess &other) const
 
bool operator<= (const ChanAccess &other) const
 
- 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 Anope::string DetermineLevel (const ChanAccess *access)
 
- Static Public Member Functions inherited from ChanAccess
static SerializableUnserialize (Serializable *obj, Serialize::Data &)
 
- Static Public Member Functions inherited from Serializable
static const std::list
< Serializable * > & 
GetItems ()
 

Data Fields

Anope::string type
 
- Data Fields inherited from ChanAccess
AccessProviderprovider
 
Serialize::Reference< ChannelInfoci
 
Anope::string creator
 
time_t last_seen
 
time_t created
 
- Data Fields inherited from Serializable
uint64_t id
 
unsigned short redis_ignore
 

Additional Inherited Members

- Public Types inherited from ChanAccess
typedef std::multimap< const
ChanAccess *, const ChanAccess * > 
Set
 
typedef std::pair< Set, SetPath
 
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 
 Serializable (const Serializable &)
 
Serializableoperator= (const Serializable &)
 

Detailed Description

Definition at line 20 of file cs_xop.cpp.

Constructor & Destructor Documentation

XOPChanAccess::XOPChanAccess ( AccessProvider p)
inline

Definition at line 25 of file cs_xop.cpp.

Member Function Documentation

Anope::string XOPChanAccess::AccessSerialize ( ) const
inlinevirtual

Serialize the access given by this access entry into a human readable form. chanserv/access will return a number, chanserv/xop will be AOP, SOP, etc.

Implements ChanAccess.

Definition at line 40 of file cs_xop.cpp.

References type.

void XOPChanAccess::AccessUnserialize ( const Anope::string data)
inlinevirtual

Unserialize this access entry from the given data. This data will be fetched from AccessSerialize.

Implements ChanAccess.

Definition at line 45 of file cs_xop.cpp.

static Anope::string XOPChanAccess::DetermineLevel ( const ChanAccess access)
inlinestatic
bool XOPChanAccess::HasPriv ( const Anope::string name) const
inlinevirtual

Check if this access entry has the given privilege.

Parameters
nameThe privilege name

Implements ChanAccess.

Definition at line 29 of file cs_xop.cpp.

References type.

Field Documentation

Anope::string XOPChanAccess::type

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