The GNU Messenger namespace. More...


Classes

class  GNUMessenger::Network
 Network abstract base class. More...
class  GNUMessenger::Network::NetworkError
 Network Error Exception. More...
class  GNUMessenger::NetworkServer
 Network listen server class. More...
class  GNUMessenger::NetworkServer::NetworkServerError
 An exception class Raised if there is a server socket error. More...
class  GNUMessenger::VBuffer
 A vector based byte buffer class. More...
class  GNUMessenger::Contact
class  GNUMessenger::Contact::ContactError
class  GNUMessenger::ContactManager
 The ContactManager class controls the loading and storing of Contacts within the GNU Messenger framework. More...
class  GNUMessenger::ContactManager::InvalidUserName
 An invalid user name was used. More...
class  GNUMessenger::ContactManager::InvalidFolder
 An invalid folder name was used. More...
class  GNUMessenger::ContactManager::InvalidNode
 An invalid name was used. More...
struct  GNUMessenger::CryptDefines
class  GNUMessenger::CryptoSession
 A very highlevel crypto interface. More...
class  GNUMessenger::CryptoManager
 The cryptography manager class. More...
class  GNUMessenger::CryptoManager::CryptoError
 Base class for cryptography exception. More...
class  GNUMessenger::CryptoManager::IOError
 A disk error. More...
class  GNUMessenger::CryptoManager::InvalidPassword
 An invalid password was attempted. More...
class  GNUMessenger::CryptoManager::AuthFailed
 Authentication of data failed. More...
class  GNUMessenger::CryptoManager::RNGError
 There was an error with the random number generator. More...
class  GNUMessenger::CryptoManager::AlgoError
 There was an invalid algorythm. More...
class  GNUMessenger::CryptoManager::BlockSizeError
 The block size could not be used with the given cipher. More...
class  GNUMessenger::CryptoManager::KeySizeError
 The key size could not be used with the given cipher. More...
class  GNUMessenger::Exception
 Exception class from CryptoPP. More...
class  GNUMessenger::MemoryError
 A memory allocation error. More...
class  GNUMessenger::PointerError
 A pointer related error. More...
class  GNUMessenger::UnknownException
 An unknown error. More...
class  GNUMessenger::ArrayOutOfBounds
class  GNUMessenger::IcqProtocol
class  GNUMessenger::KitProtocol
class  GNUMessenger::LogBase
 Abstract base class for all logger classes, provides an interface to a wide character stream and a number stream. More...
class  GNUMessenger::StdLog
 Logs to standard out, ie cout. More...
class  GNUMessenger::LogNull
 A null logger, logs to nothing. More...
class  GNUMessenger::LogManager
 The log manager is static and persistant--defaults to StdLog. More...
class  GNUMessenger::ProtocolManager
 The ProtocolManager class is a very important part of the GNU Messenger. More...
class  GNUMessenger::ProtocolManager::InvalidContact
 An invalid contact exception. More...
class  GNUMessenger::ProtocolManager::InvalidNetwork
 An invalid network exception. More...
class  GNUMessenger::ProtocolManager::NetworkError
 A network error exception. More...
class  GNUMessenger::Message
class  GNUMessenger::scoped_array< T >
 Boost Scoped Array, http://www.boost.org. More...
class  GNUMessenger::ReferenceCounted< T >
 A reference counted template class. More...
class  GNUMessenger::MsnProtocol
class  GNUMessenger::MsnProtocol::message
 A MSN message.
class  GNUMessenger::MsnProtocol::Conversation
 A MSN conversation.
class  GNUMessenger::NetConf
 ingroup xml NetConf is a network configuration class that wraps an XML data structure More...
class  GNUMessenger::PeerProtocol
struct  GNUMessenger::buddy
 A simple struct to organize buddies coming from the servers. More...
class  GNUMessenger::Protocol
 The Protocol abstract base class. More...
class  GNUMessenger::Protocol::InvalidLogin
 An invalid login attempt was made. More...
class  GNUMessenger::Protocol::ProtocolError
 There was a protocol error. More...
