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

HasSTLCommand Class Reference

Inheritance diagram for HasSTLCommand:

Inheritance graph
[legend]
Collaboration diagram for HasSTLCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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 Apr 20 12:50:18 2004 for NS2.26SourcesOriginal by doxygen 1.3.3