Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

Package clawsoft


Detailed Description

Id:
__Destruct.h,v 1.3 2002/07/11 21:41:27 mindstorm2600 Exp

Este header redefine el operador delete


Data Structures

class  ArrayOutOfBoundsException
 Throw this exception when an operation over an array exceeds is inbound and outbound limits. More...

class  BaseButton
 Base interface for use with buttons. More...

class  BingoCard
class  BrokenPipeException
 This eception is thrown whenever the other end of communication has died or in the case of a socket when the remote host has closed connection without warning. More...

class  CantLoadDSOException
class  CantUnloadDSOException
class  ConnectionRefusedException
 Throw this exception when the connection gets refused by the other host. More...

class  ConnectionTimeoutException
 Throw this exception when the connection passes the timeout. More...

class  CancelButton
class  Dialog
class  OKButton
class  HelpButton
class  DSOException
 Use this exception whenever you want to throw a generic exception over a dso (dynamic shared object) event. More...

class  DSOSymbolException
class  ElementNotFoundException
 Use this exception when a search for an element returned no results or the results given doens't match what you were looking for. More...

class  Event
 Event parent class, this class does nothing, it is just an interface. More...

class  Exception
 This is the parent class of all the exceptions;. More...

class  Font
class  Game
 Just an interface for th games. More...

class  GameSelButton
class  GameSelector
class  GUIObject
 Interface for all GUI objects. More...

class  IOException
 This is a generic exception for I/O events. More...

class  KeyboardEvent
class  List
 This class handles single linked lists using templates, don't use this class if you intend to share it's data between threads if you do please use the appropiate semaphore or mutex code to prevent data corruption between threads, you have been warned. More...

class  LoginDialog
class  MouseEvent
 This class defines how to catch and report events from the mouse pointer device, and also provides an interface for knowing it's status. More...

class  Mutex
 This class defines an interface to MUTual EXclusion locks. More...

class  MutexException
 This is the generic exception thrown for mutexes. More...

class  NetworkException
 This is a generic exception it is supposed to be thrown for undefined or generic network events. More...

class  NetworkUnreachableException
 This exception is thrown when the remote host cannot be reached by this host. More...

class  nodeT
 This subclass represents a node in the list it stores the information en the data member and has a pointer to the following node int the member next. More...

class  NoMoreTokensException
 Use or trap this exception when you need to check if ha Tokenizer has no more tokens to find in the current string. More...

class  NullPointerException
 Throw this exception when doing something that is not appropiate with a null pointer. More...

class  NumberException
 Throw this exception when expecting a number in an operation and and receiving something different. More...

class  Object
 This one is the most primitive of all the classes, the first ancestor. More...

class  Plugin
 This is the plugin class, it adds an interface for loading dynamic shared objects to your program. More...

class  ProcOutOfFileDescriptorsException
 This exception is thrown when the process is going out of files. More...

class  Rect
 This class is used to define rectangular areas. More...

class  ServerSocket
 This class handles the socket server interface. More...

class  SharedVar
 This class is define template to implemented Shared varibles. More...

class  Socket
 This is the main interface for client sockets. More...

class  SocketAlreadyBoundedException
 Throw this exception whenever yo hav a socket that is already bounded to an address. More...

class  SocketAlreadyUsedException
 This exception is thrown when a previous socket is listening to this port. More...

class  SocketBase
 This is the socket parent class, this one contains information and methods shared by client and server sockets. More...

class  SocketUnableToReadException
 This exception is thrown if it is not possible to read data from the other end of communications. More...

class  SocketUnableToWriteException
 This exception is thrown if it is not possible to write data to the other end of communications. More...

class  String
 This a string treatment class, it has a lot of methods and the main idea is eliminate de use of the common tricks we use everyday while we work with strings. More...

class  SysOutOfFileDescriptorsException
 This exception is thrown when the system is going out of files. More...

class  TextBox
class  TextButton
class  TextField
class  Thread
 This class encapsulates the thread library functionality through SDL and GNU Pth. More...

class  Tokenizer
 This utilitary class is used whenever you need to split a string into tokens iteratively. More...

class  UnableToLockMutexException
 This exception is used when a mutex failed to lock the current thread. More...

class  UnableToUnlockMutexException
 This exception is used when a mutex failed to unlock the current thread. More...

class  Widget
class  Window

Enumerations

enum  DialogType { DLG_OK, DLG_OK_CANCEL, DLG_OK_CANCEL_HELP, DLG_CANCEL }
enum  Alignment { LEFT, CENTER, RIGHT }

