HasSTLCommand Class Reference

Inheritance diagram for HasSTLCommand:

TclCommand Collaboration diagram for HasSTLCommand:

Collaboration graph
[legend]

Detailed Description

Definition at line 174 of file misc.cc.

Public Member Functions

virtual int command (int argc, const char *const *argv)
 HasSTLCommand ()


Constructor & Destructor Documentation

HasSTLCommand::HasSTLCommand  )  [inline]
 

Definition at line 176 of file misc.cc.

00176 : TclCommand("ns-hasSTL") {}


Member Function Documentation

int HasSTLCommand::command int  argc,
const char *const *  argv
[virtual]
 

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 }


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:09:22 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6