Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

int.Vec.h File Reference

#include "builtin.h"
#include "int.defs.h"

Include dependency graph for int.Vec.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  intVec

Defines

#define _intVec_h   1
#define _int_typedefs   1

Typedefs

typedef void(* intProcedure )(int)
typedef int(* intMapper )(int)
typedef int(* intCombiner )(int, int)
typedef int(* intPredicate )(int)
typedef int(* intComparator )(int, int)

Functions

void default_intVec_error_handler (const char *)
one_arg_error_handler_t set_intVec_error_handler (one_arg_error_handler_t f)
int operator!= (intVec &a, intVec &b)

Variables

one_arg_error_handler_t intVec_error_handler


Define Documentation

#define _int_typedefs   1
 

Definition at line 30 of file int.Vec.h.

#define _intVec_h   1
 

Definition at line 24 of file int.Vec.h.


Typedef Documentation

typedef int(* intCombiner)(int , int )
 

Definition at line 33 of file int.Vec.h.

typedef int(* intComparator)(int , int )
 

Definition at line 35 of file int.Vec.h.

typedef int(* intMapper)(int )
 

Definition at line 32 of file int.Vec.h.

typedef int(* intPredicate)(int )
 

Definition at line 34 of file int.Vec.h.

typedef void(* intProcedure)(int )
 

Definition at line 31 of file int.Vec.h.


Function Documentation

void default_intVec_error_handler const char *   ) 
 

Definition at line 30 of file int.Vec.cc.

00031 {
00032 #if 0
00033   cerr << "Fatal intVec error. " << msg << "\n";
00034 #else
00035   // ns doesn't use streams
00036   fprintf(stderr, "Fatal intVec error. %s\n", msg);
00037 #endif
00038   exit(1);
00039 }

int operator!= intVec a,
intVec b
[inline]
 

Definition at line 130 of file int.Vec.h.

00131 {
00132   return !(a == b);
00133 }

one_arg_error_handler_t set_intVec_error_handler one_arg_error_handler_t  f  ) 
 

Definition at line 43 of file int.Vec.cc.

References intVec_error_handler, and one_arg_error_handler_t.

00044 {
00045   one_arg_error_handler_t old = intVec_error_handler;
00046   intVec_error_handler = f;
00047   return old;
00048 }


Variable Documentation

one_arg_error_handler_t intVec_error_handler
 

Definition at line 84 of file int.Vec.h.

Referenced by set_intVec_error_handler().


Generated on Tue Apr 20 12:21:42 2004 for NS2.26SourcesOriginal by doxygen 1.3.3