Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Residue Class Reference

Residue Class. More...

#include <PDBresidue.hh>

Collaboration diagram for Residue:

Public Member Functions

 Residue ()
 Constructor. More...
 
 Residue (const std::string &resName, int resSeq)
 Second constructor. More...
 
 ~Residue ()
 Destructor. More...
 
void Affiche ()
 information about molecule (not implemented) More...
 
ResidueGetNext ()
 Get the next residue. More...
 
AtomGetFirst ()
 Get the first atom. More...
 
int GetID ()
 Get the number of the residue. More...
 
void SetNext (Residue *)
 Set the next residue. More...
 
void SetFirst (Atom *)
 Set the first Atom of the residue. More...
 

Public Attributes

std::string fResName
 Residue name. More...
 
int fResSeq
 Residue sequence number. More...
 
bool fVisible
 Whether Residue is visible or not. More...
 
bool fSelected
 Whether Residue is selected (Highlight) or not. More...
 
int fCenterX
 
int fCenterY
 
int fCenterZ
 
int fNbAtom
 Number of atoms into a residue (usage before vector) More...
 

Detailed Description

Residue Class.

This Class define residue model ...

Definition at line 58 of file PDBresidue.hh.

Constructor & Destructor Documentation

Residue::Residue ( )

Constructor.

Definition at line 44 of file PDBresidue.cc.

44  :fResName(""),fResSeq(0),fVisible(false),fSelected(false),
45 fCenterX(0),fCenterY(0),fCenterZ(0),fNbAtom(0),fpNext(0),fpFirst(0)
46 {
47 }
int fCenterZ
Definition: PDBresidue.hh:87
int fNbAtom
Number of atoms into a residue (usage before vector)
Definition: PDBresidue.hh:88
int fCenterX
Definition: PDBresidue.hh:85
std::string fResName
Residue name.
Definition: PDBresidue.hh:81
int fCenterY
Definition: PDBresidue.hh:86
bool fVisible
Whether Residue is visible or not.
Definition: PDBresidue.hh:83
int fResSeq
Residue sequence number.
Definition: PDBresidue.hh:82
bool fSelected
Whether Residue is selected (Highlight) or not.
Definition: PDBresidue.hh:84
Residue::Residue ( const std::string &  resName,
int  resSeq 
)

Second constructor.

Definition at line 51 of file PDBresidue.cc.

52 {
53  fResName=rN;// Residue name
54  fResSeq=rS; // Residue sequence number
55  fVisible=false;
56  fSelected=false;
57  fCenterX=0;
58  fCenterY=0;
59  fCenterZ=0;
60  fNbAtom=0;
61  fpNext=0;
62  fpFirst=0;
63 }
int fCenterZ
Definition: PDBresidue.hh:87
int fNbAtom
Number of atoms into a residue (usage before vector)
Definition: PDBresidue.hh:88
int fCenterX
Definition: PDBresidue.hh:85
std::string fResName
Residue name.
Definition: PDBresidue.hh:81
int fCenterY
Definition: PDBresidue.hh:86
bool fVisible
Whether Residue is visible or not.
Definition: PDBresidue.hh:83
int fResSeq
Residue sequence number.
Definition: PDBresidue.hh:82
bool fSelected
Whether Residue is selected (Highlight) or not.
Definition: PDBresidue.hh:84
Residue::~Residue ( )
inline

Destructor.

Definition at line 66 of file PDBresidue.hh.

66 {};

Member Function Documentation

void Residue::Affiche ( )

information about molecule (not implemented)

Atom * Residue::GetFirst ( )

Get the first atom.

Definition at line 74 of file PDBresidue.cc.

75 {
76  return fpFirst;
77 }

Here is the caller graph for this function:

int Residue::GetID ( )

Get the number of the residue.

Definition at line 81 of file PDBresidue.cc.

82 {
83  return fResSeq;
84 }
int fResSeq
Residue sequence number.
Definition: PDBresidue.hh:82
Residue * Residue::GetNext ( )

Get the next residue.

Definition at line 67 of file PDBresidue.cc.

68 {
69  return fpNext;
70 }

Here is the caller graph for this function:

void Residue::SetFirst ( Atom atomFirst)

Set the first Atom of the residue.

Definition at line 95 of file PDBresidue.cc.

96 {
97  fpFirst=atomFirst;
98 }

Here is the caller graph for this function:

void Residue::SetNext ( Residue residueNext)

Set the next residue.

Definition at line 88 of file PDBresidue.cc.

89 {
90  fpNext=residueNext;
91 }

Here is the caller graph for this function:

Member Data Documentation

int Residue::fCenterX

Definition at line 85 of file PDBresidue.hh.

int Residue::fCenterY

Definition at line 86 of file PDBresidue.hh.

int Residue::fCenterZ

Definition at line 87 of file PDBresidue.hh.

int Residue::fNbAtom

Number of atoms into a residue (usage before vector)

Definition at line 88 of file PDBresidue.hh.

std::string Residue::fResName

Residue name.

Definition at line 81 of file PDBresidue.hh.

int Residue::fResSeq

Residue sequence number.

Definition at line 82 of file PDBresidue.hh.

bool Residue::fSelected

Whether Residue is selected (Highlight) or not.

Definition at line 84 of file PDBresidue.hh.

bool Residue::fVisible

Whether Residue is visible or not.

Definition at line 83 of file PDBresidue.hh.


The documentation for this class was generated from the following files: