BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
BALL::CIFFile::SaveFrame Class Reference

#include <BALL/FORMAT/CIFFile.h>

Public Member Functions

void clear ()
 
void start (String name)
 
void addDataItem (Item item)
 
void setCategory (String cat)
 
std::ostream & operator>> (std::ostream &os) const
 
const StringgetCategory () const
 
const ItemgetDataItem (const String &item_name) const
 
ItemgetDataItem (const String &item_name)
 
const StringgetDataItemValue (const String &item_name) const
 
StringgetDataItemValue (const String &item_name)
 
bool hasItem (const String &item_name) const
 
String getItemValue (const String &name) const
 

Public Attributes

String framename
 
String category
 
std::vector< Itemitems
 
StringHashMap< Indexpair_items
 
Item dummy_data_item_
 

Detailed Description

Nested class for the saveframes of the CIFFile

Definition at line 76 of file CIFFile.h.

Member Function Documentation

void BALL::CIFFile::SaveFrame::addDataItem ( Item  item)
void BALL::CIFFile::SaveFrame::clear ( )
const String& BALL::CIFFile::SaveFrame::getCategory ( ) const
inline

Definition at line 86 of file CIFFile.h.

const Item& BALL::CIFFile::SaveFrame::getDataItem ( const String item_name) const

Returns a dummy Dataitem, if no item with such name exists

Item& BALL::CIFFile::SaveFrame::getDataItem ( const String item_name)
const String& BALL::CIFFile::SaveFrame::getDataItemValue ( const String item_name) const
String& BALL::CIFFile::SaveFrame::getDataItemValue ( const String item_name)
String BALL::CIFFile::SaveFrame::getItemValue ( const String name) const
bool BALL::CIFFile::SaveFrame::hasItem ( const String item_name) const
std::ostream& BALL::CIFFile::SaveFrame::operator>> ( std::ostream &  os) const
void BALL::CIFFile::SaveFrame::setCategory ( String  cat)
inline

Definition at line 83 of file CIFFile.h.

void BALL::CIFFile::SaveFrame::start ( String  name)

Member Data Documentation

String BALL::CIFFile::SaveFrame::category

Definition at line 105 of file CIFFile.h.

Item BALL::CIFFile::SaveFrame::dummy_data_item_

Definition at line 111 of file CIFFile.h.

String BALL::CIFFile::SaveFrame::framename

The name of this saveframe

Definition at line 104 of file CIFFile.h.

std::vector<Item> BALL::CIFFile::SaveFrame::items

Stores all dataitems of the saveframe

Definition at line 108 of file CIFFile.h.

StringHashMap<Index> BALL::CIFFile::SaveFrame::pair_items

Definition at line 109 of file CIFFile.h.