int.Vec.h File Reference

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

Include dependency graph for int.Vec.h:

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

Go to the source code of this file.

Data Structures

class  intVec

Defines

#define _int_typedefs   1
#define _intVec_h   1

Typedefs

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

Functions

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

Variables

one_arg_error_handler_t intVec_error_handler


Define Documentation

#define _int_typedefs   1
 

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

#define _intVec_h   1
 

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


Typedef Documentation

typedef int(* intCombiner)(int, int)
 

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

typedef int(* intComparator)(int, int)
 

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

typedef int(* intMapper)(int)
 

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

typedef int(* intPredicate)(int)
 

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

typedef void(* intProcedure)(int)
 

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


Function Documentation

void default_intVec_error_handler const char *   ) 
 

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

00053 {
00054 #if 0
00055   cerr << "Fatal intVec error. " << msg << "\n";
00056 #else
00057   // ns doesn't use streams
00058   fprintf(stderr, "Fatal intVec error. %s\n", msg);
00059 #endif
00060   exit(1);
00061 }

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

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

References a, and b.

00153 {
00154   return !(a == b);
00155 }

one_arg_error_handler_t set_intVec_error_handler one_arg_error_handler_t  f  ) 
 

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

References intVec_error_handler.

00066 {
00067   one_arg_error_handler_t old = intVec_error_handler;
00068   intVec_error_handler = f;
00069   return old;
00070 }


Variable Documentation

one_arg_error_handler_t intVec_error_handler
 

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

Referenced by set_intVec_error_handler().


Generated on Tue Mar 6 16:53:54 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6