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

Public Member Functions

 AccessChanAccess (AccessProvider *p)
 
bool HasPriv (const Anope::string &name) const anope_override
 
Anope::string AccessSerialize () const
 
void AccessUnserialize (const Anope::string &data) anope_override
 
bool operator> (const ChanAccess &other) const anope_override
 
bool operator< (const ChanAccess &other) const 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
 
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)
 

Data Fields

int level
 
- 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
 
- 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 ()
 
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 
 Serializable (const Serializable &)
 
Serializableoperator= (const Serializable &)
 

Detailed Description

Definition at line 23 of file cs_access.cpp.

Constructor & Destructor Documentation

AccessChanAccess::AccessChanAccess ( AccessProvider p)
inline

Definition at line 28 of file cs_access.cpp.

Member Function Documentation

Anope::string AccessChanAccess::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 37 of file cs_access.cpp.

References stringify().

void AccessChanAccess::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 42 of file cs_access.cpp.

bool AccessChanAccess::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 32 of file cs_access.cpp.

References ACCESS_INVALID, and name.

bool AccessChanAccess::operator< ( const ChanAccess other) const
inlinevirtual

Reimplemented from ChanAccess.

Definition at line 61 of file cs_access.cpp.

References ChanAccess::operator<(), and ChanAccess::provider.

bool AccessChanAccess::operator> ( const ChanAccess other) const
inlinevirtual

Reimplemented from ChanAccess.

Definition at line 53 of file cs_access.cpp.

References anope_dynamic_static_cast(), ChanAccess::operator>(), and ChanAccess::provider.

Field Documentation

int AccessChanAccess::level

Definition at line 26 of file cs_access.cpp.

Referenced by CommandCSAccess::DoAdd().


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