class  GNUMessenger::SettingsManager
 A class that managers the settings of the user currently logged in. More...
class  GNUMessenger::TocProtocol
class  GNUMessenger::Folder
class  GNUMessenger::Expat
 This class helps us interface with expat. Expat interface. More...
class  GNUMessenger::Expat::ParseFailure
 There was a failure parsing the input. More...
class  GNUMessenger::XMLParser
 An XML Parser. More...
class  GNUMessenger::XMLParser::ParseFailure
 The XML parser could not parse the string. More...
class  GNUMessenger::XMLParser::DiskError
 There was an error reading/writing from disk. More...
class  GNUMessenger::XMLManager
 The XMLManager class controls all of the disk-based XML configuration loading and unloading. More...
class  GNUMessenger::XMLManager::InvalidData
 Invalid data was discovered. More...
class  GNUMessenger::XMLManager::DiskError
 Disk IO failed for some reason. More...
class  GNUMessenger::XMLManager::AuthError
 Data authentication failed, usually when decrypting a file and the HMAC is invalid. More...
class  GNUMessenger::XMLManager::PasswordError
 The password used to access the configuration for a user was invalid. More...
class  GNUMessenger::XMLNode
class  GNUMessenger::XMLNode::InvalidChild
 An attempt to access an invalid child was made. More...
class  GNUMessenger::XMLNode::ParseFailure
 The data could not be parsed as XML. More...
class  GNUMessenger::XMLNode::NodeDestroyed
 The XMLNode has been destroyed and no longer holds valid data. More...
class  GNUMessenger::XMLNode::XMLNodeData
 Reference counted XML data. More...
class  GNUMessenger::HttpClient
class  GNUMessenger::YahooPacket
 A protocol template. More...
class  GNUMessenger::YahooProtocol
class  GNUMessenger::TocProtocol::FlapHeader

Functions

template<class T> void ParamException (const string &error, const string &file, int line)
 A parametrized function that logs a error and raises an exception.
string iToA (long int candidate)
 Convert a signed integer to a string.
template<typename T> void checked_array_delete (T *x)
 Boost Checked Array Delete, http://www.boost.org.
template<class T> void swap (scoped_array< T > &a, scoped_array< T > &b)
bool operator< (const Contact &lhs, const Contact &rhs)
bool operator== (const Contact &lhs, const Contact &rhs)
bool operator!= (const Contact &lhs, const Contact &rhs)
ostream & operator<< (ostream &o, XMLNode &n)

Variables

LogManager Log = LogManager()
 The global, static log manager.


Detailed Description

The GNU Messenger namespace.

Author:
Jesse Lovelace


Function Documentation

template<typename T>
void checked_array_delete T *  x  )  [inline]
 

Boost Checked Array Delete, http://www.boost.org.

Author:
Greg Colvin

Beman Dawes

Peter Dimov

Note:
(C) Copyright Greg Colvin and Beman Dawes 1998, 1999. Copyright (c) 2001, 2002 Peter Dimov
Definition at line 34 of file misc.h.
00035 { 00036 typedef char type_must_be_complete[sizeof(T)]; 00037 delete [] x; 00038 }

ostream& operator<< ostream &  o,
XMLNode &  n
 

Parameters:
o A reference to the output stream
n A reference to an XMLNode
Definition at line 300 of file xmlnode.cpp.
00301 { 00302 00303 string str; 00304 00305 XMLParser::printTag(n,str); 00306 o << str; 00307 00308 return o; 00309 }

template<class T>
void ParamException const string &  error,
const string &  file,
int  line
[inline, static]
 

A parametrized function that logs a error and raises an exception.

Parameters:
error The error message.
file The file in which the exception originated.
line The line on which the exception originated.
T The exception type.
Definition at line 47 of file debug.h.
00048 { 00049 stringstream err; 00050 err << error << " File: " << file << " Line: " << line; 00051 Log.Error() << err.str() << endl; 00052 throw T(err.str()); 00053 }


Generated on Tue Oct 5 14:41:48 2004 for GNU Messenger by doxygen 1.3.8