Inheritance diagram for HasSTLCommand:


Definition at line 174 of file misc.cc.
Public Member Functions | |
| virtual int | command (int argc, const char *const *argv) |
| HasSTLCommand () | |
|
|
Definition at line 176 of file misc.cc. 00176 : TclCommand("ns-hasSTL") {}
|
|
||||||||||||
|
Definition at line 180 of file misc.cc. 00181 { 00182 Tcl& tcl = Tcl::instance(); 00183 char res[2]; 00184 int flag = 0; 00185 #if defined(HAVE_STL) 00186 flag = 1; 00187 #endif 00188 sprintf(res, "%d", flag); 00189 tcl.resultf("%s", res); 00190 return (TCL_OK); 00191 }
|
1.4.6