ccp4srs  Version 1.0.0
Public Member Functions | Protected Attributes | List of all members
ccp4srs::Container< T > Class Template Reference

#include <ccp4srs_container.h>

Public Member Functions

 Container ()
 
virtual ~Container ()
 
void empty ()
 
int numberOf ()
 
T * at (int pos)
 
int index (mmdb::cpstr id)
 
void add (T *obj)
 
void write_mem (PMemIO memIO, int version)
 
bool read_mem (PMemIO memIO, int version, bool *Ok)
 

Protected Attributes

int n_objects
 
T ** object
 

Constructor & Destructor Documentation

template<class T>
ccp4srs::Container< T >::Container ( )
inline
template<class T>
virtual ccp4srs::Container< T >::~Container ( )
inlinevirtual

Member Function Documentation

template<class T>
void ccp4srs::Container< T >::add ( T *  obj)
inline
template<class T>
T* ccp4srs::Container< T >::at ( int  pos)
inline
template<class T>
void ccp4srs::Container< T >::empty ( )
inline
template<class T>
int ccp4srs::Container< T >::index ( mmdb::cpstr  id)
inline
template<class T>
int ccp4srs::Container< T >::numberOf ( )
inline
template<class T>
bool ccp4srs::Container< T >::read_mem ( PMemIO  memIO,
int  version,
bool *  Ok 
)
inline
template<class T>
void ccp4srs::Container< T >::write_mem ( PMemIO  memIO,
int  version 
)
inline

Member Data Documentation

template<class T>
int ccp4srs::Container< T >::n_objects
protected
template<class T>
T** ccp4srs::Container< T >::object
protected

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