BALL::CIFFile::SaveFrame Class Reference

#include <BALL/FORMAT/CIFFile.h>

List of all members.

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.

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

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

String& BALL::CIFFile::SaveFrame::getDataItemValue ( const String item_name  ) 
const String& BALL::CIFFile::SaveFrame::getDataItemValue ( const String item_name  )  const
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

Definition at line 105 of file CIFFile.h.

Definition at line 111 of file CIFFile.h.

The name of this saveframe

Definition at line 104 of file CIFFile.h.

Stores all dataitems of the saveframe

Definition at line 108 of file CIFFile.h.

Definition at line 109 of file CIFFile.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3