Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
Configuration::Conf Struct Reference

#include <config.h>

Inheritance diagram for Configuration::Conf:
Inheritance graph
[legend]
Collaboration diagram for Configuration::Conf:
Collaboration graph
[legend]

Public Member Functions

 Conf ()
 
 ~Conf ()
 
void LoadConf (File &file)
 
void Post (Conf *old)
 
BlockGetModule (Module *)
 
BlockGetModule (const Anope::string &name)
 
BotInfoGetClient (const Anope::string &name)
 
BlockGetCommand (CommandSource &)
 
- Public Member Functions inherited from Configuration::Block
 Block (const Anope::string &)
 
const Anope::stringGetName () const
 
int CountBlock (const Anope::string &name)
 
BlockGetBlock (const Anope::string &name, int num=0)
 
template<typename T >
Get (const Anope::string &tag)
 
template<typename T >
Get (const Anope::string &tag, const Anope::string &def) const
 
bool Set (const Anope::string &tag, const Anope::string &value)
 
const item_mapGetItems () const
 
template<>
CoreExport const Anope::string Get (const Anope::string &tag, const Anope::string &def) const
 
template<>
CoreExport time_t Get (const Anope::string &tag, const Anope::string &def) const
 
template<>
CoreExport bool Get (const Anope::string &tag, const Anope::string &def) const
 
template<>
const Anope::string Get (const Anope::string &tag, const Anope::string &def) const
 
template<>
time_t Get (const Anope::string &tag, const Anope::string &def) const
 
template<>
bool Get (const Anope::string &tag, const Anope::string &def) const
 

Data Fields

time_t ReadTimeout
 
bool UsePrivmsg
 
bool DefPrivmsg
 
Anope::string DefLanguage
 
time_t TimeoutCheck
 
bool UseStrictPrivmsg
 
Anope::string StrictPrivmsg
 
std::vector< UplinkUplinks
 
std::vector< LogInfoLogInfos
 
std::vector< Anope::stringUlines
 
std::vector< OperType * > MyOperTypes
 
std::vector< Oper * > Opers
 
CommandInfo::map Fantasy
 
std::vector< CommandGroupCommandGroups
 
std::vector< Anope::stringModulesAutoLoad
 
std::map< Anope::string, Block * > modules
 
Anope::map< Anope::stringbots
 

Additional Inherited Members

- Public Types inherited from Configuration::Block
typedef Anope::map< Anope::stringitem_map
 
typedef Anope::multimap< Blockblock_map
 

Detailed Description

Definition at line 92 of file config.h.

Constructor & Destructor Documentation

Conf::Conf ( )

Definition at line 114 of file config.cpp.

References OperType::AddCommand(), OperType::AddPriv(), PrivilegeManager::AddPrivilege(), Channel::botchannel, BotInfo::botchannels, BotListByNick, Anope::string::c_str(), Anope::casemap, Anope::CaseMapRebuild(), Oper::certfp, PrivilegeManager::ClearPrivileges(), CommandGroups, BotInfo::conf, Configuration::Block::CountBlock(), DefLanguage, DefPrivmsg, desc, CommandGroup::description, Anope::string::equals_ci(), NickAlias::Find(), BotInfo::Find(), Channel::Find(), ModeManager::FindChannelModeByChar(), Channel::FindUser(), FOREACH_MOD, Configuration::Block::Get(), Configuration::Block::GetBlock(), GetClient(), GetModule(), Configuration::Block::GetName(), OperType::GetName(), ModeManager::GetStatusChar(), sepstream::GetToken(), sepstream::GetTokens(), User::GetUID(), CommandInfo::group, CommandInfo::hide, Oper::hosts, OperType::Inherits(), BotInfo::Join(), Anope::string::length(), LoadConf(), LogInfos, MODE_STATUS, OperType::modes, ChannelStatus::Modes(), modes, ModulesAutoLoad, MyOperTypes, CommandGroup::name, Oper::name, CommandInfo::name, Configuration::Block::name, NickAlias::nc, NickCoreList, Anope::string::npos, NickCore::o, Opers, Oper::ot, BotInfo::Part(), Oper::password, CommandInfo::permission, CommandInfo::prepend_channel, ReadTimeout, Channel::RemoveMode(), Oper::require_oper, ServicesConf, BotInfo::SetCommand(), Channel::SetMode(), ChanUserContainer::status, StrictPrivmsg, Anope::string::substr(), TimeoutCheck, Mode::type, Ulines, Uplinks, UsePrivmsg, UseStrictPrivmsg, ValidateNoSpaces(), ValidateNotEmpty(), ValidateNotZero(), and Oper::vhost.

Conf::~Conf ( )

Definition at line 530 of file config.cpp.

References MyOperTypes, and Opers.

Member Function Documentation

BotInfo * Conf::GetClient ( const Anope::string name)

Definition at line 611 of file config.cpp.

References bots, BotInfo::Find(), Configuration::Block::Get(), GetModule(), and Anope::string::lower().

Referenced by Conf().

Block * Conf::GetCommand ( CommandSource source)
Block * Conf::GetModule ( Module m)

Definition at line 580 of file config.cpp.

References Module::name.

Referenced by Conf(), GetClient(), and GetModule().

Block * Conf::GetModule ( const Anope::string name)
void Conf::LoadConf ( File file)
void Conf::Post ( Conf old)

Field Documentation

Anope::map<Anope::string> Configuration::Conf::bots

Definition at line 128 of file config.h.

Referenced by GetClient().

std::vector<CommandGroup> Configuration::Conf::CommandGroups

Definition at line 122 of file config.h.

Referenced by Conf().

Anope::string Configuration::Conf::DefLanguage

Definition at line 101 of file config.h.

Referenced by Conf().

bool Configuration::Conf::DefPrivmsg

Definition at line 99 of file config.h.

Referenced by Conf().

CommandInfo::map Configuration::Conf::Fantasy

Definition at line 120 of file config.h.

std::vector<LogInfo> Configuration::Conf::LogInfos

Definition at line 112 of file config.h.

Referenced by Conf().

std::map<Anope::string, Block *> Configuration::Conf::modules

Definition at line 127 of file config.h.

Referenced by GetModule().

std::vector<Anope::string> Configuration::Conf::ModulesAutoLoad

Definition at line 124 of file config.h.

Referenced by Conf(), and Post().

std::vector<OperType *> Configuration::Conf::MyOperTypes

Definition at line 116 of file config.h.

Referenced by Conf(), Post(), and ~Conf().

std::vector<Oper *> Configuration::Conf::Opers

Definition at line 118 of file config.h.

Referenced by Conf(), Post(), and ~Conf().

time_t Configuration::Conf::ReadTimeout

Definition at line 95 of file config.h.

Referenced by Conf().

Anope::string Configuration::Conf::StrictPrivmsg

Definition at line 108 of file config.h.

Referenced by Conf().

time_t Configuration::Conf::TimeoutCheck

Definition at line 103 of file config.h.

Referenced by Conf().

std::vector<Anope::string> Configuration::Conf::Ulines

Definition at line 114 of file config.h.

Referenced by Conf().

std::vector<Uplink> Configuration::Conf::Uplinks

Definition at line 110 of file config.h.

Referenced by Conf().

bool Configuration::Conf::UsePrivmsg

Definition at line 97 of file config.h.

Referenced by Conf().

bool Configuration::Conf::UseStrictPrivmsg

Definition at line 105 of file config.h.

Referenced by Conf().


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