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

CmdColorName Class Reference

change the color index for a specifed name in a specified category. More...

#include <CmdColor.h>

Inheritance diagram for CmdColorName:

Command List of all members.

Public Methods

 CmdColorName (const char *, const char *, const char *)
 constructor: category name, item name, new color. More...

 ~CmdColorName ()

Public Attributes

char * cCatStr
char * cNameStr
char * cColStr

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

change the color index for a specifed name in a specified category.

Definition at line 34 of file CmdColor.h.


Constructor & Destructor Documentation

CmdColorName::CmdColorName const char *   ,
const char *   ,
const char *   
 

constructor: category name, item name, new color.

Definition at line 40 of file CmdColor.C.

References cCatStr, cColStr, cNameStr, and stringdup.

CmdColorName::~CmdColorName  
 

Definition at line 46 of file CmdColor.C.

References cCatStr, cColStr, and cNameStr.


Member Function Documentation

void CmdColorName::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 33 of file CmdColor.C.

References cCatStr, cColStr, Command::cmdText, and cNameStr.


Member Data Documentation

char* CmdColorName::cCatStr
 

Definition at line 39 of file CmdColor.h.

Referenced by CmdColorName, create_text, and ~CmdColorName.

char * CmdColorName::cColStr
 

Definition at line 39 of file CmdColor.h.

Referenced by CmdColorName, create_text, and ~CmdColorName.

char * CmdColorName::cNameStr
 

Definition at line 39 of file CmdColor.h.

Referenced by CmdColorName, create_text, and ~CmdColorName.


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