List of all members.
Public Member Functions |
|
| intVec (int l) |
|
| intVec (int l, int fill_value) |
|
| intVec (const intVec &) |
|
intVec & | operator= (const intVec &a) |
|
intVec | at (int from=0, int n=-1) |
|
int | capacity () const |
|
void | resize (int newlen) |
|
int & | operator[] (int n) |
|
int & | elem (int n) |
|
void | reverse () |
|
void | sort (intComparator f) |
|
void | fill (int val, int from=0, int n=-1) |
|
void | apply (intProcedure f) |
|
int | reduce (intCombiner f, int base) |
|
int | index (int targ) |
|
void | error (const char *msg) |
|
void | range_error () |
Protected Member Functions |
|
| intVec (int l, int *d) |
Protected Attributes |
|
int | len |
|
int * | s |
Friends |
|
intVec | concat (intVec &a, intVec &b) |
|
intVec | map (intMapper f, intVec &a) |
|
intVec | merge (intVec &a, intVec &b, intComparator f) |
|
intVec | combine (intCombiner f, intVec &a, intVec &b) |
|
intVec | reverse (intVec &a) |
|
int | operator== (intVec &a, intVec &b) |
|
int | operator!= (intVec &a, intVec &b) |
The documentation for this class was generated from the following files:
- /Users/yzchen/ns/ns-allinone-2.33/ns-2.33/lib/int.Vec.h
- /Users/yzchen/ns/ns-allinone-2.33/ns-2.33/lib/int.Vec.cc