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

CmdMolChangeRepItem Class Reference

change 1 representation characteristic for the specified mol. More...

#include <CmdMol.h>

Inheritance diagram for CmdMolChangeRepItem:

List of all members.

Public Types

enum RepData { COLOR, REP, SEL, MAT }

Public Methods

CmdMolChangeRepItem (int rpos, int id, RepData rd, const char *s)
constructor: which rep, which mol, rep data. More...

virtual ~CmdMolChangeRepItem (void)

Public Attributes

int whichMol
which molecule. More...

int repn
which rep to change. More...

RepData repData
type of item to change. More...

char * str
new value. More...


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 1 representation characteristic for the specified mol.

Definition at line 240 of file CmdMol.h.


Member Enumeration Documentation

enum CmdMolChangeRepItem::RepData

Enumeration values:
COLOR
REP
SEL
MAT

Definition at line 243 of file CmdMol.h.

Referenced by CmdMolChangeRepItem.


Constructor & Destructor Documentation

CmdMolChangeRepItem::CmdMolChangeRepItem ( int rpos,
int id,
RepData rd,
const char * s
) [inline]

constructor: which rep, which mol, rep data.

Definition at line 254 of file CmdMol.h.

References Command::MOL_MODREPITEM, repData, RepData, repn, str, and whichMol.

virtual CmdMolChangeRepItem::~CmdMolChangeRepItem ( void ) [inline, virtual]

Definition at line 259 of file CmdMol.h.

References str.


Member Function Documentation

void CmdMolChangeRepItem::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 119 of file CmdMol.C.

References Command::cmdText, COLOR, MAT, REP, repData, repn, SEL, str, and whichMol.


Member Data Documentation

RepData CmdMolChangeRepItem::repData

type of item to change.

Definition at line 246 of file CmdMol.h.

Referenced by CmdMolChangeRepItem, and create_text.

int CmdMolChangeRepItem::repn

which rep to change.

Definition at line 245 of file CmdMol.h.

Referenced by CmdMolChangeRepItem, and create_text.

char* CmdMolChangeRepItem::str

new value.

Definition at line 247 of file CmdMol.h.

Referenced by CmdMolChangeRepItem, create_text, and ~CmdMolChangeRepItem.

int CmdMolChangeRepItem::whichMol

which molecule.

Definition at line 244 of file CmdMol.h.

Referenced by CmdMolChangeRepItem, and create_text.


The documentation for this class was generated from the following files:
Generated on Mon Nov 17 02:48:07 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /