Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CmdLabelAdd Class Reference

add a new label. More...

#include <CmdLabel.h>

Inheritance diagram for CmdLabelAdd:

Command List of all members.

Public Methods

 CmdLabelAdd (const char *, int, int *molid, int *atomid)
 constructor: category name, # items, item molid's, item atomid's. More...

 ~CmdLabelAdd (void)

Protected Methods

virtual void create_text (void)
 virtual function which is called when a text version of the command must be created to be printed to the console or a log file. More...


Detailed Description

add a new label.

Definition at line 33 of file CmdLabel.h.


Constructor & Destructor Documentation

CmdLabelAdd::CmdLabelAdd const char *   ,
int   ,
int *    molid,
int *    atomid
 

constructor: category name, # items, item molid's, item atomid's.

Definition at line 53 of file CmdLabel.C.

References n, and stringdup.

CmdLabelAdd::~CmdLabelAdd void   
 

Definition at line 73 of file CmdLabel.C.


Member Function Documentation

void CmdLabelAdd::create_text void    [protected, virtual]
 

virtual function which is called when a text version of the command must be created to be printed to the console or a log file.

Reimplemented from Command.

Definition at line 66 of file CmdLabel.C.

References Command::cmdText.


The documentation for this class was generated from the following files:
Generated on Fri Apr 19 02:46:16 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002