OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
MMCifInfoRevisions Class Reference

#include <mmcif_info.hh>

Public Member Functions

 MMCifInfoRevisions ()
 
void SetDateOriginal (String date)
 
String GetDateOriginal () const
 
void AddRevision (int num, String date, String status)
 
size_t GetSize () const
 
String GetDate (size_t i) const
 
int GetNum (size_t i) const
 
String GetStatus (size_t i) const
 
String GetLastDate () const
 
size_t GetFirstRelease () const
 
 MMCifInfoRevisions ()
 
void SetDateOriginal (String date)
 
String GetDateOriginal () const
 
void AddRevision (int num, String date, String status)
 
size_t GetSize () const
 
String GetDate (size_t i) const
 
int GetNum (size_t i) const
 
String GetStatus (size_t i) const
 
String GetLastDate () const
 
size_t GetFirstRelease () const
 

Detailed Description

Container class for information on file revisions.

Definition at line 764 of file mmcif_info.hh.

Constructor & Destructor Documentation

MMCifInfoRevisions ( )
inline

Start recording a revision process.

Definition at line 767 of file mmcif_info.hh.

MMCifInfoRevisions ( )
inline

Start recording a revision process.

Definition at line 767 of file mmcif_info.hh.

Member Function Documentation

void AddRevision ( int  num,
String  date,
String  status 
)
inline

Add a revision to history.

Parameters
numunique identifier
datedate of revision
statusstatus of the revision

Definition at line 784 of file mmcif_info.hh.

void AddRevision ( int  num,
String  date,
String  status 
)
inline

Add a revision to history.

Parameters
numunique identifier
datedate of revision
statusstatus of the revision

Definition at line 784 of file mmcif_info.hh.

String GetDate ( size_t  i) const
inline

Get revision date by index in list.

Parameters
iposition in list
Returns
date

Definition at line 812 of file mmcif_info.hh.

String GetDate ( size_t  i) const
inline

Get revision date by index in list.

Parameters
iposition in list
Returns
date

Definition at line 812 of file mmcif_info.hh.

String GetDateOriginal ( ) const
inline

Get date the entry entered PDB.

Returns
date

Definition at line 777 of file mmcif_info.hh.

String GetDateOriginal ( ) const
inline

Get date the entry entered PDB.

Returns
date

Definition at line 777 of file mmcif_info.hh.

size_t GetFirstRelease ( ) const
inline

Get the index of the full release revision.

Returns
index

Definition at line 837 of file mmcif_info.hh.

size_t GetFirstRelease ( ) const
inline

Get the index of the full release revision.

Returns
index

Definition at line 837 of file mmcif_info.hh.

String GetLastDate ( ) const
inline

Get date of last revision.

Returns
date

Definition at line 829 of file mmcif_info.hh.

String GetLastDate ( ) const
inline

Get date of last revision.

Returns
date

Definition at line 829 of file mmcif_info.hh.

int GetNum ( size_t  i) const
inline

Get revision num by index in list.

Parameters
iposition in list
Returns
num

Definition at line 818 of file mmcif_info.hh.

int GetNum ( size_t  i) const
inline

Get revision num by index in list.

Parameters
iposition in list
Returns
num

Definition at line 818 of file mmcif_info.hh.

size_t GetSize ( ) const
inline

Get number of revisions stored.

Returns
number

Definition at line 806 of file mmcif_info.hh.

size_t GetSize ( ) const
inline

Get number of revisions stored.

Returns
number

Definition at line 806 of file mmcif_info.hh.

String GetStatus ( size_t  i) const
inline

Get revision status by index in list.

Parameters
iposition in list
Returns
status

Definition at line 824 of file mmcif_info.hh.

String GetStatus ( size_t  i) const
inline

Get revision status by index in list.

Parameters
iposition in list
Returns
status

Definition at line 824 of file mmcif_info.hh.

void SetDateOriginal ( String  date)
inline

Set date the entry entered PDB.

Parameters
date

Definition at line 772 of file mmcif_info.hh.

void SetDateOriginal ( String  date)
inline

Set date the entry entered PDB.

Parameters
date

Definition at line 772 of file mmcif_info.hh.


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