ircproxy  The Ultimate Cyborg

Nick.h File Reference


Detailed Description

This file contains the declaration of class Nick.

Definition in file Nick.h.

#include "debug.h"
#include "Target.h"
#include "IdentityReference.h"
#include "IPNumber.h"
#include "Flags.h"
#include "random_nick.h"
#include "Array.h"

Go to the source code of this file.

Classes

class  NickData
 The data that can be associated with a nick name. More...
class  WhoEventType
 Event Type for WHO query results. More...
class  WhoRequestData
 Request data passed to the event server. More...
class  WhoEventRequestBase
 Base class for WHO query event request objects. More...
class  Nick
 A nick name. More...
class  MyNick
 My own nick name. More...

Typedefs

typedef unsigned int mask_type
 The type used for NickData fields.
typedef event_data_server_tct
< WhoEventRequestBase
WhoEventServer
 The event server for WhoEventType.

Variables

mask_type const username_bit = 1
 Username bit mask.
mask_type const hostname_bit = 2
 Hostname bit mask.
mask_type const ip_bit = 4
 IP number bit mask.
mask_type const realname_bit = 8
 Realname bit mask.
mask_type const servername_bit = 16
 Servername bit mask.
mask_type const idletime_bit = 32
 Idle time bit mask.
mask_type const accountname_bit = 64
 Account name bit mask.
mask_type const hopcount_bit = 128
 Hopcount bit mask.
mask_type const flags_bit = 256
 Flags bit mask.


Typedef Documentation

typedef unsigned int mask_type

The type used for NickData fields.

Definition at line 31 of file Nick.h.

typedef event_data_server_tct<WhoEventRequestBase> WhoEventServer

The event server for WhoEventType.

Definition at line 150 of file Nick.h.


Variable Documentation

Username bit mask.

Definition at line 36 of file Nick.h.

Referenced by operator<<(), Prefix::out_prefix(), NickData::set_username(), and NickData::username().

Hostname bit mask.

Definition at line 37 of file Nick.h.

Referenced by NickData::hostname(), operator<<(), Prefix::out_prefix(), and NickData::set_hostname().

mask_type const ip_bit = 4

IP number bit mask.

Definition at line 38 of file Nick.h.

Referenced by NickData::ip(), and NickData::set_ip().

Realname bit mask.

Definition at line 39 of file Nick.h.

Referenced by NickData::realname(), and NickData::set_realname().

Servername bit mask.

Definition at line 40 of file Nick.h.

Referenced by NickData::servername(), and NickData::set_servername().

mask_type const idletime_bit = 32

Idle time bit mask.

Definition at line 41 of file Nick.h.

Referenced by NickData::idletime(), and NickData::set_idletime().

Account name bit mask.

Definition at line 42 of file Nick.h.

Referenced by NickData::accountname(), and NickData::set_accountname().

mask_type const hopcount_bit = 128

Hopcount bit mask.

Definition at line 43 of file Nick.h.

Referenced by NickData::hopcount(), and NickData::set_hopcount().

mask_type const flags_bit = 256

Flags bit mask.

Definition at line 44 of file Nick.h.

Referenced by NickData::flags(), and NickData::set_flags().


Copyright © 2005-2007 Carlo Wood.  All rights reserved.