ccp4srs  Version 1.0.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccp4srs::Plane Class Reference

#include <ccp4srs_plane.h>

Public Types

enum  { Ok =0, EmptyLoop =-11111, NoMorePlanes =-11112 }
 

Public Member Functions

 Plane ()
 
virtual ~Plane ()
 
mmdb::cpstr id ()
 
int size ()
 
mmdb::ivector atoms ()
 
mmdb::rvector esds ()
 
int atom (int atomNo)
 
mmdb::realtype esd (int atomNo)
 
int readFromCIF (mmdb::mmcif::PLoop mmCIFLoop, int planeNo, Container< Atom > &atoms)
 
void writeToCIF (mmdb::mmcif::PLoop mmCIFLoop, mmdb::cpstr monID, Container< Atom > &atoms)
 
void write_mem (PMemIO memIO, int version)
 
bool read_mem (PMemIO memIO, int version, bool *Ok=NULL)
 
void copy (PPlane plane, mmdb::ivector anmatch=NULL)
 

Static Public Member Functions

static void makeCIFTags (mmdb::mmcif::PLoop mmCIFLoop)
 

Protected Member Functions

void empty ()
 

Protected Attributes

PlaneID plane_id
 plane id More...
 
int n_atoms
 plane size More...
 
mmdb::ivector plane_atoms
 vector of plain's atom names More...
 
mmdb::rvector dist_esd
 vector of distance esds from the plane More...
 

Member Enumeration Documentation

anonymous enum
Enumerator
Ok 
EmptyLoop 
NoMorePlanes 

Constructor & Destructor Documentation

ccp4srs::Plane::Plane ( )
ccp4srs::Plane::~Plane ( )
virtual

Member Function Documentation

int ccp4srs::Plane::atom ( int  atomNo)
inline
mmdb::ivector ccp4srs::Plane::atoms ( )
inline
void ccp4srs::Plane::copy ( PPlane  plane,
mmdb::ivector  anmatch = NULL 
)
void ccp4srs::Plane::empty ( )
protected
mmdb::realtype ccp4srs::Plane::esd ( int  atomNo)
inline
mmdb::rvector ccp4srs::Plane::esds ( )
inline
mmdb::cpstr ccp4srs::Plane::id ( )
inline
void ccp4srs::Plane::makeCIFTags ( mmdb::mmcif::PLoop  mmCIFLoop)
static
bool ccp4srs::Plane::read_mem ( PMemIO  memIO,
int  version,
bool *  Ok = NULL 
)
int ccp4srs::Plane::readFromCIF ( mmdb::mmcif::PLoop  mmCIFLoop,
int  planeNo,
Container< Atom > &  atoms 
)
int ccp4srs::Plane::size ( )
inline
void ccp4srs::Plane::write_mem ( PMemIO  memIO,
int  version 
)
void ccp4srs::Plane::writeToCIF ( mmdb::mmcif::PLoop  mmCIFLoop,
mmdb::cpstr  monID,
Container< Atom > &  atoms 
)

Member Data Documentation

mmdb::rvector ccp4srs::Plane::dist_esd
protected

vector of distance esds from the plane

int ccp4srs::Plane::n_atoms
protected

plane size

mmdb::ivector ccp4srs::Plane::plane_atoms
protected

vector of plain's atom names

PlaneID ccp4srs::Plane::plane_id
protected

plane id


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