Functions

void _center (GameSelButton *b)
void genCards ()
void provideCard (Socket &client)
template<class __ttype_x> void claw_delete (__ttype_x &ptr)
 Use this function in place of the delete operator for pointers.

template<class __ttype_y> void claw_delete_array (__ttype_y &array)
 Use this function in place of the delete[] operator for arrays.

void addSigpipeHandler ()
 Adds the SIGPIPE handler by calling signal(2).

void claw_sigpipe_handler (int signum)
 This function handles the SIGPIPE signal event.

int __str_shrink (char **buf)
void int2char (int num, char buf[])
std::ostream & operator<< (std::ostream &stream, String s)
int __power (int n)

Variables

BingoCardAllCards
bool * usedCards
int __sigpipe_done
 This is a flag that is set when the SIGPIPE handler has been activated.


Enumeration Type Documentation

enum clawsoft::Alignment
 

Enumeration values:
LEFT 
CENTER 
RIGHT 

Definition at line 17 of file Font.h.

enum clawsoft::DialogType
 

Enumeration values:
DLG_OK 
DLG_OK_CANCEL 
DLG_OK_CANCEL_HELP 
DLG_CANCEL 

Definition at line 12 of file Dialog.h.

Referenced by clawsoft.Dialog.Dialog().


Function Documentation

int __power int    n
 

Definition at line 463 of file String.cpp.

Referenced by clawsoft.String.toDouble(), clawsoft.String.toInt(), clawsoft.String.toLongDouble(), clawsoft.String.toLongLong(), and clawsoft.String.toUInt().

int __str_shrink char **    buf
 

Definition at line 14 of file String.cpp.

References claw_delete_array().

void _center GameSelButton   b [static]
 

Definition at line 37 of file GameSelector.cpp.

References clawsoft.Rect.W(), and clawsoft.Rect.X().

Referenced by clawsoft.GameSelector.map().

void clawsoft::addSigpipeHandler  
 

Adds the SIGPIPE handler by calling signal(2).

Definition at line 72 of file Socket.cpp.

References __sigpipe_done, and claw_sigpipe_handler().

Referenced by clawsoft.Socket.CreateSocket(), and clawsoft.ServerSocket.CreateSocket().

template<class __ttype_x>
void claw_delete __ttype_x &    ptr [inline]
 

Use this function in place of the delete operator for pointers.

Definition at line 18 of file __Destruct.h.

template<class __ttype_y>
void claw_delete_array __ttype_y &    array [inline]
 

Use this function in place of the delete[] operator for arrays.

Definition at line 27 of file __Destruct.h.

Referenced by __str_shrink(), clawsoft.String.assign(), clawsoft.String.concat(), clawsoft.String.deleteCharAt(), clawsoft.String.destroy(), clawsoft.String.insertCharAt(), clawsoft.Socket.operator<<(), and clawsoft.String.trimLeft().

void claw_sigpipe_handler int    signum [static]
 

This function handles the SIGPIPE signal event.

Definition at line 63 of file Socket.cpp.

References claw_sigpipe_handler().

Referenced by addSigpipeHandler(), and claw_sigpipe_handler().

void clawsoft::genCards  
 

Definition at line 97 of file Bingo.cpp.

References clawsoft.BingoCard.autogen(), MAXIMUM_PLAYERS, and usedCards.

Referenced by Server.init().

void int2char int    num,
char    buf[]
 

Definition at line 29 of file String.cpp.

Referenced by clawsoft.String.assign(), and clawsoft.String.concat().

std::ostream& operator<< std::ostream &    stream,
String    s
 

Definition at line 380 of file String.cpp.

References clawsoft.String.buffer.

void clawsoft::provideCard Socket   client
 

Definition at line 122 of file Bingo.cpp.

References clawsoft.String.deleteString(), clawsoft.BingoCard.numbers, Random.random(), and usedCards.

Referenced by Protocol.attend().


Variable Documentation

int clawsoft::__sigpipe_done [static]
 

This is a flag that is set when the SIGPIPE handler has been activated.

Definition at line 69 of file Socket.cpp.

Referenced by addSigpipeHandler().

BingoCard * clawsoft::AllCards
 

Definition at line 18 of file Bingo.cpp.

bool * clawsoft::usedCards
 

Definition at line 19 of file Bingo.cpp.

Referenced by genCards(), and provideCard().

Powered by:

SourceForge Logo